PCSubComponent.duplicate Method
Duplicates the subcomponent.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
public void duplicate(
RefRecId _newParentComponentClass,
Map _duplicatedComponentsMap,
Map _duplicatedAttributesMap)
Microsoft Dynamics AX 2012 R2 (SYS)
public void duplicate(
RefRecId _newParentComponentClass,
Map _duplicatedComponentsMap,
Map _duplicatedAttributesMap)
Microsoft Dynamics AX 2012 Feature Pack (SYS)
public void duplicate(RefRecId _newParentComponentClass, Map _duplicatedComponentsMap)
Microsoft Dynamics AX 2012 (FPK)
public void duplicate(RefRecId _newParentComponentClass, Map _duplicatedComponentsMap)
Microsoft Dynamics AX 2012 (SYS)
public void duplicate(RefRecId _newParentComponentClass, Map _duplicatedComponentsMap)
Run On
Called
Parameters
- _newParentComponentClass
Type: RefRecId Extended Data Type
The record ID of the PCClass record.
- _duplicatedComponentsMap
Type: Map Class
A map that contains the duplicated records that are related to components.
- _duplicatedAttributesMap
Type: Map Class
A map that contains the duplicated records that are related to attributes.
Remarks
This method is used together with the duplicate product model feature.
The _duplicatedAttributesMap parameter has been added.