Codeunit 850 Cash Flow Forecast Handler

Base Application, Microsoft.CashFlow.Forecast

Source AL, 765 lines

src/Layers/W1/BaseApp/CashFlow/Forecast/CashFlowForecastHandler.Codeunit.allines 18 to 33 of 765, Copyright (c) Microsoft Corporation. MIT

codeunit 850 "Cash Flow Forecast Handler"{    Permissions = TableData "Cash Flow Azure AI Buffer" = rimd;    trigger OnRun()    begin    end;    var        CashFlowSetup: Record "Cash Flow Setup";        ErrorMessage: Record "Error Message";        TempErrorMessage: Record "Error Message" temporary;        CashFlowManagement: Codeunit "Cash Flow Management";        TimeSeriesManagement: Codeunit "Time Series Management";        ClientTypeManagement: Codeunit "Client Type Management";        NumberOfPeriodsWithHistory: Integer;

All 765 lines

Events 3 in 29

[IntegrationEvent] OnAfterPrepareSalesHistoryData(var TimeSeriesBuffer: Record "Time Series Buffer"; PeriodType: Integer; ForecastStartDate: Date; NumberOfPeriodsWithHistory: Integer)17-29
[IntegrationEvent] OnAfterPreparePurchHistoryData(var TimeSeriesBuffer: Record "Time Series Buffer"; PeriodType: Integer; ForecastStartDate: Date; NumberOfPeriodsWithHistory: Integer)17-29
[IntegrationEvent] OnAfterHasMinimumHistoricalData(var HasMinimumHistoryLoc: Boolean; var NumberOfPeriodsWithHistoryLoc: Integer; PeriodType: Integer; ForecastStartDate: Date)17-29

Public procedures 6 in 29

CalculateForecast(): Boolean17-29
PrepareForecast(var TimeSeriesBuffer: Record "Time Series Buffer"): Boolean17-29
CashFlowAzureAIBufferFill(var TimeSeriesBuffer: Record "Time Series Buffer"; var TimeSeriesForecast: Record "Time Series Forecast")17-29
Initialize(): Boolean17-29
DeactivateNotification(SetupNotification: Notification)17-29
SetupAzureAI(SetupNotification: Notification)17-29