Sunday 24 November 2013

Calling Concurrent Program From OA Framework Pages


Calling a 
concurrent program from an OAF page is most frequently used functionality in oracle apps. It helps us to achieve the customized functionality in a page.


OA Framework provides the ConcurrentRequest class to call a concurrent program from the pages. The submitRequest() method of ConcurrentRequest is used for calling a concurrent program. The submitRequest() method takes 6 parameters and returns request id of the submitted concurrent request. Following is the syntax to use this method:


public int submitRequest

String ProgramApplication ,

String ProgramName ,
String ProgramDescription ,
String StartTime,
boolean SubRequest,
Vector Parameters ) throws RequestSubmissionException

Here are the descriptions of each of the components in the method:


ProgramApplication -Application Short name of application under which the program is registered.
ProgramName - Concurrent Program Name for which the request has to be submitted.
ProgramDescription - Concurrent Program Description.
StartTime - Time at which the request should start running.
SubRequest - Set to TRUE if the request is submitted from another running request and has to be treated as a sub request.

Parameters - Parameters of the concurrent Request.

No comments:

Post a Comment