Codeunit 6164 E-Doc. Line Matching

E-Document Core, Microsoft.eServices.EDocument.OrderMatch

Source AL, 605 lines

src/Apps/W1/EDocument/App/src/Processing/OrderMatching/EDocLineMatching.Codeunit.allines 12 to 27 of 605, Copyright (c) Microsoft Corporation. MIT

codeunit 6164 "E-Doc. Line Matching"{    Access = Internal;    Permissions =        tabledata "E-Doc. Imported Line" = im,        tabledata "E-Doc. Order Match" = idm;    var        EmptyRecordErr: Label 'Empty selection cannot be matched.';        DiscountErr: Label 'Varied Discount found among selected %1 entries. Please review and deselect entries with different Discount in order to match selection', Comment = '%1 - Table name for selected entries';        UnitCostErr: Label 'Varied Unit Costs found among selected %1 entries. Please review and deselect entries with different Unit Costs in order to match selection', Comment = '%1 - Table name for selected entries';        AmountDiffErr: Label 'Varied amounts found in matching for Import line %1. Please review and undo previous matching in order to match selection', Comment = '%1 - Import line number';        MatchErr: Label 'Discrepancy detected in line amount for 1 or more matches for Purchase Line %1.', Comment = '%1 - Purchase Line No';        UOMErr: Label 'Varied Unit Of Measures found among selected %1 entries. Please review and deselect entries with different Unit Of Measures in order to match selection', Comment = '%1 - Table name for selected entries';        UnmatchedImportLineErr: Label 'Matching of Imported Line %1 is incomplete. It is not fully matched to purchase order lines.', Comment = '%1 - Imported Line No.';        OverwriteExistingMatchesTxt: Label 'There are lines for this e-document that are already matched with this purchase order.\\ Do you want to overwrite the existing matches?';

All 605 lines

Events 1 in 29

[IntegrationEvent] OnBeforeCreateMatchingRule(var PurchaseLine: Record "Purchase Line"; EDocument: Record "E-Document")new in 26

Public procedures 21 in 29

RunMatching(var EDocument: Record "E-Document")new in 24
RunMatching(var EDocument: Record "E-Document"; WithCopilot: Boolean)new in 24
Pending, tag 29.0, obsolete since 29: Deprecated functionality
ApplyToPurchaseOrder(var EDocument: Record "E-Document"; var TempEDocumentImportedLine: Record "E-Doc. Imported Line" temporary)new in 24
ResetMatchedQty(var TempEDocumentImportedLine: Record "E-Doc. Imported Line" temporary)new in 24
ResetQtyToInvoice(var TempPurchaseLine: Record "Purchase Line" temporary)new in 24
PersistsUpdates(var TempEDocMatchesThatWasMatched: Record "E-Doc. Order Match" temporary; RemoveMatch: Boolean)new in 24

All 25 procedures in 24-29

Changes 1 in 29

List17181920212223242526272829
Procedures621
Events1
RunMatching(var EDocument: Record "E-Document"; WithCopilot: Boolean)new in 24
marked Pending, tag 29.0: Deprecated functionality

All 10 changes in 24-29