-
Book Overview & Buying
-
Table Of Contents
Oracle E-Business Suite R12 Core Development and Extension Cookbook
By :
There are two ways in which a concurrent program can be executed; it can be launched manually by a user or it can be scheduled to run automatically either on a one off basis or on a regular basis. In the next recipe, we are going to schedule the concurrent program we have created. It is important to note that when we schedule a concurrent program there is no user there to select the values for the parameters that are defined. Therefore, any required parameters we have added must have a default value. This can be done when entering the concurrent program but we are going to default a value for the organization.
We are going to complete the following tasks in this recipe:
We are now going to add default values for the parameters in our concurrent program that are required.
In our concurrent program XXHR First Concurrent Program we have three parameters:
P_RUN_DATEP_ORG_IDP_PERSON_IDThe first parameter P_RUN_DATE is not required and is already defaulted to the current date. The second parameter P_ORG_ID is required and so we are going to default this to Vision Corporation.
To add default values to our concurrent program parameters complete the following steps:
P_ORG_ID parameter and enter the following details to set the default parameter:|
Item name |
Item value |
|---|---|
|
Default Type |
SQL Statement |
|
Default Value |
|
We have set a default value for the Organization parameter in the concurrent program so that it can be scheduled.
Now we are going to schedule the concurrent program to run on a daily basis for two days.
To schedule the concurrent program do the following:
Run Date and Organization parameters set to their default values and click on OK:
The steps are shown in the following screenshot:


You will notice that the date in the Parameters field has automatically been incremented because we checked the Increment date parameters each run checkbox.
We have now scheduled our concurrent program for two days and the program will run automatically unless it is cancelled before the last run has completed.
Change the font size
Change margin width
Change background colour