GetLastErrCode Method for Business Objects
The GetLastErrCode method returns the error code for the most recent error that the disconnected client logged. It uses the following syntax:
BusObj.GetLastErrCode()
For example:
ActiveBusObject().GetLastErrCode();
This method includes no arguments.
The error code that this method returns is a short integer. An error code of 0 (zero) indicates no error occurred.