PCClass.duplicate Method [AX 2012]

Duplicates the record.

NoteNote

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.

The _duplicatedAttributesMap parameter has been added.

Community Additions

ADD
Show: