---
id: object/codeunit/5407
type: object
title: Codeunit 5407 "Prod. Order Status Management"
summary: Codeunit 5407 "Prod. Order Status Management" in Base Application (Microsoft.Manufacturing.Document). 13 public procedures, 75 events. Present since at least BC23, still in BC30, changed in BC24-30.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  last_changed: "30"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: d5ce5ccc0ee29ae6bb50cc0bb48a3fbbd88b85c0ba00a32c6204384581babd7f
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Manufacturing/Document/ProdOrderStatusManagement.Codeunit.al
    title: src/Layers/W1/BaseApp/Manufacturing/Document/ProdOrderStatusManagement.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/10879
    - change/bcapps/10546
object_type: codeunit
object_id: 5407
name: Prod. Order Status Management
namespace: Microsoft.Manufacturing.Document
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 143
  events: 75
  subscribers: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 12
  calls: 22
  called_by: 2
  implements: 0
---

# Codeunit 5407 "Prod. Order Status Management"

> Codeunit 5407 "Prod. Order Status Management" in Base Application (Microsoft.Manufacturing.Document). 13 public procedures, 75 events. Present since at least BC23, still in BC30, changed in BC24-30.

Base Application · Microsoft.Manufacturing.Document · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Manufacturing/Document/ProdOrderStatusManagement.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| TableNo | Production Order |
| Permissions | TableData "Source Code Setup" = r, TableData Item = m, TableData "Production Order" = rimd, TableData "Prod. Order Capacity Need" = rid, TableData "Inventory Adjmt. Entry (Order)" = rim |

## Events published

- `OnAfterInitItemJnlLineFromProdOrderComp(var ItemJournalLine: Record "Item Journal Line"; ProductionOrder: Record "Production Order"; ProdOrderLine: Record "Prod. Order Line"; ProdOrderComponent: Record "Prod. Order Component")` (integration)
- `OnAfterInitItemJnlLineFromProdOrderLine(var ItemJournalLine: Record "Item Journal Line"; ProductionOrder: Record "Production Order"; ProdOrderLine: Record "Prod. Order Line"; ProdOrderRoutingLine: Record "Prod. Order Routing Line")` (integration)
- `OnAfterInsertProdOrderLine(var ToProdOrderLine: Record "Prod. Order Line"; FromProdOrderLine: Record "Prod. Order Line")` (integration)
- `OnAfterSetTimeAndQuantityOmItemJnlLine(var ItemJournalLine: Record "Item Journal Line"; ProdOrderRoutingLine: Record "Prod. Order Routing Line"; OutputQtyBase: Decimal; OutputQty: Decimal)` (integration)
- `OnAfterExcludePostedSetupTimeForReopenedProdOrder(var ItemJournalLine: Record "Item Journal Line"; ProdOrderRoutingLine: Record "Prod. Order Routing Line"; OutputQtyBase: Decimal; OutputQty: Decimal)` (integration)
- `OnAfterTransProdOrder(var FromProdOrder: Record "Production Order"; var ToProdOrder: Record "Production Order")` (integration)
  - subscribers: [Codeunit 99000783 "Prod. Document Attachment Mgt."](../codeunit/99000783.md) DocumentAttachmentFlow_FromProdOrderToProdOrder
- `OnAfterTransProdOrderLines(var FromProdOrder: Record "Production Order"; var ToProdOrder: Record "Production Order")` (integration)
- `OnAfterTransProdOrderComp(var FromProdOrder: Record "Production Order"; var ToProdOrder: Record "Production Order")` (integration)
- `OnAfterToProdOrderLineModify(var ToProdOrderLine: Record "Prod. Order Line"; var FromProdOrderLine: Record "Prod. Order Line"; var NewStatus: Option Quote,Planned,"Firm Planned",Released,Finished)` (integration)
  - subscribers: [Codeunit 20407 "Qlty. Manufactur. Integration"](../codeunit/20407.md) HandleOnAfterToProdOrderLineModify, [Codeunit 99000783 "Prod. Document Attachment Mgt."](../codeunit/99000783.md) DocumentAttachmentFlow_FromProdOrderLineToProdOrderLine
- `OnAfterToProdOrderRtngLineInsert(var ToProdOrderRoutingLine: Record "Prod. Order Routing Line"; var FromProdOrderRoutingLine: Record "Prod. Order Routing Line")` (integration)
  - subscribers: [Codeunit 20407 "Qlty. Manufactur. Integration"](../codeunit/20407.md) HandleOnAfterToProdOrderRtngLineInsert, [Codeunit 20520 "Subc. Prod. Order Rtng. Ext."](../codeunit/20520.md) TransferSubcontractingCommentsOnAfterToProdOrderRoutingLineInsert
