Skip to main content
Answer

Creating Production Orders via API fails with status code 204 if sales order is on hold

  • November 7, 2024
  • 1 reply
  • 66 views

We recently upgraded to 2024 r1 and noticed that our production orders were not being created.  In the logs the request to entity/Manufacturing/21.200.001/CreateProductionOrder/CreateProductionOrderProcessAll now returns a 204 status code when the sales order is on hold.  If the sales order is not on hold the status code is a 202 and the production order is created.  Before the upgrade from 2023 R1 the requests always returned a 202 when the sales order was on hold

A 204 indicates that the request was successful and the production order will be created.  If there is an issue creating the production order the status code should be a 40X code.  The API behavior should not changed on a published version.

Best answer by Dmitrii Naumov

@bvoelsch thanks for reporting. 

We’ll check and report to the eng team.

1 reply

Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+7
  • Acumatica Moderator
  • Answer
  • November 8, 2024

@bvoelsch thanks for reporting. 

We’ll check and report to the eng team.