Returns lineitems either as a cursor, Object Array (used in the store) or as XML.

Syntax:

o.loadlineitems(lnParentpk,lnlookuptype)
Return: Depends on Lookup Type
0 - Number of records
1 - cItemList object. nCount of object holds count.
2 - XML string
Parameters: lnParentpk
The PK of the invoice.

lnlookuptype
0 - Cursor
1 - cItemList object containing aRows[] and nCount members
2 - XML

See also:

Class clineitems

Updated: 4/29/2000 | Send topic feedback