Skip to main content
Solved

Create PO linked to SO from PO505000 via API


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 :-) 

Best answer by Dmitrii Naumov

Please see the help article here:

https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=fd52633e-df34-4696-9df3-7d94c8c1b96a

That’s a bit more complex to run the processing.

 

Could you please also describe why you do it via API?

It’ll help us to determine a better way of mapping this action to API in the next version.

View original
Did this topic help you find an answer to your question?

2 replies

Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+7
  • Acumatica Moderator
  • 654 replies
  • Answer
  • April 1, 2025

Please see the help article here:

https://help.acumatica.com/Help?ScreenId=ShowWiki&pageid=fd52633e-df34-4696-9df3-7d94c8c1b96a

That’s a bit more complex to run the processing.

 

Could you please also describe why you do it via API?

It’ll help us to determine a better way of mapping this action to API in the next version.


  • Author
  • Freshman I
  • 1 reply
  • April 1, 2025

Thanks Dimitri, didn’t come across this article in my searching. 

Our client has an Order process that involves several systems and the best way to co-ordinate it all is using a workflow tool (we are using n8n), Understand we could use automation within Acumatica to do this part of the process but timing between systems is important and difficult to co-ordinate if we went that path.

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings