---
id: object/codeunit/5406
type: object
title: Codeunit 5406 "Output Jnl.-Expl. Route"
summary: Codeunit 5406 "Output Jnl.-Expl. Route" in Base Application (Microsoft.Manufacturing.Journal). 14 events. Present since at least BC23, still in BC30, changed in BC27, BC29.
tier: official
language: en
tags:
  - codeunit
  - base application
versions:
  introduced: null
  last_changed: "29"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 9d71b525b5ef2689184e8ba17bd4af1f507596e93a0586b6f6c871aa4d738f5c
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Manufacturing/Journal/OutputJnlExplRoute.Codeunit.al
    title: src/Layers/W1/BaseApp/Manufacturing/Journal/OutputJnlExplRoute.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 5406
name: Output Jnl.-Expl. Route
namespace: Microsoft.Manufacturing.Journal
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "27"
  - "29"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 18
  events: 14
  subscribers: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 4
  called_by: 0
  implements: 0
---

# Codeunit 5406 "Output Jnl.-Expl. Route"

> Codeunit 5406 "Output Jnl.-Expl. Route" in Base Application (Microsoft.Manufacturing.Journal). 14 events. Present since at least BC23, still in BC30, changed in BC27, BC29.

Base Application · Microsoft.Manufacturing.Journal · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Manufacturing/Journal/OutputJnlExplRoute.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| TableNo | Item Journal Line |
| Permissions | TableData "Item Journal Line" = rimd, TableData "Prod. Order Line" = r, TableData "Prod. Order Routing Line" = r |

## Events published

- `OnAfterCalcBaseQtyToPost(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var BaseQty: Decimal)` (integration)
- `OnAfterCopyItemTracking(var ItemJournalLine: Record "Item Journal Line"; LastOperation: Boolean; var NextLineNo: Integer)` (integration)
- `OnAfterInsertItemJnlLine(var ItemJournalLine: Record "Item Journal Line")` (integration)
- `OnAfterInsertOutputJnlLineWithoutRtngLine(var ItemJournalLine: Record "Item Journal Line"; var ProdOrderLine: Record "Prod. Order Line"; var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var NextLineNo: Integer)` (integration)
- `OnBeforeDeleteItemJnlLine(var ItemJournalLine: Record "Item Journal Line")` (integration)
- `OnBeforeInsertOutputJnlLineWithRtngLine(ItemJournalLine: Record "Item Journal Line"; ProdOrderLine: Record "Prod. Order Line"; var SkipRecord: Boolean; var IsLastOperation: Boolean; ProdOrderRoutingLine: Record "Prod. Order Routing Line")` (integration)
- `OnBeforeInsertOutputJnlLineWithoutRtngLine(ItemJournalLine: Record "Item Journal Line"; ProdOrderLine: Record "Prod. Order Line"; var IsHandled: Boolean)` (integration)
- `OnBeforeOnRun(var ItemJournalLine: Record "Item Journal Line"; var IsHandled: Boolean; var LastItemJournalLine: Record "Item Journal Line")` (integration)
- `OnBeforeOutputItemJnlLineInsert(var ItemJournalLine: Record "Item Journal Line"; LastOperation: Boolean)` (integration)
- `OnRunOnAfterInsertOutputJnlLineWithRtngLine(var ItemJournalLine: Record "Item Journal Line"; var ProdOrderLine: Record "Prod. Order Line"; var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var NextLineNo: Integer)` (integration)
- `OnRunOnAfterProdOrderRtngLineSetFilters(var ProdOrderRoutingLine: Record "Prod. Order Routing Line")` (integration)
- `OnRunOnAfterProdOrderRtngLineSetFiltersBeforeLoop(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var ProdOrderLine: Record "Prod. Order Line")` (integration)
- `OnRunOnProdRtngLineLoopEnd(var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var ProdOrderLine: Record "Prod. Order Line"; var ItemJnlLine: Record "Item Journal Line"; var NextLineNo: Integer; LineSpacing: Integer; var LastItemJnlLine: Record "Item Journal Line")` (integration)
- `OnRunOnAfterItemJnlLineSetFilters(var ItemJournalLineRec: Record "Item Journal Line"; var ProdOrderLine: Record "Prod. Order Line"; var ProdOrderRoutingLine: Record "Prod. Order Routing Line"; var ItemJournalLine: Record "Item Journal Line")` (integration)

## Procedures

4 local procedures, no public ones.

## Triggers

OnRun

## Relations

- runs on [Table 83 "Item Journal Line"](../table/83.md)

## 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 6500 "Item Tracking Management"](../codeunit/6500.md) (2 calls: `AssignNextTrackingEntry → CopyItemTracking`, `OnRun → CopyItemTracking`)
- [Codeunit 99000758 "Mfg. Cost Calculation Mgt."](../codeunit/99000758.md) (2 calls: `OnRun → CalcActOutputQtyBase`, `OnRun → CalcQtyAdjdForRoutingScrap`)
- [Codeunit 99000835 "Item Jnl. Line-Reserve"](../codeunit/99000835.md) (2 calls: `OnRun → DeleteLine`, `OnRun → DeleteLineConfirm`)
- [Codeunit 408 "DimensionManagement"](../codeunit/408.md) (1 call: `InsertOutputJnlLine → UpdateGlobalDimFromDimSetID`)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC27, BC29

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: "Output Jnl.-Expl. Route")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
