ProjTable.renamePrimaryKey Method

Renames the primary key of the table.

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 renamePrimaryKey([boolean psaIncluedeSubProjects])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public void renamePrimaryKey([boolean psaIncluedeSubProjects])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public void renamePrimaryKey([boolean psaIncluedeSubProjects])

  Microsoft Dynamics AX 2012 (FPK)
          public void renamePrimaryKey([boolean psaIncluedeSubProjects])

  Microsoft Dynamics AX 2012 (SYS)
          public void renamePrimaryKey()

Run On

ClientOrServer

Parameters

  • psaIncluedeSubProjects
    Type: boolean
    Specify if the rename of the key should affect subprojects also.

Remarks

This method also renames all the subprojects that roll up to this current parent project record.

See Also

Reference

ProjTable Table