{"title":"Table 840 Cash Flow Forecast, extension points 29","url":"https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/points/","author":"JOP-AL","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/","subject":"Microsoft Dynamics 365 Business Central","checked":"2026-11-20","changed":"2026-10-05","object":{"type":"table","id":840,"name":"Cash Flow Forecast","app":"Base Application","url":"https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/"},"major":29,"source":{"url":"https://jonas-paprotka.de/ref/table/840-cash-flow-forecast/source/","path":"src/Layers/W1/BaseApp/CashFlow/Forecast/CashFlowForecast.Table.al","commit":"4303e5e584d3aa5d9e98cbc615525a5396ad6ed7","lines":"a line is <source url>#L<line>"},"steps":{"event":"[line, \"event\", name, handled]: raises an event of this object; handled 1 when it has an IsHandled parameter","call":"[line, \"call\", name, arguments]: calls a procedure of this object","ext":"[line, \"ext\", type, id, name, arguments]: calls a procedure of another object, through a variable declared with that type","write":"[line, \"write\", table id, method, 1 when called with true]: Insert, Modify, ModifyAll, Delete, DeleteAll or Rename","validate":"[line, \"validate\", table id, field name]","run":"[line, \"run\", type, id]: Codeunit.Run, Page.Run, Report.Run and their kin"},"objects":{"table:843":{"name":"Cash Flow Setup","url":"https://jonas-paprotka.de/ref/table/843-cash-flow-setup/"},"table:842":{"name":"Cash Flow Account Comment","url":"https://jonas-paprotka.de/ref/table/842-cash-flow-account-comment/"},"table:847":{"name":"Cash Flow Forecast Entry","url":"https://jonas-paprotka.de/ref/table/847-cash-flow-forecast-entry/"},"codeunit:310":{"name":"No. Series","url":"https://jonas-paprotka.de/ref/codeunit/310-no-series/"},"page:849":{"name":"Cash Flow Forecast List","url":"https://jonas-paprotka.de/ref/page/849-cash-flow-forecast-list/"}},"procs":[{"name":"OnDelete","line":165,"kind":"trigger","steps":[[167,"call","GetShowInChart",0],[168,"ext","table",843,"SetChartRoleCenterCFNo",0],[173,"write",842,"DeleteAll"],[178,"write",847,"DeleteAll"]]},{"name":"OnInsert","line":181,"kind":"trigger","steps":[[186,"ext","codeunit",310,"AreRelated",2],[190,"ext","codeunit",310,"GetNextNo",1]]},{"name":"AssistEdit","line":206,"kind":"procedure","params":1,"steps":[[211,"ext","codeunit",310,"LookupRelatedNoSeries",3],[212,"ext","codeunit",310,"GetNextNo",1]]},{"name":"DrillDown","line":218,"kind":"procedure","params":0,"steps":[[222,"ext","table",847,"DrillDownOnEntries",1]]},{"name":"CalcAmountForPosNeg","line":225,"kind":"procedure","params":1,"steps":[[228,"call","CalcAmount",0]]},{"name":"DrillDownPosNegEntries","line":231,"kind":"procedure","params":1,"steps":[[234,"call","DrillDown",0]]},{"name":"CalcAmountForAccountNo","line":237,"kind":"procedure","params":1,"steps":[[239,"call","SetAccountNoFilter",1],[240,"call","CalcAmount",0]]},{"name":"DrillDownEntriesForAccNo","line":251,"kind":"procedure","params":1,"steps":[[253,"call","SetAccountNoFilter",1],[254,"call","DrillDown",0]]},{"name":"CalcSourceTypeAmount","line":257,"kind":"procedure","params":1,"steps":[[259,"call","SetSourceTypeEntriesFilter",1],[260,"call","CalcAmount",0]]},{"name":"DrillDownSourceTypeEntries","line":271,"kind":"procedure","params":1,"steps":[[273,"call","SetSourceTypeEntriesFilter",1],[274,"call","DrillDown",0]]},{"name":"CalcAmount","line":277,"kind":"procedure","params":0,"steps":[[279,"event","OnBeforeCalcAmount",0]]},{"name":"LookupCashFlowFilter","line":309,"kind":"procedure","params":1,"steps":[[315,"ext","page",849,"GetSelectionFilter",0]]},{"name":"CalculateAllAmounts","line":321,"kind":"procedure","params":4,"steps":[[326,"call","SetCashFlowDateFilter",2],[328,"call","CalcSourceTypeAmount",1],[329,"call","CalcSourceTypeAmount",1],[331,"event","OnAfterCalculateAllAmounts",0]]},{"name":"ValidateShowInChart","line":334,"kind":"procedure","params":1,"steps":[[344,"validate",843,"CF No. on Chart in Role Center"],[345,"write",843,"Modify"],[346,"call","GetShowInChart",0]]},{"name":"GetShowInChart","line":349,"kind":"procedure","params":0,"steps":[[353,"ext","table",843,"GetChartRoleCenterCFNo",0]]}]}