Report 699 Calculate Plan - Req. Wksh.

Base Application, Microsoft.Inventory.Requisition

Source AL, 425 lines

src/Layers/W1/BaseApp/Inventory/Requisition/CalculatePlanReqWksh.Report.allines 15 to 30 of 425, Copyright (c) Microsoft Corporation. MIT

report 699 "Calculate Plan - Req. Wksh."{    Caption = 'Calculate Plan - Req. Wksh.';    ProcessingOnly = true;    dataset    {        dataitem(Item; Item)        {            DataItemTableView = sorting("Low-Level Code") where(Type = const(Inventory), Blocked = const(false));            RequestFilterFields = "No.", "Search Description", "Location Filter";            trigger OnAfterGetRecord()            var                SkipPlanning: Boolean;                IsHandled: Boolean;

All 425 lines

Events 13 in 29

[IntegrationEvent] OnAfterOnOpenPage(var FromDate: Date; var ToDate: Date)17-29
[IntegrationEvent] OnAfterItemOnPreDataItem(var Item: Record Item)17-29
[IntegrationEvent] OnAfterSkipPlanningForItemOnReqWksh(Item: Record Item; var SkipPlanning: Boolean)17-29
[IntegrationEvent] OnBeforeInitializeFromMfgSetup(var UseForecast: Code[10]; var IsHandled: Boolean; var MfgSetup: Record "Manufacturing Setup")new in 19
Pending, tag 27.0, obsolete since 27: Replaced by event OnBeforeInitializeFromSetup
[IntegrationEvent] OnItemOnAfterDeleteReqLines(Item: Record Item; var SkipPlanning: Boolean)new in 19
[IntegrationEvent] OnAfterItemOnPostDataItem(var Item: Record Item; CurrTemplateName: Code[10]; CurrWorksheetName: Code[10]; FromDate: Date; ToDate: Date)new in 20
[IntegrationEvent] OnBeforeSkipPlanningForItemOnReqWksh(Item: Record Item; var SkipPlanning: Boolean; var IsHandled: Boolean; StockkeepingUnit: Record "Stockkeeping Unit"; CurrWorksheetType: Option)new in 20

All 20 events in 17-29

Public procedures 7 in 29

SetTemplAndWorksheet(TemplateName: Code[10]; WorksheetName: Code[10])17-29
InitializeRequest(StartDate: Date; EndDate: Date)17-29
InitializeFromMfgSetup()new in 21
Pending, tag 27.0, obsolete since 27: Replaced by procedure InitializeFromSetup()
SetParamAndCalculatePlanFromWorksheet()new in 21
ValidatePriceCalcMethod()new in 21
SkipPlanningForItemOnReqWksh(Item: Record Item): Booleannew in 21

All 7 procedures

Changes 6 in 27

List17181920212223242526272829
Procedures42
Events331124
InitializeFromMfgSetup()new in 21
marked Pending, tag 27.0: Replaced by procedure InitializeFromSetup()
InitializeFromSetup()new in 27
added
[IntegrationEvent] OnBeforeInitializeFromMfgSetup(var UseForecast: Code[10]; var IsHandled: Boolean; var MfgSetup: Record "Manufacturing Setup")new in 19
marked Pending, tag 27.0: Replaced by event OnBeforeInitializeFromSetup
[IntegrationEvent] OnBeforeSetParamAndCalculatePlanFromWorksheet(UseForecast: Code[10]; ExcludeForecastBefore: Date; CurrWorksheetType: Option; PriceCalculationMethod: Enum "Price Calculation Method"; Item: Record Item; ManufacturingSetup: Record "Manufacturing Setup"; CurrTemplateName: Code[10]; CurrWorksheetName: Code[10]; FromDate: Date; ToDate: Date; RespectPlanningParm: Boolean; var IsHandled: Boolean)new in 20
marked Pending, tag 27.0: Replaced by OnBeforeSetParamAndCalculatePlanFromReqWorksheet
[IntegrationEvent] 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)new in 27
added
[IntegrationEvent] OnBeforeInitializeFromSetup(var UseForecast: Code[10]; var IsHandled: Boolean; var InventorySetup: Record "Inventory Setup")new in 27
added

All 29 changes in 17-29