Creating and Scheduling Request Sets for AP weekly jobs [message #140224] |
Sun, 02 October 2005 22:38 |
sambireddyn
Messages: 48 Registered: May 2005 Location: Andhra Pradesh
|
Member |
|
|
Hi
I am trying to create several AP jobs to run in a request set and schedule it . The problem I am having is that a couple of the jobs require a 'From Accounting Date' to be entered each time the job is run, (it also requires a 'To Accounting Date' parameter). Since we want this to be automated, how can this date parameter be updated systematically. It is for the AP job "Posted Invoice Register" and "Posted Payment Register".
Any suggestions/help would be appreciated.
Thanks,
SambiReddy.
|
|
|
|
|
Re: Creating and Scheduling Request Sets for AP weekly jobs [message #140514 is a reply to message #140261] |
Tue, 04 October 2005 09:54 |
mchittib
Messages: 87 Registered: September 2005
|
Member |
|
|
to_date := 'select to_char(sysdate,'DD-MON-YY') from dual';
result := FND_REQUEST.SET_OPTIONS (’YES’);
result := FND_REQUEST.SET_REPEAT_OPTIONS (’10:00’);//whenever u want to schedule it(10:00 am scheduled everyday)
req_id := FND_REQUEST.SUBMIT_REQUEST (’CUS’,
’CUSPOST’, ’Custom Posting’,
’01-SEP-05 00:00:00’, FALSE,
... args(to_date etc) ...);
|
|
|