Skip to main content

Preview Record Production Release Impact

POST 

/api/manufacturing/manufacturing-orders/:id/record-production/preview-release-impact

Read-only preview of which back-ordered sales orders the proposed produced quantities would release finished-good stock to, returned one row per output product. Nothing is mutated — post the outputs you intend to record and get the release picture before committing.

Request body:

  • outputs (array, optional) — the produced outputs to evaluate.
  • outputs[].mo_output_line_id (integer, required) — the output line being produced.
  • outputs[].actual_produced_quantity (number, required, min 0) — the quantity that would be produced.

Response (data[], one row per output product):

  • releasable_quantity — units of the newly produced stock that can be released to back-ordered demand.
  • orders[] — the back-ordered sales orders that would be filled (sales_order_id, order_number, customer_name, quantity).
  • held_back[] — demand that stays back-ordered, each with reason_kept explaining why (e.g. "Insufficient supply").

Authentication: Requires Bearer token.

Request

Responses

OK

Response Headers
    Content-Type