Hi
I have a procedure that i need to schedule to run. I created a concurrent program for that. But the procedure has four parameters. I need to call this concurrent program from one more procedure where the values are retrieved.
I created a concurrent program cbttupdate for the above code. Now i have one more procedure which calls this concurrent program and also the parent procedure for getting the parameter values.
Now the above request wil just cal the procedure. Where should i add the parameters. Is this the right way to call.
concreqid := fnd_request.sub mit_request ('FND',cbttupda te,'',SYSDATE,F ALSE,CHR (0),fromname,se nder,begindate, enddate);
vamsi
I have a procedure that i need to schedule to run. I created a concurrent program for that. But the procedure has four parameters. I need to call this concurrent program from one more procedure where the values are retrieved.
Code:
create or replace procedure cbtt_update(fromname IN Varchar2, sender IN varchar2, begindate IN date, enddate IN varchar2) is begin .............. Business logic ........... end cbtt_update
Code:
create or replace procedure cbtt_getvalues() is fromname varchar2(100); sender varchar2(100); begindate date; enddate date; conreqid number :=0; begin select creator_id,selector,begin_date,end_date into fromname,sender,begindate,enddate from table where.................. concreqid := fnd_request.submit_request ('FND',cbttupdate,'',SYSDATE,FALSE,CHR (0)); end cbtt_getvalues;
concreqid := fnd_request.sub mit_request ('FND',cbttupda te,'',SYSDATE,F ALSE,CHR (0),fromname,se nder,begindate, enddate);
vamsi
Comment