---
title: "Codeunit 6112 Customer Data Migration Facade, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/points/
object: https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 6112 Customer Data Migration Facade, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/points/

70 procedures and triggers with a step in src/Layers/W1/BaseApp/System/DataMigration/CustomerDataMigrationFacade.Codeunit.al, in source order, read from the text, not from a run.

## OnRun

[Line 12](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L12), trigger.

- [17](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L17) calls [Codeunit 6101 Data Migration Status Facade](https://jonas-paprotka.de/ref/codeunit/6101-data-migration-status-facade/) `HasMigratedChartOfAccounts`
- [20](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L20) raises `OnMigrateCustomer`
- [21](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L21) raises `OnMigrateCustomerDimensions`
- [24](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L24) raises `OnMigrateCustomerPostingGroups`
- [25](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L25) raises `OnMigrateCustomerTransactions`

## CreateCustomerIfNeeded

[Line 52](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L52).

- [64](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L64) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `No.`
- [65](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L65) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Name`
- [67](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L67) writes [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) Insert(true)

## CreatePostingSetupIfNeeded

[Line 74](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L74).

- [80](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L80) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Code`
- [81](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L81) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Description`
- [82](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L82) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Receivables Account`
- [83](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L83) writes [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) Insert(true)
- [86](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L86) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Receivables Account`
- [87](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L87) writes [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) Modify(true)

## CreateGeneralJournalBatchIfNeeded

[Line 91](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L91).

- [93](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L93) calls [Codeunit 1797 Data Migration Facade Helper](https://jonas-paprotka.de/ref/codeunit/1797-data-migration-facade-helper/) `CreateGeneralJournalBatchIfNeeded`

## CreateGeneralJournalLine

[Line 96](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L96).

- [98](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L98) calls [Codeunit 1797 Data Migration Facade Helper](https://jonas-paprotka.de/ref/codeunit/1797-data-migration-facade-helper/) `CreateGeneralJournalLine`

## SetGeneralJournalLineDimension

[Line 113](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L113).

- [120](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L120) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Dimension Set ID`
- [121](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L121) calls [Codeunit 1797 Data Migration Facade Helper](https://jonas-paprotka.de/ref/codeunit/1797-data-migration-facade-helper/) `CreateDimensionSetId`
- [124](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L124) writes [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) Modify(true)

## SetGeneralJournalLineDocumentType

[Line 127](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L127).

- [132](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L132) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Document Type`
- [133](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L133) writes [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) Modify(true)

## SetGeneralJournalLineSourceCode

[Line 136](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L136).

- [141](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L141) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Source Code`
- [142](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L142) writes [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) Modify(true)

## SetGeneralJournalLineExternalDocumentNo

[Line 145](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L145).

- [150](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L150) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `External Document No.`
- [151](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L151) writes [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) Modify(true)

## SetGeneralJournalLineSalesPersonCode

[Line 154](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L154).

- [159](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L159) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Salespers./Purch. Code`
- [160](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L160) writes [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) Modify(true)

## SetGeneralJournalLinePaymentTerms

[Line 163](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L163).

- [168](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L168) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Payment Terms Code`
- [169](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L169) writes [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) Modify(true)

## ModifyCustomer

[Line 178](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L178).

- [183](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L183) writes [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) Modify

## SetSearchName

[Line 186](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L186).

- [191](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L191) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Search Name`

## SetAddress

[Line 201](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L201).

- [206](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L206) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Address`
- [207](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L207) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Address 2`
- [208](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L208) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Country/Region Code`
- [209](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L209) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Post Code`
- [210](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L210) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `City`

## SetPhoneNo

[Line 213](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L213).

- [218](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L218) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Phone No.`

## SetTelexNo

[Line 221](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L221).

- [226](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L226) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Telex No.`

## SetCreditLimitLCY

[Line 229](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L229).

- [234](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L234) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Credit Limit (LCY)`

## SetCurrencyCode

[Line 237](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L237).

- [242](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L242) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Currency Code`
- [242](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L242) calls [Codeunit 1797 Data Migration Facade Helper](https://jonas-paprotka.de/ref/codeunit/1797-data-migration-facade-helper/) `FixIfLcyCode`

## SetCustomerPriceGroup

[Line 245](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L245).

- [250](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L250) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Customer Price Group`

## SetGenBusPostingGroup

[Line 253](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L253).

- [258](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L258) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Gen. Bus. Posting Group`

## SetLanguageCode

[Line 261](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L261).

- [266](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L266) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Language Code`

## SetShipmentMethodCode

[Line 269](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L269).

- [274](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L274) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Shipment Method Code`

## SetPaymentTermsCode

[Line 277](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L277).

- [282](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L282) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Payment Terms Code`

## SetSalesPersonCode

[Line 285](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L285).

- [290](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L290) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Salesperson Code`

## SetInvoiceDiscCode

[Line 293](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L293).

- [298](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L298) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Invoice Disc. Code`

## SetBlocked

[Line 301](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L301).

- [306](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L306) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Blocked`

## SetFaxNo

[Line 309](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L309).

- [314](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L314) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Fax No.`

## SetVATRegistrationNo

[Line 317](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L317).

- [322](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L322) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `VAT Registration No.`

## SetHomePage

[Line 325](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L325).

- [330](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L330) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Home Page`

## SetBillToCustomerNo

[Line 333](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L333).

- [338](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L338) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Bill-to Customer No.`

## SetPaymentMethodCode

[Line 341](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L341).

- [346](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L346) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Payment Method Code`

## SetContact

[Line 349](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L349).

- [354](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L354) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Contact`

## SetLastDateModified

[Line 357](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L357).

- [362](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L362) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Last Date Modified`

## SetLastModifiedDateTime

[Line 365](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L365).

- [370](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L370) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Last Modified Date Time`

## SetTaxLiable

[Line 373](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L373).

- [378](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L378) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Tax Liable`

## SetTaxAreaCode

[Line 381](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L381).

- [386](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L386) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Tax Area Code`

## SetEmail

[Line 389](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L389).

- [394](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L394) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `E-Mail`

## SetName2

[Line 397](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L397).

- [402](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L402) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Name 2`

## SetTerritoryCode

[Line 405](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L405).

- [410](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L410) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Territory Code`

## SetPrintStatement

[Line 413](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L413).

- [418](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L418) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Print Statements`

## CreateDefaultDimensionAndRequirementsIfNeeded

[Line 421](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L421).

- [429](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L429) calls [Codeunit 1797 Data Migration Facade Helper](https://jonas-paprotka.de/ref/codeunit/1797-data-migration-facade-helper/) `GetOrCreateDimension`
- [430](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L430) calls [Codeunit 1797 Data Migration Facade Helper](https://jonas-paprotka.de/ref/codeunit/1797-data-migration-facade-helper/) `GetOrCreateDimensionValue`
- [432](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L432) calls [Codeunit 1797 Data Migration Facade Helper](https://jonas-paprotka.de/ref/codeunit/1797-data-migration-facade-helper/) `CreateOnlyDefaultDimensionIfNeeded`

## CreateCustomerDiscountGroupIfNeeded

[Line 436](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L436).

- [444](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L444) validates [Table 340 Customer Discount Group](https://jonas-paprotka.de/ref/table/340-customer-discount-group/) `Code`
- [445](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L445) validates [Table 340 Customer Discount Group](https://jonas-paprotka.de/ref/table/340-customer-discount-group/) `Description`
- [446](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L446) writes [Table 340 Customer Discount Group](https://jonas-paprotka.de/ref/table/340-customer-discount-group/) Insert(true)

## CreateShipmentMethodIfNeeded

[Line 450](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L450).

- [452](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L452) calls [Codeunit 1797 Data Migration Facade Helper](https://jonas-paprotka.de/ref/codeunit/1797-data-migration-facade-helper/) `CreateShipmentMethodIfNeeded`

## CreateSalespersonPurchaserIfNeeded

[Line 455](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L455).

- [457](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L457) calls [Codeunit 1797 Data Migration Facade Helper](https://jonas-paprotka.de/ref/codeunit/1797-data-migration-facade-helper/) `CreateSalespersonPurchaserIfNeeded`

## CreateCustomerPriceGroupIfNeeded

[Line 460](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L460).

- [462](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L462) calls [Codeunit 1797 Data Migration Facade Helper](https://jonas-paprotka.de/ref/codeunit/1797-data-migration-facade-helper/) `CreateCustomerPriceGroupIfNeeded`

## CreatePaymentTermsIfNeeded

[Line 465](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L465).

- [467](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L467) calls [Codeunit 1797 Data Migration Facade Helper](https://jonas-paprotka.de/ref/codeunit/1797-data-migration-facade-helper/) `CreatePaymentTermsIfNeeded`

## CreatePaymentMethodIfNeeded

[Line 470](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L470).

- [472](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L472) calls [Codeunit 1797 Data Migration Facade Helper](https://jonas-paprotka.de/ref/codeunit/1797-data-migration-facade-helper/) `CreatePaymentMethodIfNeeded`

## CreateTerritoryCodeIfNeeded

[Line 475](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L475).

- [477](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L477) calls [Codeunit 1797 Data Migration Facade Helper](https://jonas-paprotka.de/ref/codeunit/1797-data-migration-facade-helper/) `CreateTerritoryIfNeeded`

## CreateTaxAreaIfNeeded

[Line 480](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L480).

- [482](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L482) calls [Codeunit 1797 Data Migration Facade Helper](https://jonas-paprotka.de/ref/codeunit/1797-data-migration-facade-helper/) `CreateTaxAreaIfNeeded`

## DoesPostCodeExist

[Line 485](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L485).

- [487](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L487) calls [Codeunit 1797 Data Migration Facade Helper](https://jonas-paprotka.de/ref/codeunit/1797-data-migration-facade-helper/) `DoesPostCodeExist`

## CreatePostCodeIfNeeded

[Line 490](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L490).

- [492](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L492) calls [Codeunit 1797 Data Migration Facade Helper](https://jonas-paprotka.de/ref/codeunit/1797-data-migration-facade-helper/) `CreatePostCodeIfNeeded`

## CreateCountryIfNeeded

[Line 495](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L495).

- [497](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L497) calls [Codeunit 1797 Data Migration Facade Helper](https://jonas-paprotka.de/ref/codeunit/1797-data-migration-facade-helper/) `CreateCountryIfNeeded`

## SearchCountry

[Line 500](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L500).

- [503](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L503) calls [Codeunit 1797 Data Migration Facade Helper](https://jonas-paprotka.de/ref/codeunit/1797-data-migration-facade-helper/) `SearchCountry`

## SearchLanguage

[Line 506](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L506).

- [508](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L508) calls [Codeunit 1797 Data Migration Facade Helper](https://jonas-paprotka.de/ref/codeunit/1797-data-migration-facade-helper/) `SearchLanguage`

## SetCustomerPostingGroup

[Line 511](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L511).

- [521](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L521) validates [Table 18 Customer](https://jonas-paprotka.de/ref/table/18-customer/) `Customer Posting Group`

## SetCustomerPostingGroupAccounts

[Line 536](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L536).

- [543](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L543) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Receivables Account`
- [544](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L544) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Service Charge Acc.`
- [545](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L545) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Payment Disc. Debit Acc.`
- [546](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L546) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Invoice Rounding Account`
- [547](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L547) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Additional Fee Account`
- [548](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L548) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Interest Account`
- [549](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L549) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Debit Curr. Appln. Rndg. Acc.`
- [550](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L550) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Credit Curr. Appln. Rndg. Acc.`
- [551](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L551) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Debit Rounding Account`
- [552](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L552) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Credit Rounding Account`
- [553](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L553) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Payment Disc. Credit Acc.`
- [554](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L554) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Payment Tolerance Debit Acc.`
- [555](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L555) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Payment Tolerance Credit Acc.`
- [556](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L556) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Add. Fee per Line Account`
- [557](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L557) writes [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) Modify(true)

## SetCustomerPostingGroupServiceChargeAcc

[Line 560](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L560).

- [567](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L567) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Service Charge Acc.`
- [568](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L568) writes [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) Modify(true)

## SetCustomerPostingGroupPaymentDiscDebitAcc

[Line 571](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L571).

- [578](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L578) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Payment Disc. Debit Acc.`
- [579](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L579) writes [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) Modify(true)

## SetCustomerPostingGroupInvoiceRoundingAccount

[Line 582](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L582).

- [589](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L589) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Invoice Rounding Account`
- [590](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L590) writes [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) Modify(true)

## SetCustomerPostingGroupAdditionalFeeAccount

[Line 593](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L593).

- [600](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L600) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Additional Fee Account`
- [601](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L601) writes [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) Modify(true)

## SetCustomerPostingGroupInterestAccount

[Line 604](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L604).

- [611](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L611) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Interest Account`
- [612](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L612) writes [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) Modify(true)

## SetCustomerPostingGroupDebitCurrApplnRndgAcc

[Line 615](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L615).

- [622](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L622) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Debit Curr. Appln. Rndg. Acc.`
- [623](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L623) writes [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) Modify(true)

## SetCustomerPostingGroupCreditCurrApplnRndgAcc

[Line 626](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L626).

- [633](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L633) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Credit Curr. Appln. Rndg. Acc.`
- [634](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L634) writes [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) Modify(true)

## SetCustomerPostingGroupDebitRoundingAccount

[Line 637](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L637).

- [644](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L644) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Debit Rounding Account`
- [645](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L645) writes [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) Modify(true)

## SetCustomerPostingGroupCreditRoundingAccount

[Line 648](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L648).

- [655](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L655) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Credit Rounding Account`
- [656](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L656) writes [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) Modify(true)

## SetCustomerPostingGroupPaymentDiscCreditAcc

[Line 659](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L659).

- [666](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L666) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Payment Disc. Credit Acc.`
- [667](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L667) writes [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) Modify(true)

## SetCustomerPostingGroupPaymentToleranceDebitAcc

[Line 670](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L670).

- [677](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L677) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Payment Tolerance Debit Acc.`
- [678](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L678) writes [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) Modify(true)

## SetCustomerPostingGroupPaymentToleranceCreditAcc

[Line 681](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L681).

- [688](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L688) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Payment Tolerance Credit Acc.`
- [689](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L689) writes [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) Modify(true)

## SetCustomerPostingGroupAddFeePerLineAccount

[Line 692](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L692).

- [699](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L699) validates [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) `Add. Fee per Line Account`
- [700](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L700) writes [Table 92 Customer Posting Group](https://jonas-paprotka.de/ref/table/92-customer-posting-group/) Modify(true)

## SetCustomerAlternativeContact

[Line 703](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L703).

- [708](https://jonas-paprotka.de/ref/codeunit/6112-customer-data-migration-facade/source/#L708) calls [Codeunit 1797 Data Migration Facade Helper](https://jonas-paprotka.de/ref/codeunit/1797-data-migration-facade-helper/) `SetAlternativeContact`

## Source

AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
