Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets an inventory warehouse ID.
Syntax
display InventLocationId inventLocationId(
[InventLocationId _inventLocationId,
InventDimId _inventDimId,
InventSiteId _inventSiteIdParent])
Run On
Called
Parameters
- _inventLocationId
Type: InventLocationId Extended Data Type
The current inventory warehouse ID.
- _inventDimId
Type: InventDimId Extended Data Type
The inventory dimension ID for which to find the settings; optional.
- _inventSiteIdParent
Type: InventSiteId Extended Data Type
An inventory site ID to which the inventory warehouse belongs; optional.
Return Value
Type: InventLocationId Extended Data Type
An inventory warehouse ID.
Remarks
The value of the _inventLocationId parameter will be returned if it is not empty and the mandatory warehouse parameter is not set in the inventory order settings for the item.If the _inventDimId parameter is not specified the default settings are used.The _inventSiteIdParent parameter applies only when the _inventLocationId parameter is specified.If the _inventSiteIdParentand _inventLocationId parameters are specified and no site specific settings are found, a check whether the value of the _inventLocationId parameter belongs to the site that is specified by the _inventSiteIdParent parameter will be performed. If the check fails, an empty string will be returned; otherwise, the value of the _inventLocationId parameter will be returned.