Codeunit 6111 Vendor Data Migration Facade
src/Layers/W1/BaseApp/System/DataMigration/VendorDataMigrationFacade.Codeunit.al62 procedures and triggers, in source order. Copyright (c) Microsoft Corporation. MIT
OnRun line 12, trigger
- 17callsCodeunit 6101 Data Migration Status Facade HasMigratedChartOfAccounts
- 20raisesOnMigrateVendor
- 21raisesOnMigrateVendorDimensions
- 24raisesOnMigrateVendorPostingGroups
- 25raisesOnMigrateVendorTransactions
CreateVendorIfNeeded line 51
- 62validatesTable 23 Vendor No.
- 63validatesTable 23 Vendor Name
- 65writesTable 23 Vendor Insert(true)
CreatePostingSetupIfNeeded line 72
- 78validatesTable 93 Vendor Posting Group Code
- 79validatesTable 93 Vendor Posting Group Description
- 80validatesTable 93 Vendor Posting Group Payables Account
- 81writesTable 93 Vendor Posting Group Insert(true)
- 84validatesTable 93 Vendor Posting Group Payables Account
- 85writesTable 93 Vendor Posting Group Modify(true)
CreateGeneralJournalBatchIfNeeded line 89
- 91callsCodeunit 1797 Data Migration Facade Helper CreateGeneralJournalBatchIfNeeded
CreateGeneralJournalLine line 94
- 96callsCodeunit 1797 Data Migration Facade Helper CreateGeneralJournalLine
SetGeneralJournalLineDimension line 111
- 118validatesTable 81 Gen. Journal Line Dimension Set ID
- 119callsCodeunit 1797 Data Migration Facade Helper CreateDimensionSetId
- 122writesTable 81 Gen. Journal Line Modify(true)
SetGeneralJournalLineDocumentType line 125
- 130validatesTable 81 Gen. Journal Line Document Type
- 131writesTable 81 Gen. Journal Line Modify(true)
SetGeneralJournalLineBalAccountNo line 134
- 139validatesTable 81 Gen. Journal Line Bal. Account No.
- 140writesTable 81 Gen. Journal Line Modify(true)
SetGeneralJournalLineSourceCode line 143
- 148validatesTable 81 Gen. Journal Line Source Code
- 149writesTable 81 Gen. Journal Line Modify(true)
SetGeneralJournalLineExternalDocumentNo line 152
- 157validatesTable 81 Gen. Journal Line External Document No.
- 158writesTable 81 Gen. Journal Line Modify(true)
SetGeneralJournalLinePaymentTerms line 161
- 166validatesTable 81 Gen. Journal Line Payment Terms Code
- 167writesTable 81 Gen. Journal Line Modify(true)
ModifyVendor line 176
- 181writesTable 23 Vendor Modify
SetSearchName line 184
- 189validatesTable 23 Vendor Search Name
SetAddress line 192
- 197validatesTable 23 Vendor Address
- 198validatesTable 23 Vendor Address 2
- 199validatesTable 23 Vendor Country/Region Code
- 200validatesTable 23 Vendor Post Code
- 201validatesTable 23 Vendor City
SetPhoneNo line 204
- 209validatesTable 23 Vendor Phone No.
SetTelexNo line 212
- 217validatesTable 23 Vendor Telex No.
SetOurAccountNo line 220
- 225validatesTable 23 Vendor Our Account No.
SetCurrencyCode line 228
- 233validatesTable 23 Vendor Currency Code
- 233callsCodeunit 1797 Data Migration Facade Helper FixIfLcyCode
SetLanguageCode line 236
- 241validatesTable 23 Vendor Language Code
SetPaymentTermsCode line 244
- 249validatesTable 23 Vendor Payment Terms Code
SetPaymentMethod line 252
- 257validatesTable 23 Vendor Payment Method Code
SetPurchaserCode line 260
- 265validatesTable 23 Vendor Purchaser Code
SetShipmentMethodCode line 268
- 273validatesTable 23 Vendor Shipment Method Code
SetInvoiceDiscCode line 276
- 281validatesTable 23 Vendor Invoice Disc. Code
SetBlocked line 284
- 289validatesTable 23 Vendor Blocked
SetFaxNo line 292
- 297validatesTable 23 Vendor Fax No.
SetVATRegistrationNo line 300
- 305validatesTable 23 Vendor VAT Registration No.
SetHomePage line 308
- 313validatesTable 23 Vendor Home Page
SetPayToVendorNo line 316
- 321validatesTable 23 Vendor Pay-to Vendor No.
SetContact line 324
- 329validatesTable 23 Vendor Contact
SetLastDateModified line 332
- 337validatesTable 23 Vendor Last Date Modified
SetLastModifiedDateTime line 340
- 345validatesTable 23 Vendor Last Modified Date Time
SetVendorPostingGroup line 348
- 358validatesTable 23 Vendor Vendor Posting Group
SetGenBusPostingGroup line 363
- 373validatesTable 23 Vendor Gen. Bus. Posting Group
SetEmail line 378
- 383validatesTable 23 Vendor E-Mail
SetName2 line 386
- 391validatesTable 23 Vendor Name 2
SetTaxLiable line 394
- 399validatesTable 23 Vendor Tax Liable
SetTaxAreaCode line 402
- 407validatesTable 23 Vendor Tax Area Code
CreateDefaultDimensionAndRequirementsIfNeeded line 417
- 425callsCodeunit 1797 Data Migration Facade Helper GetOrCreateDimension
- 426callsCodeunit 1797 Data Migration Facade Helper GetOrCreateDimensionValue
- 428callsCodeunit 1797 Data Migration Facade Helper CreateOnlyDefaultDimensionIfNeeded
CreateShipmentMethodIfNeeded line 432
- 434callsCodeunit 1797 Data Migration Facade Helper CreateShipmentMethodIfNeeded
CreateSalespersonPurchaserIfNeeded line 437
- 439callsCodeunit 1797 Data Migration Facade Helper CreateSalespersonPurchaserIfNeeded
CreatePaymentTermsIfNeeded line 442
- 444callsCodeunit 1797 Data Migration Facade Helper CreatePaymentTermsIfNeeded
CreatePaymentMethodIfNeeded line 447
- 449callsCodeunit 1797 Data Migration Facade Helper CreatePaymentMethodIfNeeded
CreateVendorInvoiceDiscountIfNeeded line 452
- 460validatesTable 24 Vendor Invoice Disc. Code
- 461validatesTable 24 Vendor Invoice Disc. Currency Code
- 462validatesTable 24 Vendor Invoice Disc. Minimum Amount
- 463validatesTable 24 Vendor Invoice Disc. Discount %
- 464writesTable 24 Vendor Invoice Disc. Insert(true)
CreateTaxAreaIfNeeded line 468
- 470callsCodeunit 1797 Data Migration Facade Helper CreateTaxAreaIfNeeded
DoesPostCodeExist line 473
- 475callsCodeunit 1797 Data Migration Facade Helper DoesPostCodeExist
CreatePostCodeIfNeeded line 478
- 480callsCodeunit 1797 Data Migration Facade Helper CreatePostCodeIfNeeded
CreateCountryIfNeeded line 483
- 485callsCodeunit 1797 Data Migration Facade Helper CreateCountryIfNeeded
SearchCountry line 488
- 490callsCodeunit 1797 Data Migration Facade Helper SearchCountry
SearchLanguage line 494
- 496callsCodeunit 1797 Data Migration Facade Helper SearchLanguage
SetVendorPostingGroupAccounts line 509
- 516validatesTable 93 Vendor Posting Group Payables Account
- 517validatesTable 93 Vendor Posting Group Service Charge Acc.
- 518validatesTable 93 Vendor Posting Group Payment Disc. Debit Acc.
- 519validatesTable 93 Vendor Posting Group Invoice Rounding Account
- 520validatesTable 93 Vendor Posting Group Debit Curr. Appln. Rndg. Acc.
- 521validatesTable 93 Vendor Posting Group Credit Curr. Appln. Rndg. Acc.
- 522validatesTable 93 Vendor Posting Group Debit Rounding Account
- 523validatesTable 93 Vendor Posting Group Credit Rounding Account
- 524validatesTable 93 Vendor Posting Group Payment Disc. Credit Acc.
- 525validatesTable 93 Vendor Posting Group Payment Tolerance Debit Acc.
- 526validatesTable 93 Vendor Posting Group Payment Tolerance Credit Acc.
- 527writesTable 93 Vendor Posting Group Modify(true)
SetVendorPostingGroupServiceChargeAcc line 530
- 537validatesTable 93 Vendor Posting Group Service Charge Acc.
- 538writesTable 93 Vendor Posting Group Modify(true)
SetVendorPostingGroupPaymentDiscDebitAcc line 541
- 548validatesTable 93 Vendor Posting Group Payment Disc. Debit Acc.
- 549writesTable 93 Vendor Posting Group Modify(true)
SetVendorPostingGroupInvoiceRoundingAccount line 552
- 559validatesTable 93 Vendor Posting Group Invoice Rounding Account
- 560writesTable 93 Vendor Posting Group Modify(true)
SetVendorPostingGroupDebitCurrApplnRndgAcc line 563
- 570validatesTable 93 Vendor Posting Group Debit Curr. Appln. Rndg. Acc.
- 571writesTable 93 Vendor Posting Group Modify(true)
SetVendorPostingGroupCreditCurrApplnRndgAcc line 574
- 581validatesTable 93 Vendor Posting Group Credit Curr. Appln. Rndg. Acc.
- 582writesTable 93 Vendor Posting Group Modify(true)
SetVendorPostingGroupDebitRoundingAccount line 585
- 592validatesTable 93 Vendor Posting Group Debit Rounding Account
- 593writesTable 93 Vendor Posting Group Modify(true)
SetVendorPostingGroupCreditRoundingAccount line 596
- 603validatesTable 93 Vendor Posting Group Credit Rounding Account
- 604writesTable 93 Vendor Posting Group Modify(true)
SetVendorPostingGroupPaymentDiscCreditAcc line 607
- 614validatesTable 93 Vendor Posting Group Payment Disc. Credit Acc.
- 615writesTable 93 Vendor Posting Group Modify(true)
SetVendorPostingGroupPaymentToleranceDebitAcc line 618
- 625validatesTable 93 Vendor Posting Group Payment Tolerance Debit Acc.
- 626writesTable 93 Vendor Posting Group Modify(true)
SetVendorPostingGroupPaymentToleranceCreditAcc line 629
- 636validatesTable 93 Vendor Posting Group Payment Tolerance Credit Acc.
- 637writesTable 93 Vendor Posting Group Modify(true)
SetVendorAlternativeContact line 640
- 645callsCodeunit 1797 Data Migration Facade Helper SetAlternativeContact