Codeunit 2 Company-Initialize

Base Application, Microsoft.Foundation.Company

src/Layers/W1/BaseApp/Foundation/Company/CompanyInitialize.Codeunit.al19 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

OnRun line 97, trigger

  1. 108raisesOnBeforeOnRun
  2. 110callsInitSetupTables
  3. 111callsInitSourceCodeSetup
  4. 112callsInitStandardTexts
  5. 113callsInitReportSelection
  6. 114callsInitJobWIPMethods
  7. 115callsInitBankExportImportSetup
  8. 116callsInitDocExchServiceSetup
  9. 117callsTable 1252 Bank Pmt. Appl. Rule InsertDefaultMatchingRules
  10. 118callsCodeunit 249 VAT Registration Log Mgt. InitServiceSetup
  11. 119callsCodeunit 1502 Workflow Setup InitWorkflow
  12. 120callsTable 1237 Transformation Rule CreateDefaultTransformations
  13. 121callsInitElectronicFormats
  14. 122callsInitApplicationAreasForSaaS
  15. 123callsCodeunit 9999 Upgrade Tag SetAllUpgradeTags
  16. 125raisesOnCompanyInitialize

InitializeCompany line 277, internal

  1. 282runsCodeunit 2 Company-Initialize

InitSetupTables line 285

  1. 315writesTable 98 General Ledger Setup Insert
  2. 320writesTable 311 Sales & Receivables Setup Insert
  3. 325writesTable 5079 Marketing Setup Insert
  4. 330writesTable 5122 Interaction Template Setup Insert
  5. 335writesTable 312 Purchases & Payables Setup Insert
  6. 340writesTable 313 Inventory Setup Insert
  7. 345writesTable 314 Resources Setup Insert
  8. 350writesTable 315 Jobs Setup Insert
  9. 355writesTable 5603 FA Setup Insert
  10. 360writesTable 5218 Human Resources Setup Insert
  11. 365writesTable 5769 Warehouse Setup Insert
  12. 370writesTable 5719 Nonstock Item Setup Insert
  13. 375writesTable 843 Cash Flow Setup Insert
  14. 381writesTable 1108 Cost Accounting Setup Insert
  15. 386writesTable 905 Assembly Setup Insert
  16. 391writesTable 743 VAT Report Setup Insert
  17. 396writesTable 326 Tax Setup Insert
  18. 401writesTable 8627 Config. Setup Insert
  19. 406writesTable 1806 Data Migration Setup Insert
  20. 411writesTable 131 Incoming Documents Setup Insert
  21. 416writesTable 1312 Trial Balance Setup Insert
  22. 422writesTable 79 Company Information Insert
  23. 427writesTable 443 IC Setup Insert
  24. 432writesTable 189 VAT Setup Insert
  25. 435raisesOnAfterInitSetupTables

InitSourceCodeSetup line 438, local

  1. 445callsInsertSourceCode
  2. 446callsInsertSourceCode
  3. 447callsInsertSourceCode
  4. 448callsInsertSourceCode
  5. 448callsReportName
  6. 449callsInsertSourceCode
  7. 449callsReportName
  8. 450callsInsertSourceCode
  9. 450callsReportName
  10. 451callsInsertSourceCode
  11. 451callsReportName
  12. 452callsInsertSourceCode
  13. 453callsInsertSourceCode
  14. 453callsPageName
  15. 454callsInsertSourceCode
  16. 454callsPageName
  17. 455callsInsertSourceCode
  18. 455callsPageName
  19. 456callsInsertSourceCode
  20. 456callsPageName
  21. 457callsInsertSourceCode
  22. 457callsPageName
  23. 458callsInsertSourceCode
  24. 458callsPageName
  25. 459callsInsertSourceCode
  26. 459callsPageName
  27. 460callsInsertSourceCode
  28. 461callsInsertSourceCode
  29. 461callsPageName
  30. 462callsInsertSourceCode
  31. 462callsPageName
  32. 463callsInsertSourceCode
  33. 463callsPageName
  34. 464callsInsertSourceCode
  35. 464callsPageName
  36. 465callsInsertSourceCode
  37. 465callsPageName
  38. 466callsInsertSourceCode
  39. 466callsPageName
  40. 467callsInsertSourceCode
  41. 468callsInsertSourceCode
  42. 469callsInsertSourceCode
  43. 470callsInsertSourceCode
  44. 471callsInsertSourceCode
  45. 472callsInsertSourceCode
  46. 473callsInsertSourceCode
  47. 474callsInsertSourceCode
  48. 475callsInsertSourceCode
  49. 475callsReportName
  50. 476callsInsertSourceCode
  51. 476callsReportName
  52. 477callsInsertSourceCode
  53. 477callsReportName
  54. 478callsInsertSourceCode
  55. 478callsReportName
  56. 479callsInsertSourceCode
  57. 479callsReportName
  58. 480callsInsertSourceCode
  59. 480callsReportName
  60. 481callsInsertSourceCode
  61. 482callsInsertSourceCode
  62. 482callsReportName
  63. 483callsInsertSourceCode
  64. 483callsReportName
  65. 484callsInsertSourceCode
  66. 485callsInsertSourceCode
  67. 486callsInsertSourceCode
  68. 487callsInsertSourceCode
  69. 487callsReportName
  70. 488callsInsertSourceCode
  71. 488callsPageName
  72. 489callsInsertSourceCode
  73. 489callsPageName
  74. 490callsInsertSourceCode
  75. 490callsPageName
  76. 491callsInsertSourceCode
  77. 491callsReportName
  78. 492callsInsertSourceCode
  79. 492callsReportName
  80. 493callsInsertSourceCode
  81. 493callsReportName
  82. 494callsInsertSourceCode
  83. 494callsReportName
  84. 495callsInsertSourceCode
  85. 496callsInsertSourceCode
  86. 496callsReportName
  87. 497callsInsertSourceCode
  88. 497callsReportName
  89. 498callsInsertSourceCode
  90. 498callsPageName
  91. 499callsInsertSourceCode
  92. 499callsPageName
  93. 500callsInsertSourceCode
  94. 500callsPageName
  95. 501callsInsertSourceCode
  96. 501callsReportName
  97. 502callsInsertSourceCode
  98. 503callsInsertSourceCode
  99. 504callsInsertSourceCode
  100. 505callsInsertSourceCode
  101. 506callsInsertSourceCode
  102. 507callsInsertSourceCode
  103. 508callsInsertSourceCode
  104. 509callsInsertSourceCode
  105. 510callsInsertSourceCode
  106. 511callsInsertSourceCode
  107. 512callsInsertSourceCode
  108. 512callsPageName
  109. 513callsInsertSourceCode
  110. 513callsPageName
  111. 514callsInsertSourceCode
  112. 514callsPageName
  113. 515callsInsertSourceCode
  114. 516callsInsertSourceCode
  115. 517callsInsertSourceCode
  116. 518callsInsertSourceCode
  117. 519raisesOnBeforeSourceCodeSetupInsert
  118. 520writesTable 242 Source Code Setup Insert

