Codeunit 5826 Matched Order Line Mgmt.

Base Application, Microsoft.Inventory.Tracking

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

ApplyVendorsReceiptOnInvoicePolicy line 23, internal

  1. 47callsApplyReceiptOnInvoiceToEligibleLines

ApplyReceiptOnInvoiceToLines line 50, internal

  1. 58validatesTable 39 Purchase Line Receipt on Invoice
  2. 59writesTable 39 Purchase Line Modify

ApplyReceiptOnInvoiceToEligibleLines line 63, local

  1. 74callsIsLineReceiptOnInvoiceAllowed
  2. 76validatesTable 39 Purchase Line Receipt on Invoice
  3. 77writesTable 39 Purchase Line Modify

ProcessMatchedReceiptOnInvoice line 81, internal

  1. 103writesTable 38 Purchase Header Insert
  2. 105validatesTable 39 Purchase Line Qty. to Receive
  3. 109writesTable 39 Purchase Line Modify(true)
  4. 119callsCodeunit 90 Purch.-Post SetSuppressCommit
  5. 120runsCodeunit 90 Purch.-Post
  6. 125writesTable 39 Purchase Line ModifyAll
  7. 128callsCodeunit 8703 Feature Telemetry LogUsage

InsertMatchedOrderLineReceipt line 132, internal

  1. 146writesTable 5817 Matched Order Line Insert

CheckMatchedOrderLine line 149, internal

  1. 163callsTable 39 Purchase Line IsMatchedToOrder

SetMatchedReceiptLinesFilter line 192, internal

  1. 201callsMaxFilterValues

UpdateMatchedOrderLines line 237, internal

  1. 264callsTable 39 Purchase Line InitQtyToInvoice
  2. 265callsTable 39 Purchase Line InitOutstanding
  3. 266writesTable 39 Purchase Line Modify

InsertPostedMatchedOrderLines line 271, internal

  1. 276callsTable 39 Purchase Line IsMatchedToOrder
  2. 294raisesOnInsertPostedMatchedOrderLinesOnBeforeInsertPostedMatchedOrderLine
  3. 295writesTable 5819 Posted Matched Order Line Insert
  4. 301callsCodeunit 8703 Feature Telemetry LogUptake
  5. 302callsCodeunit 8703 Feature Telemetry LogUsage

IsLineMatched line 320, internal

  1. 324callsTable 39 Purchase Line IsMatchedToOrder
  2. 330callsTable 39 Purchase Line IsMatchedToInvoiceCreditMemo

DeleteMatchedOrderLines line 338, internal

  1. 350writesTable 5817 Matched Order Line DeleteAll

DeleteAllMatchedOrderLines line 354, internal

  1. 370callsMaxFilterValues
  2. 371callsDeleteMatchedOrderLinesBatch
  3. 378callsDeleteMatchedOrderLinesBatch

DeleteMatchedOrderLinesBatch line 381, local

  1. 386writesTable 5817 Matched Order Line DeleteAll

DeleteMatchedLinesForPurchReceipt line 389, internal

  1. 398writesTable 5817 Matched Order Line DeleteAll
  2. 401writesTable 5819 Posted Matched Order Line DeleteAll

DeleteMatchedLinesFromPostedPurchaseInvoice line 404, internal

  1. 412writesTable 5819 Posted Matched Order Line DeleteAll

LoadLines line 415, internal

  1. 421writesTable 5818 Detailed Matched Order Line DeleteAll
  2. 425callsLoadLinesForPurchaseInvoice
  3. 427callsLoadLinesForPostedPurchaseInvoice

LoadLinesForPurchaseInvoice line 431, internal

  1. 437writesTable 5818 Detailed Matched Order Line DeleteAll
  2. 446callsLoadOneLineForPurchaseInvoice
  3. 449callsLoadOneLineForPurchaseInvoice

LoadLinesForPostedPurchaseInvoice line 452, internal

  1. 462callsLoadOneLineForPostedPurchaseInvoice
  2. 465callsLoadOneLineForPostedPurchaseInvoice

LoadOneLineForPurchaseInvoice line 468, internal

  1. 490writesTable 5818 Detailed Matched Order Line Insert
  2. 495writesTable 5818 Detailed Matched Order Line Modify
  3. 513writesTable 5817 Matched Order Line Delete
  4. 542callsUpdateQtyOnParentLines
  5. 549writesTable 5817 Matched Order Line Delete
  6. 561writesTable 32 Item Ledger Entry DeleteAll
  7. 562callsCodeunit 6503 Item Tracking Doc. Management RetrieveEntriesFromShptRcpt
  8. 567callsTable 337 Reservation Entry SetSourceFilter
  9. 580callsTable 39 Purchase Line CalcBaseQty
  10. 587callsUpdateQtyOnParentLines
  11. 588callsUpdateQtyOnParentLines
  12. 591writesTable 5818 Detailed Matched Order Line Insert
  13. 596raisesOnAfterLoadOneLineForPurchaseInvoice

LoadOneLineForPostedPurchaseInvoice line 599, internal

  1. 620writesTable 5818 Detailed Matched Order Line Insert
  2. 625writesTable 5818 Detailed Matched Order Line Modify
  3. 650writesTable 5818 Detailed Matched Order Line Insert
  4. 659writesTable 5819 Posted Matched Order Line Delete
  5. 666writesTable 5818 Detailed Matched Order Line Insert
  6. 674writesTable 5819 Posted Matched Order Line Delete
  7. 683writesTable 5818 Detailed Matched Order Line Insert
  8. 689raisesOnAfterLoadOneLineForPostedPurchaseInvoice

