PCImportModel.prepareForComponentImport Method [AX 2012]

Prepares data for the import of a component.

protected RefRecId prepareForComponentImport(
    EcoResCategoryName _componentName, 
    Map _deletedSubComponentsUsedInAttributePaths, 
    Map _deletedAttributesUsedInAttributePaths)

Run On

Server

Parameters

_componentName
Type: EcoResCategoryName Extended Data Type
The name of the component that is about to be imported.
_deletedSubComponentsUsedInAttributePath
Type: Map Class
A map of sub-components that are used in attribute paths and will be deleted upon import of the component.
_deletedAttributesUsedInAttributePaths
Type: Map Class
A map of attributes that are used in attribute paths and will be deleted upon import of the component.

Return Value

Type: RefRecId Extended Data Type
The record ID of a component that will be overwritten during import.

The maps contain paths from names to record IDs.

Community Additions

ADD
Show: