Developing OTDs for Application Adapters

Exposed Oracle Applications OTD Nodes

Staging Table Node

This node represents the Sun Staging Table created inside the Oracle database. All columns in the table are exposed, and can be dragged and dropped in the Java Collaboration. The node has a name of the form SB_<Oracle_Interface_Table_name> having a maximum length of 30 characters.

The Staging Table is created from the Interface Table with the following six extra fields used to support the pre-validation process:

All of the ID fields (the first three fields shown above) are used for pre-validation purposes within CAPS.

COUNT

Description

Stored procedures for both the OTD level and the interface tables level are defined in the utility package.

Parameters

Depends upon specific implementation. Typically, it contains at least four input VARCHAR parameters corresponding to:

Requirements

The stored procedure name is derived from the Open Interface name or the Staging Table name, according to the following convention:

DELETE

Description

Stored procedures for both OTD level and interface level are defined in the utility package.

Parameters

Depends upon the specific implementation. Typically, it contains at least four input VARCHAR parameters corresponding to:

Requirements

The stored procedure name is derived from the Open Interface name or the Staging Table name, according to the following conventions:

INITIALIZE

Description

This optional packaged stored procedure is used to initialize the user’s profile for Oracle Applications.

Parameters

Depends upon the specific implementation. Typically, it accepts the Organization ID as a parameter.

Requirements

Inside the script package, this stored procedure must have the name Initialize_Profile.

MOVE

Description

Stored procedures for both OTD level and interface tables level are defined in the utility package.

This procedure acts only on records with the ID values specified.

Parameters

Depends upon the specific implementation. Typically, it contains at least four input VARCHAR parameters corresponding to:

Requirements

The stored procedure name is derived from the Open Interface name or the Staging Table name, according to the following convention:

REQUEST

Description

Concurrent Manager request function. This function is used to submit the concurrent management request to Oracle Applications.

Parameters

Depends upon specific implementation.

Requirements

The function name is derived from the Open Interface name specified in the SML, and has the form FN_REQUEST_<ORACLE_INTERFACE_NAME>.

REQUEST_STATUS

Description

Function used to retrieve the status of the Concurrent Manager request.

Parameters

Requirements

In order for Request_Status to correctly retrieve the Concurrent Manager request, you must call commit after the Request stored procedure call; otherwise, Request_Status always returns Pending status after a time-out.

VALIDATE

Description

This packaged stored procedure is used to perform the pre-validation of data in the Staging Table.

Parameters

Depends upon specific implementation. By default, it contains three input VARCHAR parameters corresponding to:

Requirements

Inside the script package, this stored procedure must have the name VALIDATE.