Table 840 "Cash Flow Forecast"
Base Application · Microsoft.CashFlow.Forecast
Across versions
- BC23present
- BC24declaration changed
- BC25-26unchanged
- BC271 fields changed
- BC28-30unchanged
Neighbourhood 21 connected objects and pages
Base Application · Microsoft.CashFlow.Forecast · BC23-30 · source at ea08af5e · facts from BC29
Learn documents this table through its pages: Page 849 “Cash Flow Forecast List” (3 Learn pages), Page 847 “Cash Flow Forecast Card” (2), Page 840 “CF Forecast Statistics FactBox” (1), Page 867 “CF Availability by Periods” (1), Page 868 “Cash Flow Forecast Statistics” (1).
Properties
| Property | Value |
|---|---|
| Caption | Cash Flow Forecast |
| DataClassification | CustomerContent |
| Permissions | TableData “Cash Flow Account Comment” = rimd, TableData “Cash Flow Forecast Entry” = rimd |
Fields
Explanation: the field’s ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.
| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | No. | Code[20] | Specifies the number of the involved entry or record, according to the specified number series. via Page 847 “Cash Flow Forecast Card” | |
| 2 | Search Name | Code[100] | Specifies an alternate name that you can use to search for the record in question when you cannot remember the value in the Name field. via Page 847 “Cash Flow Forecast Card” | |
| 3 | Description | Text[100] | Specifies a description of the cash flow forecast. via Page 847 “Cash Flow Forecast Card” | |
| 4 | Description 2 | Text[50] | Specifies an additional description of a forecast. via Page 847 “Cash Flow Forecast Card” | |
| 5 | Consider Discount | Boolean | Specifies if you want to include the cash discounts that are assigned in entries and documents in cash flow forecast. via Page 847 “Cash Flow Forecast Card” | |
| 6 | Creation Date | Date | Specifies the date that the forecast was created. via Page 847 “Cash Flow Forecast Card” | |
| 7 | Created By | Code[50] | Specifies the user who created the forecast. via Page 847 “Cash Flow Forecast Card” | DataClassification EndUserIdentifiableInformation |
| 8 | Manual Payments To | Date | Specifies a starting date to which manual revenue/expenses should be included in cash flow forecast. via Page 847 “Cash Flow Forecast Card” | |
| 9 | Comment | Boolean | Specifies the comment for the record. via Page 849 “Cash Flow Forecast List” | FlowField: exist(“Cash Flow Account Comment” where(“Table Name” = const(“Cash Flow Forecast”), “No.” = field(“No.”))) |
| 10 | No. Series | Code[20] | Specifies the number series from which entry or record numbers are assigned to new entries or records. via Page 849 “Cash Flow Forecast List” | TableRelation Table 308 “No. Series” (No. Series); not editable |
| 11 | Manual Payments From | Date | Specifies a starting date from which manual revenue/expenses should be included in cash flow forecast. via Page 847 “Cash Flow Forecast Card” | |
| 12 | G/L Budget From | Date | Specifies the starting date from which you want to use the budget values from the general ledger in the cash flow forecast. via Page 847 “Cash Flow Forecast Card” | |
| 13 | G/L Budget To | Date | Specifies the last date to which you want to use the budget values from the general ledger in the cash flow forecast. via Page 847 “Cash Flow Forecast Card” | |
| 14 | Consider CF Payment Terms | Boolean | Specifies if you want to use cash flow payment terms for cash flow forecast. Cash flow payment terms overrule the standard payment terms that you have defined for customers, vendors, and orders. They also overrule the payment terms that you have manually entered on entries or documents. via Page 847 “Cash Flow Forecast Card” | |
| 15 | Consider Pmt. Disc. Tol. Date | Boolean | Specifies if the payment discount tolerance date is considered when the cash flow date is calculated. If the check box is cleared, the due date or payment discount date from the customer and vendor ledger entries and the sales order or purchase order are used. via Page 847 “Cash Flow Forecast Card” | |
| 16 | Consider Pmt. Tol. Amount | Boolean | Specifies if the payment tolerance amounts from the posted customer and vendor ledger entries are used in the cash flow forecast. If the check box is cleared, the amount without any payment tolerance amount from the customer and vendor ledger entries are used. via Page 847 “Cash Flow Forecast Card” | |
| 17 | Account No. Filter | Code[20] | — | FlowFilter |
| 18 | Source Type Filter | Enum “Cash Flow Source Type” | — | FlowFilter; enum Enum 847 “Cash Flow Source Type” |
| 19 | Cash Flow Date Filter | Date | — | FlowFilter |
| 20 | Amount (LCY) Δ BC27 | Decimal | — | FlowField: sum(“Cash Flow Forecast Entry”.“Amount (LCY)” where(“Cash Flow Forecast No.” = field(“No.”), “Cash Flow Date” = field(“Cash Flow Date Filter”), “Source Type” = field(“Source Type Filter”), “Cash Flow Account No.” = field(“Account No. Filter”), Positive = field(“Positive Filter”))) |
| 21 | Positive Filter | Boolean | — | FlowFilter |
| 22 | Overdue CF Dates to Work Date | Boolean | Specifies if you want to change overdue dates to the current work date for the cash flow forecast. Choose the field if this forecast is shown in the forecast chart. via Page 847 “Cash Flow Forecast Card” | |
| 23 | Default G/L Budget Name | Code[10] | Specifies the general ledger budget to be used when recalculating the cash flow forecast. via Page 847 “Cash Flow Forecast Card” | TableRelation Table 95 “G/L Budget Name” (G/L Budget Name) |
Keys
- Key1: No. (clustered)
Events published
OnAfterCalculateAllAmounts(FromDate: Date; ToDate: Date; var TotalAmount: Decimal)(integration)OnBeforeCalcAmount(var CashFlowForecast: Record "Cash Flow Forecast")(integration)
Procedures
AssistEdit(OldCashFlowForecast: Record "Cash Flow Forecast"): BooleanDrillDown()CalcAmountForPosNeg(PositiveAmount: Boolean): DecimalDrillDownPosNegEntries(PositiveAmount: Boolean)CalcAmountForAccountNo(AccountNo: Code[20]): DecimalSetAccountNoFilter(AccountNo: Code[20])DrillDownEntriesForAccNo(AccountNo: Code[20])CalcSourceTypeAmount(SourceType: Enum "Cash Flow Source Type"): DecimalSetSourceTypeEntriesFilter(SourceType: Enum "Cash Flow Source Type")DrillDownSourceTypeEntries(SourceType: Enum "Cash Flow Source Type")CalcAmount(): DecimalSetCashFlowDateFilter(FromDate: Date; ToDate: Date)PrintRecords()LookupCashFlowFilter(var Text: Text): BooleanCalculateAllAmounts(FromDate: Date; ToDate: Date; var Amounts: array[14] of Decimal; var TotalAmount: Decimal)ValidateShowInChart(ShowInChart: Boolean): BooleanGetShowInChart(): BooleanGetEntryDate(Which: Option First,Last): Date
Triggers
OnDelete, OnInsert
Relations
- drill-down page Page 849 “Cash Flow Forecast List”
- lookup page Page 849 “Cash Flow Forecast List”
- No. Series: TableRelation Table 308 “No. Series”
- Comment: CalcFormula Table 842 “Cash Flow Account Comment”
- Amount (LCY): CalcFormula Table 847 “Cash Flow Forecast Entry”
- Default G/L Budget Name: TableRelation Table 95 “G/L Budget Name”
Referenced by
8 fields in 8 objects relate to this table (TableRelation or CalcFormula).
- Table 365 “Analysis View Entry”: Cash Flow Forecast No.
- Table 368 “Dimension Selection Buffer”: Dimension Value Filter
- Table 376 “G/L Account (Analysis View)”: Cash Flow Forecast Filter
- Table 841 “Cash Flow Account”: Cash Flow Forecast Filter
- Table 842 “Cash Flow Account Comment”: No.
- Table 846 “Cash Flow Worksheet Line”: Cash Flow Forecast No.
- Table 847 “Cash Flow Forecast Entry”: Cash Flow Forecast No.
- Table 85 “Acc. Schedule Line”: Cash Flow Forecast Filter
Pages and codeunits on this table
- Page 840 “CF Forecast Statistics FactBox” (source table)
- Page 847 “Cash Flow Forecast Card” (source table)
- Page 849 “Cash Flow Forecast List” (source table)
- Page 867 “CF Availability by Periods” (source table)
- Page 868 “Cash Flow Forecast Statistics” (source table)
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.
- Page 456 “No. Series” (2 calls:
AssistEdit → (object),OnInsert → (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: "table", object_name: "Cash Flow Forecast"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.