Page 383 Bank Account Statement
src/Layers/W1/BaseApp/Bank/Statement/BankAccountStatement.Page.al161 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.Bank.Statement;using Microsoft.Bank.BankAccount;using Microsoft.Foundation.Reporting;/// <summary>/// Displays bank account statement details with summary information and related statement lines./// Provides interface for viewing posted bank statements and accessing reconciliation information./// </summary>/// <remarks>/// Source Table: Bank Account Statement (275). Shows bank statement header information and line details./// Supports navigation to related bank account information and statement line details./// Used for reviewing completed bank statement processing and reconciliation results./// </remarks>page 383 "Bank Account Statement"{ Caption = 'Bank Account Statement'; InsertAllowed = false; PageType = ListPlus; SaveValues = true; SourceTable = "Bank Account Statement"; layout { area(content) { group(Control1) { ShowCaption = false; field("Bank Account No."; Rec."Bank Account No.") { ApplicationArea = Basic, Suite; Editable = false; } field("Statement No."; Rec."Statement No.") { ApplicationArea = Basic, Suite; Editable = false; } field("Statement Date"; Rec."Statement Date") { ApplicationArea = Basic, Suite; Editable = false; } field("Balance Last Statement"; Rec."Balance Last Statement") { ApplicationArea = Basic, Suite; Editable = false; } field("Statement Ending Balance"; Rec."Statement Ending Balance") { ApplicationArea = Basic, Suite; Editable = false; } } part(Control11; "Bank Account Statement Lines") { ApplicationArea = Basic, Suite; SubPageLink = "Bank Account No." = field("Bank Account No."), "Statement No." = field("Statement No."); } } area(factboxes) { systempart(Control1900383207; Links) { ApplicationArea = RecordLinks; Visible = false; } systempart(Control1905767507; Notes) { ApplicationArea = Notes; Visible = false; } } } actions { area(navigation) { group("St&atement") { Caption = 'St&atement'; action("&Card") { ApplicationArea = Basic, Suite; Caption = '&Card'; Image = EditLines; RunObject = Page "Bank Account Card"; RunPageLink = "No." = field("Bank Account No."); ShortCutKey = 'Shift+F7'; ToolTip = 'View or change detailed information about the record that is being processed on the journal line.'; } } } area(processing) { group(Functions) { Caption = 'Functions'; action(Undo) { ApplicationArea = Basic, Suite; Caption = 'Undo'; Image = Undo; ToolTip = 'Reverse this bank statement and automatically create a new bank reconciliation with the same information so you can correct it before posting. This bank statement will be deleted.'; trigger OnAction() var UndoBankStatementYesNo: Codeunit "Undo Bank Statement (Yes/No)"; begin if UndoBankStatementYesNo.Run(Rec) then CurrPage.Close() else Error(GetLastErrorText); end; } } } area(reporting) { action(Print) { ApplicationArea = Basic, Suite; Caption = '&Print'; Ellipsis = true; Image = Print; Scope = Repeater; ToolTip = 'Prepare to print the document. A report request window for the document opens where you can specify what to include on the print-out.'; trigger OnAction() var DocPrint: Codeunit "Document-Print"; begin DocPrint.PrintBankAccStmt(Rec); end; } } area(Promoted) { group(Category_Process) { Caption = 'Process'; actionref(Print_Promoted; Print) { } actionref(Undo_Promoted; Undo) { } } } }}