Codeunit 1797 Data Migration Facade Helper

Base Application, System.Integration

src/Layers/W1/BaseApp/System/DataMigration/DataMigrationFacadeHelper.Codeunit.al19 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT

CreateShipmentMethodIfNeeded line 33

  1. 40validatesTable 10 Shipment Method Code
  2. 41validatesTable 10 Shipment Method Description
  3. 42writesTable 10 Shipment Method Insert(true)

CreateSalespersonPurchaserIfNeeded line 46

  1. 54validatesTable 13 Salesperson/Purchaser Code
  2. 55validatesTable 13 Salesperson/Purchaser Name
  3. 56validatesTable 13 Salesperson/Purchaser Phone No.
  4. 57validatesTable 13 Salesperson/Purchaser E-Mail
  5. 58validatesTable 13 Salesperson/Purchaser Search E-Mail
  6. 59writesTable 13 Salesperson/Purchaser Insert(true)

CreateCustomerPriceGroupIfNeeded line 63

  1. 71validatesTable 6 Customer Price Group Code
  2. 72validatesTable 6 Customer Price Group Description
  3. 73validatesTable 6 Customer Price Group Price Includes VAT
  4. 74writesTable 6 Customer Price Group Insert(true)

CreatePaymentTermsIfNeeded line 78

  1. 86validatesTable 3 Payment Terms Code
  2. 87validatesTable 3 Payment Terms Description
  3. 88validatesTable 3 Payment Terms Due Date Calculation
  4. 89writesTable 3 Payment Terms Insert(true)

CreateTerritoryIfNeeded line 93

  1. 101validatesTable 286 Territory Code
  2. 102validatesTable 286 Territory Name
  3. 103writesTable 286 Territory Insert(true)

CreateTaxAreaIfNeeded line 107

  1. 115validatesTable 318 Tax Area Code
  2. 116validatesTable 318 Tax Area Description
  3. 117writesTable 318 Tax Area Insert(true)

CreatePaymentMethodIfNeeded line 121

  1. 129validatesTable 289 Payment Method Code
  2. 130validatesTable 289 Payment Method Description
  3. 131writesTable 289 Payment Method Insert(true)

CreatePostCodeIfNeeded line 142

  1. 152validatesTable 225 Post Code Code
  2. 153validatesTable 225 Post Code City
  3. 154validatesTable 225 Post Code County
  4. 155validatesTable 225 Post Code Country/Region Code
  5. 156writesTable 225 Post Code Insert(true)

CreateCountryIfNeeded line 160

  1. 168validatesTable 9 Country/Region Code
  2. 169validatesTable 9 Country/Region Name
  3. 170validatesTable 9 Country/Region Address Format
  4. 171validatesTable 9 Country/Region Contact Address Format
  5. 172writesTable 9 Country/Region Insert(true)

SearchLanguage line 199

  1. 206callsCodeunit 43 Language GetLanguageCode

CreateGeneralJournalBatchIfNeeded line 224

  1. 229callsCreateGeneralJournalTemplateIfNeeded
  2. 236validatesTable 232 Gen. Journal Batch Journal Template Name
  3. 237callsTable 232 Gen. Journal Batch SetupNewBatch
  4. 238validatesTable 232 Gen. Journal Batch Name
  5. 239validatesTable 232 Gen. Journal Batch Description
  6. 242writesTable 232 Gen. Journal Batch Insert(true)

CreateGeneralJournalTemplateIfNeeded line 246, local

  1. 254validatesTable 80 Gen. Journal Template Name
  2. 255validatesTable 80 Gen. Journal Template Type
  3. 256validatesTable 80 Gen. Journal Template Recurring
  4. 257writesTable 80 Gen. Journal Template Insert(true)