- `OnAfterCalculateQtyToPost(ProdOrderComponent: Record "Prod. Order Component"; var QtyToPost: Decimal; ProdOrder: Record "Production Order"; NewStatus: Enum "Production Order Status")` (integration)
- `OnAfterChangeStatusOnProdOrder(var ProdOrder: Record "Production Order"; var ToProdOrder: Record "Production Order"; NewStatus: Enum "Production Order Status"; NewPostingDate: Date; NewUpdateUnitCost: Boolean; var SuppressCommit: Boolean; xProductionOrder: Record "Production Order")` (integration)
  - subscribers: [Codeunit 20407 "Qlty. Manufactur. Integration"](../codeunit/20407.md) HandleOnAfterChangeStatusOnProdOrder, [Codeunit 20549 "Subc. Change Prod.Order Status"](../codeunit/20549.md) UpdateWIPLedgerEntryProdOrderRelationOnAfterChangeStatus
- `OnAfterUpdateGlobalDim(var ItemJournalLine: Record "Item Journal Line"; ProdOrderRoutingLine: Record "Prod. Order Routing Line"; ProdOrderLine: Record "Prod. Order Line")` (integration)
- `OnBeforeChangeStatusOnProdOrder(var ProductionOrder: Record "Production Order"; NewStatus: Option Quote,Planned,"Firm Planned",Released,Finished; var IsHandled: Boolean; NewPostingDate: Date; NewUpdateUnitCost: Boolean)` (integration)
  - subscribers: [Codeunit 20549 "Subc. Change Prod.Order Status"](../codeunit/20549.md) CheckForOpenTransferOrdersOnBeforeChangeStatusOnProdOrder
