gtINStockItemBarCode
This function creates and updates inventory item bar code information to Greentree.
Company
The company code that the inventory item belongs to.
BarCode
The inventory item barcode that is to be updated or created. The code must be unique if the Inventory Module Control Barcodes must be unique flag is selected, otherwise the code must be unique for the inventory item, up to 90 characters for the barcode.
StockItem
The inventory item code to which the barcodes are updated.
Unit of Measure
The unit of measure to use with this barcode.
Narration
The barcode narration.
Returns
- Not Updated - if no error is encountered
- Updated - after running Greentree Desktop update function
- Error message - if an error is encountered
Example
=gtINStockItemBarCode(01, 1123987134, CALC380, EACH,,)
Errors Returned
- Must have a Company Identifier
- Must have a Stock Item
- Must have a Barcode