📚 SAP Business One SDK Help

GetLastErrorCode Method
See Also 

Description

Retrieves the last error code issued by any object related to the Company object.

Syntax

Visual Basic
Public Function GetLastErrorCode() As Long

Remarks

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

See Also