Codeunit 99000857 "Prod. Order Line-Planning"
Base Application · Microsoft.Manufacturing.Document
Across versions
- BC23-24not present
- BC25added
- BC269 procedures changed
- BC279 procedures changed, 6 procedures added
- BC28-30unchanged
Neighbourhood 6 connected objects and pages
Base Application · Microsoft.Manufacturing.Document · BC25-30 · source at 4e6a307c · facts from BC29
Properties
| Property | Value |
|---|---|
| Permissions | tabledata “Production Order” = r, tabledata “Prod. Order Component” = r, tabledata “Prod. Order Capacity Need” = r |
Events published
OnBeforeGetUnplannedProdOrderComp(var UnplannedDemand: Record "Unplanned Demand"; var ProdOrderComponent: Record Microsoft.Manufacturing.Document."Prod. Order Component")+ BC27 (integration)OnGetUnplannedProdOrderCompOnAfterCalcNeedInsertUnplannedDemand(var UnplannedDemand: Record "Unplanned Demand"; var ProdOrderComp: Record Microsoft.Manufacturing.Document."Prod. Order Component"; var NeedInsertUnplannedDemand: Boolean)+ BC27 (integration)OnGetUnplannedProdOrderCompOnAfterInsertUnplannedDemand(var UnplannedDemand: Record "Unplanned Demand"; var ProdOrderComp: Record Microsoft.Manufacturing.Document."Prod. Order Component")+ BC27 (integration)OnInsertProdOrderCompLineOnBeforeInsert(var UnplannedDemand: Record "Unplanned Demand"; ProdOrderComponent: Record Microsoft.Manufacturing.Document."Prod. Order Component")+ BC27 (integration)OnGetUnplannedProdOrderCompOnAfterInsertProdOrderCompLine(var UnplannedDemand: Record "Unplanned Demand"; var ProdOrderComp: Record Microsoft.Manufacturing.Document."Prod. Order Component")+ BC27 (integration)OnBeforeGetProdOrderCompNeededQty(ProdOrderComponent: Record Microsoft.Manufacturing.Document."Prod. Order Component"; var NeededQty: Decimal; var IsHandled: Boolean)+ BC27 (integration)
Event subscriptions
- ReqLineOnSetDemandTypeFromUnplannedDemand subscribes to Table “Requisition Line” OnSetDemandTypeFromUnplannedDemand
- OnValidateDemandOrderNoOnGetSourceFields subscribes to Table “Unplanned Demand” OnValidateDemandOrderNoOnGetSourceFields
- CarryOutActionMsgPlanOnCheckDemandType subscribes to Report “Carry Out Action Msg. - Plan.” OnCheckDemandType
- OnInsertDemandLinesOnCopyItemTracking subscribes to Codeunit “Order Planning Mgt.” OnInsertDemandLinesOnCopyItemTracking
- OrderPlanningOnBeforeShowDemandOrder subscribes to Page “Order Planning” OnBeforeShowDemandOrder
- OnSetRecDemandFilter subscribes to Page “Order Planning” OnSetRecDemandFilter
- OnAfterStatusTextOnFormat subscribes to Page “Order Planning” OnAfterStatusTextOnFormat
- OnAfterDemandTypeTextOnFormat subscribes to Page “Order Planning” OnAfterDemandTypeTextOnFormat
- OnAfterDemandSubtypeTextOnFormat subscribes to Page “Order Planning” OnAfterDemandSubtypeTextOnFormat
- OnBeforeOpenPlanningWindow subscribes to Codeunit “Get Unplanned Demand” OnBeforeOpenWindow
- OnAfterGetUnplanned subscribes to Codeunit “Get Unplanned Demand” OnAfterGetUnplanned
- OnInsertAltSupplyLocationOnAfterSelectSubstitution subscribes to Codeunit “Order Planning Mgt.” OnInsertAltSupplyLocationOnAfterSelectSubstitution
Procedures
3 local procedures, no public ones.
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 5520 “Get Unplanned Demand” (2 calls:
GetUnplannedProdOrderComp → InsertUnplannedDemand,GetUnplannedProdOrderComp → UpdateWindow) - Codeunit 6500 “Item Tracking Management” (1 call:
OnInsertDemandLinesOnCopyItemTracking → CopyItemTracking) - Codeunit 99000898 “Mfg. Item Substitution” (1 call:
OnInsertAltSupplyLocationOnAfterSelectSubstitution → UpdateProdOrderComp) - Page 99000813 “Planned Production Order” (1 call:
OrderPlanningOnBeforeShowDemandOrder → (object)) - Page 99000829 “Firm Planned Prod. Order” (1 call:
OrderPlanningOnBeforeShowDemandOrder → (object)) - Page 99000831 “Released Production Order” (1 call:
OrderPlanningOnBeforeShowDemandOrder → (object))
Recent changes
- 2026-10-02 #12066 Bugs/remove asm inv mfg clean27 tags for wave2 2026 (main, BC30, obsoletion)
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Move Items Unplanned in Basic Warehouse Configurations — possibly related: GetUnplannedProdOrderComp logic relates to moving items and handling internal movements for production. (model-linked)
- Prod. Order - Job Card (report) — possibly related: Codeunit handles production order component planning and unplanned demand, documented by Job Card report requirements. (model-linked)
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 Line-Planning"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.