Question

Purchase Order Create time Approve Action Perform Through Rest API

  • 9 August 2022
  • 2 replies
  • 50 views

In Purchase Order Create Time Approve and reject action perform through Rest Api

I can’t Find action To perform approve purchase Order 


2 replies

Userlevel 7
Badge +3

Hi @DharmandarKumar ,


Please follow the below steps to add the approve and Reject action on the endpoint. By default, We don't have the action for the purchase order entity.

  • Open the Webservice endpoint screen
  • Select the Endpoint and select the Entity “Purchase Order”
  • Expand the entity and select Actions and click on the Insert button on the top on top.
  • A popup will open. Select the action “Approve” from the selector
  • And click on OK. If the name already exists, rename the action name.
  • Do the same for Reject action.

Now you can try from the postman. You can able to approve /reject the PO Order.
 

 

Userlevel 7
Badge +3

Please try like below on the postman.

Url - Instanceurl/entity/TEST/20.200.001/PurchaseOrder/POApprove
Method  - Post

Request

{

    "entity": {

        "Type": {

            "value": "Normal"

        },

        "OrderNbr": {

            "value": "PO001587"

        }

    },

    "parameters": {}

}

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2022  Acumatica, Inc. All rights reserved