I'm trying to set up my first Trigger (previous ones have been set up by consultants). According to the "IPA Services for Infor Lawson Reference Guide (v10.0.5)" documentation the PO Receiving (PO30) has a trigger for each time a req line item is received. Service = Req Item Rec.
I set up the trigger (per instuctions) in Process Server Administrator -> Scheduling -->Service Triggers I added my Process Definition 'Receive_Req_Item' to the ReqItemRec Service Definition (PSA-->Configuration...)
Receiving a line item in PO30 did not trigger a work order. Troubleshooting I noticed a few things. 1. Documentation says there are three criteria items for ReqItemRec (company, location, requester) and approx 8 variables. However only company is listed and no variables on my Service Definition.
2. Documentation says "All requestors need to be defined as ProcessFlow users". I understand users have to be set up, but it says REQUESTORS. I don't see a requestor on the PO30, there is the buyer, and receiver, but the requester would be on the Requistion Header info.
3. one other thing I noticed is the documentation says the service is Req Item Rec (with spaces), but the only service in my rich client is 'ReqItemRec' all together. I assumed it was just a typo but maybe not.
Can anyone shed some light on what I am doing wrong?
Thanks - Joan
Thanks James I'll give that a try. I decided to test a PO that was generated through RQC and had items I could receive. That did trigger a work unit. So it looks like the RecReqItem only work if there is a requester and not if it's entered on the PO screen. So I'll try the Gen_POReceive service and let you know.
thanks.
Well the Gen_PORecieve trigger does generate a work order. However, I would like to be able to filter this and only create a work unit if... ultimately I only need a wu if the Item's Serial Tracking is R (receipts). I've been testing to see if I can filter on Location or Bin since location is already listed as a 'Criteria'. I have not had any luck with this approch. Can anyone tell me if it's possible to create/set up a service to only trigger is a specific thing is true? If so, how? I have looked at documentation, but can't find anything.
Also, I know I've seen documentation on how to create a custom trigger, but now that I want it I can't find it. Anyone know where that is?
Thanks!
Yes that is possible, however we are talking hundreds of work units that we don't need. So really want a different solution.
I found the infor documentation, Creating a Custom Java Trigger API for Infor Process Automation and one for LPL. They are basic! one or two pages long, ha. I'm going to keep trying. Is it possible to copy and then modify an existing trigger?