---
title: "Codeunit 5510 Production Journal Mgt"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/5510-production-journal-mgt/
type: codeunit
id: 5510
name: "Production Journal Mgt"
app: "Base Application"
namespace: Microsoft.Manufacturing.Journal
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/5510-production-journal-mgt/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 5510 Production Journal Mgt

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/5510-production-journal-mgt/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Manufacturing.Journal |
| Versions | 17-28 |
| Source file | Manufacturing/Journal/ProductionJournalMgt.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| Handling | (Record Production Order, Integer) | - | public | 17-28 | - | - |
| CreateJnlLines | (Record Production Order, Integer) | - | public | 17-28 | - | - |
| InsertComponents | (Record Prod. Order Line, Boolean, Integer) | - | public | 17-28 | - | - |
| RoutingLinkValid | (Record Prod. Order Component, Record Prod. Order Line) | Boolean | public | 17-28 | - | - |
| InsertConsumptionItemJnlLine | (Record Prod. Order Component, Record Prod. Order Line, Integer) | - | public | 17-28 | - | - |
| InsertOutputItemJnlLine | (Record Prod. Order Routing Line, Record Prod. Order Line) | - | public | 17-28 | - | - |
| InitSetupValues | () | - | public | 17-28 | - | - |
| SetTemplateAndBatchName | () | - | public | 17-28 | - | - |
| DeleteJnlLines | (Code[10], Code[10], Code[20], Integer) | - | public | 17-28 | - | - |
| ReservEntryExist | (Record Item Journal Line, var Record Reservation Entry) | Boolean | public | 17-28 | - | - |
| GetJnlTemplateAndBatchName | (var Code[10], var Code[10]) | - | public | 17-28 | - | - |
| SetNextLineNo | (var Record Item Journal Line) | - | public | 22-28 | - | - |
| SetJnlTemplateAndBatchName | (Code[10], Code[10]) | - | public | 24-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterDataHasChanged | (var Record Item Journal Line, Integer, var Boolean) | 17-28 | - | - |
| Integration event | OnAfterInitSetupValues | (var Date, var Option) | 17-28 | - | - |
| Integration event | OnAfterInsertConsumptionJnlLine | (var Record Item Journal Line) | 17-28 | - | - |
| Integration event | OnAfterInsertOutputJnlLine | (var Record Item Journal Line) | 17-28 | - | - |
| Integration event | OnAfterIsLastOperation | (Record Prod. Order Routing Line, var Boolean) | 17-28 | - | - |
| Integration event | OnAfterSetTemplateAndBatchName | (var Record Item Journal Template, var Text) | 17-28 | - | - |
| Integration event | OnBeforeInsertConsumptionJnlLine | (var Record Item Journal Line, Record Prod. Order Component, Record Prod. Order Line, Integer) | 17-28 | - | - |
| Integration event | OnBeforeInsertOutputJnlLine | (var Record Item Journal Line, Record Prod. Order Routing Line, Record Prod. Order Line) | 17-28 | - | - |
| Integration event | OnBeforeDeleteAllItemJnlLine | (var Record Item Journal Line) | 17-28 | - | - |
| Integration event | OnBeforeHandling | (Record Production Order) | 17-23 | - | - |
| Integration event | OnBeforeRecursiveInsertOutputJnlLine | (Record Prod. Order Routing Line, Record Prod. Order Line, var Boolean, var Record Prod. Order Line) | 17-28 | - | - |
| Integration event | OnBeforeRunProductionJnl | (Code[10], Code[10], Record Production Order, Integer, Date, var Boolean) | 17-24 | - | - |
| Integration event | OnCreateJnlLinesOnAfterFindProdOrderRtngLine | (var Record Prod. Order Routing Line, var Boolean) | 17 | - | - |
| Integration event | OnCreateJnlLinesOnBeforeCheckProdOrderLine | (var Record Prod. Order Line) | 17-28 | - | - |
| Integration event | OnInsertConsumptionJnlLineOnBeforeCheck | (Record Prod. Order Component, Record Prod. Order Line, Record Item, var Boolean) | 17-28 | - | - |
| Integration event | OnInsertConsumptionJnlLineOnAfterItemJnlLineInit | (var Record Item Journal Line) | 17-18 | - | - |
| Integration event | OnBeforeInsertOutputItemJnlLine | (Record Prod. Order Routing Line, Record Prod. Order Line, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeDeleteJnlLines | (Code[10], Code[10], Code[20], Integer, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeSetTemplateAndBatchName | (var Code[10], var Code[10], var Boolean) | 17-23 | - | - |
| Integration event | OnInsertConsumptionItemJnlLineOnBeforeValidateQuantity | (var Record Item Journal Line, Record Prod. Order Component, Decimal, var Boolean) | 17-28 | - | - |
| Integration event | OnCreateJnlLinesOnAfterFindProdOrderRtngLine | (var Record Prod. Order Routing Line, var Boolean, var Record Item Journal Line, var Integer) | 18-28 | - | - |
| Integration event | OnCreateJnlLinesOnAfterProdOrderRtngLineSetFilters | (var Record Prod. Order Routing Line) | 18-28 | - | - |
| Integration event | OnInsertConsumptionItemJnlLineOnAfterCopyItemTracking | (var Record Item Journal Line, Code[10], var Integer) | 18-28 | - | - |
| Integration event | OnInsertOutputItemJnlLineOnBeforeSubcontractingWorkCenterUsed | (var Record Item Journal Line, Record Prod. Order Line) | 18-28 | - | - |
| Integration event | OnInsertOutputItemJnlLineOnAfterCopyItemTracking | (var Record Item Journal Line, Record Prod. Order Routing Line, var Integer) | 18-28 | - | - |
| Integration event | OnInsertOutputItemJnlLineOnAfterItemJnlLineInit | (var Record Item Journal Line, Record Prod. Order Line) | 18 | - | - |
| Integration event | OnCreateJnlLinesOnBeforeInsertComponents | (var Record Prod. Order Routing Line, Record Production Order, Record Prod. Order Line, var Boolean) | 18-28 | - | - |
| Integration event | OnInsertComponentsOnAfterProdOrderCompSetFilters | (var Record Prod. Order Component) | 18-28 | - | - |
| Integration event | OnInsertConsumptionJnlLineOnAfterItemJnlLineInit | (var Record Item Journal Line, Record Item Journal Template, Record Item Journal Batch) | 19-28 | - | - |
| Integration event | OnInsertOutputItemJnlLineOnAfterItemJnlLineInit | (var Record Item Journal Line, Record Prod. Order Line, Record Item Journal Template, Record Item Journal Batch) | 19-28 | - | - |
| Integration event | OnAfterCalculateQtyToPostForProdOrder | (Record Prod. Order Line, Record Prod. Order Routing Line, var Decimal) | 20-28 | - | - |
| Integration event | OnInsertConsumptionItemJnlLineOnAfterCalcShouldAdjustQty | (Record Prod. Order Component, Record Location, var Decimal, var Boolean) | 21-28 | - | - |
| Integration event | OnBeforeRoutingLinkValid | (Record Prod. Order Component, Record Prod. Order Line, var Boolean, var Boolean) | 22-28 | - | - |
| Integration event | OnInsertOutputItemJnlLineOnAfterAssignTimes | (var Record Item Journal Line, Record Prod. Order Line, Record Prod. Order Routing Line, var Decimal) | 22-28 | - | - |
| Integration event | OnBeforeInsertComponents | (Record Prod. Order Line, Boolean, Integer, var Boolean) | 22-28 | - | - |
| Integration event | OnCreateJnlLinesOnAfterSetProdOrderLineFilters | (var Record Prod. Order Line) | 22-28 | - | - |
| Integration event | OnBeforeHandling | (Record Production Order, Integer, var Boolean) | 24-28 | - | - |
| Integration event | OnBeforeSetTemplateAndBatchName | (var Code[10], var Code[10], var Boolean, var Integer, var Option) | 24-28 | - | - |
| Integration event | OnDeleteJnlLinesOnAfterSetFilters | (var Record Item Journal Line) | 24-28 | - | - |
| Integration event | OnBeforeDataHasChanged | (Code[10], Code[10], Code[20], Integer, var Boolean, var Boolean) | 24-28 | - | - |
| Integration event | OnBeforeRunProductionJnl | (Code[10], Code[10], Record Production Order, Integer, var Date, var Boolean) | 25-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.
