Hi All,
I’m trying to generate Demand PO’s linked to SO’s from the PO505000 screen but am finding it will only generate a PO for one line item at a time, rather than the multiple items available for Purchase from the one supplier or multiple suppliers.
I’ve created a Custom Endpoint via Web Services linked to the screen, added the ProcessAll button as an Action with OrderNbr and OrderType as parameters:

I call via HTTP using Postman and the below Body:

I get a 202 back saying its successful.
What seems straight forward and works in the GUI with the above filter options, will only ever generate one PO for the first line, no matter how many lines there may be meeting the criteria.
Not sure what I’m missing and this seems like a process many people would want to use via API?? Is there something required in the Entity that I am missing??
Any help appreciated :-)