Skip to main content
Solved

Release Receipt Action does not work

  • Mar 30, 2022 5:30 PM UTC
  • 2 replies
  • 246 views
  • Translate All

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

View original

2 replies

Dmitrii Naumov
Community Manager
Forum|alt.badge.img+7
  • Community Manager
  • Answer
  • Mar 30, 2022 6:03 PM UTC

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

Translate

Forum|alt.badge.img+2
  • Author
  • Varsity I
  • Mar 31, 2022 11:51 AM UTC

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 

Translate