Codeunit 6196 E-Doc. PO Matching

E-Document Core, Microsoft.eServices.EDocument.Processing.Import.Purchase

src/Apps/W1/EDocument/App/src/Processing/Import/Purchase/PurchaseOrderMatching/EDocPOMatching.Codeunit.al29 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

LoadAvailablePOLinesForEDocumentLine line 30

  1. 39writesTable 39 Purchase Line DeleteAll
  2. 40callsTable 6101 E-Document Purchase Line GetBCVendor
  3. 61writesTable 39 Purchase Line Insert

LoadPOLinesMatchedToEDocumentLine line 77

  1. 84writesTable 39 Purchase Line DeleteAll
  2. 85callsCollectMatchesForEDocumentLine
  3. 92writesTable 39 Purchase Line Insert

LoadPOsMatchedToEDocumentLine line 102

  1. 108writesTable 38 Purchase Header DeleteAll
  2. 109callsLoadPOLinesMatchedToEDocumentLine
  3. 115writesTable 38 Purchase Header Insert

LoadAvailableReceiptLinesForEDocumentLine line 125

  1. 131writesTable 121 Purch. Rcpt. Line DeleteAll
  2. 132callsLoadPOLinesMatchedToEDocumentLine
  3. 142writesTable 121 Purch. Rcpt. Line Insert

LoadReceiptsMatchedToEDocumentLine line 153

  1. 159writesTable 120 Purch. Rcpt. Header DeleteAll
  2. 160callsLoadReceiptLinesMatchedToEDocumentLine
  3. 166writesTable 120 Purch. Rcpt. Header Insert

LoadReceiptLinesMatchedToEDocumentLine line 171

  1. 178writesTable 121 Purch. Rcpt. Line DeleteAll
  2. 179callsCollectMatchesForEDocumentLine
  3. 186writesTable 121 Purch. Rcpt. Line Insert

CalculatePOMatchWarnings line 196

  1. 201writesTable 6115 E-Doc PO Match Warning DeleteAll
  2. 205callsAppendPOMatchWarnings

AppendPOMatchWarnings line 214, local

  1. 226callsLoadPOLinesMatchedToEDocumentLine
  2. 237callsHasEDocumentLineQuantityInformation
  3. 240writesTable 6115 E-Doc PO Match Warning Insert
  4. 253callsShouldWarnIfNotYetReceived
  5. 257writesTable 6115 E-Doc PO Match Warning Insert
  6. 265writesTable 6115 E-Doc PO Match Warning Insert
  7. 273writesTable 6115 E-Doc PO Match Warning Insert
  8. 275callsShouldWarnAmountMismatch
  9. 279writesTable 6115 E-Doc PO Match Warning Insert

ShouldWarnAmountMismatch line 283, local

  1. 301callsNormalizeEmptyCurrencyCode
  2. 303callsNormalizeEmptyCurrencyCode
  3. 321callsCodeunit 6109 E-Document Import Helper GetCurrencyRoundingPrecision

IsEDocumentLineMatchedToAnyPOLine line 370

  1. 374callsCollectMatchesForEDocumentLine

IsEDocumentMatchedToAnyPOLine line 383

  1. 393callsIsEDocumentLineMatchedToAnyPOLine

IsEDocumentLineMatchedToAnyReceiptLine line 418

  1. 423callsCollectMatchesForEDocumentLine

RemoveAllReceiptMatchesForEDocumentLine line 447

  1. 454writesTable 6114 E-Doc. Purchase Line PO Match DeleteAll

RemoveAllMatchesForEDocumentLine line 461

  1. 466writesTable 6114 E-Doc. Purchase Line PO Match DeleteAll

RemoveAllMatchesForEDocument line 473

  1. 480callsRemoveAllMatchesForEDocumentLine

CollectMatchesForEDocumentLine line 484, local

  1. 491writesTable 6114 E-Doc. Purchase Line PO Match DeleteAll
  2. 494callsTable 6100 E-Document Purchase Header IsFinalized
  3. 502writesTable 6114 E-Doc. Purchase Line PO Match Insert
  4. 511writesTable 6114 E-Doc. Purchase Line PO Match Insert

