Method EinvoiceLineItem():setBaseQuantity() Professional

Sets the price base quantity (BT-149).

Syntax
:setBaseQuantity( <xValue> ) --> self
Parameters
<xValue>
The base quantity, specified as a numeric value, a character string or an EinvoiceDecimal object, or NIL to clear the base quantity.
Return

This method returns self.

Description

Assigns the item price base quantity (BT-149), which is the number of units to which the net price and the gross price refer, for example 100 for a price per 100 units. If NIL is passed, the base quantity is cleared.

The base quantity is optional. If no base quantity is set, the prices refer to a single unit. The method :getNetAmount() divides the price by the base quantity.

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.