Codeunit 1296 BankPaymentApplLines-Delete
- App
- Base Application
- Namespace
- Microsoft.Bank.Reconciliation
- Versions
- 17-28
Versions171819202122232425262728
Source29
Source in 29
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";
}