Method EinvoiceLineItem():setPrice() Professional

Sets the net unit price (BT-146).

Syntax
:setPrice( <xValue> ) --> self
Parameters
<xValue>
The net price, specified as a numeric value, a character string or an EinvoiceDecimal object.
Return

This method returns self.

Description

Assigns the net price of the item (BT-146). The price is stored as an EinvoiceDecimal object. The net price is mandatory. AbstractEinvoice():validate() reports an error for rule BR-27 if it is negative.

Note: if NIL or an empty string is passed, the net price is set to 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.