Creating A Java Based Concurrent Program in Oracle Apps R12
Creating A Java Based Concurrent Program in Oracle Apps R12
R12
Steps to create a Java Concurrent Program Overview
Create a Java file containing the Business logic and Then compile it to
generate the class file through Jdeveloper.
Step by Step Explaination: Creating the Java Class and its properties
The above shown query, we are executing a custom view to find out the
invoices which have no attachments.
The result set object returns the total no. of invoices (to be precise,
result set returns the total no. of rows) that satisfies the above criteria.
So if we are trying to submit a concurrent program for each invoice, we
have put the program call in a loop. This is where the resultSet object
comes into the picture.
This means as long as there are values in the resultSet object the loop
will continue.
In the following variables, shown above, we set the same variables
needed to publish an xml publisher report: Application name,
concurrent program short name, layout language, country code, output
format and country name, respectively.
Now as our java code is ready, we need to define this Java concurrent
program from Oracle Apps Assign to a responsibility and make sure it
executes.
In the executable, we provide the regular details like name, short name,
application name, the execution method: Java Cocurrent Program
The execution file name is the name of the class file we just created.
Execution File path, is the path where the file has been placed in the
server, to be specific, under $JAVA_TOP.
So first the concurrent program gets submitted and which in turn submits
another report program and params being derive programmatically.
Thanks!