- `OnBeforeCheckBeforeFinishProdOrder(var ProductionOrder: Record "Production Order"; var IsHandled: Boolean)` (integration)
- `OnBeforeOnRun(var ChangeStatusOnProdOrderPage: Page "Change Status on Prod. Order"; var ProductionOrder: Record "Production Order"; var IsHandled: Boolean; NewStatus: Enum "Production Order Status"; NewPostingDate: Date; NewUpdateUnitCost: Boolean)` (integration)
- `OnBeforeFlushProdOrder(var ProductionOrder: Record "Production Order"; NewStatus: Enum "Production Order Status"; PostingDate: Date; var IsHandled: Boolean)` (integration)
- `OnBeforeInsertProdOrderLine(var ToProdOrderLine: Record "Prod. Order Line"; FromProdOrderLine: Record "Prod. Order Line")` (integration)
- `OnBeforeMakeMultiLevelAdjmt(var ProductionOrder: Record "Production Order"; var IsHandled: Boolean)` (integration)
- `OnBeforePostFlushItemJnlLine(var ItemJournalLine: Record "Item Journal Line"; var IsHandled: Boolean)` (integration)
- `OnBeforeTransProdOrderRtngCmtLn(FromProductionOrder: Record "Production Order"; ToProductionOrder: Record "Production Order"; var IsHandled: Boolean)` (integration)
- `OnBeforeTransProdOrderCmtLine(FromProductionOrder: Record "Production Order"; ToProductionOrder: Record "Production Order"; var IsHandled: Boolean)` (integration)
- `OnBeforeTransProdOrderBOMCmtLine(FromProductionOrder: Record "Production Order"; ToProductionOrder: Record "Production Order"; var IsHandled: Boolean)` (integration)
- `OnBeforeTransferLinks(FromProdOrder: Record "Production Order"; ToProdOrder: Record "Production Order"; var IsHandled: Boolean)` (integration)
- `OnBeforeRoundQtyToPost(ProdOrderComponent: Record "Prod. Order Component"; var QtyToPost: Decimal; var IsHandled: Boolean)` (integration)
- `OnBeforeMatrOrCapConsumpExists(ProdOrderLine: Record "Prod. Order Line"; var EntriesExist: Boolean; var IsHandled: Boolean)` (integration)
- `OnChangeProdOrderStatusOnBeforeTransProdOrder(var ProdOrder: Record "Production Order"; NewStatus: Enum "Production Order Status")` (integration)
- `OnCheckMissingConsumption(var ProductionOrder: Record "Production Order"; var ProdOrderLine: Record "Prod. Order Line"; var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var ShowWarning: Boolean)` (integration)
- `OnCheckMissingOutput(var ProductionOrder: Record "Production Order"; var ProdOrderLine: Record "Prod. Order Line"; var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var ShowWarning: Boolean)` (integration)
- `OnCheckBeforeFinishProdOrderOnAfterSetProdOrderCompFilters(var ProdOrderComp: Record "Prod. Order Component"; ProductionOrder: Record "Production Order"; var PurchaseLine: Record "Purchase Line")` (integration)
- `OnCheckBeforeFinishProdOrderOnAfterCheckProdOrder(var ProdOrder: Record "Production Order")` (integration)
- `OnCopyFromProdOrder(var ToProdOrder: Record "Production Order"; FromProdOrder: Record "Production Order")` (integration)
- `OnCopyFromProdOrderLine(var ToProdOrderLine: Record "Prod. Order Line"; FromProdOrderLine: Record "Prod. Order Line")` (integration)
- `OnCopyFromProdOrderRoutingLine(var ToProdOrderRoutingLine: Record "Prod. Order Routing Line"; FromProdOrderRoutingLine: Record "Prod. Order Routing Line"; NewPostingDate: Date)` (integration)
- `OnCopyFromProdOrderComp(var ToProdOrderComp: Record "Prod. Order Component"; var FromProdOrderComp: Record "Prod. Order Component")` (integration)
- `OnCopyFromProdOrderCapacityNeed(var ToProdOrderCapacityNeed: Record "Prod. Order Capacity Need"; FromProdOrderCapacityNeed: Record "Prod. Order Capacity Need")` (integration)
- `OnFlushProdOrderOnAfterFindProdOrderRtngLine(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var IsLastOperation: Boolean)` (integration)
- `OnFlushProdOrderOnAfterPostFlushItemJnlLine(var ItemJnlLine: Record "Item Journal Line")` (integration)
- `OnFlushProdOrderOnAfterProdOrderCompSetFilters(ProdOrder: Record "Production Order"; var ProdOrderComponent: Record "Prod. Order Component")` (integration)
- `OnFlushProdOrderOnAfterProdOrderLineLoopIteration(var ProdOrderLine: Record "Prod. Order Line"; NewStatus: Enum "Production Order Status"; PostingDate: Date)` (integration)
- `OnFlushProdOrderOnBeforeCopyItemTracking(var ItemJournalLine: Record "Item Journal Line"; ProdOrderComponent: Record "Prod. Order Component"; Item: Record Item)` (integration)
- `OnFlushProdOrderProcessProdOrderRtngLineOnAfterCalcOutputQty(ProdOrderLine: Record "Prod. Order Line"; ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var OutputQty: Decimal; var OutputQtyBase: Decimal)` (integration)
- `OnBeforeFlushProdOrderProcessProdOrderRtngLine(var ProdOrderLine: Record "Prod. Order Line"; var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; PostingDate: Date; var IsHandled: Boolean)` (integration)
- `OnInitItemJnlLineFromProdOrderCompOnAfterInit(var ItemJournalLine: Record "Item Journal Line")` (integration)
- `OnInitItemJnlLineFromProdOrderLineOnAfterInit(var ItemJournalLine: Record "Item Journal Line")` (integration)
- `OnTransProdOrderCompOnAfterToProdOrderCompInsert(var FromProdOrderComp: Record "Prod. Order Component"; var ToProdOrderComp: Record "Prod. Order Component")` (integration)
- `OnTransProdOrderCompOnBeforeToProdOrderCompInsert(var FromProdOrderComp: Record "Prod. Order Component"; var ToProdOrderComp: Record "Prod. Order Component")` (integration)
- `OnTransProdOrderLineOnBeforeFinishedInvtAdjmtEntryOrderModify(var InventoryAdjmtEntryOrder: Record "Inventory Adjmt. Entry (Order)"; FromProdOrderLine: Record "Prod. Order Line"; var ToProdOrderLine: Record "Prod. Order Line"; ToProductionOrder: Record "Production Order")` (integration)
- `OnTransProdOrderLineOnBeforeTransferPOLineToPOLine(FromProdOrderLine: Record "Prod. Order Line"; var ToProdOrderLine: Record "Prod. Order Line"; NewStatus: Enum "Production Order Status")` (integration)
- `OnTransProdOrderCapNeedOnBeforeDeleteAll(var ProdOrder: Record "Production Order"; var ProdOrderCapacityNeed: Record "Prod. Order Capacity Need"; var IsHandled: Boolean)` (integration)
- `OnAfterSetProdOrderCompFilters(var ProdOrderComponent: Record "Prod. Order Component"; ProductionOrder: Record "Production Order")` (integration)
- `OnErrorIfUnableToClearWIPOnBeforeError(ProdOrderLine: Record "Prod. Order Line"; var IsHandled: Boolean)` (integration)
- `OnRunOnAfterChangeStatusFormRun(var ProductionOrder: Record "Production Order"; var ChangeStatusOnProdOrder: Page "Change Status on Prod. Order")` (integration)
  - subscribers: [Codeunit 20549 "Subc. Change Prod.Order Status"](../codeunit/20549.md) ChangeProdOrderStatusOnRunOnAfterChangeStatusFormRun
