InventTransferTable.getDefaultLogisticsLocation Method
Retrieves a default LogisticsLocation location based on the parameters.
Syntax
private LogisticsLocation getDefaultLogisticsLocation(InventLocationId _inventLocationId, LogisticsLocationRoleType _logisticsLocationRoleType)
Run On
ClientOrServer
Parameters
- _inventLocationId
Type: InventLocationId Extended Data Type
The InventLocationId ID used to search for the default locations.
- _logisticsLocationRoleType
Type: LogisticsLocationRoleType Enumeration
The LogisticsLocationRoleType role to use to search for the default locations.
Return Value
Type: LogisticsLocation Table
A LogisticsLocation record.
Remarks
The order in which default locations are searched are as follows: Warehouse, Site, Company.