InventSiteLogisticsLocation::addLocation Method
Creates a InventSiteLogisticsLocation record and associated role for the specified site.
Syntax
server public static boolean addLocation(
RecId _site,
LogisticsLocationRecId _location,
LogisticsLocationRoleRecId _role,
[ValidFromDateTime _validFrom,
ValidToDateTime _validTo])
Run On
Server
Parameters
- _site
Type: RecId Extended Data Type
The RecId value of the InventSite record for which the records are created.
- _location
Type: LogisticsLocationRecId Extended Data Type
The RecId value of the LogisticsLocation record that is associated with the new records.
- _role
Type: LogisticsLocationRoleRecId Extended Data Type
The RecId value of the LogisticsLocationRole record that is associated with the new records.
- _validFrom
Type: ValidFromDateTime Extended Data Type
The date from which the location is valid.
- _validTo
Type: ValidToDateTime Extended Data Type
The date to which the location is valid.
Return Value
Type: boolean
true if the data is created; otherwise, false.