- `OnTransProdOrderOnBeforeToProdOrderInsert(var ToProdOrder: Record "Production Order"; FromProdOrder: Record "Production Order"; NewPostingDate: Date)` (integration)
- `OnBeforeShowStatusMessage(ProdOrder: Record "Production Order"; ToProdOrder: Record "Production Order"; var IsHandled: Boolean)` (integration)
- `OnTransProdOrderLineOnAfterDeleteReservEntries(FromProdOrderLine: Record "Prod. Order Line"; var ToProdOrderLine: Record "Prod. Order Line"; var NewStatus: Enum "Production Order Status")` (integration)
- `OnTransProdOrderOnAfterStatusIsReleased(var ToProdOrder: Record "Production Order"; FromProdOrder: Record "Production Order")` (integration)
- `OnBeforeTransProdOrder(var FromProdOrder: Record "Production Order"; Status: Enum "Production Order Status")` (integration)
- `OnTransProdOrderLineOnBeforeFromProdOrderLineLoop(FromProdOrderLine: Record "Prod. Order Line"; var ToProdOrderLine: Record "Prod. Order Line"; NewStatus: Enum "Production Order Status"; var IsHandled: Boolean; ToProductionOrder: Record "Production Order")` (integration)
- `OnTransProdOrderLineOnAfterFromProdOrderLineFindSet(FromProdOrderLine: Record "Prod. Order Line"; var ToProdOrderLine: Record "Prod. Order Line"; NewStatus: Enum "Production Order Status")` (integration)
- `OnChangeProdOrderStatusOnBeforeDeleteDocReservation(ProdOrder: Record "Production Order"; var IsHandled: Boolean)` (integration)
- `OnAfterFlushProdOrderProcessProdOrderRtngLine(ProdOrder: Record "Production Order"; ProdOrderLine: Record "Prod. Order Line"; ProdOrderRtngLine: Record "Prod. Order Routing Line"; NewStatus: Option Simulated,Planned,"Firm Planned",Released,Finished; PostingDate: Date)` (integration)
- `OnAfterRoundQtyToPost(ProdOrderComp: Record "Prod. Order Component"; QtyToPost: Decimal)` (integration)
- `OnCheckBeforeFinishProdOrderOnBeforeFindSet(var ProdOrderLine: Record "Prod. Order Line"; var ProdOrderRtngLine: Record "Prod. Order Routing Line"; var ShowWarning: Boolean; var IsHandled: Boolean)` (integration)
- `OnTransferLinksOnBeforeCopyLinks(var FromProductionOrder: Record "Production Order"; var ToProductionOrder: Record "Production Order"; var IsHandled: Boolean)` (integration)
- `OnTransProdOrderLineOnAfterFromProdOrderLineSetFilters(var FromProdOrderLine: Record "Prod. Order Line"; var FromProductionOrder: Record "Production Order"; NewUpdateUnitCost: Boolean)` (integration)
- `OnBeforeTransProdOrderComp(FromProdOrder: Record "Production Order"; var ToProdOrder: Record "Production Order"; var IsHandled: Boolean)` (integration)
- `OnErrorIfUnableToClearWIPOnAfterProdOrderLineSetFilters(ProductionOrder: Record "Production Order"; var ProdOrderLine: Record "Prod. Order Line")` (integration)
- `OnAfterTransferReopenProdOrderLine(ProdOrderLine: Record "Prod. Order Line"; FromProdOrderLine: Record "Prod. Order Line")` (integration)
  - subscribers: [Codeunit 99000783 "Prod. Document Attachment Mgt."](../codeunit/99000783.md) DocumentAttachmentFlow_FromFinishedToReopenedProdOrderLine