GetOrderLines line 692, internal

  1. 696callsGetOrderLinesForPurchaseInvoice

GetOrderLinesForPurchaseInvoice line 700, internal

  1. 708callsCheckLineCanBeMatched
  2. 732callsPage 518 Purchase Lines SetSelectionFilter
  3. 738callsInsertMatchedOrderLine
  4. 745callsCodeunit 6500 Item Tracking Management CopyMatchedItemTrkgToPurchLine
  5. 748callsInsertMatchedOrderLine
  6. 753callsTable 39 Purchase Line CalcBaseQty
  7. 759callsCodeunit 8703 Feature Telemetry LogUsage

GetReceiptShipmentLines line 763, internal

  1. 767callsGetPurchaseReceiptLines

GetPurchaseReceiptLines line 771, internal

  1. 779callsCheckLineCanBeMatched
  2. 798callsPage 5709 Get Receipt Lines SetSelectionOnly
  3. 801callsPage 5709 Get Receipt Lines SetSelectionFilter
  4. 807callsInsertMatchedOrderLine
  5. 809callsCodeunit 6500 Item Tracking Management CopyMatchedItemTrkgToPurchLine
  6. 812callsInsertMatchedOrderLine
  7. 817callsTable 39 Purchase Line CalcBaseQty
  8. 822callsCodeunit 8703 Feature Telemetry LogUsage

ShowItemTrackingEntries line 826, internal

  1. 830callsShowItemTrackingEntriesForPurchaseInvoice

ShowItemTrackingEntriesForPurchaseInvoice line 834, internal

  1. 856callsCodeunit 99000834 Purch. Line-Reserve CallItemTracking
  2. 856callsCodeunit 46 SelectionFilterManagement GetSelectionFilter

ShowDocument line 861, internal

  1. 865callsShowPurchaseInvoiceDocument

ShowPurchaseInvoiceDocument line 869, internal

  1. 880runsPage 136 Posted Purchase Receipt
  2. 886runsPage 50 Purchase Order

ValidateQtyToInvoice line 890, internal

  1. 906callsValidateQtyToInvoiceForPurchaseInvoice
  2. 917raisesOnValidateQtyToInvoiceOnBeforeModifyMatchedOrderLine
  3. 918writesTable 5817 Matched Order Line Modify
  4. 921raisesOnValidateQtyToInvoiceOnBeforeUpdateQtyOnParentLines
  5. 922callsUpdateQtyOnParentLines
  6. 923callsUpdateQtyOnParentLines

UpdateQtyOnParentLines line 926, internal

  1. 942raisesOnUpdateQtyOnParentLinesOnBeforeModifyTempDetailedMatchedOrderLine
  2. 943writesTable 5818 Detailed Matched Order Line Modify

ValidateQtyToInvoiceForPurchaseInvoice line 947, internal

  1. 959callsCodeunit 5402 Unit of Measure Management RoundAndValidateQty
  2. 960callsTable 39 Purchase Line CalcBaseQty
  3. 964callsCodeunit 6503 Item Tracking Doc. Management RetrieveEntriesFromShptRcpt

GetPurchaseOrderLines line 971

  1. 997raisesOnGetPurchaseOrderLinesOnAfterSetPurchaseLineOrderFilters
  2. 1008callsPage 518 Purchase Lines SetSelectionFilter
  3. 1024raisesOnGetPurchaseOrderLinesOnBeforeInsertPurchaseLineInvoice
  4. 1038callsInsertMatchedOrderLine
  5. 1045callsCodeunit 6500 Item Tracking Management CopyMatchedItemTrkgToPurchLine
  6. 1048callsInsertMatchedOrderLine
  7. 1053callsTable 39 Purchase Line CalcBaseQty
  8. 1060raisesOnGetPurchaseOrderLinesOnBeforeModifyPurchaseLineInvoice
  9. 1064callsCodeunit 8703 Feature Telemetry LogUsage

CheckReceiptOnInvoiceAllowed line 1068, internal

  1. 1077callsCheckLineReceiptOnInvoiceAllowed

CheckLineReceiptOnInvoiceAllowed line 1081, internal

  1. 1085callsIsLineReceiptOnInvoiceAllowed

IsLineReceiptOnInvoiceAllowed line 1089, internal

  1. 1096callsIsReceiptOnInvoiceAllowedForLocation
  2. 1101callsIsReceiptOnInvoiceAllowedForItem

ApplyPurchaseLineReceiptSettingToMatches line 1136, internal

  1. 1141writesTable 5817 Matched Order Line ModifyAll

RefreshMatchedOrderLineReceipt line 1144, internal

  1. 1153callsApplyPurchaseLineReceiptSettingToMatches

ShowMatchedInvoiceLines line 1182

  1. 1192callsMaxFilterValues

InsertMatchedOrderLine line 1218, local

  1. 1233raisesOnInsertMatchedOrderLineOnBeforeInsert
  2. 1234writesTable 5817 Matched Order Line Insert
  3. 1236callsCodeunit 8703 Feature Telemetry LogUptake