---
title: "Codeunit 99000808 PlanningRoutingManagement"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/
type: codeunit
id: 99000808
name: "PlanningRoutingManagement"
app: "Base Application"
namespace: Microsoft.Manufacturing.Routing
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/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 99000808 PlanningRoutingManagement

Jonas Paprotka, https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/

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

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| NeedsCalculation | (Code[10], Code[10], Integer) | Boolean | public | 17-28 | - | - |
| SetRtngLineSequenceBack | (Option, Record Planning Routing Line, Integer, Integer, Boolean) | - | public | 17-28 | - | - |
| SetRtngLineSequenceForward | (Option, Record Planning Routing Line, Integer, Integer, Boolean) | - | public | 17-28 | - | - |
| CalcSequenceFromActual | (Record Planning Routing Line, Option, Record Requisition Line) | - | public | 17-28 | - | - |
| Calculate | (Record Requisition Line) | - | public | 17-28 | - | - |
| CalculatePlanningLineDates | (var Record Requisition Line) | - | public | 27-28 | - | - |
| CalculateRouting | (var Record Requisition Line, Option) | - | public | 27-28 | - | - |
| CalculateRoutingFromActual | (var Record Requisition Line, Record Planning Routing Line, Option, Boolean, Boolean) | - | public | 27-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnCalculateRoutingOnAfterUpdateReqLine | (var Record Requisition Line, Option) | 27-28 | - | - |
| Integration event | OnAfterCalculatePlanningLineDates | (var Record Requisition Line) | 27-28 | - | - |
| Integration event | OnBeforeSetRtngLineSequenceBack | (Option, var Record Planning Routing Line, Integer, Integer, Boolean) | 27-28 | - | - |
| Integration event | OnBeforeSetRtngLineSequenceForward | (Option, var Record Planning Routing Line, Integer, Integer, Boolean) | 27-28 | - | - |
| Integration event | OnBeforeCalcSequenceFromActual | (Record Planning Routing Line, Option, var Record Requisition Line) | 27-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.
