📚 SAP Business One SDK Help

GetByKey Method
See Also 
TableName
The name of the required table in the database.
KeyIndex
A serial number (read only) that is automatically assigned by the system and uniquely identifies the key in the user table (starts from 0).

Description

Retrieves and sets the values of the object's properties by the object's absolute key from the Company database.

Syntax

Visual Basic
Public Function GetByKey( _
   ByVal TableName As String, _
   ByVal KeyIndex As Long _
) As Boolean

Parameters

TableName
The name of the required table in the database.
KeyIndex
A serial number (read only) that is automatically assigned by the system and uniquely identifies the key in the user table (starts from 0).

See Also