Skip to main content
Solved

Release Receipt Action does not work

  • March 30, 2022
  • 2 replies
  • 187 views

Forum|alt.badge.img+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 ?

Best answer by Dmitrii Naumov

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

2 replies

Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+7
  • Acumatica Moderator
  • Answer
  • March 30, 2022

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


Forum|alt.badge.img+2
  • Author
  • Varsity I
  • March 31, 2022

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