CustTable::inventSiteIdCustItem Method
Looks up site ID for an item depending on the customer if multisite is enabled.
Syntax
client server public static InventSiteId inventSiteIdCustItem(CustAccount _custAccount, ItemId _itemId)
Run On
Called
Parameters
- _custAccount
Type: CustAccount Extended Data Type
The customer buying the item.
- _itemId
Type: ItemId Extended Data Type
The ID of the item.
Return Value
Type: InventSiteId Extended Data Type
The site from which the item is sold to the customer.