---
title: "Codeunit 99000808 PlanningRoutingManagement, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/points/
object: https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 99000808 PlanningRoutingManagement, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/points/

12 procedures and triggers with a step in src/Layers/W1/BaseApp/Manufacturing/Routing/PlanningRoutingManagement.Codeunit.al, in source order, read from the text, not from a run.

## SetRtngLineSequenceBack

[Line 74](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L74).

- [79](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L79) raises `OnBeforeSetRtngLineSequenceBack`
- [83](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L83) calls `ErrorInRouting`
- [106](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L106) writes [Table 99000830 Planning Routing Line](https://jonas-paprotka.de/ref/table/99000830-planning-routing-line/) Modify
- [132](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L132) writes [Table 99000830 Planning Routing Line](https://jonas-paprotka.de/ref/table/99000830-planning-routing-line/) Modify

## SetRtngLineSequenceForward

[Line 138](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L138).

- [143](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L143) raises `OnBeforeSetRtngLineSequenceForward`
- [147](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L147) calls `ErrorInRouting`
- [170](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L170) writes [Table 99000830 Planning Routing Line](https://jonas-paprotka.de/ref/table/99000830-planning-routing-line/) Modify
- [196](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L196) writes [Table 99000830 Planning Routing Line](https://jonas-paprotka.de/ref/table/99000830-planning-routing-line/) Modify

## CalcSequenceBack

[Line 202](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L202), local.

- [211](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L211) writes [Table 99000830 Planning Routing Line](https://jonas-paprotka.de/ref/table/99000830-planning-routing-line/) ModifyAll
- [212](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L212) writes [Table 99000830 Planning Routing Line](https://jonas-paprotka.de/ref/table/99000830-planning-routing-line/) ModifyAll
- [213](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L213) writes [Table 99000830 Planning Routing Line](https://jonas-paprotka.de/ref/table/99000830-planning-routing-line/) ModifyAll
- [219](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L219) calls `SetRtngLineSequenceBack`

## CalcSequenceForward

[Line 222](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L222), local.

- [231](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L231) writes [Table 99000830 Planning Routing Line](https://jonas-paprotka.de/ref/table/99000830-planning-routing-line/) ModifyAll
- [237](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L237) calls `SetRtngLineSequenceForward`

## CalcSequenceFromActual

[Line 240](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L240).

- [245](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L245) raises `OnBeforeCalcSequenceFromActual`
- [247](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L247) calls `NeedsCalculation`
- [252](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L252) calls `Calculate`
- [257](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L257) writes [Table 99000830 Planning Routing Line](https://jonas-paprotka.de/ref/table/99000830-planning-routing-line/) ModifyAll
- [263](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L263) calls `SetRtngLineSequenceForward`
- [265](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L265) calls `SetRtngLineSequenceBack`

## Calculate

[Line 269](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L269).

- [278](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L278) calls `CalcSequenceBack`
- [279](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L279) calls `CalcSequenceForward`
- [312](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L312) calls [Codeunit 5402 Unit of Measure Management](https://jonas-paprotka.de/ref/codeunit/5402-unit-of-measure-management/) `QtyRndPrecision`
- [315](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L315) calls [Codeunit 5402 Unit of Measure Management](https://jonas-paprotka.de/ref/codeunit/5402-unit-of-measure-management/) `QtyRndPrecision`
- [319](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L319) writes [Table 99000830 Planning Routing Line](https://jonas-paprotka.de/ref/table/99000830-planning-routing-line/) Modify
- [322](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L322) writes [Table 99000830 Planning Routing Line](https://jonas-paprotka.de/ref/table/99000830-planning-routing-line/) ModifyAll
- [323](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L323) calls `Check`

## Check

[Line 326](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L326), local.

- [341](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L341) calls `InsertInErrList`
- [355](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L355) calls `InsertInErrList`
- [368](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L368) calls `InsertInErrList`
- [380](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L380) calls `InsertInErrList`

## CalculatePlanningLineDates

[Line 428](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L428).

- [454](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L454) calls [Table 246 Requisition Line](https://jonas-paprotka.de/ref/table/246-requisition-line/) `UpdateDatetime`
- [455](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L455) writes [Table 246 Requisition Line](https://jonas-paprotka.de/ref/table/246-requisition-line/) Modify
- [458](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L458) raises `OnAfterCalculatePlanningLineDates`

## OnGetResiliencyErrorOnRouting

[Line 462](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L462), local.

- [464](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L464) calls [Codeunit 99000810 Calculate Planning Route Line](https://jonas-paprotka.de/ref/codeunit/99000810-calculate-planning-route-line/) `GetResiliencyError`

## OnBeforeRecalculateWithOptionalModify

[Line 469](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L469), local.

- [471](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L471) calls `CalculateRouting`

## CalculateRouting

[Line 474](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L474).

- [481](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L481) calls `NeedsCalculation`
- [486](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L486) calls `Calculate`
- [506](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L506) calls [Table 246 Requisition Line](https://jonas-paprotka.de/ref/table/246-requisition-line/) `CalcEndingDate`
- [508](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L508) calls [Table 246 Requisition Line](https://jonas-paprotka.de/ref/table/246-requisition-line/) `CalcStartingDate`
- [509](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L509) calls [Table 246 Requisition Line](https://jonas-paprotka.de/ref/table/246-requisition-line/) `UpdateDatetime`
- [510](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L510) raises `OnCalculateRoutingOnAfterUpdateReqLine`
- [512](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L512) calls [Codeunit 99000809 Planning Line Management](https://jonas-paprotka.de/ref/codeunit/99000809-planning-line-management/) `RunOnCalculateRoutingOnAfterUpdateReqLine`
- [524](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L524) calls `CalculateRoutingFromActual`
- [526](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L526) calls `CalculatePlanningLineDates`

## CalculateRoutingFromActual

[Line 529](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L529).

- [541](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L541) calls `NeedsCalculation`
- [546](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L546) calls `Calculate`
- [577](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L577) calls [Codeunit 99000755 Shop Calendar Management](https://jonas-paprotka.de/ref/codeunit/99000755-shop-calendar-management/) `GetMaxDate`
- [581](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L581) calls [Codeunit 99000810 Calculate Planning Route Line](https://jonas-paprotka.de/ref/codeunit/99000810-calculate-planning-route-line/) `SetResiliencyOn`
- [583](https://jonas-paprotka.de/ref/codeunit/99000808-planningroutingmanagement/source/#L583) calls [Codeunit 99000810 Calculate Planning Route Line](https://jonas-paprotka.de/ref/codeunit/99000810-calculate-planning-route-line/) `CalculateRouteLine`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
