Oracle Apps Adapter 6.0 | webMethods Oracle Applications Adapter Documentation | webMethods Oracle Applications Adapter Installation and User’s Documentation | Transaction Definitions | Working with SQL Trees in Oracle Applications -to-Integration Server Transactions | Stored Procedure Syntax
 
Stored Procedure Syntax
To specify a stored procedure in an alias, enter the stored procedure as follows:
schema.package.procname
If the stored procedure is not in a package, you do not have to specify the schema and the package.
To specify the relations for a child alias that issues a stored procedure, you can enter the stored procedure inputs as the parent alias's output values (if applicable), or you can enter the stored procedure inputs as constant values. Specify the inputs, separated by commas, in the order that the stored procedure requires them. You can also specify constant values as input parameters in a relation. Type parent columns in uppercase.
For example, specify the alias's relations as follows:
PARENT_ALIAS.COLUMN1, PARENT_ALIAS.COLUMN2 ...
The results of the stored procedure will be stored in the parent alias' result record. The outputs will be given the names of the stored procedures output parameters.
Note:
You cannot add a child alias to an alias that issues a stored procedure.