Codeunit 383 Upd. Pending Prepmt. Sales

App
Base Application
Namespace
Microsoft.Sales.Document
Versions
17-28

Versions171819202122232425262728

Source29

Source in 29

src/Layers/W1/BaseApp/Sales/Document/UpdPendingPrepmtSales.Codeunit.al23 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.Document;

using Microsoft.Finance.ReceivablesPayables;

/// <summary>
/// Updates the pending prepayment status for sales documents based on payment activity.
/// </summary>
codeunit 383 "Upd. Pending Prepmt. Sales"
{

    trigger OnRun()
    var
        PrepaymentMgt: Codeunit "Prepayment Mgt.";
    begin
        PrepaymentMgt.UpdatePendingPrepaymentSales();
    end;
}