Share via


InventItemSalesSetup.inventLocationId Method

Returns a sales warehouse ID.

Syntax

display InventLocationId inventLocationId(
   [InventLocationId _inventLocationId, 
    InventTable _inventTable, 
    InventSiteId _inventSiteIdParent])

Run On

Called

Parameters

  • _inventTable
    Type: InventTable Table
    An InventTable buffer that is used to verify whether the multisite has been enabled; optional.

Return Value

Type: InventLocationId Extended Data Type
A sales 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, a check for 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.

See Also

Reference

InventItemSalesSetup Table