PCImportModel.updateTableConstraintDefinitionRefs Method [AX 2012]

Updates the references to a table constraint definition to reference a new definition.

protected void updateTableConstraintDefinitionRefs(
    RefRecId _oldRecId, 
    RefRecId _newRecId, 
    Map _deletedColumnsUsedInColumnCategoryAttribute, 
    Map _columnToRecId)

Run On

Server

Parameters

_oldRecId
Type: RefRecId Extended Data Type
The old record ID of the table constraint definition.
_newRecId
Type: RefRecId Extended Data Type
The new record ID of the table constraint definition.
_deletedColumnsUsedInColumnCategoryAttri
Type: Map Class
A map of columns that are reference by constraint relations and are overwritten during import.
_columnToRecId
Type: Map Class
A map from the old column definition record IDs to the new record IDs.

Community Additions

ADD
Show: