Share via


PCClass.duplicate Method

Duplicates the record.

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 RefRecId duplicate(Map _duplicatedComponentsMap, Map _duplicatedAttributesMap)

  Microsoft Dynamics AX 2012 R2 (SYS)
          public RefRecId duplicate(Map _duplicatedComponentsMap, Map _duplicatedAttributesMap)

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public RefRecId duplicate(Map _duplicatedComponentsMap)

  Microsoft Dynamics AX 2012 (FPK)
          public RefRecId duplicate(Map _duplicatedComponentsMap)

  Microsoft Dynamics AX 2012 (SYS)
          public RefRecId duplicate(Map _duplicatedComponentsMap)

Run On

Called

Parameters

  • _duplicatedComponentsMap
    Type: Map Class
    A map that contains the duplicated records that are related to components.
  • _duplicatedAttributesMap
    Type: Map Class
    A map that containing the duplicated records that are related to category attributes.

Return Value

Type: RefRecId Extended Data Type
The record ID of the duplicated record.

Remarks

The _duplicatedAttributesMap parameter has been added.

See Also

Reference

PCClass Table