PCImportModel.updateAttributePaths Method [AX 2012]

Updates the attribute paths to reference the new sub-component records and category attribute records after the import of a component.

protected void updateAttributePaths(
    RefRecId _newComponentRecID, 
    Map _deletedSubComponentsUsedInAttributePaths, 
    Map _deletedAttributesUsedInTableConstraints, 
    Map _componentAttributes)

Run On

Server

Parameters

_newComponentRecID
Type: RefRecId Extended Data Type
The new component record ID.
_deletedSubComponentsUsedInAttributePath
Type: Map Class
A map of sub-components that are deleted during import.
_deletedAttributesUsedInTableConstraints
Type: Map Class
A map of category attributes which are deleted during import.
_componentAttributes
Type: Map Class
A map from the old category attribute record IDs to the new record IDs.

Community Additions

ADD
Show: