West Wind Web Store |
clineitems::additem
|
Simplified method that handles adding an item to inventory.
This method pulls info directly from an Item in inventory and inserts the values into the lineitem. The item returns an cLineItems object you can further manipulate using Save() to write it to disk.
Syntax: |
o.additem(lcSKU, lnInvPK, lnQty, lnMode) |
| Return: | Returns a lineitem object or .NULL. if it couldn't be added. |
| Parameters: |
lcSKU Item Sku of item to add. lnInvPK lnQty lnMode |
See also: