Codeunit 9994 API Data Upgrade

Base Application, Microsoft.API.Upgrade

src/Layers/W1/BaseApp/System/API/Upgrade/APIDataUpgrade.Codeunit.al27 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnRun line 31, trigger

  1. 55callsCodeunit 5470 Graph Collection Mgt - Item UpdateIds
  2. 56callsUpgradeItemPostingGroups
  3. 57callsSetStatus
  4. 61callsCodeunit 5471 Graph Mgt - Customer UpdateIds
  5. 62callsSetStatus
  6. 66callsCodeunit 5479 Graph Mgt - Customer Payments UpdateIds
  7. 67callsSetStatus
  8. 71callsCodeunit 5478 Graph Mgt - Journal Lines UpdateIds
  9. 72callsSetStatus
  10. 76callsCodeunit 5529 Purch. Inv. Aggregator UpdateAggregateTableRecords
  11. 77callsCodeunit 5529 Purch. Inv. Aggregator FixInvoicesCreatedFromOrders
  12. 78callsUpgradePurchInvoiceShortcutDimension
  13. 79callsSetStatus
  14. 83callsCodeunit 5508 Graph Mgt - Sal. Cr. Memo Buf. UpdateBufferTableRecords
  15. 84callsUpgradeSalesCrMemoShortcutDimension
  16. 85callsUpgradeSalesCreditMemoReasonCode
  17. 86callsUpgradeSalesCrMemoShipmentMethod
  18. 87callsSetStatus
  19. 91callsCodeunit 5477 Sales Invoice Aggregator UpdateAggregateTableRecords
  20. 92callsCodeunit 5474 Graph Mgt - Sales Header UpdateIds
  21. 93callsCodeunit 5477 Sales Invoice Aggregator FixInvoicesCreatedFromOrders
  22. 94callsUpgradeSalesInvoiceShortcutDimension
  23. 95callsSetStatus
  24. 99callsCodeunit 5496 Graph Mgt - Sales Order Buffer UpdateBufferTableRecords
  25. 100callsCodeunit 5496 Graph Mgt - Sales Order Buffer DeleteOrphanedRecords
  26. 101callsUpgradeSalesOrderShortcutDimension
  27. 102callsUpgradeSalesOrderShipmentMethod
  28. 103callsSetStatus
  29. 107callsCodeunit 5506 Graph Mgt - Sales Quote Buffer UpdateBufferTableRecords
  30. 108callsUpgradeSalesQuoteShortcutDimension
  31. 109callsSetStatus
  32. 113callsCodeunit 5472 Graph Mgt - Vendor UpdateIds
  33. 114callsSetStatus
  34. 118callsCodeunit 5011 Graph Mgt - Vendor Payments UpdateIds
  35. 119callsSetStatus
  36. 123callsUpgradeSalesShipmentLineDocumentId
  37. 124callsUpgradeSalesShipmentCustomerId
  38. 125callsSetStatus
  39. 129callsCodeunit 5497 Graph Mgt - Purch Order Buffer UpdateBufferTableRecords
  40. 130callsCodeunit 5497 Graph Mgt - Purch Order Buffer DeleteOrphanedRecords
  41. 131callsUpgradePurchaseOrderShortcutDimension
  42. 132callsSetStatus
  43. 136callsUpdateItemVariants
  44. 137callsSetStatus
  45. 141callsUpgradeDefaultDimensions
  46. 142callsSetStatus
  47. 146callsUpgradeDimensionValues
  48. 147callsSetStatus
  49. 151callsUpgradeGLAccountAPIType
  50. 152callsSetStatus
  51. 156callsUpgradePurchRcptLineDocumentId
  52. 157callsSetStatus
  53. 161callsUpgradePurchaseCreditMemoBuffer
  54. 162callsUpgradePurchaseCreditMemoVendorCrMemoNo
  55. 163callsSetStatus
  56. 167callsUpgradeFixedAssetLocationId
  57. 168callsUpgradeFixedAssetResponsibleEmployeeId
  58. 169callsSetStatus
  59. 172raisesOnAPIDataUpgrade
  60. 178callsCodeunit 9999 Upgrade Tag SetSkippedUpgrade
  61. 178callsGetDisableAPIDataUpgradesTag

UpgradeSalesCreditMemoReasonCode line 184

  1. 193callsCodeunit 457 Environment Information IsSaaS
  2. 194callsGetSafeRecordCountForSaaSUpgrade
  3. 203callsUpdateSalesCreditMemoReasonCodeFields
  4. 204callsCountRecordsAndCommit
  5. 209callsUpdateSalesCreditMemoReasonCodeFields
  6. 210callsCountRecordsAndCommit

UpgradeSalesInvoiceShortcutDimension line 219

  1. 231callsCodeunit 457 Environment Information IsSaaS
  2. 232callsGetSafeRecordCountForSaaSUpgrade
  3. 252writesTable 5475 Sales Invoice Entity Aggregate Modify
  4. 253callsCountRecordsAndCommit
  5. 270writesTable 5475 Sales Invoice Entity Aggregate Modify
  6. 271callsCountRecordsAndCommit

UpgradePurchInvoiceShortcutDimension line 281

  1. 293callsCodeunit 457 Environment Information IsSaaS
  2. 294callsGetSafeRecordCountForSaaSUpgrade
  3. 314writesTable 5477 Purch. Inv. Entity Aggregate Modify
  4. 315callsCountRecordsAndCommit
  5. 332writesTable 5477 Purch. Inv. Entity Aggregate Modify
  6. 333callsCountRecordsAndCommit

