Codeunit 1296 BankPaymentApplLines-Delete

Base Application, Microsoft.Bank.Reconciliation

src/Layers/W1/BaseApp/Bank/Reconciliation/BankPaymentApplLinesDelete.Codeunit.al27 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;/// <summary>/// Deletes posted payment reconciliation lines for a specified statement./// Provides cleanup functionality for reconciliation data management./// </summary>codeunit 1296 "BankPaymentApplLines-Delete"{    Permissions = TableData "Posted Payment Recon. Line" = d;    TableNo = "Posted Payment Recon. Hdr";    trigger OnRun()    begin        PostedPaymentReconLine.SetRange("Bank Account No.", Rec."Bank Account No.");        PostedPaymentReconLine.SetRange("Statement No.", Rec."Statement No.");        PostedPaymentReconLine.DeleteAll();    end;    var        PostedPaymentReconLine: Record "Posted Payment Recon. Line";}