Skip to main content
Solved

SalesOrder/CreatePurchaseOrder mapped action in the webservice endpoints do not fire

  • January 24, 2024
  • 1 reply
  • 77 views

https://{myendpoint}.acumatica.com/entity/{myentity}/v1/SalesOrder/CreatePurchaseOrder

I am attempting to invoke the webservice endpoint here (created by me): 


I have created another request where the mapped action is the createPurchaseOrder@replenishment to attempt that as well:

 



I want to simulate the conditions of this button


here is the postman request (screenshot 3)



I am unable to find anything anywhere to understand what parameters may be required, and the reponse is downright confusing.

The error returns this- 
    "innerException": {
        "message": "An error has occurred.",
        "exceptionMessage": "Purchase Order '{0}' created.",


The ambition is to process the order below, but i have zero feedback from the api’s themselves on missing required parameters or other oversights.




Any assistance would be appreciated,

Chris

Best answer by jinin

Hi @ChrisHaddy 

As far as I know, the salesorder entity does not support invoking the create purchase order action through the endpoint. Instead, we may need to create a separate entity for the create purchase order screen and retrieve the data based on filters such as ordernbr, OrderNbr, date, Vendor, etc.

 



 

1 reply

jinin
Pro I
Forum|alt.badge.img+11
  • Pro I
  • Answer
  • January 30, 2024

Hi @ChrisHaddy 

As far as I know, the salesorder entity does not support invoking the create purchase order action through the endpoint. Instead, we may need to create a separate entity for the create purchase order screen and retrieve the data based on filters such as ordernbr, OrderNbr, date, Vendor, etc.