Codeunit 850 "Cash Flow Forecast Handler"
Base Application · Microsoft.CashFlow.Forecast
Across versions
- BC23present
- BC241 procedures changed
- BC25-30unchanged
Neighbourhood 6 connected objects and pages
Base Application · Microsoft.CashFlow.Forecast · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Permissions | TableData “Cash Flow Azure AI Buffer” = rimd |
Events published
OnAfterPrepareSalesHistoryData(var TimeSeriesBuffer: Record "Time Series Buffer"; PeriodType: Integer; ForecastStartDate: Date; NumberOfPeriodsWithHistory: Integer)(integration)OnAfterPreparePurchHistoryData(var TimeSeriesBuffer: Record "Time Series Buffer"; PeriodType: Integer; ForecastStartDate: Date; NumberOfPeriodsWithHistory: Integer)(integration)OnAfterHasMinimumHistoricalData(var HasMinimumHistoryLoc: Boolean; var NumberOfPeriodsWithHistoryLoc: Integer; PeriodType: Integer; ForecastStartDate: Date)(integration)
Event subscriptions
- OnOpenCashFlowForecastChart subscribes to Page “Cash Flow Forecast Chart” OnOpenPageEvent
Procedures
CalculateForecast(): BooleanPrepareForecast(var TimeSeriesBuffer: Record "Time Series Buffer"): BooleanCashFlowAzureAIBufferFill(var TimeSeriesBuffer: Record "Time Series Buffer"; var TimeSeriesForecast: Record "Time Series Forecast")Initialize(): BooleanΔ BC24DeactivateNotification(SetupNotification: Notification)SetupAzureAI(SetupNotification: Notification)
Plus 21 local procedures.
Triggers
OnRun
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 2000 “Time Series Management” (9 calls:
CalculateVATAndLedgerForecast → Forecast,CalculateVATAndLedgerForecast → GetForecast,CalculateVATAndLedgerForecast → SetPreparedData, …) - Codeunit 841 “Cash Flow Management” (4 calls:
CalculateNotPostedPurchOrderSumAmountInPeriod → GetTaxAmountFromPurchaseOrder,CalculateNotPostedPurchOrderSumAmountInPeriod → GetTotalAmountFromPurchaseOrder,CalculateNotPostedSalesOrderSumAmountInPeriod → GetTaxAmountFromSalesOrder, …) - Codeunit 2006 “Azure AI Usage” (1 call:
Initialize → IsLimitReached) - Codeunit 4030 “Client Type Management” (1 call:
ShowNotification → GetCurrentClientType) - Codeunit 457 “Environment Information” (1 call:
SetupAzureAI → IsSaaS) - Page 846 “Cash Flow Setup” (1 call:
SetupAzureAI → (object))
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: "codeunit", object_name: "Cash Flow Forecast Handler"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.