Codeunit 37207 Remit. Advice Buffer Mgt.

PEPPOL, Microsoft.Peppol

Source AL, 455 lines

src/Apps/W1/PEPPOL/App/src/Payments/RemitAdviceBufferMgt.Codeunit.allines 14 to 29 of 455, Copyright (c) Microsoft Corporation. MIT

codeunit 37207 "Remit. Advice Buffer Mgt."{    /// <summary>    /// Builds the remittance advice buffer (header + applied-document lines) from an unposted    /// vendor payment journal line and the other lines in the same payment group.    /// Ports the allocation/currency/discount math from report 399 "Remittance Advice - Journal".    /// </summary>    procedure BuildFromJournalPayment(AnchorGenJnlLine: Record "Gen. Journal Line"; var TempBuffer: Record "Remit. Advice Buffer" temporary)    var        GenJournalLine: Record "Gen. Journal Line";        Vendor: Record Vendor;        TotalPaid: Decimal;        TotalDiscount: Decimal;        LineNo: Integer;    begin        TempBuffer.Reset();

All 455 lines

Public procedures 2 in 29

BuildFromJournalPayment(AnchorGenJnlLine: Record "Gen. Journal Line"; var TempBuffer: Record "Remit. Advice Buffer" temporary)new in 29
BuildFromPostedPayment(PaymentVendLedgEntry: Record "Vendor Ledger Entry"; var TempBuffer: Record "Remit. Advice Buffer" temporary)new in 29