UpgradePurchaseOrderShortcutDimension line 343

  1. 354callsCodeunit 457 Environment Information IsSaaS
  2. 355callsGetSafeRecordCountForSaaSUpgrade
  3. 374writesTable 5496 Purchase Order Entity Buffer Modify
  4. 375callsCountRecordsAndCommit

UpgradeSalesOrderShortcutDimension line 384

  1. 395callsCodeunit 457 Environment Information IsSaaS
  2. 396callsGetSafeRecordCountForSaaSUpgrade
  3. 415writesTable 5495 Sales Order Entity Buffer Modify
  4. 416callsCountRecordsAndCommit

UpgradeSalesQuoteShortcutDimension line 425

  1. 436callsCodeunit 457 Environment Information IsSaaS
  2. 437callsGetSafeRecordCountForSaaSUpgrade
  3. 456writesTable 5505 Sales Quote Entity Buffer Modify
  4. 457callsCountRecordsAndCommit

UpgradeSalesCrMemoShortcutDimension line 466

  1. 478callsCodeunit 457 Environment Information IsSaaS
  2. 479callsGetSafeRecordCountForSaaSUpgrade
  3. 499writesTable 5507 Sales Cr. Memo Entity Buffer Modify
  4. 500callsCountRecordsAndCommit
  5. 517writesTable 5507 Sales Cr. Memo Entity Buffer Modify
  6. 518callsCountRecordsAndCommit

UpgradeItemPostingGroups line 528

  1. 540callsCodeunit 457 Environment Information IsSaaS
  2. 541callsGetSafeRecordCountForSaaSUpgrade
  3. 559writesTable 27 Item Modify
  4. 560callsCountRecordsAndCommit

UpdateSalesCreditMemoReasonCodeFields line 568, local

  1. 594writesTable 5507 Sales Cr. Memo Entity Buffer Modify

UpgradeSalesShipmentLineDocumentId line 597

  1. 605callsCodeunit 457 Environment Information IsSaaS
  2. 606callsGetSafeRecordCountForSaaSUpgrade
  3. 613writesTable 111 Sales Shipment Line ModifyAll
  4. 614callsCountRecordsAndCommit

UpgradeSalesShipmentCustomerId line 621

  1. 647writesTable 110 Sales Shipment Header Modify
  2. 648callsCountRecordsAndCommit

UpgradeFixedAssetLocationId line 654

  1. 669writesTable 5600 Fixed Asset Modify
  2. 670callsCountRecordsAndCommit

UpgradeFixedAssetResponsibleEmployeeId line 675

  1. 690writesTable 5600 Fixed Asset Modify
  2. 691callsCountRecordsAndCommit

UpdateItemVariants line 696

  1. 711writesTable 5401 Item Variant Modify
  2. 712callsCountRecordsAndCommit

UpgradeDefaultDimensions line 720

  1. 727callsTable 352 Default Dimension UpdateReferencedIds
  2. 728callsCountRecordsAndCommit

UpgradeDimensionValues line 732

  1. 745writesTable 349 Dimension Value Modify
  2. 746callsCountRecordsAndCommit

UpgradeGLAccountAPIType line 754

  1. 759writesTable 15 G/L Account ModifyAll
  2. 763writesTable 15 G/L Account ModifyAll
  3. 767writesTable 15 G/L Account ModifyAll
  4. 771writesTable 15 G/L Account ModifyAll
  5. 775writesTable 15 G/L Account ModifyAll

UpgradePurchRcptLineDocumentId line 780

  1. 788callsCodeunit 457 Environment Information IsSaaS
  2. 789callsGetSafeRecordCountForSaaSUpgrade
  3. 796writesTable 121 Purch. Rcpt. Line ModifyAll
  4. 797callsCountRecordsAndCommit

UpgradePurchaseCreditMemoBuffer line 804, local

  1. 810callsCodeunit 5511 Graph Mgt - Purch. Cr. Memo UpdateBufferTableRecords
  2. 812callsCodeunit 9999 Upgrade Tag HasUpgradeTag
  3. 812callsCodeunit 9998 Upgrade Tag Definitions GetPurchaseCreditMemoUpgradeTag
  4. 813callsCodeunit 9999 Upgrade Tag SetUpgradeTag
  5. 813callsCodeunit 9998 Upgrade Tag Definitions GetPurchaseCreditMemoUpgradeTag

UpgradePurchaseCreditMemoVendorCrMemoNo line 816, internal

  1. 831writesTable 5508 Purch. Cr. Memo Entity Buffer Modify
  2. 832callsCountRecordsAndCommit
  3. 840writesTable 5508 Purch. Cr. Memo Entity Buffer Modify
  4. 841callsCountRecordsAndCommit

UpgradeSalesOrderShipmentMethod line 847, internal

  1. 862callsUpdateSalesDocumentShipmentMethodFields
  2. 864callsCountRecordsAndCommit

UpgradeSalesCrMemoShipmentMethod line 868, internal

  1. 884callsUpdateSalesDocumentShipmentMethodFields
  2. 892callsUpdateSalesDocumentShipmentMethodFields
  3. 895callsCountRecordsAndCommit

UpdateSalesDocumentShipmentMethodFields line 899, local

  1. 912callsCopyFieldValue

GetAPIUpgradeTags line 949

  1. 951raisesOnGetAPIUpgradeTags

SetStatus line 954

  1. 957writesTable 9994 API Data Upgrade Modify

GetAPIDataUpgradeEntities line 960

  1. 983raisesOnGetAPIDataUpgradeEntities