InventItemInventSetup.inventLocationId Method
Returns the inventory warehouse ID.
Syntax
display InventLocationId inventLocationId(
[InventLocationId _inventLocationId,
InventTable _inventTable,
InventSiteId _inventSiteIdParent])
Run On
Called
Parameters
- _inventLocationId
Type: InventLocationId Extended Data Type
The default inventory warehouse ID; optional.
- _inventTable
Type: InventTable Table
An InventTable buffer that is used to verify whether the multisite has been enabled; optional.
- _inventSiteIdParent
Type: InventSiteId Extended Data Type
An inventory site ID that the _inventLocationId parameter should belong to; optional.
Return Value
Type: InventLocationId Extended Data Type
An inventory warehouse ID.
Remarks
The _inventSiteIdParent parameter applies only when the _inventLocationId parameter is specified. If both the _inventSiteIdParent and _inventLocationId parameters are passed and no site specific settings are found, the check whether the passed _inventLocationId belongs to the site specified by _inventSiteIdParent will be performed. If it does not, an empty string will be returned. If it does, the passed _inventLocationId parameter is returned.