Solved

Release Receipt Action does not work

  • 30 March 2022
  • 2 replies
  • 135 views

Userlevel 4
Badge +2

Hi, 

I always used such POST request for releasing Purchase Receipts in Acumatica

URL : https://testacumatica.com/entity/Endpoint/18.200.001/PurchaseReceipt/ReleasePurchaseReceipt

Body : 

{

  "entity": {

    "VendorId": {

      "value": "0000000170"

    },

  

    "Type": {

      "value": "Receipt"

    },

    "PostPeriod": {

      "value": "12-2021"

    },

    "VendorRef": {

      "value": "1139273"

    },

    "ReceiptNbr": {

      "value": "000402"

    }

  },

  "parameters": {}

}

But know I get 202 response Accepted

And purchase receipt remains in balanced status instead of being released

What can cause such problem ?

icon

Best answer by Dmitrii Naumov 30 March 2022, 20:03

View original

2 replies

Userlevel 7
Badge +5

Hi Ivan, 

The 202 response means that Acumatica has received the command, but it does not mean that the command has been completed successfully. To retrieve the actual status of the command and a possible error message you can use the get command status request. 

See details here: https://help-2021r2.acumatica.com/(W(3))/Help?ScreenId=ShowWiki&pageid=91bf9106-062a-47a8-be1f-b48517a54324

Userlevel 4
Badge +2

Hi Ivan, 

The 202 response means that Acumatica has received the command, but it does not mean that the command has been completed successfully. To retrieve the actual status of the command and a possible error message you can use the get command status request. 

See details here: https://help-2021r2.acumatica.com/(W(3))/Help?ScreenId=ShowWiki&pageid=91bf9106-062a-47a8-be1f-b48517a54324

Hi @Dmitrii Naumov 

Thanks for provided description 

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 — 2024  Acumatica, Inc. All rights reserved