PersistFinalizedMatches line 516, local

  1. 522callsRemoveAllFinalizedMatchesForEDocument

MatchPOLinesToEDocumentLine line 559

  1. 577callsRemoveAllMatchesForEDocumentLine
  2. 589callsTable 6101 E-Document Purchase Line GetBCVendor
  3. 623writesTable 6114 E-Doc. Purchase Line PO Match Insert
  4. 632writesTable 6101 E-Document Purchase Line Modify

MatchReceiptLinesToEDocumentLine line 648, local

  1. 663writesTable 6114 E-Doc. Purchase Line PO Match DeleteAll
  2. 666callsLoadPOLinesMatchedToEDocumentLine
  3. 677writesTable 6114 E-Doc. Purchase Line PO Match Insert

ConfigureDefaultPOMatchingSettings line 684

  1. 693callsConfigurePOMatchingSettings

ConfigurePOMatchingSettings line 702

  1. 709writesTable 6116 E-Doc. PO Matching Setup DeleteAll
  2. 726writesTable 6116 E-Doc. PO Matching Setup Insert
  3. 740writesTable 6116 E-Doc. PO Matching Setup Insert

TransferPOMatchesFromEDocumentToInvoice line 761

  1. 776callsTable 6100 E-Document Purchase Header GetFromEDocument
  2. 780callsTable 6101 E-Document Purchase Line GetLinkedPurchaseLine
  3. 785callsHasEDocumentLineQuantityInformation
  4. 792callsMinDecimal
  5. 794callsCodeunit 5829 PO Matching Group AddMatch
  6. 794callsCodeunit 5831 PO Matching InvoiceOrderEdge
  7. 795callsAddExplicitReceiptMatches
  8. 805callsCodeunit 5831 PO Matching SuggestCoveringReceipts
  9. 806callsCodeunit 5829 PO Matching Group SaveMatchingGroups
  10. 807callsPersistFinalizedMatches
  11. 808callsRemoveAllMatchesForEDocument
  12. 810callsTable 6100 E-Document Purchase Header FeatureName

AddExplicitReceiptMatches line 817, local

  1. 837callsMinDecimal
  2. 839callsCodeunit 5829 PO Matching Group AddMatch
  3. 839callsCodeunit 5831 PO Matching InvoiceOrderReceiptEdge

TransferPOMatchesFromInvoiceToEDocument line 857

  1. 874callsTable 6100 E-Document Purchase Header GetFromEDocument
  2. 875callsRemoveAllFinalizedMatchesForEDocument
  3. 882callsTable 6101 E-Document Purchase Line GetFromLinkedPurchaseLine
  4. 886writesTable 39 Purchase Line DeleteAll
  5. 888writesTable 121 Purch. Rcpt. Line DeleteAll
  6. 893callsCollectPOLineToMatch
  7. 896callsCollectReceiptLineToMatch
  8. 901callsCollectPOLineToMatch
  9. 902callsCollectReceiptLineToMatch
  10. 905callsMatchPOLinesToEDocumentLine
  11. 909callsMatchReceiptLinesToEDocumentLine
  12. 913writesTable 39 Purchase Line ModifyAll
  13. 914writesTable 39 Purchase Line ModifyAll
  14. 916callsTable 6100 E-Document Purchase Header FeatureName

CollectPOLineToMatch line 922, local

  1. 927writesTable 39 Purchase Line Insert

CollectReceiptLineToMatch line 930, local

  1. 935writesTable 121 Purch. Rcpt. Line Insert

GetPOMatchingSettings line 944

  1. 948callsTable 6116 E-Doc. PO Matching Setup GetSetup

VerifyEDocumentMatchedLinesAreValidMatches line 968

  1. 974callsCalculatePOMatchWarnings
  2. 980callsLoadPOLinesMatchedToEDocumentLine
  3. 983callsCanMatchInvoiceLineToPOLineWithoutReceipt

CanMatchInvoiceLineToPOLineWithoutReceipt line 995, local

  1. 1001callsTable 6101 E-Document Purchase Line GetBCVendor
  2. 1005callsTable 6116 E-Doc. PO Matching Setup GetSetup