---
title: "Report 99001017 Calculate Plan - Plan. Wksh., extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/points/
object: https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/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/"
---

# Report 99001017 Calculate Plan - Plan. Wksh., extension points 29

JOP-AL, https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/points/

11 procedures and triggers with a step in src/Layers/W1/BaseApp/Inventory/Planning/CalculatePlanPlanWksh.Report.al, in source order, read from the text, not from a run.

## Item.OnAfterGetRecord

[Line 24](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L24), trigger.

- [30](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L30) calls `UpdateWindow`
- [33](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L33) raises `OnItemOnAfterGetRecordOnBeforeCheckSetAtStartPosition`, IsHandled
- [44](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L44) runs [Codeunit 5431 Calc. Item Plan - Plan Wksh.](https://jonas-paprotka.de/ref/codeunit/5431-calc-item-plan-plan-wksh/)
- [47](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L47) calls [Codeunit 5431 Calc. Item Plan - Plan Wksh.](https://jonas-paprotka.de/ref/codeunit/5431-calc-item-plan-plan-wksh/) `ClearInvtProfileOffsetting`
- [48](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L48) calls [Codeunit 5431 Calc. Item Plan - Plan Wksh.](https://jonas-paprotka.de/ref/codeunit/5431-calc-item-plan-plan-wksh/) `SetResiliencyOn`
- [49](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L49) runs [Codeunit 5431 Calc. Item Plan - Plan Wksh.](https://jonas-paprotka.de/ref/codeunit/5431-calc-item-plan-plan-wksh/)
- [50](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L50) calls [Codeunit 5431 Calc. Item Plan - Plan Wksh.](https://jonas-paprotka.de/ref/codeunit/5431-calc-item-plan-plan-wksh/) `GetPlanningSkippedForMissingSKUPolicy`
- [51](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L51) calls [Codeunit 5431 Calc. Item Plan - Plan Wksh.](https://jonas-paprotka.de/ref/codeunit/5431-calc-item-plan-plan-wksh/) `GetResiliencyErrors`
- [55](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L55) calls [Codeunit 5431 Calc. Item Plan - Plan Wksh.](https://jonas-paprotka.de/ref/codeunit/5431-calc-item-plan-plan-wksh/) `GetResiliencyError`
- [61](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L61) calls [Table 5430 Planning Error Log](https://jonas-paprotka.de/ref/table/5430-planning-error-log/) `SetJnlBatch`
- [62](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L62) raises `OnItemOnAfterGetRecordOnBeforePlanningErrorLogSetError`
- [63](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L63) calls [Table 5430 Planning Error Log](https://jonas-paprotka.de/ref/table/5430-planning-error-log/) `SetError`

## Item.OnPostDataItem

[Line 71](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L71), trigger.

- [73](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L73) calls [Codeunit 5431 Calc. Item Plan - Plan Wksh.](https://jonas-paprotka.de/ref/codeunit/5431-calc-item-plan-plan-wksh/) `Finalize`
- [75](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L75) calls `CloseWindow`
- [77](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L77) raises `OnAfterItemOnPostDataItem`

## Item.OnPreDataItem

[Line 80](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L80), trigger.

- [84](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L84) raises `OnBeforeItemOnPreDataItem`
- [87](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L87) calls `OpenWindow`
- [90](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L90) calls [Codeunit 5431 Calc. Item Plan - Plan Wksh.](https://jonas-paprotka.de/ref/codeunit/5431-calc-item-plan-plan-wksh/) `SetTemplAndWorksheet`
- [91](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L91) calls [Codeunit 5431 Calc. Item Plan - Plan Wksh.](https://jonas-paprotka.de/ref/codeunit/5431-calc-item-plan-plan-wksh/) `SetParm`
- [92](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L92) calls [Codeunit 5431 Calc. Item Plan - Plan Wksh.](https://jonas-paprotka.de/ref/codeunit/5431-calc-item-plan-plan-wksh/) `Initialize`
- [95](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L95) raises `OnOnPreDataItemOnAfterSetAtStartPosition`
- [102](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L102) raises `OnOnPreDataItemOnAfterCalcShouldSetAtStartPosition`
- [106](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L106) calls `ClearPlanningErrorLog`
- [109](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L109) raises `OnAfterItemOnPreDataItem`

## MPS.OnValidate

[Line 135](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L135), trigger.

- [137](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L137) calls [Table 313 Inventory Setup](https://jonas-paprotka.de/ref/table/313-inventory-setup/) `GetRecordOnce`

## MRP.OnValidate

[Line 151](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L151), trigger.

- [153](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L153) calls [Table 313 Inventory Setup](https://jonas-paprotka.de/ref/table/313-inventory-setup/) `GetRecordOnce`

## OnOpenPage

[Line 209](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L209), trigger.

- [211](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L211) calls `InitializeFromSetup`
- [213](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L213) raises `OnAfterOnOpenPage`

## InitializeRequest

[Line 266](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L266).

- [272](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L272) calls [Table 313 Inventory Setup](https://jonas-paprotka.de/ref/table/313-inventory-setup/) `GetRecordOnce`

## ClearPlanningErrorLog

[Line 321](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L321), local.

- [326](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L326) raises `OnBeforeDeletePlanningErrorLog`, IsHandled
- [330](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L330) writes [Table 5430 Planning Error Log](https://jonas-paprotka.de/ref/table/5430-planning-error-log/) DeleteAll

## CloseWindow

[Line 333](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L333).

- [341](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L341) calls `ShowPlanningErrorLog`

## InitializeFromSetup

[Line 345](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L345), local.

- [350](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L350) raises `OnBeforeInitializeFromMfgSetup`, IsHandled
- [354](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L354) calls [Table 313 Inventory Setup](https://jonas-paprotka.de/ref/table/313-inventory-setup/) `GetRecordOnce`

## ShowPlanningErrorLog

[Line 363](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L363), local.

- [368](https://jonas-paprotka.de/ref/report/99001017-calculate-plan-plan-wksh/source/#L368) raises `OnBeforeShowPlanningErrorLog`, IsHandled

## Source

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

JOP-AL, 2026-11-20.
