Method EinvoiceLineItem():setQuantity() Professional

Sets the invoiced quantity (BT-129).

Syntax
:setQuantity( [<xValue>] ) --> self
Parameters
<xValue>
The quantity, specified as a numeric value, a character string or an EinvoiceDecimal() object. This defaults to 1.
Return

This method returns self.

Description

Assigns the invoiced quantity (BT-129). The quantity is stored as an EinvoiceDecimal() object. AbstractEinvoice():validate() reports a warning for rule BR-22 if the quantity is zero.

Feedback

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.