Page 1299 Posted Payment Reconciliations

App
Base Application
Namespace
Microsoft.Bank.Reconciliation
Versions
17-28
Source table
1295

Versions171819202122232425262728

Source29

Source in 29

src/Layers/W1/BaseApp/Bank/Reconciliation/PostedPaymentReconciliations.Page.al115 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.Reconciliation;

using Microsoft.Foundation.Reporting;

/// <summary>
/// List page for posted payment reconciliations.
/// Displays all completed reconciliations with access to detailed views.
/// </summary>
page 1299 "Posted Payment Reconciliations"
{
    ApplicationArea = Basic, Suite;
    Caption = 'Posted Payment Reconciliations';
    CardPageID = "Posted Payment Reconciliation";
    Editable = false;
    PageType = List;
    SourceTable = "Posted Payment Recon. Hdr";
    UsageCategory = Lists;

    layout
    {
        area(content)
        {
            repeater(Control1)
            {
                ShowCaption = false;
                field("Bank Account No."; Rec."Bank Account No.")
                {
                    ApplicationArea = Basic, Suite;
                }
                field("Statement No."; Rec."Statement No.")
                {
                    ApplicationArea = Basic, Suite;
                }
                field("Is Reversed"; Rec."Is Reversed")
                {
                    ApplicationArea = Basic, Suite;
                    Tooltip = 'Specifies if this posted payment reconciliation journal has been previously reversed.';
                }
            }
        }
        area(factboxes)
        {
            systempart(Control1900383207; Links)
            {
                ApplicationArea = RecordLinks;
                Visible = false;
            }
            systempart(Control1905767507; Notes)
            {
                ApplicationArea = Notes;
                Visible = false;
            }
        }
    }

    actions
    {
        area(Processing)
        {
            action(Undo)
            {
                ApplicationArea = Basic, Suite;
                Caption = 'Reverse';
                Image = Undo;
                ToolTip = 'Undo the bank statement, unapply, and reverse the entries created by this journal.';

                trigger OnAction()
                var
                    ReversePaymentRecJournal: Codeunit "Reverse Payment Rec. Journal";
                begin
                    ReversePaymentRecJournal.RunReversalWizard(Rec);
                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.PrintPostedPaymentReconciliation(Rec);
                end;
            }
        }
        area(Promoted)
        {
            group(Category_Process)
            {
                Caption = 'Process';

                actionref(Print_Promoted; Print)
                {
                }
                actionref(Undo_Promoted; Undo)
                {
                }
            }
        }
    }
}