InitStandardTexts line 524, local

  1. 529callsInsertStandardText
  2. 530callsInsertStandardText
  3. 531callsInsertStandardText
  4. 532callsInsertStandardText

InitReportSelection line 536, local

  1. 549callsCodeunit 1901 Report Selection Mgt. InitReportSelectionSales
  2. 550callsCodeunit 1901 Report Selection Mgt. InitReportSelectionPurch
  3. 551callsCodeunit 1901 Report Selection Mgt. InitReportSelectionBank
  4. 552callsCodeunit 1901 Report Selection Mgt. InitReportSelectionCust
  5. 553callsCodeunit 1901 Report Selection Mgt. InitReportSelectionInvt
  6. 554callsCodeunit 1901 Report Selection Mgt. InitReportSelectionProd
  7. 555callsCodeunit 1901 Report Selection Mgt. InitReportSelectionServ
  8. 556callsCodeunit 1901 Report Selection Mgt. InitReportSelectionWhse
  9. 557callsCodeunit 1901 Report Selection Mgt. InitReportSelectionJob

InitJobWIPMethods line 560, local

  1. 565callsInsertJobWIPMethod
  2. 567callsInsertJobWIPMethod
  3. 569callsInsertJobWIPMethod
  4. 571callsInsertJobWIPMethod
  5. 573callsInsertJobWIPMethod

InitBankExportImportSetup line 578, local

  1. 583callsInsertBankExportImportSetup
  2. 585callsInsertBankExportImportSetup
  3. 587callsInsertBankExportImportSetup
  4. 589callsInsertBankExportImportSetup
  5. 592raisesOnAfterInitBankExportImportSetup

InitDocExchServiceSetup line 616, local

  1. 622callsTable 1275 Doc. Exch. Service Setup SetURLsToDefault
  2. 623writesTable 1275 Doc. Exch. Service Setup Insert

InitElectronicFormats line 627, local

  1. 634callsTable 61 Electronic Document Format InsertElectronicFormat
  2. 638callsTable 61 Electronic Document Format InsertElectronicFormat
  3. 642callsTable 61 Electronic Document Format InsertElectronicFormat
  4. 646raisesOnAfterInitElectronicFormats

InsertSourceCode line 649

  1. 657writesTable 230 Source Code Insert

InsertStandardText line 660, local

  1. 667writesTable 7 Standard Text Insert

PageName line 670

  1. 674callsTable 377 Object Translation TranslateObject

ReportName line 677, local

  1. 681callsTable 377 Object Translation TranslateObject

InsertJobWIPMethod line 684, local

  1. 698writesTable 1006 Job WIP Method Insert

InsertBankExportImportSetup line 701, internal

  1. 713writesTable 1200 Bank Export/Import Setup Insert

InitApplicationAreasForSaaS line 716, local

  1. 725callsCodeunit 9179 Application Area Mgmt. Facade SetHideApplicationAreaError
  2. 726callsCodeunit 9179 Application Area Mgmt. Facade GetExperienceTierCurrentCompany
  3. 727callsCodeunit 457 Environment Information IsSaaS
  4. 730callsCodeunit 1306 Company Information Mgt. IsDemoCompany
  5. 731callsCodeunit 9179 Application Area Mgmt. Facade SaveExperienceTierCurrentCompany
  6. 733callsCodeunit 9179 Application Area Mgmt. Facade SaveExperienceTierCurrentCompany
  7. 738callsCodeunit 9179 Application Area Mgmt. Facade RefreshExperienceTierCurrentCompany

OnAfterCompanyDeleteRemoveReferences line 752, local

  1. 764writesTable 1802 Assisted Company Setup Status DeleteAll
  2. 766writesTable 9178 Application Area Setup DeleteAll
  3. 768writesTable 9650 Custom Report Layout DeleteAll
  4. 770writesTable 9651 Report Layout Selection DeleteAll
  5. 773writesTable 9176 Experience Tier Setup Delete

CompanyInitializeOnAfterLogin line 777, local

  1. 784callsCodeunit 4030 Client Type Management GetCurrentClientType
  2. 790callsInitializeCompany