Page 5522 "Order Planning"
Base Application · Microsoft.Inventory.Requisition
Across versions
- BC23-24present
- BC255 procedures added, 5 procedures removed
- BC26-27unchanged
- BC284 procedures removed
- BC29-30unchanged
Neighbourhood 11 connected objects and pages
Base Application · Microsoft.Inventory.Requisition · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Caption | Order Planning |
| SourceTable | Requisition Line |
| PageType | Worksheet |
| UsageCategory | Tasks |
| ApplicationArea | Planning |
Fields on this page
Layout controls in source order, grouped by the container they sit in. Shows: the table field a control is bound to (or its expression as written); ToolTip: the control’s own, else the bound field’s (marked).
| Group | Control | Shows | ToolTip |
|---|---|---|---|
| General | Show Demand as | DemandOrderFilter |
Specifies a filter to define which demand types you want to display in the Order Planning window. |
| Control1 | Demand Date | Demand Date | Specifies the demanded date of the demand that the planning line represents. from the table field |
| StatusText | StatusText |
— | |
| DemandTypeText | DemandTypeText |
— | |
| DemandSubtypeText | DemandSubtypeText |
— | |
| Order No. | Demand Order No. | Specifies the number of the demanded order that represents the planning line. from the table field | |
| Demand Line No. | Demand Line No. | Specifies the line number of the demand, such as a sales order line. from the table field | |
| Item No. | No. | Specifies the number of the item with insufficient availability and must be planned. | |
| Variant Code | Variant Code | Specifies the variant of the item on the line. from the table field | |
| Bin Code | Bin Code | Specifies the bin of the item on the line. from the table field | |
| Location Code | Location Code | Specifies a code for an inventory location where the items that are being ordered will be registered. from the table field | |
| Description | Description | Specifies text that describes the entry. from the table field | |
| Demand Quantity | Demand Quantity | Specifies the quantity on the demand that the planning line represents. from the table field | |
| Demand Qty. Available | Demand Qty. Available | Specifies how many of the demand quantity are available. from the table field | |
| Needed Quantity | Needed Quantity | Specifies the demand quantity that is not available and must be ordered to meet the demand represented on the planning line. from the table field | |
| Replenishment System | Replenishment System | Specifies which kind of order to use to create replenishment orders and order proposals. from the table field | |
| Supply From | Supply From | Specifies a value, according to the selected replenishment system, before a supply order can be created for the line. from the table field | |
| Reserve | Reserve | Specifies whether the item on the planning line has a setting of Always in the Reserve field on its item card. from the table field | |
| Qty. to Order | Quantity | Specifies the quantity that will be ordered on the supply order, such as purchase or assembly, that you can create from the planning line. | |
| Unit of Measure Code | Unit of Measure Code | Specifies how each unit of the item or resource is measured, such as in pieces or hours. By default, the value in the Base Unit of Measure field on the item or resource card is inserted. from the table field | |
| Order Date | Order Date | Specifies the date when the related order was created. from the table field | |
| Starting Date | Starting Date | Specifies the starting date of the manufacturing process, if the planned supply is a production order. from the table field | |
| Due Date | Due Date | Specifies the date when you can expect to receive the items. from the table field | |
| Unit Cost | Unit Cost | Specifies the cost of one unit of the item or resource on the line. from the table field | |
| Direct Unit Cost | Direct Unit Cost | Specifies the cost of one unit of the selected item or resource. from the table field | |
| Currency Code | Currency Code | Specifies the currency code for the requisition lines. from the table field | |
| Purchasing Code | Purchasing Code | Specifies the code for a special procurement method, such as drop shipment. from the table field | |
| Shortcut Dimension 1 Code | Shortcut Dimension 1 Code | Specifies the code for Shortcut Dimension 1, which is one of two global dimension codes that you set up in the General Ledger Setup window. from the table field | |
| Shortcut Dimension 2 Code | Shortcut Dimension 2 Code | Specifies the code for Shortcut Dimension 2, which is one of two global dimension codes that you set up in the General Ledger Setup window. from the table field | |
| Available for Transfer | Available For Transfer | QtyOnOtherLocations |
Specifies the quantity of the item on the active planning line, that is available on another location than the one defined. |
| Substitutes Exist | Substitutes Exist | format(SubstitionAvailable) |
Specifies if a substitute item exists for the component on the planning line. |
| Quantity Available | Quantity Available | QtyATP |
Specifies the total availability of the item on the active planning line, irrespective of quantities calculated for the line. |
| Earliest Date Available | Earliest Date Available | EarliestShptDateAvailable |
Specifies the arrival date of an inbound supply order that can cover the needed quantity on a date later than the demand date. |
Actions
| Group | Action | ToolTip | Runs |
|---|---|---|---|
| Line | Show Document | Open the document that the selected line exists on. | |
| Components | View or edit the production order components of the parent item on the line. | Page 99000862 “Planning Components” | |
| Dimensions | View or edit dimensions, such as area, project, or department, that you can assign to sales and purchase documents to distribute costs and analyze transaction history. | ||
| Item | Card | View or change detailed information about the record on the document or journal line. | |
| Item Availability by | Event | View how the actual and the projected available balance of an item will develop over time according to supply and demand events. | |
| Period | View the projected quantity of the item over time according to time periods, such as day, week, or month. | ||
| Variant | View or edit the item’s variants. Instead of setting up each color of an item as a separate item, you can set up the various colors as variants of the item. | ||
| Location | View the actual and projected quantity of the item per location. | ||
| Lot | View the current and projected quantity of the item in each lot. | Page 520 “Item Availability by Lot No.” | |
| BOM Level | View availability figures for items on bills of materials that show how many units of a parent item you can make based on the availability of child items. | ||
| Processing | Delete all lines in worksheet | Delete all lines in the current worksheet, disregarding any filters. | |
| Functions | Calculate Plan | Start the calculation of supply orders needed to fulfill the specified demand. Remember that each time, you choose the Calculate Plan action, only one product level is planned. | |
| Reserve | Reserve the quantity that is required on the document line that you opened this window for. | ||
| Order Tracking | Tracks the connection of a supply to its corresponding demand. This can help you find the original demand that created a specific production order or purchase order. | ||
| Refresh Planning Line | Update the planning components and the routing lines for the selected planning line with any changes. | ||
| Alternative Supply | Get alternative supply locations for the selected line. | ||
| Select Item Substitutes | Get substitutes for the selected line. | ||
| Processing | Make Orders | Create the suggested supply orders according to options that you specify in a new window. |
Events published
OnAfterShowDemandOrder(var RequisitionLine: Record "Requisition Line")(integration)OnAfterStatusTextOnFormat(var RequisitionLine: Record "Requisition Line"; var Text: Text)(integration)- subscribers: Codeunit 99000850 “Sales Line-Planning” OnAfterStatusTextOnFormat, Codeunit 99000851 “Assembly Line-Planning” OnAfterStatusTextOnFormat, Codeunit 99000852 “Job Planning Line-Planning” OnAfterStatusTextOnFormat, Codeunit 99000853 “Service Line-Planning” OnAfterStatusTextOnFormat, Codeunit 99000857 “Prod. Order Line-Planning” OnAfterStatusTextOnFormat
OnAfterDemandTypeTextOnFormat(var RequisitionLine: Record "Requisition Line"; var Text: Text)(integration)- subscribers: Codeunit 99000850 “Sales Line-Planning” OnAfterDemandTypeTextOnFormat, Codeunit 99000851 “Assembly Line-Planning” OnAfterDemandTypeTextOnFormat, Codeunit 99000852 “Job Planning Line-Planning” OnAfterDemandTypeTextOnFormat, Codeunit 99000853 “Service Line-Planning” OnAfterDemandTypeTextOnFormat, Codeunit 99000857 “Prod. Order Line-Planning” OnAfterDemandTypeTextOnFormat
OnAfterDemandSubtypeTextOnFormat(var RequisitionLine: Record "Requisition Line"; var Text: Text)+ BC25 (integration)- subscribers: Codeunit 99000850 “Sales Line-Planning” OnAfterDemandSubtypeTextOnFormat, Codeunit 99000851 “Assembly Line-Planning” OnAfterDemandSubtypeTextOnFormat, Codeunit 99000852 “Job Planning Line-Planning” OnAfterDemandSubtypeTextOnFormat, Codeunit 99000853 “Service Line-Planning” OnAfterDemandSubtypeTextOnFormat, Codeunit 99000857 “Prod. Order Line-Planning” OnAfterDemandSubtypeTextOnFormat
OnUpdateReqLineOnAfterGetCurrRecord(var TempRequisitionLine: Record "Requisition Line" temporary)(integration)OnBeforeMakeSupplyOrders(var RequisitionLine: Record "Requisition Line"; ManufacturingUserTemplate: Record "Manufacturing User Template"; var ActionMsgCarriedOut: Boolean; var IsHandled: Boolean)(integration)OnCalcPlanOnBeforeGetOrdersToPlan(var RequisitionLine: Record "Requisition Line")(integration)OnBeforeShowDemandOrder(var RequisitionLine: Record "Requisition Line"; var IsHandled: Boolean)(integration)- subscribers: Codeunit 99000850 “Sales Line-Planning” OrderPlanningOnBeforeShowDemandOrder, Codeunit 99000851 “Assembly Line-Planning” OrderPlanningOnBeforeShowDemandOrder, Codeunit 99000852 “Job Planning Line-Planning” OrderPlanningOnBeforeShowDemandOrder, Codeunit 99000853 “Service Line-Planning” OrderPlanningOnBeforeShowDemandOrder, Codeunit 99000857 “Prod. Order Line-Planning” OrderPlanningOnBeforeShowDemandOrder
OnSetRecDemandFilter(var RequisitionLine: Record "Requisition Line"; DemandOrderFilter: Enum "Demand Order Source Type")+ BC25 (integration)- subscribers: Codeunit 99000850 “Sales Line-Planning” OnSetRecDemandFilter, Codeunit 99000851 “Assembly Line-Planning” OnSetRecDemandFilter, Codeunit 99000852 “Job Planning Line-Planning” OnSetRecDemandFilter, Codeunit 99000853 “Service Line-Planning” OnSetRecDemandFilter, Codeunit 99000857 “Prod. Order Line-Planning” OnSetRecDemandFilter
Procedures
SetProdOrderDemand(NewDemandSubtype: Integer; NewDemandOrderNo: Code[20])+ BC25FindReqLineForCursor(var ReqLineWithCursor: Record "Requisition Line"; ActualReqLine: Record "Requisition Line")(protected)SetRecFilters()CalcPlan()(protected)SetDemandOrderSourceType(NewDemandOrderSourceType: Enum "Demand Order Source Type")+ BC25
Plus 22 local procedures.
Triggers
OnAfterGetCurrRecord, OnAfterGetRecord, OnDeleteRecord, OnInit, OnModifyRecord, OnOpenPage
Relations
- source table Table 246 “Requisition Line”
Extended by
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 5522 “Order Planning Mgt.” (6 calls:
CalcEarliestShptDateAvailable → CalcATPEarliestDate,CalcPlan → GetOrdersToPlan,CalcPlan → SetDemandType, …) - Codeunit 5521 “Make Supply Orders (Yes/No)” (3 calls:
MakeSupplyOrders → (object),MakeSupplyOrders → ActionMsgCarriedOut,MakeSupplyOrders → SetManufUserTemplate) - Codeunit 5402 “Unit of Measure Management” (2 calls:
CalcQtyATP → QtyRndPrecision,CalcQtyOnOtherLocations → QtyRndPrecision)
Documented on Microsoft Learn
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: "page", object_name: "Order Planning"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.