Codeunit 5829 PO Matching Group

Base Application, Microsoft.Inventory.Tracking

Source AL, 603 lines

src/Layers/W1/BaseApp/Inventory/Tracking/POMatchingGroup.Codeunit.allines 11 to 26 of 603, Copyright (c) Microsoft Corporation. MIT

codeunit 5829 "PO Matching Group"{    Access = Public;    var        TempCurrentPOMatchingGroup: Record "Matched Order Line" temporary;        TempInvoiceOrderEdgeCursor: Record "Matched Order Line" temporary;        EmptyGuid: Guid;        IsLoading: Boolean;        AtLeastTwoDocumentsErr: Label 'A match must specify at least two of: invoice line, order line and receipt/shipment line.';        LinesMustAgreeErr: Label 'The matched lines must have the same type and number.';        InvoiceLineNotFoundErr: Label 'The purchase line to match doesn''t exist.';        ReceiptLineNotFoundErr: Label 'The receipt/shipment line to match no longer exists.';        InvoiceCapExceededErr: Label 'The quantity to allocate exceeds the quantity available to invoice on the purchase invoice line.';        OrderCapExceededErr: Label 'The quantity to allocate exceeds the quantity remaining to invoice on the purchase order line.';        ReceiptCapExceededErr: Label 'The quantity to allocate exceeds the quantity received not invoiced on the receipt/shipment line.';

All 603 lines

Public procedures 2 in 29

AddMatch(NewMatch: Record "Matched Order Line")new in 29
SaveMatchingGroups()new in 29

All 10 procedures in 29