---
id: object/table/4002
type: object
title: Table 4002 "Hybrid Replication Detail"
summary: Table 4002 "Hybrid Replication Detail" in HybridBaseDeployment (Microsoft.DataMigration). 10 fields, 5 public procedures. Introduced in BC29, still in BC30.
tier: official
language: en
tags:
  - table
  - hybridbasedeployment
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: eed78cafe184b0a8b84c315b41e0d880d7a00605d6bb803f2fed2574842fe8c5
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/HybridBaseDeployment/app/src/tables/HybridReplicationDetail.Table.al
    title: src/Apps/W1/HybridBaseDeployment/app/src/tables/HybridReplicationDetail.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 4002
name: Hybrid Replication Detail
namespace: Microsoft.DataMigration
app: HybridBaseDeployment
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: 10
  procedures: 5
  events: 0
  subscribers: 0
relations:
  out: 1
  referenced_by: 5
  pages: 2
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 4002 "Hybrid Replication Detail"

> Table 4002 "Hybrid Replication Detail" in HybridBaseDeployment (Microsoft.DataMigration). 10 fields, 5 public procedures. Introduced in BC29, still in BC30.

HybridBaseDeployment · Microsoft.DataMigration · BC29-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/HybridBaseDeployment/app/src/tables/HybridReplicationDetail.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Extensible | false |
| Permissions | tabledata "Table Information" = rimd, tabledata "Intelligent Cloud Status" = rimd |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | Run ID | Text[50] | — | TableRelation [Table 4001 "Hybrid Replication Summary"](../table/4001.md) ("Hybrid Replication Summary"."Run ID"); DataClassification SystemMetadata |
| 2 | Table Name | Text[250] | Specifies the name of the table. <small>via [Page 4006 "Intelligent Cloud Details"](../page/4006.md)</small> | DataClassification SystemMetadata |
| 3 | Company Name | Text[250] | Specifies the company of the table. <small>via [Page 4006 "Intelligent Cloud Details"](../page/4006.md)</small> | DataClassification SystemMetadata |
| 4 | Start Time | DateTime | Specifies the start time of the migration. <small>via [Page 4006 "Intelligent Cloud Details"](../page/4006.md)</small> | DataClassification SystemMetadata |
| 5 | End Time | DateTime | Specifies the end time of the migration. <small>via [Page 4006 "Intelligent Cloud Details"](../page/4006.md)</small> | DataClassification SystemMetadata |
| 8 | Status | Option | Specifies the status of the table. <small>via [Page 4006 "Intelligent Cloud Details"](../page/4006.md)</small> | OptionCaption: Failed,In Progress,Successful,Warning,Not Started; DataClassification SystemMetadata |
| 11 | Error Code | Text[10] | — | DataClassification SystemMetadata |
| 12 | Error Message | Text[2048] | Specifies any errors that happened during the migration. <small>via [Page 4006 "Intelligent Cloud Details"](../page/4006.md)</small> | DataClassification SystemMetadata |
| 14 | Records Copied | Integer | Specifies the number of records in the table that have been migrated in the last replication run. <small>via [Page 4006 "Intelligent Cloud Details"](../page/4006.md)</small> | DataClassification SystemMetadata |
| 15 | Total Records | Integer | Specifies the total number of records to copy from the source table. <small>via [Page 4006 "Intelligent Cloud Details"](../page/4006.md)</small> | DataClassification SystemMetadata |

## Keys

- PK: Run ID, Table Name, Company Name (clustered)
- TableKey: Table Name, Company Name
- Status: Status, Company Name, Table Name
- StatusPerRun: Run ID, Status
- LastRecord: End Time, Company Name, Table Name

## Procedures

- `GetCopiedRecords(): Integer`
- `GetCountOfRecordsInTheTableSafe(HybridReplicationDetail: Record "Hybrid Replication Detail"; var RecordCount: Integer)` (internal)
- `GetCountOfRecordsInTheTable(HybridReplicationDetail: Record "Hybrid Replication Detail"; var RecordCount: Integer): Boolean` (internal)
- `GetApproxCountOfRecordsInTheTable(HybridReplicationDetail: Record "Hybrid Replication Detail"; var RecordCount: Integer): Boolean`
- `SetFailureStatus(RunId: Text[50]; TableName: Text[250]; CompanyName: Text[250]; FailureMessage: Text)`

## Relations

- Run ID: TableRelation [Table 4001 "Hybrid Replication Summary"](../table/4001.md)

## Referenced by

5 fields in 2 objects relate to this table (TableRelation or CalcFormula).

- [Table 4001 "Hybrid Replication Summary"](../table/4001.md): Tables Failed, Tables Remaining, Tables Successful, Tables with Warnings
- [Table 4005 "Hybrid Company"](../table/4005.md): Replicated

## Pages and codeunits on this table

- [Page 40026 "Cloud Mig Status Detail API"](../page/40026.md) (source table)
- [Page 4006 "Intelligent Cloud Details"](../page/4006.md) (source table)

## 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). 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: "table", object_name: "Hybrid Replication Detail")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
