📚 SAP Business One SDK Help

GetItemList Method
See Also 

Description

Returns a Recordset object that contains an item code and item name. To retrieve the items list, apply this method in a loop.

See Get Items List sample.

Syntax

Visual Basic
Public Function GetItemList() As Recordset

Return Type

A Recordset object that contains two fields: ItemCode and ItemName.

Exceptions

-2000 The connection with database has been disconnected.

Remarks

For more detailed information about the item, you can create a new instance for the Items object, and then use the GetByKey method.

Example

See Also