gtINStockItemLabelOptions
This function updates inventory item label print options to Greentree.
Company
The company code that the inventory item is created in.
Code
The inventory item code. An inventory item with this code must already exist with the nominated company. If the item doesn't exist an error is returned.
IsPrintRecLabel
Are labels required for receipting purposes? True or False.
If left blank, system is based on Inventory Module Control options apply.
IsPrintPriceLabel
Are labels required for retail pricing purposes? True or False.
If left blank, system is based on Inventory Module Control options apply.
IsPrintSLNumber
Are serial/lot numbers required on the label for receipting purposes? True or False.
If left blank, system is based on Inventory Module Control options apply.
IsPrintRecBarcode
Is a barcode number required on the label for receipting purposes? True or False.
If left blank, system is based on Inventory Module Control options apply.
IsPrint1LabelPerLine
Is a single label required to be printed for receipting purposes regardless of the receipted quantity? True or False.
If left blank, system is based on Inventory Module Control options apply.
isPrintOnRecQty
Is the number of labels to be printed for receipting purposes based on the receipted quantity? True or False.
If left blank, system is based on Inventory Module Control options apply.
LabelsPerUnit
Further to the above option, how many labels per unit quantity must be printed for receipting purposes?.
If left blank, system is based on Inventory Module Control options apply.
PriceOption
Only applicable if Retail Pricing labels are required. Choose one of:
- Barcode - Barcode only to be printed on the pricing label
- Price - Price only to be printed on the pricing label
- Both - Both price and barcode to be printed on the pricing label
If left blank, system is based on Inventory Module Control options apply.
ReceiveBarcode
Enter the barcode number required for receipting label purposes. This should correspond with a barcode that is already set up for the nominated inventory item.
PriceBarcode
Enter the barcode number required for retail pricing label purposes. This should correspond with a barcode that is already set up for the nominated inventory item.
LabelsBaseUnit (optional)
Only applicable if receipting labels are using the receipted quantity. Relates to the three system defined unit of measure types listed below. Where barcodes are being printed, the unit of measure chosen should be aligned to the selections made here.
Choose one of:
- Purchasing
- Selling
- Stocking
Returns
- Not Updated - if no error is encountered
- Updated - after running the update function
- Error message - if an error is encountered
Potential Errors Returned |
Greentree Messages |
Must have Company identifier. |
'A company code is required'. |
Must have a Stock Item Code. |
'Invalid stock item code'. |
Print Receiving Label can only be True/False or Blank. |
'Must select an option for printing receiving labels'. |
Print Pricing Label can only be True/False or Blank. |
'Must select an option for printing pricing labels'. |
Print SL Number can only be True/False or Blank. |
'Must select an option for printing Serial/Lot numbers'. |
Print Receive barcode can only be True/False or Blank. |
'Invalid receiving barcode'. |
Print Retail Pricing barcode can only be True/False or Blank. |
'Invalid retail barcode'. |
Print based on receive qty can only be True/False or Blank. |
'Invalid receive qty printing option'. |
Price option can only be Price/Barcode/Both or Blank. |
'Invalid retail printing option'. |
Labels base unit can only be Stocking/Purchasing/Selling or Blank. |
'Invalid base unit for printing'. |
Print 1 label per line can only be True/False or Omitted. |
Cannot have Receiving labels 1 per line and based on quantity'. |