Page 448 Finance Charge Memo List
src/Layers/W1/BaseApp/Sales/FinanceCharge/FinanceChargeMemoList.Page.al289 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.Sales.FinanceCharge;using Microsoft.Sales.Customer;using Microsoft.Sales.Reports;/// <summary>/// Displays a list of unissued finance charge memos with creation, issuing, and batch processing capabilities./// </summary>page 448 "Finance Charge Memo List"{ ApplicationArea = Suite; Caption = 'Finance Charge Memos'; CardPageID = "Finance Charge Memo"; InsertAllowed = false; PageType = List; SourceTable = "Finance Charge Memo Header"; UsageCategory = Lists; layout { area(content) { repeater(Control1) { ShowCaption = false; field("No."; Rec."No.") { ApplicationArea = Basic, Suite; } field("Customer No."; Rec."Customer No.") { ApplicationArea = Basic, Suite; } field(Name; Rec.Name) { ApplicationArea = Basic, Suite; } field("Currency Code"; Rec."Currency Code") { ApplicationArea = Basic, Suite; } field("Interest Amount"; Rec."Interest Amount") { ApplicationArea = Basic, Suite; DrillDown = false; } field("Post Code"; Rec."Post Code") { ApplicationArea = Basic, Suite; Visible = false; } field(City; Rec.City) { ApplicationArea = Basic, Suite; Visible = false; } field("Shortcut Dimension 1 Code"; Rec."Shortcut Dimension 1 Code") { ApplicationArea = Dimensions; Editable = false; Visible = false; } field("Shortcut Dimension 2 Code"; Rec."Shortcut Dimension 2 Code") { ApplicationArea = Dimensions; Editable = false; Visible = false; } field("Assigned User ID"; Rec."Assigned User ID") { ApplicationArea = Basic, Suite; } } } area(factboxes) { systempart(Control1900383207; Links) { ApplicationArea = RecordLinks; Visible = false; } systempart(Control1905767507; Notes) { ApplicationArea = Notes; Visible = true; } } } actions { area(navigation) { group("&Memo") { Caption = '&Memo'; Image = Notes; action("Co&mments") { ApplicationArea = Basic, Suite; Caption = 'Co&mments'; Image = ViewComments; RunObject = Page "Fin. Charge Comment Sheet"; RunPageLink = Type = const("Finance Charge Memo"), "No." = field("No."); ToolTip = 'View or add comments for the record.'; } action("C&ustomer") { ApplicationArea = Basic, Suite; Caption = 'C&ustomer'; Image = Customer; RunObject = Page "Customer List"; RunPageLink = "No." = field("Customer No."); ToolTip = 'Open the card of the customer that the reminder or finance charge applies to. '; } separator(Action8) { } action(Statistics) { ApplicationArea = Basic, Suite; Caption = 'Statistics'; Image = Statistics; RunObject = Page "Finance Charge Memo Statistics"; RunPageLink = "No." = field("No."); ShortCutKey = 'F7'; ToolTip = 'View statistical information, such as the value of posted entries, for the record.'; } } } area(processing) { group("F&unctions") { Caption = 'F&unctions'; Image = "Action"; action("Create Finance Charge Memos") { ApplicationArea = Basic, Suite; Caption = 'Create Finance Charge Memos'; Ellipsis = true; Image = CreateFinanceChargememo; ToolTip = 'Create finance charge memos for one or more customers with overdue payments.'; trigger OnAction() begin REPORT.RunModal(REPORT::"Create Finance Charge Memos"); end; } action("Suggest Fin. Charge Memo Lines") { ApplicationArea = Basic, Suite; Caption = 'Suggest Fin. Charge Memo Lines'; Ellipsis = true; Image = SuggestLines; ToolTip = 'Create finance charge memo lines in existing finance charge memos for any overdue payments based on information in the Finance Charge Memo window.'; trigger OnAction() begin CurrPage.SetSelectionFilter(FinChrgMemoHeader); REPORT.RunModal(REPORT::"Suggest Fin. Charge Memo Lines", true, false, FinChrgMemoHeader); FinChrgMemoHeader.Reset(); end; } action("Update Finance Charge Text") { ApplicationArea = Basic, Suite; Caption = 'Update Finance Charge Text'; Ellipsis = true; Image = RefreshText; ToolTip = 'Replace the beginning and ending text that has been defined for the related finance charge terms with those from different terms.'; trigger OnAction() begin CurrPage.SetSelectionFilter(FinChrgMemoHeader); REPORT.RunModal(REPORT::"Update Finance Charge Text", true, false, FinChrgMemoHeader); FinChrgMemoHeader.Reset(); end; } } group("&Issuing") { Caption = '&Issuing'; Image = Add; action("Test Report") { ApplicationArea = Basic, Suite; Caption = 'Test Report'; Ellipsis = true; Image = TestReport; ToolTip = 'View a test report so that you can find and correct any errors before you perform the actual posting of the journal or document.'; trigger OnAction() begin CurrPage.SetSelectionFilter(FinChrgMemoHeader); FinChrgMemoHeader.PrintRecords(); FinChrgMemoHeader.Reset(); end; } action(Issue) { ApplicationArea = Basic, Suite; Caption = 'Issue'; Ellipsis = true; Image = ReleaseDoc; ShortCutKey = 'F9'; ToolTip = 'Post the specified finance charge entries according to your specifications in the Finance Charge Terms window. This specification determines whether interest and/or additional fees are posted to the customer''s account and the general ledger.'; trigger OnAction() begin CurrPage.SetSelectionFilter(FinChrgMemoHeader); REPORT.RunModal(REPORT::"Issue Finance Charge Memos", true, true, FinChrgMemoHeader); FinChrgMemoHeader.Reset(); CurrPage.Update(false); end; } } } area(reporting) { action("Customer - Balance to Date") { ApplicationArea = Basic, Suite; Caption = 'Customer - Balance to Date'; Image = "Report"; RunObject = Report "Customer - Balance to Date"; } action("Customer - Detail Trial Bal.") { ApplicationArea = Basic, Suite; Caption = 'Customer - Detail Trial Bal.'; Image = "Report"; //The property 'PromotedCategory' can only be set if the property 'Promoted' is set to 'true' //PromotedCategory = "Report"; RunObject = Report "Customer - Detail Trial Bal."; } } area(Promoted) { group(Category_Process) { Caption = 'Process', Comment = 'Generated from the PromotedActionCategories property index 1.'; actionref("Create Finance Charge Memos_Promoted"; "Create Finance Charge Memos") { } actionref(Issue_Promoted; Issue) { } } group(Category_Category4) { Caption = 'Memo', Comment = 'Generated from the PromotedActionCategories property index 3.'; actionref(Statistics_Promoted; Statistics) { } actionref("Co&mments_Promoted"; "Co&mments") { } actionref("C&ustomer_Promoted"; "C&ustomer") { } } group(Category_Category5) { Caption = 'Navigate', Comment = 'Generated from the PromotedActionCategories property index 4.'; } group(Category_Report) { Caption = 'Report', Comment = 'Generated from the PromotedActionCategories property index 2.'; actionref("Customer - Balance to Date_Promoted"; "Customer - Balance to Date") { } } } } var FinChrgMemoHeader: Record "Finance Charge Memo Header";}