[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: [sqr-users] Running SQR using PeopleSoft Page Button
Anu,
You can actually schedule a process (on Process scheduler)through a custom
button with PeopleCode doing the job.
However, there are some prerequisites :
1. You must have a valid Process definition for the SQR.
You would have to write custom code on the Button for Fieldchange event.
Use the Processrequest class from PeopleBooks. It gives lots and lots of
options.
I don't remember the syntax, but it should be like this :
Local processrequest &MYRQST;
&MYRQST = createprocessrequest(process type, process name);
&MYRQST.Schedule();
If &MYRQST.Status = 0 then
/* distribute etc */
Else /*scheduling failed, do error processing */
End-If;
This code is called from the Push button, triggering the SQR. You might
want to give a link to the process monitor from there.
> Hello all,
>
> I am trying to run a SQR using PeopleSoft Push button, instead of using a
> run control page (change properties of page field and choose destination
> as
> 'process' and select SQR Report process type and Name). But 'Run Control
> ID'
> parameter is not getting populated properly and I am getting an error. Has
> anyone done some project like this? Please help.
>
> Thanks,
> Anu
>
> _________________________________________________________________
> Claim your space online! http://www.msn.co.in/spaces Share your world for
> free!
>
>
> _______________________________________________
> sqr-users mailing list
> sqr-users@sqrug.org
> http://www.sqrug.org/mailman/listinfo/sqr-users
>
_______________________________________________
sqr-users mailing list
sqr-users@sqrug.org
http://www.sqrug.org/mailman/listinfo/sqr-users