GetLastErrCode Method for Business Components
The GetLastErrCode method returns the error code for the most recent error that the disconnected client logged. It uses the following syntax:
BusComp.GetLastErrCode()
For example:
SiebelApp.S_App.FindApplet(appletName).BusComp().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.