---
id: object/report/699
type: object
title: Report 699 "Calculate Plan - Req. Wksh."
summary: Report 699 "Calculate Plan - Req. Wksh." in Base Application (Microsoft.Inventory.Requisition). 7 public procedures, 13 events. Present since at least BC23, still in BC30, changed in BC27, BC30.
tier: official
language: en
tags:
  - report
  - base application
versions:
  introduced: null
  last_changed: "30"
  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: 8909c464765c185ef11282ccf5a6c61d0f684fffca517819bb4f5069d01db942
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Requisition/CalculatePlanReqWksh.Report.al
    title: src/Layers/W1/BaseApp/Inventory/Requisition/CalculatePlanReqWksh.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/12066
object_type: report
object_id: 699
name: Calculate Plan - Req. Wksh.
namespace: Microsoft.Inventory.Requisition
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "27"
  - "30"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 20
  events: 13
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Report 699 "Calculate Plan - Req. Wksh."

> Report 699 "Calculate Plan - Req. Wksh." in Base Application (Microsoft.Inventory.Requisition). 7 public procedures, 13 events. Present since at least BC23, still in BC30, changed in BC27, BC30.

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

## Properties

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

## Events published

- `OnAfterOnOpenPage(var FromDate: Date; var ToDate: Date)` (integration)
- `OnAfterItemOnPreDataItem(var Item: Record Item)` (integration)
- `OnAfterItemOnPostDataItem(var Item: Record Item; CurrTemplateName: Code[10]; CurrWorksheetName: Code[10]; FromDate: Date; ToDate: Date)` (integration)
- `OnAfterSkipPlanningForItemOnReqWksh(Item: Record Item; var SkipPlanning: Boolean)` (integration)
- `OnBeforeSkipPlanningForItemOnReqWksh(Item: Record Item; var SkipPlanning: Boolean; var IsHandled: Boolean; StockkeepingUnit: Record "Stockkeeping Unit"; CurrWorksheetType: Option)` (integration)
- `OnBeforeSetParamAndCalculatePlanFromWorksheet(UseForecast: Code[10]; ExcludeForecastBefore: Date; CurrWorksheetType: Option; PriceCalculationMethod: Enum "Price Calculation Method"; Item: Record Item; ManufacturingSetup: Record Microsoft.Manufacturing.Setup."Manufacturing Setup"; CurrTemplateName: Code[10]; CurrWorksheetName: Code[10]; FromDate: Date; ToDate: Date; RespectPlanningParm: Boolean; var IsHandled: Boolean)` (integration, obsolete 27.0)
- `OnBeforeSetParamAndCalculatePlanFromReqWorksheet(UseForecast: Code[10]; ExcludeForecastBefore: Date; CurrWorksheetType: Option; PriceCalculationMethod: Enum "Price Calculation Method"; Item: Record Item; CurrTemplateName: Code[10]; CurrWorksheetName: Code[10]; FromDate: Date; ToDate: Date; RespectPlanningParm: Boolean; var IsHandled: Boolean)` (integration)
- `OnBeforeDeleteReqLines(Item: Record Item; var PurchReqLine: Record "Requisition Line"; var ReqLineExtern: Record "Requisition Line"; var IsHandled: Boolean; InventoryProfileOffsetting: Codeunit "Inventory Profile Offsetting")` (integration)
- `OnBeforeInitializeFromSetup(var UseForecast: Code[10]; var IsHandled: Boolean; var InventorySetup: Record "Inventory Setup")` (integration)
- `OnBeforeInitializeFromMfgSetup(var UseForecast: Code[10]; var IsHandled: Boolean; var MfgSetup: Record Microsoft.Manufacturing.Setup."Manufacturing Setup")` (integration, obsolete 27.0)
- `OnBeforeOnPreReport(var CurrTemplateName: code[10]; var CurrWorksheetName: Code[10]; var RequistionLine: Record "Requisition Line"; var FromDate: Date; var ToDate: Date; var IsHandled: Boolean)` (integration)
- `OnItemOnAfterGetRecordOnBeforeCommit(var ReqLine: Record "Requisition Line"; var Item: Record Item; CurrTemplateName: Code[10]; CurrWorksheetName: Code[10]; FromDate: Date)` (integration)
- `OnItemOnAfterDeleteReqLines(Item: Record Item; var SkipPlanning: Boolean)` (integration)

## Procedures

- `SetTemplAndWorksheet(TemplateName: Code[10]; WorksheetName: Code[10])`
- `InitializeRequest(StartDate: Date; EndDate: Date)`
- `InitializeFromSetup()`
- `InitializeFromMfgSetup()` (obsolete 27.0: Replaced by procedure InitializeFromSetup())
- `SetParamAndCalculatePlanFromWorksheet()`
- `ValidatePriceCalcMethod()`
- `SkipPlanningForItemOnReqWksh(Item: Record Item): Boolean`

## Triggers

OnPreReport

## Calls

From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an `Object::"Name"` argument. Interface dispatch and calls through events are not counted, so the list is not complete.

- [Codeunit 99000854 "Inventory Profile Offsetting"](../codeunit/99000854.md) (2 calls: `SetParamAndCalculatePlanFromWorksheet → CalculatePlanFromWorksheet`, `SetParamAndCalculatePlanFromWorksheet → SetParm`)

## Recent changes

- 2026-10-02 [#12066 Bugs/remove asm inv mfg clean27 tags for wave2 2026](../../changes/bcapps/12066.md) (main, BC30, obsoletion)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC27, BC30

## Deprecations

- procedure InitializeFromMfgSetup: Pending 27.0 (#if not CLEAN27), "Replaced by procedure InitializeFromSetup()"
- procedure OnBeforeInitializeFromMfgSetup: Pending 27.0 (#if not CLEAN27), "Replaced by event OnBeforeInitializeFromSetup"
- procedure OnBeforeSetParamAndCalculatePlanFromWorksheet: Pending 27.0 (#if not CLEAN27), "Replaced by OnBeforeSetParamAndCalculatePlanFromReqWorksheet"

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). The call sections above are our own, per object, from the BC29 call graph. 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 - Req. Wksh.")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
