View Full Version: Job Requisition

LawsonTalk > BCI, Processflow and Addins > Job Requisition



Title: Job Requisition


vc727 - January 31, 2007 09:13 PM (GMT)
I am having trouble with a job requisition approval process flow.

The ags call to change the status from WFINPROG to WFAPPROVE doesn't work the one to change it to WFREJECT works fine. the main problem is that once the requisition go through the process with the status stuck to WFINPROG it won't let them be changed it keeps saying it cannot change the status until the WF is complete even though the work unit says the process is complete.

the two ags calls are

Reject
_PDL=<!appProdline>&_TKN=PA42.1&_EVT=CHG&_RTN=DATA&_LFN=ALL&_TDS=IGNORE&FC=Change&PJR-COMPANY=<!PJR_COMPANY>&PJR-REQUISITION=<!PJR_REQUISITION>&PJR-REQ-STATUS=WFREJECT&FROM-WORKFLOW=Y&PJR-APPROVAL-FLAG=N&_DELIM=%09&_OUT=TEXT&_EOT=TRUE

and approve
_PDL=<!appProdline>&_TKN=PA42.1&_EVT=CHG&_RTN=DATA&_LFN=ALL&_TDS=IGNORE&FC=Change&PJR-COMPANY=<!PJR_COMPANY>&PJR-REQUISITION=<!PJR_REQUISITION>&PJR-REQ-STATUS=WFAPPROVE&FROM-WORKFLOW=Y&PJR-APPROVAL-FLAG=Y&_DELIM=%09&_OUT=TEXT&_EOT=TRUE

This one always seems to fail.


Help?

KarenPloof - January 31, 2007 10:42 PM (GMT)
Do you have security turned on? Is it possible that the person doing the approval does not have access to a form that's updated by the Approve but not the Reject?

vc727 - February 1, 2007 02:39 PM (GMT)
I am still running this in test with security wide open. The ags call is just failing.

vc727 - February 8, 2007 02:31 PM (GMT)
I checked the return message of the failing ags call and it turns outthat if the filed called "Openings" is 0 the call fails. There wasn't anything wrong with the call the users were just not completing the rquisition properly. I just used design studio to default a 1 into that field and edited the HTML file in MSS to do the same and my trouble should go away.




Hosted for free by InvisionFree