Codeunit 99000875 "Prod. Order Availability Mgt."
Base Application · Microsoft.Manufacturing.Document
Across versions
- BC23-24not present
- BC25added
- BC2618 procedures changed
- BC2720 procedures changed, 19 procedures added
- BC281 events added
- BC29unchanged
- BC303 procedures removed, 1 events removed
Neighbourhood 9 connected objects and pages
Base Application · Microsoft.Manufacturing.Document · BC25-30 · source at ea08af5e · facts from BC29
Events published
OnBeforeRunProductionOrderPage(var ProductionOrder: Record Microsoft.Manufacturing.Document."Production Order"; var IsHandled: Boolean)+ BC27 (integration)OnParentIsInPlanningOnAfterReqLineSetFilters(var RequisitionLine: Record "Requisition Line"; var ProdOrderComp: Record Microsoft.Manufacturing.Document."Prod. Order Component")+ BC27 (integration)OnBeforeShowItemAvailFromProdOrderLine(var Item: Record Item; var ProdOrderLine: Record "Prod. Order Line")(integration)OnBeforeShowItemAvailFromProdOrderComp(var Item: Record Item; var ProdOrderComp: Record "Prod. Order Component")(integration)OnAfterTransferProdOrderComp(var InventoryPageData: Record "Inventory Page Data"; var ProductionOrder: Record "Production Order")(integration)OnAfterTransferFromProdComp(var InventoryEventBuffer: Record "Inventory Event Buffer"; ProdOrderComponent: Record "Prod. Order Component")(integration)OnAfterTransferFromProdOrder(var InventoryEventBuffer: Record "Inventory Event Buffer"; ProdOrderLine: Record "Prod. Order Line")(integration)OnAfterTransferFromForecast(var InventoryEventBuffer: Record "Inventory Event Buffer"; ProdForecastEntry: Record "Production Forecast Entry")Δ BC27 − BC30 (integration, obsolete 27.0)OnBeforeUpdateSchedNeedAvail(var AvailabilityAtDate: Record "Availability at Date"; var Item: Record Item; var IsHandled: Boolean)(integration)OnBeforeUpdateSchedRcptAvail(var AvailabilityAtDate: Record "Availability at Date"; var Item: Record Item; var IsHandled: Boolean)(integration)OnBeforeReassignRefOrderNos(OrderPromisingID: Code[20]; var IsHandled: Boolean)+ BC27 (integration)OnReassignRefOrderNosOnAfterRequisitionLineModifyAll(var RequisitionLine: Record "Requisition Line")+ BC27 (integration)OnShowCustomProdItemAvailByBOMLevelOnBeforeRunModal(var ItemAvailabilityByBOMLevel: Page "Item Availability by BOM Level"; var ProdOrderLine: Record "Prod. Order Line"; FieldCaption: Text[80]; OldDate: Date)+ BC28 (integration)
Event subscriptions
- OnLookupDemandNo subscribes to Page “Demand Overview” OnLookupDemandNo
- OnSourceTypeTextOnFormat subscribes to Page “Demand Overview” OnSourceTypeTextOnFormat
- OnGetDemandDates subscribes to Codeunit “Calc. Availability Overview” OnGetDemandDates
- OnGetSupplyDates subscribes to Codeunit “Calc. Availability Overview” OnGetSupplyDates
- OnGetDemandEntries subscribes to Codeunit “Calc. Availability Overview” OnGetDemandEntries
- OnGetSupplyEntries subscribes to Codeunit “Calc. Availability Overview” OnGetSupplyEntries
- OnCheckItemInRange subscribes to Codeunit “Calc. Availability Overview” OnCheckItemInRange
- OnDemandExist subscribes to Codeunit “Calc. Availability Overview” OnDemandExist
- OnSupplyExist subscribes to Codeunit “Calc. Availability Overview” OnSupplyExist
- OnLookupAvailableInventory subscribes to Table “Availability Info. Buffer” OnLookupAvailableInventory
- OnLookupGrossRequirement subscribes to Table “Availability Info. Buffer” OnLookupGrossRequirement
- OnLookupPlannedOrderReceipt subscribes to Table “Availability Info. Buffer” OnLookupPlannedOrderReceipt
- OnLookupScheduledReceipt subscribes to Table “Availability Info. Buffer” OnLookupScheduledReceipt
- OnAfterGetDocumentEntries subscribes to Codeunit “Calc. Item Availability” OnAfterGetDocumentEntries
- OnAfterShowDocument subscribes to Codeunit “Calc. Item Availability” OnAfterShowDocument
- OnAfterGetSourceReferences subscribes to Codeunit “Calc. Item Availability” OnAfterGetSourceReferences
- OnParentIsInPlanning subscribes to Codeunit “Calc. Item Availability” OnParentIsInPlanning
- OnAfterCalcItemPlanningFields subscribes to Codeunit “Item Availability Forms Mgt” OnAfterCalcItemPlanningFields
- OnTransferToPeriodDetailsElseCase subscribes to Codeunit “Calc. Inventory Page Data” OnTransferToPeriodDetailsElseCase
- OnAfterMakeEntries subscribes to Page “Item Availability Line List” OnAfterMakeEntries
- OnAfterLookupEntries subscribes to Page “Item Availability Line List” OnAfterLookupEntries
- OnAfterCalculateAvailability subscribes to Codeunit “Available to Promise” OnAfterCalculateAvailability
- OnAfterCalcCapableToPromise subscribes to Codeunit “AvailabilityManagement” OnAfterCalcCapableToPromise
- OnCalcScheduledReceiptQty subscribes to Table “Item” OnCalcScheduledReceiptQty
- OnCalcQtyOnComponentLines subscribes to Table “Item” OnCalcQtyOnComponentLines
- OnCalcQtyOnProdOrder subscribes to Table “Item” OnCalcQtyOnProdOrder
- OnCalcPlannedOrderReceiptQty subscribes to Table “Item” OnCalcPlannedOrderReceiptQty
- OnCalcFPOrderReceiptQty subscribes to Table “Item” OnCalcFPOrderReceiptQty
- OnCalcRelOrderReceiptQty subscribes to Table “Item” OnCalcRelOrderReceiptQty
- OnCalcAllItemFieldsOnAfterItemCalcFields subscribes to Codeunit “Available to Promise” OnCalcAllItemFieldsOnAfterItemCalcFields
- OnCalcReservedQtyOnProdOrder subscribes to Table “Item” OnCalcReservedQtyOnProdOrder
- OnRequisitionLineOnBeforeTempPlanningBufferInsert subscribes to Report “Planning Availability” OnRequisitionLineOnBeforeTempPlanningBufferInsert
Procedures
ShowItemAvailFromProdOrderLine(var ProdOrderLine: Record "Prod. Order Line"; AvailabilityType: Enum "Item Availability Type")ShowItemAvailFromProdOrderComp(var ProdOrderComp: Record "Prod. Order Component"; AvailabilityType: Enum "Item Availability Type")ShowSchedReceipt(var Item: Record Item)ShowSchedNeed(var Item: Record Item)TransferFromProdComp(var InventoryEventBuffer: Record "Inventory Event Buffer"; ProdOrderComp: Record "Prod. Order Component")TransferFromProdOrder(var InventoryEventBuffer: Record "Inventory Event Buffer"; ProdOrderLine: Record "Prod. Order Line")TransferFromForecast(var InventoryEventBuffer: Record "Inventory Event Buffer"; ProdForecastEntry: Record "Production Forecast Entry"; UnconsumedQtyBase: Decimal; ForecastOnLocation: Boolean)Δ BC27 Δ BC27 − BC30 − BC30 (obsolete 27.0: Moved back to InventoryEventBuffer)TransferFromForecast(var InventoryEventBuffer: Record "Inventory Event Buffer"; ProdForecastEntry: Record "Production Forecast Entry"; UnconsumedQtyBase: Decimal; ForecastOnLocation: Boolean; ForecastOnVariant: Boolean)Δ BC27 Δ BC27 − BC30 − BC30 (obsolete 27.0: Moved back to InventoryEventBuffer)ReassignRefOrderNos(OrderPromisingID: Code[20])+ BC27
Plus 14 local procedures.
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 353 “Item Availability Forms Mgt” (13 calls:
ShowItemAvailFromProdOrderComp → FilterItem,ShowItemAvailFromProdOrderComp → ShowItemAvailabilityByBOMLevel,ShowItemAvailFromProdOrderComp → ShowItemAvailabilityByEvent, …) - Codeunit 5830 “Calc. Availability Overview” (4 calls:
OnGetDemandDates → InsertAvailabilityEntry,OnGetDemandEntries → InsertAvailabilityEntry,OnGetSupplyDates → InsertAvailabilityEntry, …) - Codeunit 5530 “Calc. Item Availability” (2 calls:
TryGetProdOrderCompDemandEntries → InsertEntry,TryGetProdOrderSupplyEntries → InsertEntry) - Codeunit 5790 “Available to Promise” (2 calls:
UpdateSchedNeedAvail → UpdateGrossRequirement,UpdateSchedRcptAvail → UpdateScheduledReceipt) - Page 456 “No. Series” (1 call:
ReassignRefOrderNos → (object)) - Page 99000813 “Planned Production Order” (1 call:
RunProductionOrderPage → (object)) - Page 99000829 “Firm Planned Prod. Order” (1 call:
RunProductionOrderPage → (object)) - Page 99000831 “Released Production Order” (1 call:
RunProductionOrderPage → (object)) - Page 99000867 “Finished Production Order” (1 call:
RunProductionOrderPage → (object))
Recent changes
- 2026-10-02 #12066 Bugs/remove asm inv mfg clean27 tags for wave2 2026 (main, BC30, obsoletion)
- 2026-08-04 #9075 Bug 598820: Item Availability by Event from Prod. Order ignores demand after Due Date (main, BC30, fix)
Deprecations
- procedure OnRequisitionLineOnBeforeTempPlanningBufferInsert: guarded (#if not CLEAN27)
- procedure OnAfterTransferFromForecast: Pending 27.0 (#if not CLEAN27), “Moved back to InventoryEventBuffer”
- procedure TransferFromForecast: Pending 27.0 (#if not CLEAN27), “Moved back to InventoryEventBuffer”
- procedure TransferFromForecast: Pending 27.0 (#if not CLEAN27), “Moved back to InventoryEventBuffer”
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 Availability Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.