Method EinvoiceLineItem():setUnitCode() Professional
Sets the unit of measure code (BT-130).
:setUnitCode( [<cValue>] ) --> self
This method returns self.
Assigns the unit of measure code of the invoiced quantity (BT-130) as defined in UN/ECE Recommendation 20. If an empty value or NIL is passed, EINV_UNIT_ONE ("C62", one piece) is used.
The unit code applies to the invoiced quantity as well as to the price base quantity. Use a recognized code so that the receiver can interpret the quantity correctly.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.