Deletes an individual lineitem for a particular order based on the sku.

Syntax:

o.deletelineitem(lvID, lnInvPK, llReturnInventory)
Parameters: lvID
PK or SKU

lnInvPK
Invoice to delete it from.

llReturnInventory
Flag that tells whether the item should be returned to inventory. In general You shouldn't call this method directly, as oInv.Save handles this correctly on its own. All lineitems are deleted of an invoice first, then items are added back in.

See also:

Class clineitems

Updated: 4/29/2000 | Send topic feedback