ReleaseUpdateBulkCopyDB.bulkCopyTable Method [AX 2012]

Copies a table from the source to the target system.

public void bulkCopyTable(ReleaseUpdateBulkCopyTable _tableToCopy)

Run On

Server

Parameters

_tableToCopy
Type: ReleaseUpdateBulkCopyTable Table
The table to copy.

ExceptionCondition
Error

The table could not be copied.

First, the direct SQL statement is built, depending on many inputs like shadow tables, record ID patching, join type, and so on.

Then, the .Net library SqlBulkCopy is used to do the bulk copy.

Every bulk copy SQL statement is logged in the ReleaseUpdateBulkCopyTable table for triaging purpose.

Community Additions

ADD
Show: