InventLocation::getDefaultLogisticsLocation_IN Method
Retrieves a default LogisticsLocation location based on the parameters.
Syntax
server public static LogisticsLocation getDefaultLogisticsLocation_IN(InventLocationId _inventLocationId, LogisticsLocationRoleType _logisticsLocationRoleType)
Run On
Server
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: Warehouse, Site, Company.