---
title: "Codeunit 99000867 Mfg. Order Planning Mgt., extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/99000867-mfg-order-planning-mgt/points/
object: https://jonas-paprotka.de/ref/codeunit/99000867-mfg-order-planning-mgt/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/99000867-mfg-order-planning-mgt/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 99000867 Mfg. Order Planning Mgt., extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/99000867-mfg-order-planning-mgt/points/

2 procedures and triggers with a step in src/Layers/W1/BaseApp/Manufacturing/Inventory/Requisition/MfgOrderPlanningMgt.Codeunit.al, in source order, read from the text, not from a run.

## OnInsertAltSupplyLocationOnAfterSelectSubstitution

[Line 19](https://jonas-paprotka.de/ref/codeunit/99000867-mfg-order-planning-mgt/source/#L19), local.

- [24](https://jonas-paprotka.de/ref/codeunit/99000867-mfg-order-planning-mgt/source/#L24) calls [Codeunit 99000898 Mfg. Item Substitution](https://jonas-paprotka.de/ref/codeunit/99000898-mfg-item-substitution/) `UpdateProdOrderComp`
- [25](https://jonas-paprotka.de/ref/codeunit/99000867-mfg-order-planning-mgt/source/#L25) writes [Table 5407 Prod. Order Component](https://jonas-paprotka.de/ref/table/5407-prod-order-component/) Modify(true)
- [26](https://jonas-paprotka.de/ref/codeunit/99000867-mfg-order-planning-mgt/source/#L26) calls [Table 5407 Prod. Order Component](https://jonas-paprotka.de/ref/table/5407-prod-order-component/) `AutoReserve`

## OnInsertAltSupplyLocationOnUpdateReqLine

[Line 30](https://jonas-paprotka.de/ref/codeunit/99000867-mfg-order-planning-mgt/source/#L30), local.

- [40](https://jonas-paprotka.de/ref/codeunit/99000867-mfg-order-planning-mgt/source/#L40) calls [Codeunit 5522 Order Planning Mgt.](https://jonas-paprotka.de/ref/codeunit/5522-order-planning-mgt/) `CalcNeededQty`
- [48](https://jonas-paprotka.de/ref/codeunit/99000867-mfg-order-planning-mgt/source/#L48) validates [Table 246 Requisition Line](https://jonas-paprotka.de/ref/table/246-requisition-line/) `No.`
- [49](https://jonas-paprotka.de/ref/codeunit/99000867-mfg-order-planning-mgt/source/#L49) validates [Table 246 Requisition Line](https://jonas-paprotka.de/ref/table/246-requisition-line/) `Variant Code`
- [52](https://jonas-paprotka.de/ref/codeunit/99000867-mfg-order-planning-mgt/source/#L52) calls [Table 246 Requisition Line](https://jonas-paprotka.de/ref/table/246-requisition-line/) `SetSupplyQty`
- [53](https://jonas-paprotka.de/ref/codeunit/99000867-mfg-order-planning-mgt/source/#L53) calls [Table 246 Requisition Line](https://jonas-paprotka.de/ref/table/246-requisition-line/) `SetSupplyDates`
- [56](https://jonas-paprotka.de/ref/codeunit/99000867-mfg-order-planning-mgt/source/#L56) raises `OnBeforeReqLineModify`
- [58](https://jonas-paprotka.de/ref/codeunit/99000867-mfg-order-planning-mgt/source/#L58) calls [Codeunit 5522 Order Planning Mgt.](https://jonas-paprotka.de/ref/codeunit/5522-order-planning-mgt/) `RunOnBeforeReqLineModify`
- [60](https://jonas-paprotka.de/ref/codeunit/99000867-mfg-order-planning-mgt/source/#L60) writes [Table 246 Requisition Line](https://jonas-paprotka.de/ref/table/246-requisition-line/) Modify
- [61](https://jonas-paprotka.de/ref/codeunit/99000867-mfg-order-planning-mgt/source/#L61) calls [Codeunit 99000809 Planning Line Management](https://jonas-paprotka.de/ref/codeunit/99000809-planning-line-management/) `Calculate`

## Source

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

JOP-AL, 2026-11-20.
