Codeunit 5828 Invoiceable Receipts

Base Application, Microsoft.Inventory.Tracking

Source AL, 64 lines

src/Layers/W1/BaseApp/Inventory/Tracking/InvoiceableReceipts.Codeunit.allines 10 to 25 of 64, Copyright (c) Microsoft Corporation. MIT

codeunit 5828 "Invoiceable Receipts"{    Access = Internal;    // A cursor over the posted receipt lines of a single order line that still have quantity received not    // invoiced. It nets a receipt's remaining quantity against a "PO Matching Group" so consumers see the    // capacity still available for covering, accounting for edges the group already holds.    var        TempPurchRcptLine: Record "Purch. Rcpt. Line" temporary;    /// <summary>Loads the invoiceable receipts of the order line and positions at the first, returning false if none.</summary>    /// <param name="OrderLine">The order line for which to load the receipts yet-to-be-invoiced.</param>    internal procedure Load(OrderLine: Record "Purchase Line"): Boolean    var        PurchRcptLine: Record "Purch. Rcpt. Line";    begin

All 64 lines

Procedures 4

ProcedureVersions
internal Load(OrderLine: Record "Purchase Line"): Booleannew in 29
internal NextReceipt(): Booleannew in 29
internal GetReceiptLine(): Record "Purch. Rcpt. Line"new in 29
internal ReceiptNotInvoiced(var POMatchingGroup: Codeunit "PO Matching Group"): Decimalnew in 29