Codeunit 6112 Customer Data Migration Facade
src/Layers/W1/BaseApp/System/DataMigration/CustomerDataMigrationFacade.Codeunit.al70 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
OnRun line 12, trigger
- 17callsCodeunit 6101 Data Migration Status Facade HasMigratedChartOfAccounts
- 20raisesOnMigrateCustomer
- 21raisesOnMigrateCustomerDimensions
- 24raisesOnMigrateCustomerPostingGroups
- 25raisesOnMigrateCustomerTransactions
CreateCustomerIfNeeded line 52
- 64validatesTable 18 Customer No.
- 65validatesTable 18 Customer Name
- 67writesTable 18 Customer Insert(true)
CreatePostingSetupIfNeeded line 74
- 80validatesTable 92 Customer Posting Group Code
- 81validatesTable 92 Customer Posting Group Description
- 82validatesTable 92 Customer Posting Group Receivables Account
- 83writesTable 92 Customer Posting Group Insert(true)
- 86validatesTable 92 Customer Posting Group Receivables Account
- 87writesTable 92 Customer Posting Group Modify(true)
CreateGeneralJournalBatchIfNeeded line 91
- 93callsCodeunit 1797 Data Migration Facade Helper CreateGeneralJournalBatchIfNeeded
CreateGeneralJournalLine line 96
- 98callsCodeunit 1797 Data Migration Facade Helper CreateGeneralJournalLine
SetGeneralJournalLineDimension line 113
- 120validatesTable 81 Gen. Journal Line Dimension Set ID
- 121callsCodeunit 1797 Data Migration Facade Helper CreateDimensionSetId
- 124writesTable 81 Gen. Journal Line Modify(true)
SetGeneralJournalLineDocumentType line 127
- 132validatesTable 81 Gen. Journal Line Document Type
- 133writesTable 81 Gen. Journal Line Modify(true)
SetGeneralJournalLineSourceCode line 136
- 141validatesTable 81 Gen. Journal Line Source Code
- 142writesTable 81 Gen. Journal Line Modify(true)
SetGeneralJournalLineExternalDocumentNo line 145
- 150validatesTable 81 Gen. Journal Line External Document No.
- 151writesTable 81 Gen. Journal Line Modify(true)
SetGeneralJournalLineSalesPersonCode line 154
- 159validatesTable 81 Gen. Journal Line Salespers./Purch. Code
- 160writesTable 81 Gen. Journal Line Modify(true)
SetGeneralJournalLinePaymentTerms line 163
- 168validatesTable 81 Gen. Journal Line Payment Terms Code
- 169writesTable 81 Gen. Journal Line Modify(true)
ModifyCustomer line 178
- 183writesTable 18 Customer Modify
SetSearchName line 186
- 191validatesTable 18 Customer Search Name
SetAddress line 201
- 206validatesTable 18 Customer Address
- 207validatesTable 18 Customer Address 2
- 208validatesTable 18 Customer Country/Region Code
- 209validatesTable 18 Customer Post Code
- 210validatesTable 18 Customer City
SetPhoneNo line 213
- 218validatesTable 18 Customer Phone No.
SetTelexNo line 221
- 226validatesTable 18 Customer Telex No.
SetCreditLimitLCY line 229
- 234validatesTable 18 Customer Credit Limit (LCY)
SetCurrencyCode line 237
- 242validatesTable 18 Customer Currency Code
- 242callsCodeunit 1797 Data Migration Facade Helper FixIfLcyCode
SetCustomerPriceGroup line 245
- 250validatesTable 18 Customer Customer Price Group
SetGenBusPostingGroup line 253
- 258validatesTable 18 Customer Gen. Bus. Posting Group
SetLanguageCode line 261
- 266validatesTable 18 Customer Language Code
SetShipmentMethodCode line 269
- 274validatesTable 18 Customer Shipment Method Code
SetPaymentTermsCode line 277
- 282validatesTable 18 Customer Payment Terms Code
SetSalesPersonCode line 285
- 290validatesTable 18 Customer Salesperson Code
SetInvoiceDiscCode line 293
- 298validatesTable 18 Customer Invoice Disc. Code
SetBlocked line 301
- 306validatesTable 18 Customer Blocked
SetFaxNo line 309
- 314validatesTable 18 Customer Fax No.
SetVATRegistrationNo line 317
- 322validatesTable 18 Customer VAT Registration No.
SetHomePage line 325
- 330validatesTable 18 Customer Home Page
SetBillToCustomerNo line 333
- 338validatesTable 18 Customer Bill-to Customer No.
SetPaymentMethodCode line 341
- 346validatesTable 18 Customer Payment Method Code
SetContact line 349
- 354validatesTable 18 Customer Contact
SetLastDateModified line 357
- 362validatesTable 18 Customer Last Date Modified
SetLastModifiedDateTime line 365
- 370validatesTable 18 Customer Last Modified Date Time
SetTaxLiable line 373
- 378validatesTable 18 Customer Tax Liable
SetTaxAreaCode line 381
- 386validatesTable 18 Customer Tax Area Code
SetEmail line 389
- 394validatesTable 18 Customer E-Mail
SetName2 line 397
- 402validatesTable 18 Customer Name 2
SetTerritoryCode line 405
- 410validatesTable 18 Customer Territory Code
SetPrintStatement line 413
- 418validatesTable 18 Customer Print Statements
CreateDefaultDimensionAndRequirementsIfNeeded line 421
- 429callsCodeunit 1797 Data Migration Facade Helper GetOrCreateDimension
- 430callsCodeunit 1797 Data Migration Facade Helper GetOrCreateDimensionValue
- 432callsCodeunit 1797 Data Migration Facade Helper CreateOnlyDefaultDimensionIfNeeded
CreateCustomerDiscountGroupIfNeeded line 436
- 444validatesTable 340 Customer Discount Group Code
- 445validatesTable 340 Customer Discount Group Description
- 446writesTable 340 Customer Discount Group Insert(true)
CreateShipmentMethodIfNeeded line 450
- 452callsCodeunit 1797 Data Migration Facade Helper CreateShipmentMethodIfNeeded
CreateSalespersonPurchaserIfNeeded line 455
- 457callsCodeunit 1797 Data Migration Facade Helper CreateSalespersonPurchaserIfNeeded
CreateCustomerPriceGroupIfNeeded line 460
- 462callsCodeunit 1797 Data Migration Facade Helper CreateCustomerPriceGroupIfNeeded
CreatePaymentTermsIfNeeded line 465
- 467callsCodeunit 1797 Data Migration Facade Helper CreatePaymentTermsIfNeeded
CreatePaymentMethodIfNeeded line 470
- 472callsCodeunit 1797 Data Migration Facade Helper CreatePaymentMethodIfNeeded
CreateTerritoryCodeIfNeeded line 475
- 477callsCodeunit 1797 Data Migration Facade Helper CreateTerritoryIfNeeded
CreateTaxAreaIfNeeded line 480
- 482callsCodeunit 1797 Data Migration Facade Helper CreateTaxAreaIfNeeded
DoesPostCodeExist line 485
- 487callsCodeunit 1797 Data Migration Facade Helper DoesPostCodeExist
CreatePostCodeIfNeeded line 490
- 492callsCodeunit 1797 Data Migration Facade Helper CreatePostCodeIfNeeded
CreateCountryIfNeeded line 495
- 497callsCodeunit 1797 Data Migration Facade Helper CreateCountryIfNeeded
SearchCountry line 500
- 503callsCodeunit 1797 Data Migration Facade Helper SearchCountry
SearchLanguage line 506
- 508callsCodeunit 1797 Data Migration Facade Helper SearchLanguage
SetCustomerPostingGroup line 511
- 521validatesTable 18 Customer Customer Posting Group
SetCustomerPostingGroupAccounts line 536
- 543validatesTable 92 Customer Posting Group Receivables Account
- 544validatesTable 92 Customer Posting Group Service Charge Acc.
- 545validatesTable 92 Customer Posting Group Payment Disc. Debit Acc.
- 546validatesTable 92 Customer Posting Group Invoice Rounding Account
- 547validatesTable 92 Customer Posting Group Additional Fee Account
- 548validatesTable 92 Customer Posting Group Interest Account
- 549validatesTable 92 Customer Posting Group Debit Curr. Appln. Rndg. Acc.
- 550validatesTable 92 Customer Posting Group Credit Curr. Appln. Rndg. Acc.
- 551validatesTable 92 Customer Posting Group Debit Rounding Account
- 552validatesTable 92 Customer Posting Group Credit Rounding Account
- 553validatesTable 92 Customer Posting Group Payment Disc. Credit Acc.
- 554validatesTable 92 Customer Posting Group Payment Tolerance Debit Acc.
- 555validatesTable 92 Customer Posting Group Payment Tolerance Credit Acc.
- 556validatesTable 92 Customer Posting Group Add. Fee per Line Account
- 557writesTable 92 Customer Posting Group Modify(true)
SetCustomerPostingGroupServiceChargeAcc line 560
- 567validatesTable 92 Customer Posting Group Service Charge Acc.
- 568writesTable 92 Customer Posting Group Modify(true)
SetCustomerPostingGroupPaymentDiscDebitAcc line 571
- 578validatesTable 92 Customer Posting Group Payment Disc. Debit Acc.
- 579writesTable 92 Customer Posting Group Modify(true)
SetCustomerPostingGroupInvoiceRoundingAccount line 582
- 589validatesTable 92 Customer Posting Group Invoice Rounding Account
- 590writesTable 92 Customer Posting Group Modify(true)
SetCustomerPostingGroupAdditionalFeeAccount line 593
- 600validatesTable 92 Customer Posting Group Additional Fee Account
- 601writesTable 92 Customer Posting Group Modify(true)
SetCustomerPostingGroupInterestAccount line 604
- 611validatesTable 92 Customer Posting Group Interest Account
- 612writesTable 92 Customer Posting Group Modify(true)
SetCustomerPostingGroupDebitCurrApplnRndgAcc line 615
- 622validatesTable 92 Customer Posting Group Debit Curr. Appln. Rndg. Acc.
- 623writesTable 92 Customer Posting Group Modify(true)
SetCustomerPostingGroupCreditCurrApplnRndgAcc line 626
- 633validatesTable 92 Customer Posting Group Credit Curr. Appln. Rndg. Acc.
- 634writesTable 92 Customer Posting Group Modify(true)
SetCustomerPostingGroupDebitRoundingAccount line 637
- 644validatesTable 92 Customer Posting Group Debit Rounding Account
- 645writesTable 92 Customer Posting Group Modify(true)
SetCustomerPostingGroupCreditRoundingAccount line 648
- 655validatesTable 92 Customer Posting Group Credit Rounding Account
- 656writesTable 92 Customer Posting Group Modify(true)
SetCustomerPostingGroupPaymentDiscCreditAcc line 659
- 666validatesTable 92 Customer Posting Group Payment Disc. Credit Acc.
- 667writesTable 92 Customer Posting Group Modify(true)
SetCustomerPostingGroupPaymentToleranceDebitAcc line 670
- 677validatesTable 92 Customer Posting Group Payment Tolerance Debit Acc.
- 678writesTable 92 Customer Posting Group Modify(true)
SetCustomerPostingGroupPaymentToleranceCreditAcc line 681
- 688validatesTable 92 Customer Posting Group Payment Tolerance Credit Acc.
- 689writesTable 92 Customer Posting Group Modify(true)
SetCustomerPostingGroupAddFeePerLineAccount line 692
- 699validatesTable 92 Customer Posting Group Add. Fee per Line Account
- 700writesTable 92 Customer Posting Group Modify(true)
SetCustomerAlternativeContact line 703
- 708callsCodeunit 1797 Data Migration Facade Helper SetAlternativeContact