---
title: "Page 5522 Order Planning"
author: "Jonas Paprotka"
url: https://jonas-paprotka.de/ref/page/5522-order-planning/
type: page
id: 5522
name: "Order Planning"
app: "Base Application"
namespace: Microsoft.Inventory.Requisition
versions: "17-28"
build: 28.5.54151.54365
source: "https://jonas-paprotka.de/ref/page/5522-order-planning/source/29/"
checked: 2026-09-20
subject: "Microsoft Dynamics 365 Business Central"
license: "Content © 2026 Jonas Paprotka. Quote freely with attribution and a link."
---

# Page 5522 Order Planning

Jonas Paprotka, https://jonas-paprotka.de/ref/page/5522-order-planning/

| | |
| --- | --- |
| App | Base Application |
| Namespace | Microsoft.Inventory.Requisition |
| Versions | 17-28 |
| Source table | 246 |
| Source file | Inventory/Requisition/OrderPlanning.Page.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| SetSalesOrder | (Record Sales Header) | - | public | 17-27 | Pending 25.0 | This procedure is not used. |
| SetProdOrder | (Record Production Order) | - | public | 17-27 | Pending 25.0 | This procedure replaced by procedure SetProdOrderDemand() |
| SetAsmOrder | (Record Assembly Header) | - | public | 17-27 | Pending 25.0 | This procedure is not used. |
| SetServOrder | (Record Service Header) | - | public | 17-27 | Pending 25.0 | This procedure is not used. |
| SetJobOrder | (Record Job) | - | public | 17-27 | Pending 25.0 | This procedure is not used. |
| SetRecFilters | () | - | public | 17-28 | - | - |
| FindReqLineForCursor | (var Record Requisition Line, Record Requisition Line) | - | protected | 19-28 | - | - |
| CalcPlan | () | - | protected | 19-28 | - | - |
| SetDemandOrderFilter | (Option) | - | public | 21-27 | Pending 25.0 | Replaced by procedure SetDemandOrderSourceType |
| SetProdOrderDemand | (Integer, Code[20]) | - | public | 25-28 | - | - |
| SetDemandOrderSourceType | (Enum Demand Order Source Type) | - | public | 25-28 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnAfterShowDemandOrder | (var Record Requisition Line) | 17-28 | - | - |
| Integration event | OnAfterStatusTextOnFormat | (var Record Requisition Line, var Text) | 17-28 | - | - |
| Integration event | OnAfterDemandTypeTextOnFormat | (var Record Requisition Line, var Text) | 17-28 | - | - |
| Integration event | OnBeforeMakeSupplyOrders | (var Record Requisition Line, Record Manufacturing User Template, var Boolean, var Boolean) | 17-28 | - | - |
| Integration event | OnUpdateReqLineOnAfterGetCurrRecord | (var Record Requisition Line) | 18-28 | - | - |
| Integration event | OnCalcPlanOnBeforeGetOrdersToPlan | (var Record Requisition Line) | 18-28 | - | - |
| Integration event | OnBeforeShowDemandOrder | (var Record Requisition Line, var Boolean) | 21-28 | - | - |
| Integration event | OnAfterDemandSubtypeTextOnFormat | (var Record Requisition Line, var Text) | 25-28 | - | - |
| Integration event | OnSetRecDemandFilter | (var Record Requisition Line, Enum Demand Order Source Type) | 25-28 | - | - |

## Source

Symbols: Microsoft.BaseApplication.symbols.437dbf0e-84ff-417a-965d-ed2bb9650972, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-09-20.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at a66254c3b8b5bb1cea290dc8f9d097aec4381153.

Jonas Paprotka, 2026-09-20.
