---
title: "Codeunit 99000822 Mfg. Item Jnl.-Post Line"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/99000822-mfg-item-jnl-post-line/
type: codeunit
id: 99000822
name: "Mfg. Item Jnl.-Post Line"
app: "Base Application"
namespace: Microsoft.Inventory.Posting
versions: "27-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/99000822-mfg-item-jnl-post-line/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Codeunit 99000822 Mfg. Item Jnl.-Post Line

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/99000822-mfg-item-jnl-post-line/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Inventory.Posting |
| Versions | 27-28 |
| Source file | Manufacturing/Inventory/Posting/MfgItemJnlPostLine.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| PostFlushedConsumption | (var Record Item Journal Line, Record Production Order, Record Prod. Order Line, Record Prod. Order Component, var Record Prod. Order Routing Line, Record Item Journal Line, var Codeunit Item Jnl.-Post Line) | - | public | 27-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterCheckItemTrackingOfComp | (Record Tracking Specification, Record Item Journal Line) | 27-28 | - | - |
| Integration event | OnPostConsumptionOnBeforeCheckOrderType | (var Record Prod. Order Component, var Record Item Journal Line, var Boolean) | 27-28 | - | - |
| Integration event | OnPostConsumptionOnBeforeFindSetProdOrderComp | (var Record Prod. Order Component, var Record Item Journal Line) | 27-28 | - | - |
| Integration event | OnBeforeProdOrderCompModify | (var Record Prod. Order Component, Record Item Journal Line) | 27-28 | - | - |
| Integration event | OnInsertConsumpEntryOnBeforePostItem | (var Record Item Journal Line, Record Prod. Order Component, Boolean, var Record Warehouse Journal Line) | 27-28 | - | - |
| Integration event | OnBeforeReservationExists | (Record Item Journal Line, var Boolean, var Boolean) | 27-28 | - | - |
| Integration event | OnPostConsumptionOnAfterFindProdOrderComp | (var Record Prod. Order Component) | 27-28 | - | - |
| Integration event | OnAfterInsertConsumpEntry | (var Record Warehouse Journal Line, var Record Prod. Order Component, Decimal, Boolean, var Record Item Journal Line, Integer) | 27-28 | - | - |
| Integration event | OnPostConsumptionOnRemQtyToPostOnBeforeInsertConsumpEntry | (var Record Item Journal Line, var Record Prod. Order Component) | 27-28 | - | - |
| Integration event | OnPostConsumptionOnBeforeCalcRemQtyToPostThisLine | (var Record Prod. Order Component, var Record Item Journal Line, var Record Tracking Specification, Decimal, Boolean, Boolean, var Boolean) | 27-28 | - | - |
| Integration event | OnPostConsumptionOnBeforeCalcRemainingQuantity | (var Record Prod. Order Component, var Record Item Journal Line, var Decimal, var Decimal, var Boolean, var Decimal) | 27-28 | - | - |
| Integration event | OnPostConsumptionOnAfterInsertEntry | (var Record Prod. Order Component) | 27-28 | - | - |
| Integration event | OnAfterPostConsumption | (var Record Prod. Order Component, var Record Item Journal Line) | 27-28 | - | - |
| Integration event | OnBeforeInsertConsumpEntry | (var Record Prod. Order Component, Decimal, var Boolean, var Record Item Journal Line, var Record Item Journal Line) | 27-28 | - | - |
| Integration event | OnPostConsumptionOnAfterCalcNewRemainingQty | (Record Prod. Order Component, var Decimal, Decimal) | 27-28 | - | - |
| Integration event | OnCorrectOutputValuationDateOnBeforeCheckProdOrder | (Record Item Ledger Entry, var Boolean) | 27-28 | - | - |
| Integration event | OnCorrectOutputValuationDateOnBeforeValueEntryFindSet | (var Record Value Entry) | 27-28 | - | - |
| Integration event | OnPostOutputOnBeforeProdOrderRtngLineModify | (var Record Prod. Order Routing Line, var Record Prod. Order Line, var Record Item Journal Line, var Boolean) | 27-28 | - | - |
| Integration event | OnBeforePostFlushedConsump | (Record Production Order, Record Prod. Order Line, Record Prod. Order Component, Record Prod. Order Routing Line, Record Item Journal Line, var Boolean) | 27-28 | - | - |
| Integration event | OnBeforeGetProdOrderLine | (var Record Prod. Order Line, Code[20], Integer, var Boolean) | 27-28 | - | - |
| Integration event | OnPostOutputOnAfterInsertCapLedgEntry | (Record Item Journal Line, var Boolean) | 27-28 | - | - |
| Integration event | OnPostOutputOnBeforeInsertCostValueEntries | (var Record Item Journal Line, var Record Capacity Ledger Entry, var Decimal, var Decimal, var Decimal, var Codeunit Item Jnl.-Post Line) | 27-28 | - | - |
| Integration event | OnPostOutputOnAfterInsertCostValueEntries | (Record Item Journal Line, var Record Capacity Ledger Entry, Boolean, Boolean, var Codeunit Item Jnl.-Post Line) | 27-28 | - | - |
| Integration event | OnPostOutputOnBeforeGetMfgAmounts | (var Record Item Journal Line, Record Production Order, var Boolean) | 27-28 | - | - |
| Integration event | OnPostOutputOnAfterSetMfgUnitCost | (var Record Item Journal Line, var Decimal, var Record Prod. Order Line) | 27-28 | - | - |
| Integration event | OnPostOutputOnAfterUpdateAmounts | (var Record Item Journal Line) | 27-28 | - | - |
| Integration event | OnPostOutputOnBeforeCreateWhseJnlLine | (var Record Item Journal Line, var Boolean) | 27-28 | - | - |
| Integration event | OnPostOutputOnAfterCreateWhseJnlLine | (var Record Item Journal Line) | 27-28 | - | - |
| Integration event | OnPostOutputOnBeforePostItem | (var Record Item Journal Line, var Record Prod. Order Line, var Boolean) | 27-28 | - | - |
| Integration event | OnPostOutputOnBeforeUpdateProdOrderLine | (var Record Item Journal Line, var Boolean) | 27-28 | - | - |
| Integration event | OnAfterPostOutput | (var Record Item Ledger Entry, var Record Prod. Order Line, var Record Item Journal Line) | 27-28 | - | - |
| Integration event | OnBeforePostOutputForProdOrder | (var Record Item Journal Line, var Boolean, var Boolean) | 27-28 | - | - |
| Integration event | OnPostOutputOnAfterProdOrderRtngLineSetFilters | (var Record Prod. Order Routing Line) | 27-28 | - | - |
| Integration event | OnBeforeCallFlushOperation | (var Record Item Journal Line, var Boolean) | 27-28 | - | - |
| Integration event | OnBeforeGetOutputProdOrder | (var Record Production Order, Record Item Journal Line, var Boolean) | 27-28 | - | - |
| Integration event | OnBeforeGetOutputProdOrderLine | (var Record Prod. Order Line, Record Item Journal Line, var Boolean) | 27-28 | - | - |
| Integration event | OnBeforeGetProdOrderRoutingLine | (var Record Prod. Order Routing Line, Record Item Journal Line, var Boolean) | 27-28 | - | - |
| Integration event | OnBeforePostOutputUpdateProdOrderRtngLine | (var Record Prod. Order Routing Line, Record Item Journal Line, var Boolean) | 27-28 | - | - |
| Integration event | OnBeforeOnApplyCapNeed | (var Record Item Journal Line, var Decimal, var Decimal, var Boolean) | 27-28 | - | - |
| Integration event | OnAfterCalcCapQty | (var Record Item Journal Line, var Decimal) | 27-28 | - | - |
| Integration event | OnApplyCapNeedOnAfterSetFilters | (var Record Prod. Order Capacity Need, Record Item Journal Line) | 27-28 | - | - |
| Integration event | OnPostOutputForProdOrderOnAfterApplyCapNeed | (var Record Item Journal Line, var Decimal) | 27-28 | - | - |
| Integration event | OnBeforeNextOperationExist | (var Record Prod. Order Routing Line) | 27-28 | - | - |
| Integration event | OnCalcCapLedgerEntriesSetupRunTimeOnAfterCapLedgerEntrySetFilters | (var Record Capacity Ledger Entry, Record Item Journal Line) | 27-28 | - | - |
| Integration event | OnBeforeUpdateProdOrderLine | (var Record Prod. Order Line, var Record Item Journal Line, Boolean) | 27-28 | - | - |
| Integration event | OnBeforeProdOrderLineModify | (var Record Prod. Order Line, Record Item Journal Line, Integer) | 27-28 | - | - |
| Integration event | OnAfterUpdateProdOrderLine | (var Record Prod. Order Line, Boolean, var Record Item Journal Line) | 27-28 | - | - |
| Integration event | OnFlushOperationOnBeforeCheckRoutingLinkCode | (var Record Production Order, var Record Prod. Order Line, var Record Prod. Order Routing Line, var Record Item Journal Line, Boolean) | 27-28 | - | - |
| Integration event | OnPostFlushedConsumpOnBeforeProdOrderCompReserveTransferPOCompToItemJnlLine | (Record Item Journal Line, Record Prod. Order Component) | 27-28 | - | - |
| Integration event | OnBeforePostFlushedConsumpItemJnlLine | (var Record Item Journal Line) | 27-28 | - | - |
| Integration event | OnAfterPostFlushedConsump | (var Record Prod. Order Component, var Record Prod. Order Routing Line, Record Item Journal Line) | 27-28 | - | - |
| Integration event | OnPostOutputOnAfterUpdateProdOrderLine | (var Record Item Journal Line, var Record Warehouse Journal Line, var Record Item Ledger Entry) | 27-28 | - | - |
| Integration event | OnFlushOperationOnAfterProdOrderCompSetFilters | (var Record Prod. Order Component, Record Item Journal Line, var Record Prod. Order Routing Line) | 27-28 | - | - |
| Integration event | OnBeforeFlushOperation | (var Record Production Order, var Record Prod. Order Line, var Record Item Journal Line, Boolean) | 27-28 | - | - |
| Integration event | OnAfterFlushOperation | (var Record Production Order, var Record Prod. Order Line, var Record Item Journal Line) | 27-28 | - | - |
| Integration event | OnPostFlushedConsumptionOnBeforeCalcQtyToPost | (Record Production Order, Record Prod. Order Line, Record Prod. Order Component, Record Prod. Order Routing Line, Record Item Journal Line, var Decimal) | 27-28 | - | - |
| Integration event | OnPostFlushedConsumpOnAfterCalcQtyToPost | (Record Production Order, Record Prod. Order Line, Record Prod. Order Component, Decimal, var Decimal, var Record Item Journal Line, var Record Prod. Order Routing Line, var Record Item) | 27-28 | - | - |
| Integration event | OnPostFlushedConsumpOnAfterCopyProdOrderFieldsToItemJnlLine | (var Record Item Journal Line, var Record Item Journal Line, Record Prod. Order Line, Record Prod. Order Component, Record Item) | 27-28 | - | - |
| Integration event | OnBeforePostOutput | (var Record Item Journal Line, var Boolean) | 27-28 | - | - |
| Integration event | OnBeforeGetItem | (var Record Item, Code[20], Boolean, var Boolean, var Boolean) | 27-28 | - | - |
| Integration event | OnPostConsumptionOnBeforeInsertRemainingConsumpEntry | (var Record Item Journal Line, var Record Prod. Order Component, var Boolean) | 28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
