Page 849 Cash Flow Forecast List
- App
- Base Application
- Namespace
- Microsoft.CashFlow.Forecast
- Versions
- 17-28
- Source table
- 840
Versions171819202122232425262728
Source29
Source in 29
src/Layers/W1/BaseApp/CashFlow/Forecast/CashFlowForecastList.Page.al273 lines, Copyright (c) Microsoft Corporation. MIT
// ------------------------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
// ------------------------------------------------------------------------------------------------
namespace Microsoft.CashFlow.Forecast;
using Microsoft.CashFlow.Account;
using Microsoft.CashFlow.Comment;
using Microsoft.CashFlow.Worksheet;
using System.Text;
page 849 "Cash Flow Forecast List"
{
ApplicationArea = Basic, Suite;
Caption = 'Cash Flow Forecasts';
CardPageID = "Cash Flow Forecast Card";
Editable = false;
PageType = List;
RefreshOnActivate = true;
SourceTable = "Cash Flow Forecast";
UsageCategory = Lists;
layout
{
area(content)
{
repeater(Control1000)
{
ShowCaption = false;
field("No."; Rec."No.")
{
ApplicationArea = Basic, Suite;
ToolTip = 'Specifies the number of the involved entry or record, according to the specified number series.';
}
field("Search Name"; Rec."Search Name")
{
ApplicationArea = Basic, Suite;
ToolTip = '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.';
Visible = false;
}
field(Description; Rec.Description)
{
ApplicationArea = Basic, Suite;
ToolTip = 'Specifies a description of the cash flow forecast.';
}
field("Description 2"; Rec."Description 2")
{
ApplicationArea = Basic, Suite;
ToolTip = 'Specifies an additional description of a forecast.';
}
field(ShowInChart; Rec.GetShowInChart())
{
ApplicationArea = Basic, Suite;
Caption = 'Show In Chart on Role Center';
ToolTip = 'Specifies the cash flow forecast chart on the Role Center page.';
}
field("Consider Discount"; Rec."Consider Discount")
{
ApplicationArea = Basic, Suite;
ToolTip = 'Specifies if you want to include the cash discounts that are assigned in entries and documents in cash flow forecast.';
}
field("Creation Date"; Rec."Creation Date")
{
ApplicationArea = Basic, Suite;
ToolTip = 'Specifies the date that the forecast was created.';
}
field("Created By"; Rec."Created By")
{
ApplicationArea = Basic, Suite;
ToolTip = 'Specifies the user who created the forecast.';
}
field("Manual Payments To"; Rec."Manual Payments To")
{
ApplicationArea = Basic, Suite;
Caption = 'Manual Revenue/Expenses To';
ToolTip = 'Specifies a starting date to which manual revenue/expenses should be included in cash flow forecast.';
Visible = false;
}
field(Comment; Rec.Comment)
{
ApplicationArea = Basic, Suite;
ToolTip = 'Specifies the comment for the record.';
Visible = false;
}
field("No. Series"; Rec."No. Series")
{
ApplicationArea = Basic, Suite;
ToolTip = 'Specifies the number series from which entry or record numbers are assigned to new entries or records.';
Visible = false;
}
field("Manual Payments From"; Rec."Manual Payments From")
{
ApplicationArea = Basic, Suite;
Caption = 'Manual Revenue/Expenses From';
ToolTip = 'Specifies a starting date from which manual revenue/expenses should be included in cash flow forecast.';
Visible = false;
}
field("G/L Budget From"; Rec."G/L Budget From")
{
ApplicationArea = Basic, Suite;
ToolTip = 'Specifies the starting date from which you want to use the budget values from the general ledger in the cash flow forecast.';
Visible = false;
}
field("G/L Budget To"; Rec."G/L Budget To")
{
ApplicationArea = Basic, Suite;
ToolTip = 'Specifies the last date to which you want to use the budget values from the general ledger in the cash flow forecast.';
Visible = false;
}
field("Consider CF Payment Terms"; Rec."Consider CF Payment Terms")
{
ApplicationArea = Basic, Suite;
ToolTip = '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.';
Visible = false;
}
field("Consider Pmt. Disc. Tol. Date"; Rec."Consider Pmt. Disc. Tol. Date")
{
ApplicationArea = Basic, Suite;
ToolTip = '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.';
Visible = false;
}
field("Consider Pmt. Tol. Amount"; Rec."Consider Pmt. Tol. Amount")
{
ApplicationArea = Basic, Suite;
ToolTip = '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.';
Visible = false;
}
}
}
area(factboxes)
{
part(Control1905906307; "CF Forecast Statistics FactBox")
{
ApplicationArea = Basic, Suite;
SubPageLink = "No." = field("No.");
Visible = false;
}
}
}
actions
{
area(navigation)
{
group("Cash Flow Forecast")
{
Caption = 'Cash Flow Forecast';
Image = CashFlow;
action("E&ntries")
{
ApplicationArea = Basic, Suite;
Caption = 'E&ntries';
Image = Entries;
RunObject = Page "Cash Flow Forecast Entries";
RunPageLink = "Cash Flow Forecast No." = field("No.");
ShortCutKey = 'Ctrl+F7';
ToolTip = 'View the entries that exist for the cash flow account. ';
}
action(Statistics)
{
ApplicationArea = Basic, Suite;
Caption = 'Statistics';
Image = Statistics;
RunObject = Page "Cash Flow Forecast Statistics";
RunPageLink = "No." = field("No.");
ShortCutKey = 'F7';
ToolTip = 'View when you expect money for each source type to be received and paid out by your business for the cash flow forecast.';
}
action("Co&mments")
{
ApplicationArea = Basic, Suite;
Caption = 'Co&mments';
Image = ViewComments;
RunObject = Page "Cash Flow Comment";
RunPageLink = "Table Name" = const("Cash Flow Forecast"),
"No." = field("No.");
ToolTip = 'View or add comments for the record.';
}
separator(Action1023)
{
Caption = '';
}
action("CF &Availability by Periods")
{
ApplicationArea = Basic, Suite;
Caption = 'CF &Availability by Periods';
Image = ShowMatrix;
RunObject = Page "CF Availability by Periods";
RunPageLink = "No." = field("No.");
ToolTip = 'View a scrollable summary of the forecasted amounts per source type, by period. The rows represent individual periods, and the columns represent the source types in the cash flow forecast.';
}
}
}
area(processing)
{
action(CashFlowWorksheet)
{
ApplicationArea = Basic, Suite;
Caption = 'Cash Flow Worksheet';
Image = Worksheet2;
RunObject = Page "Cash Flow Worksheet";
ToolTip = 'Get an overview of cash inflows and outflows and create a short-term forecast that predicts how and when you expect money to be received and paid out by your business.';
}
group("&Print")
{
Caption = '&Print';
Image = Print;
action(CashFlowDateList)
{
ApplicationArea = Basic, Suite;
Caption = 'Cash Flow &Date List';
Ellipsis = true;
Image = "Report";
ToolTip = 'View forecast entries for a period of time that you specify. The registered cash flow forecast entries are organized by source types, such as receivables, sales orders, payables, and purchase orders. You specify the number of periods and their length.';
trigger OnAction()
var
CashFlowForecast: Record "Cash Flow Forecast";
begin
CurrPage.SetSelectionFilter(CashFlowForecast);
CashFlowForecast.PrintRecords();
end;
}
}
}
area(Promoted)
{
group(Category_Process)
{
Caption = 'Process';
actionref(CashFlowWorksheet_Promoted; CashFlowWorksheet)
{
}
}
group("Category_Cash Flow Forecast")
{
Caption = 'Cash Flow Forecast';
actionref(Statistics_Promoted; Statistics)
{
}
actionref("Co&mments_Promoted"; "Co&mments")
{
}
}
group(Category_Report)
{
Caption = 'Reports';
actionref(CashFlowDateList_Promoted; CashFlowDateList)
{
}
}
}
}
procedure SetSelection(var CashFlowAcc: Record "Cash Flow Account")
begin
CurrPage.SetSelectionFilter(CashFlowAcc);
end;
procedure GetSelectionFilter(): Text
var
CashFlowForecast: Record "Cash Flow Forecast";
SelectionFilterManagement: Codeunit SelectionFilterManagement;
begin
CurrPage.SetSelectionFilter(CashFlowForecast);
exit(SelectionFilterManagement.GetSelectionFilterForCashFlow(CashFlowForecast));
end;
}