Method EinvoiceLineItem():setId() Professional

Sets the line identifier (BT-126).

Syntax
:setId( <xId> ) --> self
Parameters
<xId>
The line identifier. A value of any type can be specified. It is converted to a character string.
Return

This method returns self.

Description

Assigns the invoice line identifier (BT-126). The value is converted to a character string. If NIL is passed, the identifier is cleared.

The line identifier is optional. If no identifier is set, :toModel() of the invoice numbers the lines automatically in the order in which they were added, starting with 1.

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.