Siebel Object Interfaces Reference > Interfaces Reference > Business Component Methods >

GetLastErrCode Method


The GetLastErrCode method returns the most recent error code on the business component level.

Syntax

BusComp.GetLastErrCode

Argument
Description

Not applicable

 

Returns

The last error code as a short integer. 0 indicates no error.

Usage

After execution of a method, the GetLastErrCode can be invoked to check if any error was returned from the previous operation. The GetLastErrText method can be invoked to retrieve the text of the error message. The text retrieved using GetLastErrText also includes a Siebel error number that can be used to search Siebel SupportWeb for additional information about the error.

Used With

COM Data Control, Mobile Web Client Automation Server

Siebel Object Interfaces Reference