---
id: object/table/40035
type: object
title: Table 40035 "Custom Migration Table Buffer"
summary: Table 40035 "Custom Migration Table Buffer" in HybridBaseDeployment (Microsoft.DataMigration). 6 fields, 7 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: f74e27d12019e220fba1d4a5f750376599e6a47ebd0f1b8157d5a1af90bb2ff2
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Apps/W1/HybridBaseDeployment/app/src/CustomMigration/TableMappings/CustomMigrationTableBuffer.Table.al
    title: src/Apps/W1/HybridBaseDeployment/app/src/CustomMigration/TableMappings/CustomMigrationTableBuffer.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: 40035
name: Custom Migration Table Buffer
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: 6
  procedures: 9
  events: 0
  subscribers: 0
relations:
  out: 0
  referenced_by: 0
  pages: 1
  extended_by: 0
  event_subscribers: 0
  calls: 1
  called_by: 0
  implements: 0
---

# Table 40035 "Custom Migration Table Buffer"

> Table 40035 "Custom Migration Table Buffer" in HybridBaseDeployment (Microsoft.DataMigration). 6 fields, 7 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/CustomMigration/TableMappings/CustomMigrationTableBuffer.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Extensible | false |
| TableType | Temporary |
| DataClassification | SystemMetadata |

## 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 | Source Sql Table Name | Text[128] | Specifies the name of the source SQL table to be replicated. The name must match exactly the name of the destination table in SQL. |  |
| 2 | Destination Sql Table Name | Text[128] | Specifies the name of the destination SQL table in the cloud environment. The name must match exactly the name of the destination table in SQL. |  |
| 3 | Company Name | Text[30] | Specifies the company name associated with this table mapping. The value should be blank if the table is per-database. |  |
| 4 | Table Name | Text[128] | Specifies the name of the table. For example, "Customer" or "Sales Header". |  |
| 5 | Preserve Cloud Data | Boolean | Specifies whether to preserve existing data in the cloud during replication. If set to true, existing data in the destination table will not be overwritten during replication, only new records will be added. It is recommended to set this to true for per-database table, while it should be false for p... |  |
| 6 | Mapping Type | Enum "Migration Mapping Type" | Specifies whether this mapping is for Replication or Migration Setup. | enum [Enum 40020 "Migration Mapping Type"](../enum/40020.md) |

## Keys

- Key1: Source Sql Table Name, Destination Sql Table Name (clustered)
- Key2: Mapping Type, Table Name
- Key3: Destination Sql Table Name

## Procedures

- `LoadData()`
- `ExportToJson(): Text`
- `ImportFromJson(JsonText: Text)`
- `GetDefaultEncoding(): TextEncoding` (internal)
- `ExportToFile()` (internal)
- `RestoreDefaultMappings()` (internal)
- `SaveMigrationTableMapping(MappingType: Enum "Migration Mapping Type"; SourceTableName: Text[128]; DestinationTableName: Text[128]; TargetTableName: Text[128]; CompanyName: Text[30]; DataPerCompany: Boolean; PreserveCloudData: Boolean)`

Plus 2 local procedures.

## Triggers

OnDelete

## Pages and codeunits on this table

- [Page 40017 "Custom Migration Mapping List"](../page/40017.md) (source table)

## 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 4100 "Temp Blob"](../codeunit/4100.md) (2 calls: `ExportToFile → CreateInStream`, `ExportToFile → CreateOutStream`)

## 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: "table", object_name: "Custom Migration Table Buffer")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
