Adds a lineitem to the oLineItems object array.

Note that the item is not saved at this time - it's added to the in memory invoice object. An inventory check is performed to check whether the item is available if it's a physical item. To save the item the Invoice must be Saved.

Syntax:

o.addlineitem(loLineItem)
Return: .T. or .F.
Parameters: loLineItem
A lineitem object.

See also:

Class cinvoice

Updated: 06/01/03 | Send topic feedback