I04 - Document (Unit Workshop Report Generator variable)
Syntax
I04
Description
If this item has appeared on an invoice or estimate then the relevant document number will be stored here. If the item was entered through the usual manual entry routines, this will be blank. If, however, the item was added automatically by virtue of being a "Unit Sales Order Extra/Accessory" this variable will contain all zeroes, ie '00000000', up until the item features on an invoice, when it will be stamped with the document number.
These values may be used to distinguish invoiced items from uninvoiced, and manual from automatic items.
Parameters
None.
Returns
A text value whose typical size is 10 characters.