Codeunit 1797 "Data Migration Facade Helper"
Base Application · System.Integration
Across versions
- BC23-30present
Neighbourhood 14 connected objects and pages
Base Application · System.Integration · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| SingleInstance | true |
Procedures
CreateShipmentMethodIfNeeded(CodeToSet: Code[10]; DescriptionToSet: Text[50]): Code[10]CreateSalespersonPurchaserIfNeeded(CodeToSet: Code[20]; NameToSet: Text[50]; PhoneNoToSet: Text[30]; EmailToSet: Text[80]): Code[20]CreateCustomerPriceGroupIfNeeded(CodeToSet: Code[10]; DescriptionToSet: Text[50]; PriceIncludesVatToSet: Boolean): Code[10]CreatePaymentTermsIfNeeded(CodeToSet: Code[10]; DescriptionToSet: Text[50]; DueDateCalculationToSet: DateFormula): Code[10]CreateTerritoryIfNeeded(CodeToSet: Code[10]; Name: Text[50]): Code[10]CreateTaxAreaIfNeeded(CodeToSet: Code[20]; Description: Text[50]): Code[20]CreatePaymentMethodIfNeeded(CodeToSet: Code[10]; DescriptionToSet: Text[50]): Code[10]DoesPostCodeExist(CodeToSearch: Code[20]; CityToSearch: Text[30]): BooleanCreatePostCodeIfNeeded(CodeToSet: Code[20]; CityToSet: Text[30]; CountyToSet: Text[30]; CountryRegionCodeToSet: Code[10]): BooleanCreateCountryIfNeeded(CodeToSet: Code[10]; NameToSet: Text[50]; AddressFormatToSet: Option "Post Code+City","City+Post Code","City+County+Post Code","Blank Line+Post Code+City"; ContactAddressFormatToSet: Option First,"After Company Name",Last): Code[10]SearchCountry(CodeToSearch: Code[10]; NameToSearch: Text[50]; EUCountryRegionCodeToSearch: Code[10]; IntrastatCodeToSet: Code[10]; var CodeToGet: Code[10]): BooleanSearchLanguage(AbbreviatedNameToSearch: Code[3]; var CodeToGet: Code[10]): BooleanFixIfLcyCode(CurrencyCode: Code[10]): Code[10]CreateGeneralJournalBatchIfNeeded(GeneralJournalBatchCode: Code[10]; NoSeriesCode: Code[20]; PostingNoSeriesCode: Code[20])CreateGeneralJournalLine(var GenJournalLine: Record "Gen. Journal Line"; GeneralJournalBatchCode: Code[10]; DocumentNo: Code[20]; Description: Text[50]; AccountType: Enum "Gen. Journal Account Type"; AccountNo: Code[20]; PostingDate: Date; DueDate: Date; Amount: Decimal; AmountLCY: Decimal; Currency: Code[10]; BalancingAccount: Code[20])GetOrCreateDimension(DimensionCode: Code[20]; DimensionDescription: Text[50]; var Dimension: Record Dimension)GetOrCreateDimensionValue(DimensionCode: Code[20]; DimensionValueCode: Code[20]; DimensionValueName: Text[50]; var DimensionValue: Record "Dimension Value")CreateOnlyDefaultDimensionIfNeeded(DimensionCode: Code[20]; DimensionValueCode: Code[20]; TableId: Integer; EntityNo: Code[20])CreateDimensionSetId(OldDimensionSetId: Integer; DimensionCode: Code[20]; DimensionDescription: Text[50]; DimensionValueCode: Code[20]; DimensionValueName: Text[50]): IntegerCreateSourceCodeIfNeeded(SourceCodeCode: Code[10]): Code[10]SetAlternativeContact(NameToSet: Text[50]; AddressToSet: Text[50]; Address2ToSet: Text[50]; PostCodeToSet: Code[20]; CityToSet: Text[30]; CountryToSet: Code[10]; EmailToset: Text[80]; PhoneNoToSet: Text[30]; FaxToSet: Text[30]; MobileNoToSet: Text[30]; LinkToTable: Integer; EntityNo: Code[20])
Plus 1 local procedures.
Triggers
OnRun
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 408 “DimensionManagement” (1 call:
CreateDimensionSetId → GetDimensionSetID) - Codeunit 43 “Language” (1 call:
SearchLanguage → GetLanguageCode)
Called by
- Codeunit 6112 “Customer Data Migration Facade” (20 calls:
CreateCountryIfNeeded → CreateCountryIfNeeded,CreateCustomerPriceGroupIfNeeded → CreateCustomerPriceGroupIfNeeded,CreateDefaultDimensionAndRequirementsIfNeeded → CreateOnlyDefaultDimensionIfNeeded, …) - Codeunit 6111 “Vendor Data Migration Facade” (18 calls:
CreateCountryIfNeeded → CreateCountryIfNeeded,CreateDefaultDimensionAndRequirementsIfNeeded → CreateOnlyDefaultDimensionIfNeeded,CreateDefaultDimensionAndRequirementsIfNeeded → GetOrCreateDimension, …) - Codeunit 6113 “Item Data Migration Facade” (7 calls:
CreateCustomerPriceGroupIfNeeded → CreateCustomerPriceGroupIfNeeded,CreateDefaultDimensionAndRequirementsIfNeeded → CreateOnlyDefaultDimensionIfNeeded,CreateDefaultDimensionAndRequirementsIfNeeded → GetOrCreateDimension, …) - Codeunit 6110 “GL Acc. Data Migration Facade” (6 calls:
CreateDefaultDimensionAndRequirementsIfNeeded → CreateOnlyDefaultDimensionIfNeeded,CreateDefaultDimensionAndRequirementsIfNeeded → GetOrCreateDimension,CreateDefaultDimensionAndRequirementsIfNeeded → GetOrCreateDimensionValue, …) - Codeunit 4017 “GP Account Migrator” (4 calls:
CreateGLAccountBeginningBalanceImp → CreateGeneralJournalBatchIfNeeded,CreateGLAccountBeginningBalanceImp → CreateGeneralJournalLine,GenerateGLAccountTransactionsImp → CreateGeneralJournalBatchIfNeeded, …) - Codeunit 47000 “SL Account Migrator” (2 calls:
CreateGLAccountBeginningBalance → CreateGeneralJournalLine,GenerateGLTransactionBatches → CreateGeneralJournalLine) - Codeunit 4018 “GP Customer Migrator” (1 call:
OnMigrateCustomerTransactions → CreateSourceCodeIfNeeded) - Codeunit 4022 “GP Vendor Migrator” (1 call:
MigrateVendorTransactions → CreateSourceCodeIfNeeded) - Codeunit 47007 “SL SO Migrator” (1 call:
MigrateOpenSalesOrderData → CreateShipmentMethodIfNeeded) - Codeunit 47011 “SL PO Migrator” (1 call:
MigrateOpenPurchaseOrderData → CreateShipmentMethodIfNeeded) - Codeunit 47018 “SL Customer Migrator” (1 call:
MigrateCustomerTransactions → CreateSourceCodeIfNeeded) - Codeunit 47021 “SL Vendor Migrator” (1 call:
MigrateVendorTransactions → CreateSourceCodeIfNeeded)
Countries that replace it
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Data Migration Facade Helper"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.