CreateGeneralJournalLine line 262

  1. 269callsCreateGeneralJournalTemplateIfNeeded
  2. 281callsTable 81 Gen. Journal Line SetHideValidation
  3. 282validatesTable 81 Gen. Journal Line Source Code
  4. 283validatesTable 81 Gen. Journal Line Journal Template Name
  5. 284validatesTable 81 Gen. Journal Line Journal Batch Name
  6. 285validatesTable 81 Gen. Journal Line Line No.
  7. 286validatesTable 81 Gen. Journal Line Account Type
  8. 287validatesTable 81 Gen. Journal Line Document No.
  9. 288validatesTable 81 Gen. Journal Line Account No.
  10. 289validatesTable 81 Gen. Journal Line Description
  11. 290validatesTable 81 Gen. Journal Line Document Date
  12. 291validatesTable 81 Gen. Journal Line Posting Date
  13. 292validatesTable 81 Gen. Journal Line Due Date
  14. 293validatesTable 81 Gen. Journal Line Amount
  15. 294validatesTable 81 Gen. Journal Line Amount (LCY)
  16. 295validatesTable 81 Gen. Journal Line Currency Code
  17. 295callsCodeunit 1797 Data Migration Facade Helper FixIfLcyCode
  18. 296validatesTable 81 Gen. Journal Line Bal. Account Type
  19. 297validatesTable 81 Gen. Journal Line Bal. Account No.
  20. 298validatesTable 81 Gen. Journal Line Bal. Gen. Posting Type
  21. 299validatesTable 81 Gen. Journal Line Bal. Gen. Bus. Posting Group
  22. 300validatesTable 81 Gen. Journal Line Bal. Gen. Prod. Posting Group
  23. 301validatesTable 81 Gen. Journal Line Bal. VAT Prod. Posting Group
  24. 302validatesTable 81 Gen. Journal Line Bal. VAT Bus. Posting Group
  25. 303writesTable 81 Gen. Journal Line Insert(true)

GetOrCreateDimension line 306

  1. 312validatesTable 348 Dimension Code
  2. 313validatesTable 348 Dimension Description
  3. 314writesTable 348 Dimension Insert(true)

GetOrCreateDimensionValue line 317

  1. 323validatesTable 349 Dimension Value Dimension Code
  2. 324validatesTable 349 Dimension Value Code
  3. 325validatesTable 349 Dimension Value Name
  4. 326writesTable 349 Dimension Value Insert(true)

CreateOnlyDefaultDimensionIfNeeded line 329

  1. 337validatesTable 352 Default Dimension Dimension Code
  2. 338validatesTable 352 Default Dimension Dimension Value Code
  3. 339validatesTable 352 Default Dimension Table ID
  4. 340validatesTable 352 Default Dimension No.
  5. 341writesTable 352 Default Dimension Insert(true)

CreateDimensionSetId line 344

  1. 355callsGetOrCreateDimension
  2. 356callsGetOrCreateDimensionValue
  3. 363writesTable 36950 Dimension Set Entry Insert(true)
  4. 367validatesTable 36950 Dimension Set Entry Dimension Set ID
  5. 368validatesTable 36950 Dimension Set Entry Dimension Code
  6. 369validatesTable 36950 Dimension Set Entry Dimension Value Code
  7. 370writesTable 36950 Dimension Set Entry Insert(true)
  8. 371callsCodeunit 408 DimensionManagement GetDimensionSetID

CreateSourceCodeIfNeeded line 374

  1. 382validatesTable 230 Source Code Code
  2. 383writesTable 230 Source Code Insert(true)

SetAlternativeContact line 387

  1. 413validatesTable 5050 Contact Name
  2. 414validatesTable 5050 Contact Address
  3. 415validatesTable 5050 Contact Address 2
  4. 416validatesTable 5050 Contact Country/Region Code
  5. 417validatesTable 5050 Contact Post Code
  6. 418validatesTable 5050 Contact City
  7. 419validatesTable 5050 Contact E-Mail
  8. 420validatesTable 5050 Contact Phone No.
  9. 421validatesTable 5050 Contact Fax No.
  10. 422validatesTable 5050 Contact Mobile Phone No.
  11. 423validatesTable 5050 Contact Type
  12. 424validatesTable 5050 Contact Company No.
  13. 426validatesTable 5050 Contact Company Name
  14. 427writesTable 5050 Contact Insert(true)