Codeunit 99000822 "Mfg. Item Jnl.-Post Line"
Base Application · Microsoft.Inventory.Posting
Across versions
- BC23-26not present
- BC27added
- BC281 procedures added, 1 events added
- BC29-30unchanged
Neighbourhood 14 connected objects and pages
Base Application · Microsoft.Inventory.Posting · BC27-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Permissions | tabledata “Prod. Order Capacity Need” = rm, tabledata “Capacity Ledger Entry” = rm |
Events published
OnAfterCheckItemTrackingOfComp(TempHandlingSpecification: Record "Tracking Specification"; ItemJnlLine: Record "Item Journal Line")(integration)OnPostConsumptionOnBeforeCheckOrderType(var ProdOrderComponent: Record "Prod. Order Component"; var ItemJournalLine: Record "Item Journal Line"; var IsHandled: Boolean)(integration)OnPostConsumptionOnBeforeFindSetProdOrderComp(var ProdOrderComponent: Record "Prod. Order Component"; var ItemJournalLine: Record "Item Journal Line")(integration)OnBeforeProdOrderCompModify(var ProdOrderComponent: Record "Prod. Order Component"; ItemJournalLine: Record "Item Journal Line")(integration)OnInsertConsumpEntryOnBeforePostItem(var ItemJournalLine: Record "Item Journal Line"; ProdOrderComponent: Record "Prod. Order Component"; PostWhseJnlLine: Boolean; var WarehouseJournalLine: Record "Warehouse Journal Line")(integration)OnBeforeReservationExists(ItemJnlLine: Record "Item Journal Line"; var Result: Boolean; var IsHandled: Boolean)(integration)OnPostConsumptionOnAfterFindProdOrderComp(var ProdOrderComp: Record "Prod. Order Component")(integration)OnAfterInsertConsumpEntry(var WarehouseJournalLine: Record "Warehouse Journal Line"; var ProdOrderComponent: Record "Prod. Order Component"; QtyBase: Decimal; PostWhseJnlLine: Boolean; var ItemJnlLine: Record "Item Journal Line"; ItemLedgEntryNo: Integer)(integration)OnPostConsumptionOnRemQtyToPostOnBeforeInsertConsumpEntry(var ItemJnlLine: Record "Item Journal Line"; var ProdOrderComponent: Record "Prod. Order Component")(integration)OnPostConsumptionOnBeforeInsertRemainingConsumpEntry(var ItemJournalLine: Record "Item Journal Line"; var ProdOrderComponent: Record "Prod. Order Component"; var IsHandled: Boolean)+ BC28 (integration)OnPostConsumptionOnBeforeCalcRemQtyToPostThisLine(var ProdOrderComp: Record "Prod. Order Component"; var ItemJnlLine: Record "Item Journal Line"; var TempHandlingSpecification: Record "Tracking Specification"; RemQtyToPost: Decimal; UseItemTrackingApplication: Boolean; LastLoop: Boolean; var IsHandled: Boolean)(integration)OnPostConsumptionOnBeforeCalcRemainingQuantity(var ProdOrderComp: Record "Prod. Order Component"; var ItemJnlLine: Record "Item Journal Line"; var NewRemainingQty: Decimal; var QtyToPost: Decimal; var IsHandled: Boolean; var RemQtyToPost: Decimal)(integration)OnPostConsumptionOnAfterInsertEntry(var ProdOrderComponent: Record "Prod. Order Component")(integration)OnAfterPostConsumption(var ProdOrderComp: Record "Prod. Order Component"; var ItemJnlLine: Record "Item Journal Line")(integration)OnBeforeInsertConsumpEntry(var ProdOrderComponent: Record "Prod. Order Component"; QtyBase: Decimal; var ModifyProdOrderComp: Boolean; var ItemJnlLine: Record "Item Journal Line"; var TempSplitItemJnlLine: Record "Item Journal Line" temporary)(integration)OnPostConsumptionOnAfterCalcNewRemainingQty(ProdOrderComponent: Record "Prod. Order Component"; var NewRemainingQuantity: Decimal; QtyToPost: Decimal)(integration)OnCorrectOutputValuationDateOnBeforeCheckProdOrder(ItemLedgerEntry: Record "Item Ledger Entry"; var IsHandled: Boolean)(integration)OnCorrectOutputValuationDateOnBeforeValueEntryFindSet(var ValueEntry: Record "Value Entry")(integration)OnPostOutputOnBeforeProdOrderRtngLineModify(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var ProdOrderLine: Record "Prod. Order Line"; var ItemJournalLine: Record "Item Journal Line"; var LastOperation: Boolean)(integration)OnBeforePostFlushedConsump(ProdOrder: Record "Production Order"; ProdOrderLine: Record "Prod. Order Line"; ProdOrderComp: Record "Prod. Order Component"; ProdOrderRoutingLine: Record "Prod. Order Routing Line"; OldItemJnlLine: Record "Item Journal Line"; var IsHandled: Boolean)(integration)OnBeforeGetProdOrderLine(var ProdOrderLine: Record "Prod. Order Line"; OrderNo: Code[20]; OrderLineNo: Integer; var IsHandled: Boolean)(integration)OnPostOutputOnAfterInsertCapLedgEntry(ItemJournalLine: Record "Item Journal Line"; var SkipPost: Boolean)(integration)OnPostOutputOnBeforeInsertCostValueEntries(var ItemJournalLine: Record "Item Journal Line"; var CapacityLedgerEntry: Record "Capacity Ledger Entry"; var ValuedQty: Decimal; var DirCostAmt: Decimal; var IndirCostAmt: Decimal; var ItemJnlPostLine: Codeunit "Item Jnl.-Post Line")(integration)OnPostOutputOnAfterInsertCostValueEntries(ItemJournalLine: Record "Item Journal Line"; var CapLedgEntry: Record "Capacity Ledger Entry"; CalledFromAdjustment: Boolean; PostToGL: Boolean; var ItemJnlPostLine: Codeunit "Item Jnl.-Post Line")(integration)OnPostOutputOnBeforeGetMfgAmounts(var ItemJnlLine: Record "Item Journal Line"; ProdOrder: Record "Production Order"; var IsHandled: Boolean)(integration)OnPostOutputOnAfterSetMfgUnitCost(var ItemJournalLine: Record "Item Journal Line"; var MfgUnitCost: Decimal; var ProdOrderLine: Record "Prod. Order Line")(integration)OnPostOutputOnAfterUpdateAmounts(var ItemJournalLine: Record "Item Journal Line")(integration)OnPostOutputOnBeforeCreateWhseJnlLine(var ItemJournalLine: Record "Item Journal Line"; var PostWhseJnlLine: Boolean)(integration)- subscribers: Codeunit 20575 “Subc. Invt. Put-away Ext” SuppressAutoWhseJnlForSubcOutput_OnPostOutputOnBeforeCreateWhseJnlLine
OnPostOutputOnAfterCreateWhseJnlLine(var ItemJournalLine: Record "Item Journal Line")(integration)OnPostOutputOnBeforePostItem(var ItemJournalLine: Record "Item Journal Line"; var ProdOrderLine: Record "Prod. Order Line"; var IsHandled: Boolean)(integration)OnPostOutputOnBeforeUpdateProdOrderLine(var ItemJournalLine: Record "Item Journal Line"; var IsHandled: Boolean)(integration)OnAfterPostOutput(var ItemLedgerEntry: Record "Item Ledger Entry"; var ProdOrderLine: Record "Prod. Order Line"; var ItemJournalLine: Record "Item Journal Line")(integration)- subscribers: Codeunit 20407 “Qlty. Manufactur. Integration” HandleOnAfterPostOutput
OnBeforePostOutputForProdOrder(var ItemJnlLine: Record "Item Journal Line"; var LastOperation: Boolean; var IsHandled: Boolean)(integration)OnPostOutputOnAfterProdOrderRtngLineSetFilters(var ProdOrderRtngLine: Record "Prod. Order Routing Line")(integration)OnBeforeCallFlushOperation(var ItemJnlLine: Record "Item Journal Line"; var ShouldFlushOperation: Boolean)(integration)OnBeforeGetOutputProdOrder(var ProdOrder: Record "Production Order"; ItemJnlLine: Record "Item Journal Line"; var IsHandled: Boolean)(integration)OnBeforeGetOutputProdOrderLine(var ProdOrderLine: Record "Prod. Order Line"; ItemJnlLine: Record "Item Journal Line"; var IsHandled: Boolean)(integration)OnBeforeGetProdOrderRoutingLine(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; OldItemJnlLine: Record "Item Journal Line"; var IsHandled: Boolean)(integration)OnBeforePostOutputUpdateProdOrderRtngLine(var ProdOrderRtngLine: Record "Prod. Order Routing Line"; ItemJnlLine: Record "Item Journal Line"; var IsHandled: Boolean)(integration)OnBeforeOnApplyCapNeed(var ItemJnlLine: Record "Item Journal Line"; var PostedSetupTime: Decimal; var PostedRunTime: Decimal; var IsHandled: Boolean)(integration)OnAfterCalcCapQty(var ItemJnlLine: Record "Item Journal Line"; var CapQty: Decimal)(integration)OnApplyCapNeedOnAfterSetFilters(var ProdOrderCapNeed: Record "Prod. Order Capacity Need"; ItemJnlLine: Record "Item Journal Line")(integration)OnPostOutputForProdOrderOnAfterApplyCapNeed(var ItemJnlLine: Record "Item Journal Line"; var ValuedQty: Decimal)(integration)OnBeforeNextOperationExist(var ProdOrderRoutingLine: Record "Prod. Order Routing Line")(integration)OnCalcCapLedgerEntriesSetupRunTimeOnAfterCapLedgerEntrySetFilters(var CapLedgerEntry: Record "Capacity Ledger Entry"; ItemJnlLine: Record "Item Journal Line")(integration)OnBeforeUpdateProdOrderLine(var ProdOrderLine: Record "Prod. Order Line"; var ItemJournalLine: Record "Item Journal Line"; ReTrack: Boolean)(integration)OnBeforeProdOrderLineModify(var ProdOrderLine: Record "Prod. Order Line"; ItemJournalLine: Record "Item Journal Line"; ItemLedgEntryNo: Integer)(integration)OnAfterUpdateProdOrderLine(var ProdOrderLine: Record "Prod. Order Line"; ReTrack: Boolean; var ItemJournalLine: Record "Item Journal Line")(integration)OnFlushOperationOnBeforeCheckRoutingLinkCode(var ProductionOrder: Record "Production Order"; var ProdOrderLine: Record "Prod. Order Line"; var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var ItemJournalLine: Record "Item Journal Line"; LastOperation: Boolean)(integration)OnPostFlushedConsumpOnBeforeProdOrderCompReserveTransferPOCompToItemJnlLine(ItemJournalLine: Record "Item Journal Line"; ProdOrderComponent: Record "Prod. Order Component")(integration)OnBeforePostFlushedConsumpItemJnlLine(var ItemJournalLine: Record "Item Journal Line")(integration)OnAfterPostFlushedConsump(var ProdOrderComp: Record "Prod. Order Component"; var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; OldItemJnlLine: Record "Item Journal Line")(integration)OnPostOutputOnAfterUpdateProdOrderLine(var ItemJournalLine: Record "Item Journal Line"; var WhseJnlLine: Record "Warehouse Journal Line"; var GlobalItemLedgEntry: Record "Item Ledger Entry")(integration)OnFlushOperationOnAfterProdOrderCompSetFilters(var ProdOrderComponent: Record "Prod. Order Component"; ItemJournalLineSaved: Record "Item Journal Line"; var ProdOrderRoutingLine: Record "Prod. Order Routing Line")(integration)OnBeforeFlushOperation(var ProdOrder: Record "Production Order"; var ProdOrderLine: Record "Prod. Order Line"; var ItemJnlLine: Record "Item Journal Line"; LastOperation: Boolean)(integration)OnAfterFlushOperation(var ProdOrder: Record "Production Order"; var ProdOrderLine: Record "Prod. Order Line"; var ItemJnlLine: Record "Item Journal Line")(integration)OnPostFlushedConsumptionOnBeforeCalcQtyToPost(ProdOrder: Record "Production Order"; ProdOrderLine: Record "Prod. Order Line"; ProdOrderComp: Record "Prod. Order Component"; ProdOrderRoutingLine: Record "Prod. Order Routing Line"; OldItemJnlLine: Record "Item Journal Line"; var OutputQtyBase: Decimal)(integration)OnPostFlushedConsumpOnAfterCalcQtyToPost(ProductionOrder: Record "Production Order"; ProdOrderLine: Record "Prod. Order Line"; ProdOrderComponent: Record "Prod. Order Component"; ActOutputQtyBase: Decimal; var QtyToPost: Decimal; var OldItemJournalLine: Record "Item Journal Line"; var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var CompItem: Record Item)(integration)OnPostFlushedConsumpOnAfterCopyProdOrderFieldsToItemJnlLine(var ItemJournalLine: Record "Item Journal Line"; var OldItemJournalLine: Record "Item Journal Line"; ProdOrderLine: Record "Prod. Order Line"; ProdOrderComponent: Record "Prod. Order Component"; CompItem: record Item)(integration)OnBeforePostOutput(var ItemJnlLine: Record "Item Journal Line"; var SkipInventoryValueZeroCheck: Boolean)(integration)OnBeforeGetItem(var Item: Record Item; ItemNo: Code[20]; ForceGetItem: Boolean; var HasGotItem: Boolean; var IsHandled: Boolean)(integration)
Event subscriptions
- OnPostConsumption subscribes to Codeunit “Item Jnl.-Post Line” OnPostConsumption
- OnPostOutput subscribes to Codeunit “Item Jnl.-Post Line” OnPostOutput
- OnSetOrderAdjmtPropertiesForProduction subscribes to Codeunit “Item Jnl.-Post Line” OnSetOrderAdjmtPropertiesForProduction
- OnCorrectOutputValuationDateOnCheckProduction subscribes to Codeunit “Item Jnl.-Post Line” OnCorrectOutputValuationDateOnCheckProduction
- OnCodeOnAfterCalcQtyPerUnitOfMeasure subscribes to Codeunit “Item Jnl.-Post Line” OnCodeOnAfterCalcQtyPerUnitOfMeasure
- OnBeforeInsertCapLedgEntry subscribes to Codeunit “Item Jnl.-Post Line” OnBeforeInsertCapLedgEntry
- OnSetupTempSplitItemJnlLineOnAfterDeductNonDistr subscribes to Codeunit “Item Jnl.-Post Line” OnSetupTempSplitItemJnlLineOnAfterDeductNonDistr
- OnSetupSplitJnlLineOnSetDisableItemTracking subscribes to Codeunit “Item Jnl.-Post Line” OnSetupSplitJnlLineOnSetDisableItemTracking
- OnSetupSplitJnlLineOnCheckOperationNo subscribes to Codeunit “Item Jnl.-Post Line” OnSetupSplitJnlLineOnCheckOperationNo
- OnAfterPrepareItem subscribes to Codeunit “Item Jnl.-Post Line” OnAfterPrepareItem
- OnAfterSetupTempSplitItemJnlLineSetQty subscribes to Codeunit “Item Jnl.-Post Line” OnAfterSetupTempSplitItemJnlLineSetQty
- OnAfterInitItemLedgEntry subscribes to Codeunit “Item Jnl.-Post Line” OnAfterInitItemLedgEntry
- CopyLocationCodeToCapValueEntry subscribes to Codeunit “Item Jnl.-Post Line” OnBeforeInsertCapValueEntry
- OnInsertCapValueEntryOnBeforeCapLedgEntryModify subscribes to Codeunit “Item Jnl.-Post Line” OnInsertCapValueEntryOnBeforeCapLedgEntryModify
- OnAfterGetUpdatedAppliedQtyForConsumption subscribes to Codeunit “Item Jnl.-Post Line” OnAfterGetUpdatedAppliedQtyForConsumption
Procedures
PostFlushedConsumption(var ItemJnlLine: Record "Item Journal Line"; ProdOrder: Record "Production Order"; ProdOrderLine: Record "Prod. Order Line"; ProdOrderComp: Record "Prod. Order Component"; var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; OldItemJnlLine: Record "Item Journal Line"; var sender: Codeunit "Item Jnl.-Post Line")
Plus 25 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 22 “Item Jnl.-Post Line” (32 calls:
FlushOperation → (object),FlushOperation → GetCalledFromInvtPutawayPick,FlushOperation → RestoreTempSplitItemJnlLine, …) - Codeunit 5402 “Unit of Measure Management” (3 calls:
PostConsumption → QtyRndPrecision,PostFlushedConsumption → QtyRndPrecision,PostFlushedConsumption → RoundToItemRndPrecision) - Codeunit 99000845 “Reservation Management” (3 calls:
UpdateProdOrderLine → AutoTrack,UpdateProdOrderLine → ClearSurplus,UpdateProdOrderLine → SetReservSource) - Codeunit 5996 “Prod. Order Warehouse Mgt.” (2 calls:
InsertConsumpEntry → CreateWhseJnlLineFromConsumptionJournal,PostOutput → CreateWhseJnlLineFromOutputJournal) - Codeunit 7302 “WMS Management” (2 calls:
InsertConsumpEntry → CheckWhseJnlLine,PostOutput → CheckWhseJnlLine) - Codeunit 99000837 “Prod. Order Line-Reserve” (2 calls:
PostOutput → TransferPOLineToItemJnlLine,UpdateProdOrderLine → AssignForPlanning) - Codeunit 99000838 “Prod. Order Comp.-Reserve” (2 calls:
InsertConsumpEntry → TransferPOCompToItemJnlLine,PostFlushedConsumption → TransferPOCompToItemJnlLine) - Codeunit 10 “Type Helper” (1 call:
ApplyCapNeed → Minimum) - Codeunit 408 “DimensionManagement” (1 call:
GetCombinedDimSetID → GetCombinedDimensionSetID) - Codeunit 5837 “Additional-Currency Management” (1 call:
PostOutput → CalcACYAmt) - Codeunit 99000758 “Mfg. Cost Calculation Mgt.” (1 call:
PostFlushedConsumption → CalcActNeededQtyBase) - Codeunit 99000891 “Mfg. Item Tracking Mgt.” (1 call:
PostConsumption → RetrieveConsumpItemTracking)
Recent changes
- 2026-10-02 #12066 Bugs/remove asm inv mfg clean27 tags for wave2 2026 (main, BC30, obsoletion)
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: "Mfg. Item Jnl.-Post Line"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.