---
title: "Codeunit 99000772 Prod. Order Route Management"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/99000772-prod-order-route-management/
type: codeunit
id: 99000772
name: "Prod. Order Route Management"
app: "Base Application"
namespace: Microsoft.Manufacturing.Document
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/99000772-prod-order-route-management/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 99000772 Prod. Order Route Management

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/99000772-prod-order-route-management/

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

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| NeedsCalculation | (Option, Code[20], Integer, Code[20]) | Boolean | public | 17-19 | Pending 17.0 | Replaced by same with enum Production Order Status. |
| NeedsCalculation | (Enum Production Order Status, Code[20], Integer, Code[20]) | Boolean | public | 17-28 | - | - |
| SetNextOperations | (Record Prod. Order Line) | - | public | 17-28 | - | - |
| CalcSequenceFromActual | (Record Prod. Order Routing Line, Option) | - | public | 17-28 | - | - |
| Calculate | (Record Prod. Order Line) | - | public | 17-28 | - | - |
| Check | (Record Prod. Order Line) | - | public | 17-28 | - | - |
| UpdateComponentsBin | (var Record Prod. Order Routing Line, Boolean) | Boolean | public | 17-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeCalcPreviousOperations | (Record Prod. Order Line, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeSetNextOperations | (Record Prod. Order Line, var Boolean) | 17-28 | - | - |
| Integration event | OnBeforeUpdateComponentsBin | (var Record Prod. Order Routing Line, var Boolean, var Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnCalculateOnAfterCalcScrapQtyAndFactor | (var Record Prod. Order Routing Line, var Decimal, var Decimal) | 17-28 | - | - |
| Integration event | OnCalculateOnBeforeProdOrderRtngLineLoopIteration | (var Record Prod. Order Routing Line, var Record Prod. Order Line, var Boolean) | 21-28 | - | - |
| Integration event | OnNeedsCalculationOnBeforeFindProdOrderRtngLine | (var Record Prod. Order Routing Line) | 23-28 | - | - |
| Integration event | OnBeforeCheckProdOrderLine | (var Record Prod. Order Line, var Boolean) | 24-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.
