Codeunit 1798 "Data Migration Mgt."
Base Application · System.Integration
Across versions
- BC23present
- BC241 events changed
- BC25-26unchanged
- BC271 events added
- BC28-30unchanged
Neighbourhood 19 connected objects and pages
Base Application · System.Integration · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| TableNo | Job Queue Entry |
Events published
OnBeforeMigrationStarted(var DataMigrationStatus: Record "Data Migration Status"; Retry: Boolean)Δ BC24 (integration)- subscribers: Codeunit 1798 “Data Migration Mgt.” OnBeforeMigrationStartedSubscriber, Codeunit 40032 “Migration Validation” BeforeMigrationStarted
OnCreatePostMigrationData(var DataMigrationStatus: Record "Data Migration Status"; var DataCreationFailed: Boolean)(integration)- subscribers: Codeunit 4035 “Wizard Integration” OnCreatePostMigrationDataSubscriber, Codeunit 47005 “SL Wizard Integration” OnCreatePostMigrationDataSubscriber
OnValidateMigration(var DataMigrationStatus: Record "Data Migration Status"; var DataCreationFailed: Boolean)+ BC27 (integration)- subscribers: Codeunit 4016 “Hybrid GP Management” StartMigrationValidation
OnAfterMigrationFinished(var DataMigrationStatus: Record "Data Migration Status"; WasAborted: Boolean; StartTime: DateTime; Retry: Boolean)(integration)- subscribers: Codeunit 1798 “Data Migration Mgt.” OnAfterMigrationFinishedSubscriber, Codeunit 1830 “MigrateQBO Wizard Integration” OnAfterMigrationFinishedSubscriber, Codeunit 1914 “MigrationQB Wizard Integration” OnAfterMigrationFinishedSubscriber, Codeunit 4035 “Wizard Integration” OnAfterMigrationFinishedSubscriber, Codeunit 47005 “SL Wizard Integration” OnAfterMigrationFinishedSubscriber
OnBeforeStartMigration(var StartNewSession: Boolean; var CheckExistingData: Boolean)(integration)- subscribers: Codeunit 4016 “Hybrid GP Management” DisableNewSessionForGPCloudMigration, Codeunit 46862 “BC14 Migration Orchestrator” DisableNewSessionForBC14CloudMigration, Codeunit 47013 “SL Hybrid Management” DisableNewSessionForSLCloudMigration
Event subscriptions
- OnRequestAbortSubscriber subscribes to Page “Data Migration Overview” OnRequestAbort
- OnBeforeMigrationStartedSubscriber subscribes to Codeunit “Data Migration Mgt.” OnBeforeMigrationStarted
- OnAfterMigrationFinishedSubscriber subscribes to Codeunit “Data Migration Mgt.” OnAfterMigrationFinished
- OnInitializingNotificationWithDefaultState subscribes to Page “My Notifications” OnInitializingNotificationWithDefaultState
Procedures
RunStagingTableMigrationCodeunit(CodeunitToRun: Integer; StagingTableEntityVariant: Variant): BooleanSetStartTime(Value: DateTime)SetAbortStatus(var DataMigrationStatus: Record "Data Migration Status")StartMigration(MigrationType: Text[250]; Retry: Boolean)CheckMigrationInProgress(Retry: Boolean)GetMigrationStatus(): IntegerStartDataMigrationWizardFromNotification(Notification: Notification)ShowDataMigrationRelatedGlobalNotifications()GetGlobalNotificationId(): GuidGetCustomerContactNotificationId(): GuidGetVendorContactNotificationId(): GuidGetItemListEmptyNotificationId(): Guid(internal)GetCustomerListEmptyNotificationId(): Guid(internal)GetVendorListEmptyNotificationId(): Guid(internal)ShowDataMigrationOverviewFromNotification(Notification: Notification)IsMigrationInProgress(): BooleanShowMoreInfoPage(Notification: Notification)CheckForEntitiesToBePosted(): BooleanDestTableHasAnyTransactions(var DataMigrationStatus: Record "Data Migration Status"; var JournalBatchName: Code[10]): BooleanShowHelpTopicPage(Notification: Notification)GetDataMigrationHelpTopicURL(): TextDisableDataMigrationRelatedGlobalNotifications(Notification: Notification)InsertDefaultCustomerContactNotification(Enabled: Boolean)InsertDefaultVendorContactNotification(Enabled: Boolean)InsertDefaultCustomerListEmptyNotification(Enabled: Boolean)InsertDefaultVendorListEmptyNotification(Enabled: Boolean)InsertDefaultItemListEmptyNotification(Enabled: Boolean)UpdateMigrationStatus(var DataMigrationStatus: Record "Data Migration Status")CheckIfMigrationIsCompleted(CurrentDataMigrationStatus: Record "Data Migration Status")
Plus 9 local procedures.
Triggers
OnRun
Relations
- runs on Table 472 “Job Queue Entry”
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 6100 “Data Migration Facade” (6 calls:
CheckIfMigrationIsCompleted → OnMigrationCompleted,DestTableHasAnyTransactions → OnFindBatchForAccountTransactions,DestTableHasAnyTransactions → OnFindBatchForCustomerTransactions, …) - Codeunit 6101 “Data Migration Status Facade” (4 calls:
HandleEntityMigration → IncrementMigratedRecordCount,HandleEntityMigration → UpdateLineStatus,ProcessBatch → IncrementMigratedRecordCount, …) - Codeunit 1812 “Data Migration Del G/L Account” (1 call:
OnRun → (object)) - Page 1798 “Data Migration About” (1 call:
ShowMoreInfoPage → (object)) - Page 1799 “Data Migration Overview” (1 call:
ShowDataMigrationOverviewFromNotification → (object)) - Page 1808 “Data Migration Wizard” (1 call:
StartDataMigrationWizardFromNotification → (object))
Called by
- Codeunit 1802 “Data Migration Notifier” (15 calls:
CheckCustVendNotificationIdEnabled → GetCustomerContactNotificationId,CheckCustVendNotificationIdEnabled → GetVendorContactNotificationId,RemoveCustomerContactNotification → GetCustomerContactNotificationId, …) - Page 1795 “Data Migration Overview Part” (3 calls:
OnAfterGetRecord → DestTableHasAnyTransactions,OnAfterGetRecord → UpdateMigrationStatus,ShowRefreshNotification → IsMigrationInProgress) - Page 1799 “Data Migration Overview” (3 calls:
OnAfterGetRecord → DestTableHasAnyTransactions,OnAfterGetRecord → UpdateMigrationStatus,ShowRefreshNotification → IsMigrationInProgress) - Codeunit 1430 “Role Center Notification Mgt.” (1 call:
ShowNotifications → ShowDataMigrationRelatedGlobalNotifications) - Codeunit 6100 “Data Migration Facade” (1 call:
StartMigration → StartMigration) - Page 1808 “Data Migration Wizard” (1 call:
OnOpenPage → CheckMigrationInProgress) - Table 1799 “Data Migration Status” (1 call:
OnModify → CheckIfMigrationIsCompleted)
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 Mgt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.