There are two kinds of interface classes that provide access to Callable Global Logics:
A general client, called CGLGGeneral, that provides access to all the Callable Global
Logics in the system. When using it, you need to specify the names of the Callable
Global Logic and its parameters, also the host details. Refer to CGLGGeneral in the Agile Business Suite Component Enabler Class Reference Summary for more information on the vailable methods, parameters, and return values of CGLGGeneral.
A separate wrapper class for each Callable Global Logic, called <CGLGname>.java. Before distributing these clients, you need to specify host details, such as the IP address, and compile them. These clients only allow users to set parameters, transmit, and retrieve the results, as all other details must be hard coded into the components. The following methods are available:
String Get X() gets the value of parameter X.
Int Set X(string) sets the value of parameter X. It returns a value that indicates the result of edit checking.
Int doTransaction() returns a numeric value indicating whether the call to the Agile Business Suite System was successful.
Int getExtendedErrorCode() returns a response code indicating the result of the connection attempt.
These clients can only be generated from Developer using Builder, by setting the appropriate Component Enabler Bundle options.