Share via


InventTable.inventLocationId Method

Gets an inventory warehouse ID.

Syntax

display InventLocationId inventLocationId(
   [InventLocationId _inventLocationId, 
    InventDimId _inventDimId, 
    InventSiteId _inventSiteIdParent])

Run On

Called

Parameters

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.

See Also

Reference

InventTable Table