---
id: object/codeunit/47013
type: object
title: Codeunit 47013 "SL Hybrid Management"
summary: Codeunit 47013 "SL Hybrid Management" in HybridSL (Microsoft.DataMigration.SL). 6 public procedures, 1 events, 11 event subscribers. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - codeunit
  - hybridsl
versions:
  introduced: "29"
  last_changed: null
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: 09b58ea79c35aa28286c7ce56882828801fd69f9dc6ee6fbb89cd3f699e1c4ea
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/HybridSL/app/src/codeunits/SLHybridManagement.Codeunit.al
    title: src/Apps/W1/HybridSL/app/src/codeunits/SLHybridManagement.Codeunit.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: codeunit
object_id: 47013
name: SL Hybrid Management
namespace: Microsoft.DataMigration.SL
app: HybridSL
extends: null
first_version: "29"
last_version: "30"
present_in:
  - "29"
  - "30"
changed_in: []
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 0
  procedures: 18
  events: 1
  subscribers: 11
relations:
  out: 0
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 5
  called_by: 3
  implements: 0
---

# Codeunit 47013 "SL Hybrid Management"

> Codeunit 47013 "SL Hybrid Management" in HybridSL (Microsoft.DataMigration.SL). 6 public procedures, 1 events, 11 event subscribers. Introduced in BC29, still in BC30.

HybridSL · Microsoft.DataMigration.SL · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/HybridSL/app/src/codeunits/SLHybridManagement.Codeunit.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Access | Internal |

## Events published

- `OnCreateSessionForUpgrade(var CreateSession: Boolean)` (internal)

## Event subscriptions

- HandleSLOnReplicationRunCompleted subscribes to Codeunit "Hybrid Cloud Management" OnReplicationRunCompleted
- OnHandleSLCloseWizard subscribes to Page "Hybrid Cloud Setup Wizard" OnHandleCloseWizard
- HandleSkipCompaniesWizard subscribes to Page "Hybrid Cloud Setup Wizard" OnSkipShowLiveCompaniesWarning
- HandleBeforeResetUsersToIntelligentCloudPermissions subscribes to Codeunit "Hybrid Deployment" OnBeforeResetUsersToIntelligentCloudPermissions
- HandleDataMigrationOverviewOpen subscribes to Page "Data Migration Overview" OnOpenPageEvent
- GetSLMessageOnResolveMessageCode subscribes to Codeunit "Hybrid Message Management" OnResolveMessageCode
- InvokeDataUpgrade subscribes to Codeunit "Hybrid Cloud Management" OnInvokeDataUpgrade
- DisableNewSessionForSLCloudMigration subscribes to Codeunit "Data Migration Mgt." OnBeforeStartMigration
- SkipSLDataRepair subscribes to Codeunit "Hybrid Cloud Management" OnHandleFixDataOnReplicationCompleted
- OnIsSLUpgradeSupported subscribes to Codeunit "Hybrid Cloud Management" OnIsUpgradeSupported
- HandleOnOpenNewUI subscribes to Page "Intelligent Cloud Management" OnOpenNewUI

## Procedures

- `InitializationofSLSynchronization(RunID: Text[50]; SubscriptionId: Text; NotificationText: Text)` (internal)
- `UpdateStatusOnHybridReplicationCompleted(RunId: Text[50]; NotificationText: Text)` (internal)
- `InvokeCompanyUpgrade(var HybridReplicationSummary: Record "Hybrid Replication Summary"; CompanyName: Text[50])` (internal)
- `InvokeCompanyUpgrade(var HybridReplicationSummary: Record "Hybrid Replication Summary"; CompanyName: Text[50]; DelayDuration: Duration)` (internal)
- `GetDefaultJobTimeout(): Duration` (internal)
- `GetMinimalDelayDuration(): Duration` (internal)

## 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 47012 "SL Hybrid Wizard"](../codeunit/47012.md) (10 calls: `DisableNewSessionForSLCloudMigration → GetSLMigrationEnabled`, `HandleBeforeResetUsersToIntelligentCloudPermissions → GetSLMigrationEnabled`, `HandleDataMigrationOverviewOpen → GetSLMigrationEnabled`, …)
- [Codeunit 5459 "JSON Management"](../codeunit/5459.md) (8 calls: `InitializationofSLSynchronization → GetStringPropertyValueByName`, `InitializationofSLSynchronization → InitializeObject`, `UpdateStatusOnHybridReplicationCompleted → GetArrayPropertyValueAsStringByName`, …)
- [Codeunit 4001 "Hybrid Cloud Management"](../codeunit/4001.md) (3 calls: `HandleSLOnReplicationRunCompleted → CanHandleNotification`, `InitializationofSLSynchronization → CanHandleNotification`, `InitializationofSLSynchronization → SetUpgradePendingOnReplicationRunCompleted`)
- [Codeunit 47023 "SL Helper Functions"](../codeunit/47023.md) (2 calls: `InitializationofSLSynchronization → GetTelemetryCategory`, `UpdateStatusOnHybridReplicationCompleted → GetTelemetryCategory`)
- [Codeunit 4011 "Hybrid Message Management"](../codeunit/4011.md) (1 call: `UpdateStatusOnHybridReplicationCompleted → ResolveMessageCode`)

## Called by

- [Codeunit 47001 "SL Cloud Migration"](../codeunit/47001.md) (1 call: `OnRun → InvokeCompanyUpgrade`)
- [Codeunit 47005 "SL Wizard Integration"](../codeunit/47005.md) (1 call: `ScheduleSLHistoricalSnapshotMigration → GetDefaultJobTimeout`)
- [Table 47064 "SL Upgrade Settings"](../table/47064.md) (1 call: `GetonInsertSLUpgradeSettings → GetDefaultJobTimeout`)

## Across versions

- Present in: BC29-30
- Changed (declaration) in: none

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: "SL Hybrid Management")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
