📚 SAP Business One SDK Help

GetNew ObjectKey Method
See Also 

Description

Retrieves the key of the last added record.

Syntax

Visual Basic
Public Function GetNewObjectKey() As String

Remarks

You can use this method, instead of GetNewObjectCode, for development technologies that do not support return value as an Out parameter, such as ASP.

See Also