gtINStockItemLocation
This function checks for and returns the primary location of an inventory item. An inventory item with a primary location returns the location path.
Company
The company code for the inventory item to check.
StockItem
The inventory item to check.
Returns
- Primary Location - if the inventory item has a primary location
- No Primary Location - if the inventory item has no primary location
- Error message - if an error is encountered
Example
=gtINStockItemLocation (01,69EC EXECUTIVE)
Errors Returned
- Must have a Company Identifier
- Must have a Stock Item