- `OnAfterTransferRelatedTablesToReleasedProdOrder(ProductionOrder: Record "Production Order")` (integration)
  - subscribers: [Codeunit 20549 "Subc. Change Prod.Order Status"](../codeunit/20549.md) ReopenWIPEntriesOnAfterTransferRelatedTablesToReleasedProdOrder
- `OnProcessProdOrderLineForReopenOnBeforeDeleteUpdateProdOrderLine(ProdOrderLine: Record "Prod. Order Line")` (integration)
- `OnAfterTransferReopenProdOrder(ProductionOrder: Record "Production Order"; FromProductionOrder: Record "Production Order")` (integration)
  - subscribers: [Codeunit 99000783 "Prod. Document Attachment Mgt."](../codeunit/99000783.md) DocumentAttachmentFlow_FromFinishedToReopenedProdOrder
- `OnTransReopenProdOrderCompOnAfterInsert(FromProdOrderComponent: Record "Prod. Order Component"; NewProdOrderComponent: Record "Prod. Order Component")` (integration)
- `OnTransferReopenProdOrderRtngLineOnAfterInsert(FromProdOrderRoutingLine: Record "Prod. Order Routing Line"; ToProdOrderRoutingLine: Record "Prod. Order Routing Line"; FromProductionOrder: Record "Production Order")` (integration)
- `OnBeforeShowReleasedProdOrderDocument(var ProductionOrder: Record "Production Order"; var IsHandled: Boolean)` (integration)

## Procedures

- `ChangeProdOrderStatus(ProdOrder: Record "Production Order"; NewStatus: Enum "Production Order Status"; NewPostingDate: Date; NewUpdateUnitCost: Boolean)`
- `ReopenFinishedProdOrder(var ProdOrder: Record "Production Order")`
- `ProcessProdOrderForReopen(var ProdOrder: Record "Production Order")`
- `SetFinishOrderWithoutOutput(NewFinishOrderWithoutOutput: Boolean)`
- `TransProdOrder(var FromProdOrder: Record "Production Order")`
- `FlushProdOrder(ProdOrder: Record "Production Order"; NewStatus: Enum "Production Order Status"; PostingDate: Date)`
- `CheckBeforeFinishProdOrder(ProdOrder: Record "Production Order")`
- `SetPostingInfo(Status: Enum "Production Order Status"; PostingDate: Date; UpdateUnitCost: Boolean)`
- `OutputExists(ProdOrderLine: Record "Prod. Order Line"): Boolean`
- `MatrOrCapConsumpExists(ProdOrderLine: Record "Prod. Order Line"): Boolean`
- `SetTimeAndQuantityOmItemJnlLine(var ItemJnlLine: Record "Item Journal Line"; ProdOrderRtngLine: Record "Prod. Order Routing Line"; OutputQtyBase: Decimal; OutputQty: Decimal; PutawayQtyBaseToCalc: Decimal)`
- `ChangeProdOrderStatus(ProdOrder: Record "Production Order"; var NewProdOrder: Record "Production Order"; NewStatus: Enum "Production Order Status"; NewPostingDate: Date; NewUpdateUnitCost: Boolean)`
- `ChangeStatusWithSelectionFilter(var ProductionOrder: Record "Production Order")`

Plus 55 local procedures.

## Triggers

OnRun

## Relations

