---
title: "Codeunit 99000821 Mfg. CalcItemPlanPlanWksh, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/99000821-mfg-calcitemplanplanwksh/points/
object: https://jonas-paprotka.de/ref/codeunit/99000821-mfg-calcitemplanplanwksh/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/99000821-mfg-calcitemplanplanwksh/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 99000821 Mfg. CalcItemPlanPlanWksh, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/99000821-mfg-calcitemplanplanwksh/points/

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

## OnAfterReqLineExternDelete

[Line 14](https://jonas-paprotka.de/ref/codeunit/99000821-mfg-calcitemplanplanwksh/source/#L14), local.

- [23](https://jonas-paprotka.de/ref/codeunit/99000821-mfg-calcitemplanplanwksh/source/#L23) raises `OnOnAfterReqLineExternDeleteOnAfterSetPlannedProdOrderLineFilters`
- [29](https://jonas-paprotka.de/ref/codeunit/99000821-mfg-calcitemplanplanwksh/source/#L29) writes [Table 5406 Prod. Order Line](https://jonas-paprotka.de/ref/table/5406-prod-order-line/) Insert
- [32](https://jonas-paprotka.de/ref/codeunit/99000821-mfg-calcitemplanplanwksh/source/#L32) calls `DeletePlannedProdOrderLines`

## DeletePlannedProdOrderLines

[Line 39](https://jonas-paprotka.de/ref/codeunit/99000821-mfg-calcitemplanplanwksh/source/#L39), local.

- [55](https://jonas-paprotka.de/ref/codeunit/99000821-mfg-calcitemplanplanwksh/source/#L55) writes [Table 5406 Prod. Order Line](https://jonas-paprotka.de/ref/table/5406-prod-order-line/) Delete(true)
- [60](https://jonas-paprotka.de/ref/codeunit/99000821-mfg-calcitemplanplanwksh/source/#L60) writes [Table 5405 Production Order](https://jonas-paprotka.de/ref/table/5405-production-order/) Delete(true)
- [62](https://jonas-paprotka.de/ref/codeunit/99000821-mfg-calcitemplanplanwksh/source/#L62) writes [Table 5405 Production Order](https://jonas-paprotka.de/ref/table/5405-production-order/) Insert
- [65](https://jonas-paprotka.de/ref/codeunit/99000821-mfg-calcitemplanplanwksh/source/#L65) writes [Table 5405 Production Order](https://jonas-paprotka.de/ref/table/5405-production-order/) Insert
- [71](https://jonas-paprotka.de/ref/codeunit/99000821-mfg-calcitemplanplanwksh/source/#L71) writes [Table 5405 Production Order](https://jonas-paprotka.de/ref/table/5405-production-order/) Insert
- [73](https://jonas-paprotka.de/ref/codeunit/99000821-mfg-calcitemplanplanwksh/source/#L73) writes [Table 5406 Prod. Order Line](https://jonas-paprotka.de/ref/table/5406-prod-order-line/) Delete(true)

## Source

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

JOP-AL, 2026-11-20.
