---
title: "Codeunit 841 Cash Flow Management, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/points/
object: https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 841 Cash Flow Management, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/points/

33 procedures and triggers with a step in src/Layers/W1/BaseApp/CashFlow/Forecast/CashFlowManagement.Codeunit.al, in source order, read from the text, not from a run.

## ShowSourceDocument

[Line 49](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L49).

- [54](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L54) raises `OnBeforeShowSourceDocument`
- [61](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L61) calls `ShowSourceLocalCFWorkSheetLine`
- [63](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L63) calls `ShowSourceLocalCFEntry`

## ShowSource

[Line 68](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L68).

- [73](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L73) raises `OnBeforeShowSource`
- [80](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L80) calls `ShowSourceLocalCFWorkSheetLine`
- [82](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L82) calls `ShowSourceLocalCFEntry`

## ShowSourceLocalCFWorkSheetLine

[Line 86](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L86), local.

- [97](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L97) calls `ShowSourceLocal`

## ShowSourceLocalCFEntry

[Line 105](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L105), local.

- [116](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L116) calls `ShowSourceLocal`

## ShowSourceLocal

[Line 124](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L124), local.

- [131](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L131) calls `ShowLiquidFunds`
- [133](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L133) calls `ShowCustomer`
- [135](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L135) calls `ShowVendor`
- [137](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L137) calls `ShowSalesOrder`
- [139](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L139) calls `ShowPurchaseOrder`
- [141](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L141) calls `ShowManualRevenue`
- [143](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L143) calls `ShowManualExpense`
- [146](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L146) calls `ShowFixedAsset`
- [148](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L148) calls `ShowGLBudget`
- [150](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L150) calls `ShowJob`
- [152](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L152) calls `ShowTax`
- [154](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L154) calls `ShowAzureAIForecast`
- [157](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L157) raises `OnShowSourceLocalSourceTypeCase`, IsHandled

## ShowLiquidFunds

[Line 164](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L164), local.

- [172](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L172) runs [Page 17 G/L Account Card](https://jonas-paprotka.de/ref/page/17-g-l-account-card/)
- [174](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L174) runs [Page 16 Chart of Accounts](https://jonas-paprotka.de/ref/page/16-chart-of-accounts/)

## ShowCustomer

[Line 177](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L177), local.

- [185](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L185) calls [Table 21 Cust. Ledger Entry](https://jonas-paprotka.de/ref/table/21-cust-ledger-entry/) `ShowDoc`

## ShowVendor

[Line 190](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L190), local.

- [198](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L198) calls [Table 25 Vendor Ledger Entry](https://jonas-paprotka.de/ref/table/25-vendor-ledger-entry/) `ShowDoc`

## ShowFixedAsset

[Line 255](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L255), local.

- [262](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L262) runs [Page 5600 Fixed Asset Card](https://jonas-paprotka.de/ref/page/5600-fixed-asset-card/)

## ShowGLBudget

[Line 265](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L265), local.

- [275](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L275) calls [Page 113 Budget](https://jonas-paprotka.de/ref/page/113-budget/) `SetBudgetName`
- [276](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L276) calls [Page 113 Budget](https://jonas-paprotka.de/ref/page/113-budget/) `SetGLAccountFilter`

## ShowTax

[Line 321](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L321), local.

- [334](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L334) calls `SetViewOnPurchaseHeaderForTaxCalc`
- [335](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L335) calls [Page 9307 Purchase Order List](https://jonas-paprotka.de/ref/page/9307-purchase-order-list/) `SkipShowingLinesWithoutVAT`
- [341](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L341) calls `SetViewOnSalesHeaderForTaxCalc`
- [342](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L342) calls [Page 9305 Sales Order List](https://jonas-paprotka.de/ref/page/9305-sales-order-list/) `SkipShowingLinesWithoutVAT`
- [348](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L348) calls `SetViewOnVATEntryForTaxCalc`
- [349](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L349) runs [Page 315 VAT Entries](https://jonas-paprotka.de/ref/page/315-vat-entries/)

## CreateAndStartJobQueueEntry

[Line 402](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L402).

- [408](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L408) calls `UpdateFrequencyToNoOfMinutes`
- [412](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L412) calls [Codeunit 456 Job Queue Management](https://jonas-paprotka.de/ref/codeunit/456-job-queue-management/) `CreateJobQueueEntry`
- [415](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L415) runs [Codeunit 453 Job Queue - Enqueue](https://jonas-paprotka.de/ref/codeunit/453-job-queue-enqueue/)

## DeleteJobQueueEntries

[Line 418](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L418).

- [423](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L423) calls [Codeunit 456 Job Queue Management](https://jonas-paprotka.de/ref/codeunit/456-job-queue-management/) `DeleteJobQueueEntries`

## GetCashAccountFilter

[Line 426](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L426).

- [434](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L434) calls [Table 570 G/L Account Category](https://jonas-paprotka.de/ref/table/570-g-l-account-category/) `GetTotaling`
- [437](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L437) calls [Table 570 G/L Account Category](https://jonas-paprotka.de/ref/table/570-g-l-account-category/) `GetTotaling`

## SetupCashFlow

[Line 442](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L442).

- [446](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L446) calls `DeleteExistingSetup`
- [447](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L447) calls `CreateCashFlowAccounts`
- [448](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L448) calls `CreateCashFlowNoSeries`
- [449](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L449) calls `CreateCashFlowSetup`
- [450](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L450) calls `CreateCashFlowForecast`
- [451](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L451) calls `CreateCashFlowChartSetup`
- [452](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L452) calls `CreateCashFlowReportSelection`

## DeleteExistingSetup

[Line 455](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L455), local.

- [470](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L470) writes [Table 840 Cash Flow Forecast](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/) DeleteAll
- [471](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L471) writes [Table 841 Cash Flow Account](https://jonas-paprotka.de/ref/table/841-cash-flow-account/) DeleteAll
- [472](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L472) writes [Table 842 Cash Flow Account Comment](https://jonas-paprotka.de/ref/table/842-cash-flow-account-comment/) DeleteAll
- [473](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L473) writes [Table 843 Cash Flow Setup](https://jonas-paprotka.de/ref/table/843-cash-flow-setup/) DeleteAll
- [474](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L474) writes [Table 846 Cash Flow Worksheet Line](https://jonas-paprotka.de/ref/table/846-cash-flow-worksheet-line/) DeleteAll
- [475](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L475) writes [Table 847 Cash Flow Forecast Entry](https://jonas-paprotka.de/ref/table/847-cash-flow-forecast-entry/) DeleteAll
- [476](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L476) writes [Table 849 Cash Flow Manual Revenue](https://jonas-paprotka.de/ref/table/849-cash-flow-manual-revenue/) DeleteAll
- [477](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L477) writes [Table 850 Cash Flow Manual Expense](https://jonas-paprotka.de/ref/table/850-cash-flow-manual-expense/) DeleteAll
- [478](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L478) writes [Table 856 Cash Flow Report Selection](https://jonas-paprotka.de/ref/table/856-cash-flow-report-selection/) DeleteAll
- [479](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L479) writes [Table 869 Cash Flow Chart Setup](https://jonas-paprotka.de/ref/table/869-cash-flow-chart-setup/) DeleteAll
- [480](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L480) calls [Codeunit 456 Job Queue Management](https://jonas-paprotka.de/ref/codeunit/456-job-queue-management/) `DeleteJobQueueEntries`

## CreateCashFlowAccounts

[Line 483](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L483), local.

- [487](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L487) calls `CreateCashFlowAccount`
- [488](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L488) calls `CreateCashFlowAccount`
- [489](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L489) calls `CreateCashFlowAccount`
- [490](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L490) calls `CreateCashFlowAccount`
- [491](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L491) calls `CreateCashFlowAccount`
- [492](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L492) calls `CreateCashFlowAccount`
- [493](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L493) calls `CreateCashFlowAccount`
- [494](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L494) calls `CreateCashFlowAccount`
- [495](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L495) calls `CreateCashFlowAccount`
- [496](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L496) calls `CreateCashFlowAccount`
- [497](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L497) calls `CreateCashFlowAccount`
- [498](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L498) raises `OnAfterCreateCashFlowAccounts`

## CreateCashFlowAccount

[Line 501](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L501).

- [505](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L505) calls `InitCashFlowAccount`
- [510](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L510) writes [Table 841 Cash Flow Account](https://jonas-paprotka.de/ref/table/841-cash-flow-account/) Insert

## InitCashFlowAccount

[Line 521](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L521), local.

- [524](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L524) validates [Table 841 Cash Flow Account](https://jonas-paprotka.de/ref/table/841-cash-flow-account/) `Source Type`
- [525](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L525) validates [Table 841 Cash Flow Account](https://jonas-paprotka.de/ref/table/841-cash-flow-account/) `No.`
- [525](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L525) calls `GetNoFromSourceType`
- [526](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L526) validates [Table 841 Cash Flow Account](https://jonas-paprotka.de/ref/table/841-cash-flow-account/) `Name`

## CreateCashFlowForecast

[Line 529](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L529), local.

- [534](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L534) validates [Table 840 Cash Flow Forecast](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/) `No.`
- [535](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L535) validates [Table 840 Cash Flow Forecast](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/) `Description`
- [536](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L536) calls [Table 840 Cash Flow Forecast](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/) `ValidateShowInChart`
- [538](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L538) writes [Table 840 Cash Flow Forecast](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/) Insert

## CreateCashFlowNoSeries

[Line 541](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L541), local.

- [554](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L554) writes [Table 308 No. Series](https://jonas-paprotka.de/ref/table/308-no-series/) Insert
- [559](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L559) validates [Table 309 No. Series Line](https://jonas-paprotka.de/ref/table/309-no-series-line/) `Starting No.`
- [560](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L560) writes [Table 309 No. Series Line](https://jonas-paprotka.de/ref/table/309-no-series-line/) Insert(true)

## CreateCashFlowSetup

[Line 565](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L565), local.

- [571](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L571) validates [Table 843 Cash Flow Setup](https://jonas-paprotka.de/ref/table/843-cash-flow-setup/) `Cash Flow Forecast No. Series`
- [572](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L572) validates [Table 843 Cash Flow Setup](https://jonas-paprotka.de/ref/table/843-cash-flow-setup/) `Receivables CF Account No.`
- [572](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L572) calls `GetNoFromSourceType`
- [573](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L573) validates [Table 843 Cash Flow Setup](https://jonas-paprotka.de/ref/table/843-cash-flow-setup/) `Payables CF Account No.`
- [573](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L573) calls `GetNoFromSourceType`
- [574](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L574) validates [Table 843 Cash Flow Setup](https://jonas-paprotka.de/ref/table/843-cash-flow-setup/) `Sales Order CF Account No.`
- [574](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L574) calls `GetNoFromSourceType`
- [575](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L575) validates [Table 843 Cash Flow Setup](https://jonas-paprotka.de/ref/table/843-cash-flow-setup/) `Purch. Order CF Account No.`
- [575](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L575) calls `GetNoFromSourceType`
- [576](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L576) validates [Table 843 Cash Flow Setup](https://jonas-paprotka.de/ref/table/843-cash-flow-setup/) `FA Budget CF Account No.`
- [576](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L576) calls `GetNoFromSourceType`
- [577](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L577) validates [Table 843 Cash Flow Setup](https://jonas-paprotka.de/ref/table/843-cash-flow-setup/) `FA Disposal CF Account No.`
- [578](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L578) calls `GetNoFromSourceType`
- [579](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L579) validates [Table 843 Cash Flow Setup](https://jonas-paprotka.de/ref/table/843-cash-flow-setup/) `Job CF Account No.`
- [579](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L579) calls `GetNoFromSourceType`
- [580](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L580) validates [Table 843 Cash Flow Setup](https://jonas-paprotka.de/ref/table/843-cash-flow-setup/) `Tax CF Account No.`
- [580](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L580) calls `GetNoFromSourceType`
- [581](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L581) raises `OnBeforeInsertOnCreateCashFlowSetup`
- [582](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L582) writes [Table 843 Cash Flow Setup](https://jonas-paprotka.de/ref/table/843-cash-flow-setup/) Insert

## CreateCashFlowChartSetup

[Line 585](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L585), local.

- [590](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L590) calls `CreateCashFlowChartSetupForUser`
- [593](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L593) calls `CreateCashFlowChartSetupForUser`

## CreateCashFlowChartSetupForUser

[Line 597](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L597), local.

- [607](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L607) writes [Table 869 Cash Flow Chart Setup](https://jonas-paprotka.de/ref/table/869-cash-flow-chart-setup/) Insert

## CreateCashFlowReportSelection

[Line 610](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L610), local.

- [614](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L614) calls [Table 856 Cash Flow Report Selection](https://jonas-paprotka.de/ref/table/856-cash-flow-report-selection/) `NewRecord`
- [615](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L615) validates [Table 856 Cash Flow Report Selection](https://jonas-paprotka.de/ref/table/856-cash-flow-report-selection/) `Report ID`
- [616](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L616) writes [Table 856 Cash Flow Report Selection](https://jonas-paprotka.de/ref/table/856-cash-flow-report-selection/) Insert

## UpdateCashFlowForecast

[Line 619](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L619).

- [630](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L630) raises `OnBeforeUpdateCashFlowForecast`
- [642](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L642) calls `UpdateCashFlowForecastManualPaymentHorizon`
- [648](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L648) calls [Report 840 Suggest Worksheet Lines](https://jonas-paprotka.de/ref/report/840-suggest-worksheet-lines/) `InitializeRequest`
- [651](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L651) raises `OnBeforeRunSuggestWorksheetLinesOnUpdateCashFlowForecast`
- [653](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L653) runs [Codeunit 844 Cash Flow Wksh.-Register Batch](https://jonas-paprotka.de/ref/codeunit/844-cash-flow-wksh-register-batch/)

## UpdateCashFlowForecastManualPaymentHorizon

[Line 658](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L658), local.

- [660](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L660) validates [Table 840 Cash Flow Forecast](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/) `Manual Payments From`
- [661](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L661) validates [Table 840 Cash Flow Forecast](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/) `Manual Payments To`
- [662](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L662) writes [Table 840 Cash Flow Forecast](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/) Modify

## SetViewOnPurchaseHeaderForTaxCalc

[Line 677](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L677).

- [687](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L687) calls [Table 843 Cash Flow Setup](https://jonas-paprotka.de/ref/table/843-cash-flow-setup/) `GetTaxPeriodStartEndDates`

## SetViewOnSalesHeaderForTaxCalc

[Line 694](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L694).

- [703](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L703) calls [Table 843 Cash Flow Setup](https://jonas-paprotka.de/ref/table/843-cash-flow-setup/) `GetTaxPeriodStartEndDates`

## SetViewOnVATEntryForTaxCalc

[Line 710](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L710).

- [722](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L722) calls [Table 843 Cash Flow Setup](https://jonas-paprotka.de/ref/table/843-cash-flow-setup/) `GetTaxPeriodStartEndDates`
- [728](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L728) raises `OnAfterSetViewOnVATEntryForTaxCalc`

## GetTaxAmountFromSalesOrder

[Line 731](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L731).

- [745](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L745) raises `OnBeforeGetTaxAmountFromSalesOrder`, IsHandled
- [749](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L749) calls [Codeunit 80 Sales-Post](https://jonas-paprotka.de/ref/codeunit/80-sales-post/) `SumSalesLines`

## GetTaxAmountFromPurchaseOrder

[Line 755](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L755).

- [766](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L766) raises `OnBeforeGetTaxAmountFromPurchaseOrder`, IsHandled
- [770](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L770) calls [Codeunit 90 Purch.-Post](https://jonas-paprotka.de/ref/codeunit/90-purch-post/) `SumPurchLines`

## GetTotalAmountFromSalesOrder

[Line 775](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L775).

- [779](https://jonas-paprotka.de/ref/codeunit/841-cash-flow-management/source/#L779) raises `OnAfterGetTotalAmountFromSalesOrder`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
