---
title: "Table 840 Cash Flow Forecast, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/points/
object: https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/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/"
---

# Table 840 Cash Flow Forecast, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/points/

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

## OnDelete

[Line 165](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L165), trigger.

- [167](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L167) calls `GetShowInChart`
- [168](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L168) calls [Table 843 Cash Flow Setup](https://jonas-paprotka.de/ref/table/843-cash-flow-setup/) `SetChartRoleCenterCFNo`
- [173](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L173) writes [Table 842 Cash Flow Account Comment](https://jonas-paprotka.de/ref/table/842-cash-flow-account-comment/) DeleteAll
- [178](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L178) writes [Table 847 Cash Flow Forecast Entry](https://jonas-paprotka.de/ref/table/847-cash-flow-forecast-entry/) DeleteAll

## OnInsert

[Line 181](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L181), trigger.

- [186](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L186) calls [Codeunit 310 No. Series](https://jonas-paprotka.de/ref/codeunit/310-no-series/) `AreRelated`
- [190](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L190) calls [Codeunit 310 No. Series](https://jonas-paprotka.de/ref/codeunit/310-no-series/) `GetNextNo`

## AssistEdit

[Line 206](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L206).

- [211](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L211) calls [Codeunit 310 No. Series](https://jonas-paprotka.de/ref/codeunit/310-no-series/) `LookupRelatedNoSeries`
- [212](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L212) calls [Codeunit 310 No. Series](https://jonas-paprotka.de/ref/codeunit/310-no-series/) `GetNextNo`

## DrillDown

[Line 218](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L218).

- [222](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L222) calls [Table 847 Cash Flow Forecast Entry](https://jonas-paprotka.de/ref/table/847-cash-flow-forecast-entry/) `DrillDownOnEntries`

## CalcAmountForPosNeg

[Line 225](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L225).

- [228](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L228) calls `CalcAmount`

## DrillDownPosNegEntries

[Line 231](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L231).

- [234](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L234) calls `DrillDown`

## CalcAmountForAccountNo

[Line 237](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L237).

- [239](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L239) calls `SetAccountNoFilter`
- [240](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L240) calls `CalcAmount`

## DrillDownEntriesForAccNo

[Line 251](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L251).

- [253](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L253) calls `SetAccountNoFilter`
- [254](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L254) calls `DrillDown`

## CalcSourceTypeAmount

[Line 257](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L257).

- [259](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L259) calls `SetSourceTypeEntriesFilter`
- [260](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L260) calls `CalcAmount`

## DrillDownSourceTypeEntries

[Line 271](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L271).

- [273](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L273) calls `SetSourceTypeEntriesFilter`
- [274](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L274) calls `DrillDown`

## CalcAmount

[Line 277](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L277).

- [279](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L279) raises `OnBeforeCalcAmount`

## LookupCashFlowFilter

[Line 309](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L309).

- [315](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L315) calls [Page 849 Cash Flow Forecast List](https://jonas-paprotka.de/ref/page/849-cash-flow-forecast-list/) `GetSelectionFilter`

## CalculateAllAmounts

[Line 321](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L321).

- [326](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L326) calls `SetCashFlowDateFilter`
- [328](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L328) calls `CalcSourceTypeAmount`
- [329](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L329) calls `CalcSourceTypeAmount`
- [331](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L331) raises `OnAfterCalculateAllAmounts`

## ValidateShowInChart

[Line 334](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L334).

- [344](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L344) validates [Table 843 Cash Flow Setup](https://jonas-paprotka.de/ref/table/843-cash-flow-setup/) `CF No. on Chart in Role Center`
- [345](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L345) writes [Table 843 Cash Flow Setup](https://jonas-paprotka.de/ref/table/843-cash-flow-setup/) Modify
- [346](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L346) calls `GetShowInChart`

## GetShowInChart

[Line 349](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L349).

- [353](https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/#L353) calls [Table 843 Cash Flow Setup](https://jonas-paprotka.de/ref/table/843-cash-flow-setup/) `GetChartRoleCenterCFNo`

## Source

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

JOP-AL, 2026-11-20.
