Codeunit 5829 PO Matching Group

Base Application, Microsoft.Inventory.Tracking

src/Layers/W1/BaseApp/Inventory/Tracking/POMatchingGroup.Codeunit.al19 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

SaveMatchingGroups line 52

  1. 54callsRevalidateGroup
  2. 59callsPersistRow

AddMatch line 63, local

  1. 68callsEnsureGroupLoaded
  2. 78callsAddOrderReceiptMatch
  3. 81callsAddInvoiceOrderMatch
  4. 84callsAddInvoiceReceiptMatch

AddInvoiceOrderMatch line 89, local

  1. 91callsOverrideBaseFromOrderLine
  2. 92callsValidateInvoiceOrder
  3. 93callsInsertOrModify

AddOrderReceiptMatch line 96, local

  1. 99callsInferInvoiceForOrder
  2. 100callsOverrideBaseFromOrderLine
  3. 101callsValidateOrderReceipt
  4. 102callsInsertOrModify

AddInvoiceReceiptMatch line 105, local

  1. 120callsAddInvoiceOrderMatch
  2. 127callsAddOrderReceiptMatch

ValidateInvoiceOrder line 131, local

  1. 136callsCheckAllocationNotNegative
  2. 143callsValidateInvoiceOrderCompatibility
  3. 149callsSumExcludingSelf
  4. 159callsSumExcludingSelf
  5. 166callsSumReceiptsForPair

ValidateOrderReceipt line 171, local

  1. 177callsCheckAllocationNotNegative
  2. 186callsValidateInvoiceOrderCompatibility
  3. 197callsPairBudget
  4. 202callsSumExcludingSelf
  5. 211callsSumExcludingSelf
  6. 218callsReceiptHasItemTracking

ValidateInvoiceOrderCompatibility line 230, local

  1. 237callsCheckOrderLineMatchable

RevalidateGroup line 249, local

  1. 258writesTable 5817 Matched Order Line Insert
  2. 264callsValidateInvoiceOrder
  3. 266callsValidateOrderReceipt

OverrideBaseFromOrderLine line 289, local

  1. 296callsTable 39 Purchase Line CalcBaseQty

ReceiptHasItemTracking line 299, local

  1. 304callsCodeunit 6503 Item Tracking Doc. Management RetrieveEntriesFromShptRcpt

SumReceiptsForPair line 321, local

  1. 327callsSumExcludingSelf

InsertOrModify line 345, local

  1. 350writesTable 5817 Matched Order Line Modify
  2. 358writesTable 5817 Matched Order Line Insert

PersistRow line 362, local

  1. 368callsReceiptOnInvoiceForMatch
  2. 374writesTable 5817 Matched Order Line Modify
  3. 383writesTable 5817 Matched Order Line Insert

GetInvoiceOrderEdges line 400, internal

  1. 403writesTable 5817 Matched Order Line DeleteAll
  2. 409writesTable 5817 Matched Order Line Insert

SumAllocatedInOrderReceiptEdges line 439, internal

  1. 443callsSumReceiptsForPair

EnsureGroupLoaded line 468, local

  1. 479callsLoadNewPersistedEdges
  2. 490callsAddMatch
  3. 496callsAddMatch

LoadNewPersistedEdges line 506, local

  1. 512writesTable 5817 Matched Order Line DeleteAll
  2. 519callsAppendIfUnqueued
  3. 520callsAppendIfUnqueued
  4. 521callsAppendIfUnqueued
  5. 524callsAppendIfUnqueued
  6. 525callsAppendIfUnqueued
  7. 526callsAppendIfUnqueued
  8. 531callsPopFirst
  9. 532callsVisitDocumentNode
  10. 535callsPopFirst
  11. 536callsVisitDocumentNode
  12. 539callsPopFirst
  13. 540callsVisitDocumentNode

VisitDocumentNode line 545, local

  1. 561callsRowAlreadyLoadedOrPendingToLoad
  2. 563writesTable 5817 Matched Order Line Insert
  3. 565callsAppendIfUnqueued
  4. 566callsAppendIfUnqueued
  5. 567callsAppendIfUnqueued