ReleaseUpdateDB::changeTableId Method [AX 2012]

Changes the ID of a table.

server public static boolean changeTableId(
    TableId _oldId, 
    TableId _newId, 
    TableName _tableName)

Run On

Server

Parameters

_oldId
Type: TableId Extended Data Type
The old table ID.
_newId
Type: TableId Extended Data Type
The new table ID.
_tableName
Type: TableName Extended Data Type
The table name.

Return Value

Type: boolean
true if the change is successful; otherwise, false.

The table name, table fields, and so on must be preserved in the new table.

Show: