---
title: "Codeunit 6110 GL Acc. Data Migration Facade, extension points 29"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/points/
object: https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/
app: "Base Application"
major: 29
source: https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-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 6110 GL Acc. Data Migration Facade, extension points 29

JOP-AL, https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/points/

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

## OnRun

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

- [16](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L16) raises `OnMigrateGlAccount`
- [17](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L17) raises `OnMigrateGlAccountDimensions`
- [18](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L18) raises `OnCreateOpeningBalanceTrx`
- [19](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L19) raises `OnMigratePostingGroups`
- [20](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L20) raises `OnMigrateAccountTransactions`

## ModifyGLAccount

[Line 53](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L53).

- [58](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L58) writes [Table 15 G/L Account](https://jonas-paprotka.de/ref/table/15-g-l-account/) Modify

## CreateGLAccountIfNeeded

[Line 61](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L61).

- [73](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L73) validates [Table 15 G/L Account](https://jonas-paprotka.de/ref/table/15-g-l-account/) `No.`
- [74](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L74) validates [Table 15 G/L Account](https://jonas-paprotka.de/ref/table/15-g-l-account/) `Name`
- [75](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L75) validates [Table 15 G/L Account](https://jonas-paprotka.de/ref/table/15-g-l-account/) `Account Type`
- [77](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L77) writes [Table 15 G/L Account](https://jonas-paprotka.de/ref/table/15-g-l-account/) Insert(true)

## CreateGeneralPostingSetupIfNeeded

[Line 84](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L84).

- [90](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L90) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `Gen. Bus. Posting Group`
- [91](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L91) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `Gen. Prod. Posting Group`
- [92](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L92) writes [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) Insert(true)
- [98](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L98) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `Gen. Bus. Posting Group`
- [99](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L99) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `Gen. Prod. Posting Group`
- [100](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L100) writes [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) Insert(true)

## CreateGenProductPostingGroupIfNeeded

[Line 104](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L104).

- [112](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L112) validates [Table 251 Gen. Product Posting Group](https://jonas-paprotka.de/ref/table/251-gen-product-posting-group/) `Code`
- [113](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L113) validates [Table 251 Gen. Product Posting Group](https://jonas-paprotka.de/ref/table/251-gen-product-posting-group/) `Description`
- [114](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L114) validates [Table 251 Gen. Product Posting Group](https://jonas-paprotka.de/ref/table/251-gen-product-posting-group/) `Auto Insert Default`
- [115](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L115) writes [Table 251 Gen. Product Posting Group](https://jonas-paprotka.de/ref/table/251-gen-product-posting-group/) Insert(true)

## CreateGenBusinessPostingGroupIfNeeded

[Line 118](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L118).

- [126](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L126) validates [Table 250 Gen. Business Posting Group](https://jonas-paprotka.de/ref/table/250-gen-business-posting-group/) `Code`
- [127](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L127) validates [Table 250 Gen. Business Posting Group](https://jonas-paprotka.de/ref/table/250-gen-business-posting-group/) `Description`
- [128](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L128) validates [Table 250 Gen. Business Posting Group](https://jonas-paprotka.de/ref/table/250-gen-business-posting-group/) `Auto Insert Default`
- [129](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L129) writes [Table 250 Gen. Business Posting Group](https://jonas-paprotka.de/ref/table/250-gen-business-posting-group/) Insert(true)

## CreateGeneralJournalLine

[Line 132](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L132).

- [134](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L134) calls [Codeunit 1797 Data Migration Facade Helper](https://jonas-paprotka.de/ref/codeunit/1797-data-migration-facade-helper/) `CreateGeneralJournalLine`

## CreateGeneralJournalBatchIfNeeded

[Line 149](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L149).

- [151](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L151) calls [Codeunit 1797 Data Migration Facade Helper](https://jonas-paprotka.de/ref/codeunit/1797-data-migration-facade-helper/) `CreateGeneralJournalBatchIfNeeded`

## SetIncomeBalanceType

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

- [168](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L168) validates [Table 15 G/L Account](https://jonas-paprotka.de/ref/table/15-g-l-account/) `Income/Balance`

## SetTotaling

[Line 171](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L171).

- [176](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L176) validates [Table 15 G/L Account](https://jonas-paprotka.de/ref/table/15-g-l-account/) `Totaling`

## SetDebitCreditType

[Line 179](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L179).

- [184](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L184) validates [Table 15 G/L Account](https://jonas-paprotka.de/ref/table/15-g-l-account/) `Debit/Credit`

## SetExchangeRateAdjustmentType

[Line 187](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L187).

- [192](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L192) validates [Table 15 G/L Account](https://jonas-paprotka.de/ref/table/15-g-l-account/) `Exchange Rate Adjustment`

## SetDirectPosting

[Line 195](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L195).

- [200](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L200) validates [Table 15 G/L Account](https://jonas-paprotka.de/ref/table/15-g-l-account/) `Direct Posting`

## SetBlocked

[Line 203](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L203).

- [208](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L208) validates [Table 15 G/L Account](https://jonas-paprotka.de/ref/table/15-g-l-account/) `Blocked`

## SetLastModifiedDateTime

[Line 211](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L211).

- [216](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L216) validates [Table 15 G/L Account](https://jonas-paprotka.de/ref/table/15-g-l-account/) `Last Modified Date Time`

## SetLastDateModified

[Line 219](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L219).

- [224](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L224) validates [Table 15 G/L Account](https://jonas-paprotka.de/ref/table/15-g-l-account/) `Last Date Modified`

## SetAccountCategory

[Line 227](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L227).

- [232](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L232) validates [Table 15 G/L Account](https://jonas-paprotka.de/ref/table/15-g-l-account/) `Account Category`

## SetAccountSubCategory

[Line 235](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L235).

- [240](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L240) validates [Table 15 G/L Account](https://jonas-paprotka.de/ref/table/15-g-l-account/) `Account Subcategory Entry No.`

## SetGeneralPostingSetupSalesAccount

[Line 243](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L243).

- [250](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L250) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `Sales Account`
- [251](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L251) writes [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) Modify(true)
- [257](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L257) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `Sales Account`
- [258](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L258) writes [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) Modify(true)

## SetGeneralPostingSetupSalesLineDiscAccount

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

- [268](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L268) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `Sales Line Disc. Account`
- [269](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L269) writes [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) Modify(true)
- [275](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L275) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `Sales Line Disc. Account`
- [276](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L276) writes [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) Modify(true)

## SetGeneralPostingSetupSalesInvDiscAccount

[Line 279](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L279).

- [286](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L286) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `Sales Inv. Disc. Account`
- [287](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L287) writes [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) Modify(true)
- [293](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L293) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `Sales Inv. Disc. Account`
- [294](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L294) writes [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) Modify(true)

## SetGeneralPostingSetupSalesPmtDiscDebitAccount

[Line 297](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L297).

- [304](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L304) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `Sales Pmt. Disc. Debit Acc.`
- [305](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L305) writes [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) Modify(true)
- [311](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L311) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `Sales Pmt. Disc. Debit Acc.`
- [312](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L312) writes [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) Modify(true)

## SetGeneralPostingSetupPurchAccount

[Line 315](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L315).

- [322](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L322) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `Purch. Account`
- [323](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L323) writes [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) Modify(true)
- [329](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L329) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `Purch. Account`
- [330](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L330) writes [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) Modify(true)

## SetGeneralPostingSetupPurchLineDiscAccount

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

- [340](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L340) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `Purch. Line Disc. Account`
- [341](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L341) writes [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) Modify(true)
- [347](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L347) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `Purch. Line Disc. Account`
- [348](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L348) writes [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) Modify(true)

## SetGeneralPostingSetupPurchInvDiscAccount

[Line 351](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L351).

- [358](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L358) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `Purch. Inv. Disc. Account`
- [359](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L359) writes [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) Modify(true)
- [365](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L365) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `Purch. Inv. Disc. Account`
- [366](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L366) writes [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) Modify(true)

## SetGeneralPostingSetupPurchCreditMemoAccount

[Line 369](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L369).

- [376](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L376) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `Purch. Credit Memo Account`
- [377](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L377) writes [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) Modify(true)
- [383](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L383) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `Purch. Credit Memo Account`
- [384](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L384) writes [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) Modify(true)

## SetGeneralPostingSetupCOGSAccount

[Line 387](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L387).

- [394](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L394) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `COGS Account`
- [395](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L395) writes [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) Modify(true)
- [401](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L401) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `COGS Account`
- [402](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L402) writes [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) Modify(true)

## SetGeneralPostingSetupInventoryAdjmtAccount

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

- [412](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L412) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `Inventory Adjmt. Account`
- [413](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L413) writes [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) Modify(true)
- [419](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L419) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `Inventory Adjmt. Account`
- [420](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L420) writes [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) Modify(true)

## SetGeneralPostingSetupSalesCreditMemoAccount

[Line 423](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L423).

- [430](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L430) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `Sales Credit Memo Account`
- [431](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L431) writes [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) Modify(true)
- [437](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L437) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `Sales Credit Memo Account`
- [438](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L438) writes [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) Modify(true)

## SetGeneralPostingSetupPurchPmtDiscDebitAccount

[Line 441](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L441).

- [448](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L448) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `Purch. Pmt. Disc. Debit Acc.`
- [449](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L449) writes [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) Modify(true)
- [455](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L455) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `Purch. Pmt. Disc. Debit Acc.`
- [456](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L456) writes [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) Modify(true)

## SetGeneralPostingSetupPurchPrepaymentsAccount

[Line 459](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L459).

- [466](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L466) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `Purch. Prepayments Account`
- [467](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L467) writes [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) Modify(true)
- [473](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L473) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `Purch. Prepayments Account`
- [474](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L474) writes [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) Modify(true)

## SetGeneralPostingSetupPurchaseVarianceAccount

[Line 477](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L477).

- [484](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L484) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `Purchase Variance Account`
- [485](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L485) writes [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) Modify(true)
- [491](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L491) validates [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) `Purchase Variance Account`
- [492](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L492) writes [Table 252 General Posting Setup](https://jonas-paprotka.de/ref/table/252-general-posting-setup/) Modify(true)

## CreateDefaultDimensionAndRequirementsIfNeeded

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

- [508](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L508) calls [Codeunit 1797 Data Migration Facade Helper](https://jonas-paprotka.de/ref/codeunit/1797-data-migration-facade-helper/) `GetOrCreateDimension`
- [509](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L509) calls [Codeunit 1797 Data Migration Facade Helper](https://jonas-paprotka.de/ref/codeunit/1797-data-migration-facade-helper/) `GetOrCreateDimensionValue`
- [511](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L511) calls [Codeunit 1797 Data Migration Facade Helper](https://jonas-paprotka.de/ref/codeunit/1797-data-migration-facade-helper/) `CreateOnlyDefaultDimensionIfNeeded`

## SetGeneralJournalLineDimension

[Line 515](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L515).

- [519](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L519) validates [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) `Dimension Set ID`
- [520](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L520) calls [Codeunit 1797 Data Migration Facade Helper](https://jonas-paprotka.de/ref/codeunit/1797-data-migration-facade-helper/) `CreateDimensionSetId`
- [523](https://jonas-paprotka.de/ref/codeunit/6110-gl-acc-data-migration-facade/source/#L523) writes [Table 81 Gen. Journal Line](https://jonas-paprotka.de/ref/table/81-gen-journal-line/) Modify(true)

## Source

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

JOP-AL, 2026-11-20.
