I have a requirement to create PO directly through requsition based on the Business Event.
I have used the subscriber as Action and set as follows.
I didnt add anything to the field values. However, when there are only one item is there on the requisition the BE got triggered and the PO was created. But when there are multiple lines are there on the Requisition the BE didnt got triggered.
What could be the reason. Is there anything I can do for that.
Best answer by jzhu
Hi - Did you find a solution for this?
If you are using a GI where it lists all the items on the requisition per record. You could try changing the BE to Trigger by Schedule and try raise event for either ‘Group of Records’ or ‘Once for All Record’. The schedule would run maybe every 30 mins to look and see if there are any requisitions in the GI that would need a PO created. And it would create one PO for all the line items that is associated to the same requisition ref nbr. Hope this helps!
@aiwan , Now I did a change to the BE. Instead using a separate GI. I used the Same requisition screen. Now the Action get triggered and the PO has created. One issue I noticed here is the BE is trying to trigger for each line in the requsition and hence there’s a list of unprocessed subscribers. I assume here I have set the BE tirgger based on for each record. Maybe that could be the reason. But I cannot use any other condition.
If you are using a GI where it lists all the items on the requisition per record. You could try changing the BE to Trigger by Schedule and try raise event for either ‘Group of Records’ or ‘Once for All Record’. The schedule would run maybe every 30 mins to look and see if there are any requisitions in the GI that would need a PO created. And it would create one PO for all the line items that is associated to the same requisition ref nbr. Hope this helps!