---
id: object/report/99001017
type: object
title: Report 99001017 "Calculate Plan - Plan. Wksh."
summary: Report 99001017 "Calculate Plan - Plan. Wksh." in Base Application (Microsoft.Manufacturing.Planning). 6 public procedures, 11 events. Present since at least BC23, still in BC30, changed in BC27-28.
tier: official
language: en
tags:
  - report
  - base application
versions:
  introduced: null
  last_changed: "28"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: cdf73926f6f964e59453644fb795af59d9128426116e43e7d263050b5f565575
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Planning/CalculatePlanPlanWksh.Report.al
    title: src/Layers/W1/BaseApp/Inventory/Planning/CalculatePlanPlanWksh.Report.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes:
    - change/bcapps/9224
object_type: report
object_id: 99001017
name: Calculate Plan - Plan. Wksh.
namespace: Microsoft.Manufacturing.Planning
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "27"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 20
  events: 11
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Report 99001017 "Calculate Plan - Plan. Wksh."

> Report 99001017 "Calculate Plan - Plan. Wksh." in Base Application (Microsoft.Manufacturing.Planning). 6 public procedures, 11 events. Present since at least BC23, still in BC30, changed in BC27-28.

Base Application · Microsoft.Manufacturing.Planning · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Planning/CalculatePlanPlanWksh.Report.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Calculate Plan - Plan. Wksh. |

## Events published

- `OnAfterOnOpenPage(var FromDate: Date; var ToDate: Date)` (integration)
- `OnAfterItemOnPreDataItem(var Item: Record Item)` (integration)
- `OnOnPreDataItemOnAfterSetAtStartPosition(var Item: Record Item)` (integration)
- `OnAfterItemOnPostDataItem(var CurrTemplateName: Code[10]; var CurrWorksheetName: Code[10])` (integration)
- `OnBeforeDeletePlanningErrorLog(var PlanningErrorLog: Record "Planning Error Log"; var IsHandled: Boolean)` (integration)
- `OnBeforeInitializeFromMfgSetup(var UseForecast: Code[10]; var MPS: Boolean; var MRP: Boolean; var IsHandled: Boolean)` (integration)
- `OnBeforeItemOnPreDataItem(var Item: Record Item)` (integration)
- `OnBeforeShowPlanningErrorLog(var PlanningErrorLog: Record "Planning Error Log"; var IsHandled: Boolean)` (integration)
- `OnItemOnAfterGetRecordOnBeforeCheckSetAtStartPosition(var Item: Record Item; var CounterOK: Integer; var IsHandled: Boolean)` (integration)
- `OnItemOnAfterGetRecordOnBeforePlanningErrorLogSetError(var Item: Record Item; var PlanningErrorLog: Record "Planning Error Log")` (integration)
- `OnOnPreDataItemOnAfterCalcShouldSetAtStartPosition(Item: Record Item; PlanningErrorLog: Record "Planning Error Log"; RequisitionLine: Record "Requisition Line"; var SetAtStartPosition: Boolean; var ShouldSetAtStartPosition: Boolean)` (integration)

## Procedures

- `SetTemplAndWorksheet(TemplateName: Code[10]; WorksheetName: Code[10]; Regenerative: Boolean)`
- `InitializeRequest(NewFromDate: Date; NewToDate: Date; NewRespectPlanningParm: Boolean)`
- `InitializeRequest(NewFromDate: Date; NewToDate: Date; NewRespectPlanningParm: Boolean; NewMPS: Boolean; NewMRP: Boolean; NewUseForecast: Code[10]; NewExcludeForecastBefore: Date; NewNoPlanningResiliency: Boolean)`
- `OpenWindow()`
- `UpdateWindow()`
- `CloseWindow()`

Plus 3 local procedures.

## Recent changes

- 2026-07-14 [#9224 [main] GitHub event batch 1746](../../changes/bcapps/9224.md) (main, BC30, fix)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC27-28

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "report", object_name: "Calculate Plan - Plan. Wksh.")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
