Codeunit 6110 "GL Acc. Data Migration Facade"
Base Application · System.Integration
Across versions
- BC23present
- BC245 events changed
- BC25-26unchanged
- BC271 procedures added, 1 procedures removed
- BC28-30unchanged
Neighbourhood 8 connected objects and pages
Base Application · System.Integration · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| TableNo | Data Migration Parameters |
Events published
OnMigrateGlAccount(RecordIdToMigrate: RecordID)Δ BC24 (integration)- subscribers: Codeunit 1911 “MigrationQB Account Migrator” OnMigrateGlAccount, Codeunit 4017 “GP Account Migrator” OnMigrateGlAccount, Codeunit 47000 “SL Account Migrator” OnMigrateGlAccount
OnCreateOpeningBalanceTrx(RecordIdToMigrate: RecordID)Δ BC24 (integration)- subscribers: Codeunit 1911 “MigrationQB Account Migrator” OnCreateOpeningBalanceTrx, Codeunit 4017 “GP Account Migrator” OnCreateOpeningBalanceTrx, Codeunit 47000 “SL Account Migrator” OnCreateOpeningBalanceTrx
OnMigratePostingGroups(RecordIdToMigrate: RecordID)Δ BC24 (integration)- subscribers: Codeunit 1911 “MigrationQB Account Migrator” OnMigratePostingGroups, Codeunit 4017 “GP Account Migrator” OnMigratePostingGroups, Codeunit 47000 “SL Account Migrator” OnMigratePostingGroups
OnMigrateAccountTransactions(RecordIdToMigrate: RecordID)Δ BC24 (integration)- subscribers: Codeunit 4017 “GP Account Migrator” OnMigrateAccountTransactions, Codeunit 47000 “SL Account Migrator” OnMigrateAccountTransactions
OnMigrateGlAccountDimensions(RecordIdToMigrate: RecordID)Δ BC24 (integration)
Procedures
ModifyGLAccount(RunTrigger: Boolean)CreateGLAccountIfNeeded(AccountNoToSet: Code[20]; AccountNameToSet: Text[50]; AccountTypeToSet: Option Posting,Heading,Total,"Begin-Total","End-Total"): BooleanCreateGeneralPostingSetupIfNeeded(GeneralPostingGroupCode: Code[10])CreateGenProductPostingGroupIfNeeded(PostingGroupCode: Code[20]; PostingGroupDescription: Text[50])CreateGenBusinessPostingGroupIfNeeded(PostingGroupCode: Code[20]; PostingGroupDescription: Text[50])CreateGeneralJournalLine(GeneralJournalBatchCode: Code[10]; DocumentNo: Code[20]; Description: Text[50]; PostingDate: Date; DueDate: Date; Amount: Decimal; AmountLCY: Decimal; Currency: Code[10]; BalancingAccount: Code[20])CreateGeneralJournalBatchIfNeeded(GeneralJournalBatchCode: Code[10]; NoSeriesCode: Code[20]; PostingNoSeriesCode: Code[20])SetGlobalGLAccount(GLAccountNo: Code[20]): BooleanSetIncomeBalanceType(IncomeBalanceTypeToSet: Option "Income Statement","Balance Sheet")SetTotaling(TotalingToSet: Text[250])SetDebitCreditType(DebitCreditTypeToSet: Option Both,Debit,Credit)SetExchangeRateAdjustmentType(ExchangeRateAdjustmentTypeToSet: Option "No Adjustment","Adjust Amount","Adjust Additional-Currency Amount")SetDirectPosting(DirectPostingToSet: Boolean)SetBlocked(BlockedToSet: Boolean)SetLastModifiedDateTime(LastModifiedDateTimeToSet: DateTime)SetLastDateModified(LastDateModifiedToSet: Date)SetAccountCategory(AccountCategoryToSet: Option " ",Assets,Liabilities,Equity,Income,"Cost of Goods Sold",Expense)SetAccountSubCategory(AccountSubCategoryToSet: Integer)SetGeneralPostingSetupSalesAccount(GeneralPostingSetupCode: Code[20]; SalesAccount: Code[20])SetGeneralPostingSetupSalesLineDiscAccount(GeneralPostingSetupCode: Code[20]; SalesLineDiscAccount: Code[20])SetGeneralPostingSetupSalesInvDiscAccount(GeneralPostingSetupCode: Code[20]; SalesInvDiscAccount: Code[20])SetGeneralPostingSetupSalesPmtDiscDebitAccount(GeneralPostingSetupCode: Code[20]; SalesPmtDiscDebitAccount: Code[20])SetGeneralPostingSetupPurchAccount(GeneralPostingSetupCode: Code[20]; PurchAccount: Code[20])SetGeneralPostingSetupPurchLineDiscAccount(GeneralPostingSetupCode: Code[20]; PurchLineDiscAccount: Code[20])SetGeneralPostingSetupPurchInvDiscAccount(GeneralPostingSetupCode: Code[20]; PurchInvDiscAccount: Code[20])SetGeneralPostingSetupPurchCreditMemoAccount(GeneralPostingSetupCode: Code[20]; PurchCreditMemoAccount: Code[20])SetGeneralPostingSetupCOGSAccount(GeneralPostingSetupCode: Code[20]; CogsAccount: Code[20])SetGeneralPostingSetupInventoryAdjmtAccount(GeneralPostingSetupCode: Code[20]; InventoryAdjmtAccount: Code[20])SetGeneralPostingSetupSalesCreditMemoAccount(GeneralPostingSetupCode: Code[20]; SalesCreditMemoAccount: Code[20])SetGeneralPostingSetupPurchPmtDiscDebitAccount(GeneralPostingSetupCode: Code[20]; PurchPmtDiscDebitAccount: Code[20])SetGeneralPostingSetupPurchPrepaymentsAccount(GeneralPostingSetupCode: Code[20]; PurchPrepaymentsAccount: Code[20])SetGeneralPostingSetupPurchaseVarianceAccount(GeneralPostingSetupCode: Code[20]; PurchaseVarianceAccount: Code[20])CreateDefaultDimensionAndRequirementsIfNeeded(DimensionCode: Text[20]; DimensionDescription: Text[50]; DimensionValueCode: Code[20]; DimensionValueName: Text[50])+ BC27 − BC27SetGeneralJournalLineDimension(var GenJournalLine: Record "Gen. Journal Line"; DimensionCode: Code[20]; DimensionDescription: Text[50]; DimensionValueCode: Code[20]; DimensionValueName: Text[50])
Triggers
OnRun
Relations
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 1797 “Data Migration Facade Helper” (6 calls:
CreateDefaultDimensionAndRequirementsIfNeeded → CreateOnlyDefaultDimensionIfNeeded,CreateDefaultDimensionAndRequirementsIfNeeded → GetOrCreateDimension,CreateDefaultDimensionAndRequirementsIfNeeded → GetOrCreateDimensionValue, …)
Called by
- Codeunit 4017 “GP Account Migrator” (22 calls:
MigrateGLAccountDetailsImp → CreateGLAccountIfNeeded,MigrateGLAccountDetailsImp → ModifyGLAccount,MigrateGLAccountDetailsImp → SetAccountCategory, …) - Codeunit 1911 “MigrationQB Account Migrator” (21 calls:
MigrateAccountDetails → CreateGLAccountIfNeeded,MigrateAccountDetails → ModifyGLAccount,MigrateAccountDetails → SetAccountCategory, …) - Codeunit 47000 “SL Account Migrator” (21 calls:
MigrateAccountDetails → CreateGLAccountIfNeeded,MigrateAccountDetails → ModifyGLAccount,MigrateAccountDetails → SetAccountCategory, …)
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: "GL Acc. Data Migration Facade"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.