Codeunit 841 "Cash Flow Management"
Base Application · Microsoft.CashFlow.Forecast
Across versions
- BC23present
- BC241 procedures removed
- BC252 events changed, 1 procedures changed
- BC26-30unchanged
Neighbourhood 23 connected objects and pages
Base Application · Microsoft.CashFlow.Forecast · BC23-30 · source at ea08af5e · facts from BC29
Events published
OnBeforeGetTaxAmountFromPurchaseOrder(PurchaseHeader: Record "Purchase Header"; var VATAmount: Decimal; var IsHandled: Boolean)(integration)OnBeforeGetTaxAmountFromSalesOrder(SalesHeader: Record "Sales Header"; var VATAmount: Decimal; var IsHandled: Boolean)(integration)OnBeforeShowSource(CFVariant: Variant; var Handled: Boolean)(integration)OnBeforeShowSourceDocument(CFVariant: Variant; var Handled: Boolean)(integration)OnBeforeUpdateCashFlowForecast(AzureAIEnabled: Boolean; var Handled: Boolean)(integration)OnShowSourceLocalSourceTypeCase(SourceType: Enum "Cash Flow Source Type"; SourceNo: Code[20]; ShowDocument: Boolean; DocumentNo: Code[20]; DocumentDate: Date; BudgetName: Code[10]; var IsHandled: Boolean)(integration)- subscribers: Codeunit 891 “Serv. Cash Flow Management” OnShowSourceLocalSourceTypeCase
OnAfterSetViewOnVATEntryForTaxCalc(var VATEntry: Record "VAT Entry"; TaxPaymentDueDate: Date; DummyDate: Date)(integration)OnAfterCreateCashFlowAccounts(LiquidFundsGLAccountFilter: Code[250])Δ BC25 (integration)- subscribers: Codeunit 891 “Serv. Cash Flow Management” OnAfterCreateCashFlowAccounts
OnAfterGetTotalAmountFromSalesOrder(SalesHeader: Record "Sales Header"; var Result: Decimal)(integration)OnBeforeInsertOnCreateCashFlowSetup(var CashFlowSetup: Record "Cash Flow Setup"; CashFlowNoSeriesCode: Code[20])Δ BC25 (integration)- subscribers: Codeunit 891 “Serv. Cash Flow Management” OnBeforeInsertOnCreateCashFlowSetup
OnBeforeRunSuggestWorksheetLinesOnUpdateCashFlowForecast(var SuggestWorksheetLines: Report "Suggest Worksheet Lines")(integration)
Procedures
ShowSourceDocument(CFVariant: Variant)ShowSource(CFVariant: Variant)CashFlowNameFullLength(CashFlowNo: Code[20]): Text[100]CashFlowAccountName(CashFlowAccountNo: Code[20]): Text[100]RecurrenceToRecurringFrequency(Recurrence: Option " ",Daily,Weekly,Monthly,Quarterly,Yearly): TextRecurringFrequencyToRecurrence(RecurringFrequency: DateFormula; var RecurrenceOut: Option " ",Daily,Weekly,Monthly,Quarterly,Yearly)CreateAndStartJobQueueEntry(UpdateFrequency: Option Never,Daily,Weekly)DeleteJobQueueEntries()GetCashAccountFilter(): TextSetupCashFlow(LiquidFundsGLAccountFilter: Code[250])CreateCashFlowAccount(SourceType: Enum "Cash Flow Source Type"; LiquidFundsGLAccountFilter: Code[250])GetNoFromSourceType(SourceType: Option): TextΔ BC25UpdateCashFlowForecast(AzureAIEnabled: Boolean)SetViewOnPurchaseHeaderForTaxCalc(var PurchaseHeader: Record "Purchase Header"; TaxPaymentDueDate: Date)SetViewOnSalesHeaderForTaxCalc(var SalesHeader: Record "Sales Header"; TaxPaymentDueDate: Date)SetViewOnVATEntryForTaxCalc(var VATEntry: Record "VAT Entry"; TaxPaymentDueDate: Date)GetTaxAmountFromSalesOrder(SalesHeader: Record "Sales Header"): DecimalGetTaxAmountFromPurchaseOrder(PurchaseHeader: Record "Purchase Header"): DecimalGetTotalAmountFromSalesOrder(SalesHeader: Record "Sales Header"): DecimalGetTotalAmountFromPurchaseOrder(PurchaseHeader: Record "Purchase Header"): Decimal
Plus 26 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 456 “Job Queue Management” (3 calls:
CreateAndStartJobQueueEntry → CreateJobQueueEntry,DeleteExistingSetup → DeleteJobQueueEntries,DeleteJobQueueEntries → DeleteJobQueueEntries) - Codeunit 453 “Job Queue - Enqueue” (1 call:
CreateAndStartJobQueueEntry → (object)) - Codeunit 80 “Sales-Post” (1 call:
GetTaxAmountFromSalesOrder → SumSalesLines) - Codeunit 844 “Cash Flow Wksh.-Register Batch” (1 call:
UpdateCashFlowForecast → (object)) - Codeunit 90 “Purch.-Post” (1 call:
GetTaxAmountFromPurchaseOrder → SumPurchLines) - Page 16 “Chart of Accounts” (1 call:
ShowLiquidFunds → (object)) - Page 17 “G/L Account Card” (1 call:
ShowLiquidFunds → (object)) - Page 315 “VAT Entries” (1 call:
ShowTax → (object)) - Page 5600 “Fixed Asset Card” (1 call:
ShowFixedAsset → (object))
Called by
- Codeunit 850 “Cash Flow Forecast Handler” (4 calls:
CalculateNotPostedPurchOrderSumAmountInPeriod → GetTaxAmountFromPurchaseOrder,CalculateNotPostedPurchOrderSumAmountInPeriod → GetTotalAmountFromPurchaseOrder,CalculateNotPostedSalesOrderSumAmountInPeriod → GetTaxAmountFromSalesOrder, …) - Codeunit 5686 “Run CashFlow Forecast Wizard” (3 calls:
OnRun → GetCashAccountFilter,OnRun → SetupCashFlow,OnRun → UpdateCashFlowForecast) - Page 1818 “Cash Flow Forecast Wizard” (3 calls:
FinishAction → SetupCashFlow,FinishAction → UpdateCashFlowForecast,GetLiquidFundsGLAccountFilter → GetCashAccountFilter) - Codeunit 891 “Serv. Cash Flow Management” (2 calls:
OnAfterCreateCashFlowAccounts → CreateCashFlowAccount,OnBeforeInsertOnCreateCashFlowSetup → GetNoFromSourceType) - Page 841 “Cash Flow Worksheet” (2 calls:
OnAfterGetCurrRecord → CashFlowAccountName,OnAfterGetCurrRecord → CashFlowNameFullLength) - Report 840 “Suggest Worksheet Lines” (2 calls:
GetTaxAmountFromSource → GetTaxAmountFromPurchaseOrder,GetTaxAmountFromSource → GetTaxAmountFromSalesOrder) - Table 847 “Cash Flow Forecast Entry” (2 calls:
ShowSource → ShowSource,ShowSource → ShowSourceDocument) - Codeunit 842 “Cash Flow Forecast Update” (1 call:
OnRun → UpdateCashFlowForecast) - Page 1157 “Client Detail Cash Flow Chart” (1 call:
RecalculateAndUpdateChart → UpdateCashFlowForecast) - Page 857 “Cash Flow Manual Revenues” (1 call:
GetRecord → RecurringFrequencyToRecurrence) - Page 859 “Cash Flow Manual Expenses” (1 call:
GetRecord → RecurringFrequencyToRecurrence) - Page 869 “Cash Flow Forecast Chart” (1 call:
RecalculateAndUpdateChart → UpdateCashFlowForecast) - Table 846 “Cash Flow Worksheet Line” (1 call:
ShowSource → ShowSource)
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 Management"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.