- runs on [Table 5405 "Production Order"](../table/5405.md)

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 99000758 "Mfg. Cost Calculation Mgt."](../codeunit/99000758.md) (5 calls: `FlushProdOrderProcessProdOrderRtngLine → CalcActOperOutputAndScrap`, `FlushProdOrderProcessProdOrderRtngLine → CalcActualOutputQtyWithNoCapacity`, `GetOutputQtyForProdOrderRoutingLine → CalcActOutputQtyBase`, …)
- [Codeunit 99000845 "Reservation Management"](../codeunit/99000845.md) (5 calls: `ChangeProdOrderStatus → DeleteDocumentReservation`, `TransProdOrderComp → DeleteReservEntries`, `TransProdOrderComp → SetReservSource`, …)
- [Codeunit 5802 "Inventory Posting To G/L"](../codeunit/5802.md) (4 calls: `PostInvtBuffer → AdjustPostedWIPForProduction`, `PostInvtBuffer → PostInvtPostBufPerEntry`, `PostInvtBuffer → SetGenJnlBatch`, …)
- [Codeunit 5402 "Unit of Measure Management"](../codeunit/5402.md) (3 calls: `InitItemJnlLineFromProdOrderComp → QtyRndPrecision`, `RoundQtyToPost → RoundToItemRndPrecision`, `SetTimeAndQuantityOmItemJnlLine → TimeRndPrecision`)
- [Codeunit 27 "Confirm Management"](../codeunit/27.md) (2 calls: `CanReopenFinishedProdOrder → GetResponseOrDefault`, `CheckBeforeSetStatusToFinishProdOrder → GetResponseOrDefault`)
- [Codeunit 5774 "Whse.-Production Release"](../codeunit/5774.md) (2 calls: `ChangeProdOrderStatus → FinishedDelete`, `ChangeProdOrderStatus → Release`)
- [Codeunit 700 "Page Management"](../codeunit/700.md) (2 calls: `TransferLinks → GetPageCaption`, `TransferLinks → GetPageID`)
- [Codeunit 8703 "Feature Telemetry"](../codeunit/8703.md) (2 calls: `ReopenFinishedProdOrder → LogUptake`, `ReopenFinishedProdOrder → LogUsage`)
- [Codeunit 99000750 "ProdOrderChangeStatusBulk"](../codeunit/99000750.md) (2 calls: `ChangeStatusWithSelectionFilter → (object)`, `ChangeStatusWithSelectionFilter → SetParameters`)
- [Codeunit 99000837 "Prod. Order Line-Reserve"](../codeunit/99000837.md) (2 calls: `FlushProdOrderProcessProdOrderRtngLine → TransferPOLineToItemJnlLine`, `TransProdOrderLine → TransferPOLineToPOLine`)
- [Codeunit 99000893 "Mfg. Create Put-away"](../codeunit/99000893.md) (2 calls: `HandleWhsePutAwayForProdOutput → CreateWhsePutAwayForProdOrderOutputLine`, `HandleWhsePutAwayForProdOutput → ShouldCreateWhsePutAwayForProdOutput`)
- [Codeunit 22 "Item Jnl.-Post Line"](../codeunit/22.md) (1 call: `PostFlushItemJnlLine → RunWithCheck`)
- [Codeunit 408 "DimensionManagement"](../codeunit/408.md) (1 call: `FlushProdOrderProcessProdOrderRtngLine → UpdateGlobalDimFromDimSetID`)
- [Codeunit 5837 "Additional-Currency Management"](../codeunit/5837.md) (1 call: `TransProdOrderLine → CalcACYAmt`)
- [Codeunit 5894 "Inventory Adjustment Handler"](../codeunit/5894.md) (1 call: `MakeMultiLevelAdjmt → MakeAutomaticInventoryAdjustment`)
- [Codeunit 6500 "Item Tracking Management"](../codeunit/6500.md) (1 call: `FlushProdOrder → CopyItemTracking`)
- [Codeunit 7325 "Whse.-Output Prod. Release"](../codeunit/7325.md) (1 call: `ChangeProdOrderStatus → FinishedDelete`)
- [Codeunit 99000755 "Shop Calendar Management"](../codeunit/99000755.md) (1 call: `SetTimeAndQuantityOmItemJnlLine → QtyperTimeUnitofMeasure`)
- [Codeunit 99000757 "Update Prod. Order Cost"](../codeunit/99000757.md) (1 call: `TransProdOrderLine → UpdateUnitCostOnProdOrder`)
- [Codeunit 99000838 "Prod. Order Comp.-Reserve"](../codeunit/99000838.md) (1 call: `TransProdOrderComp → TransferPOCompToPOComp`)
- [Page 700 "Error Messages"](../page/700.md) (1 call: `ChangeStatusWithSelectionFilter → (object)`)
- [Page 99000831 "Released Production Order"](../page/99000831.md) (1 call: `ShowReleasedProdOrderDocument → (object)`)

## Called by

- [Codeunit 99000750 "ProdOrderChangeStatusBulk"](../codeunit/99000750.md) (2 calls: `OnRun → ChangeProdOrderStatus`, `OnRun → SetFinishOrderWithoutOutput`)
- [Codeunit 99000792 "Create Prod. Order from Sale"](../codeunit/99000792.md) (1 call: `CreateProductionOrder → FlushProdOrder`)

## Recent changes

- 2026-09-02 [#10879 [Main]Reopening and re-finishing production order reposts backward-flushed routing capacityInitial commit](../../changes/bcapps/10879.md) (main, BC30, fix)
- 2026-08-30 [#10546 [Main] Reopening and re-finishing production order reposts backward-flushed routing capacityupdate](../../changes/bcapps/10546.md) (main, BC30, fix)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24-30

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "codeunit", object_name: "Prod. Order Status Management")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
