Share via


SysLicenseCodeReadFile::setCode Method [AX 2012]

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
          server public static boolean setCode(
            int codeLine, 
            str code, 
           [str expireDate, 
            int userCount, 
            boolean create, 
            boolean isInactive, 
            str timestamp])

  Microsoft Dynamics AX 2012 R2 (SYS)
          server public static boolean setCode(
            int codeLine, 
            str code, 
           [str expireDate, 
            int userCount, 
            boolean create, 
            boolean isInactive, 
            str timestamp])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          server public static boolean setCode(
            int codeLine, 
            str code, 
           [str expireDate, 
            int userCount, 
            boolean create])

  Microsoft Dynamics AX 2012 (FPK)
          server public static boolean setCode(
            int codeLine, 
            str code, 
           [str expireDate, 
            int userCount, 
            boolean create])

  Microsoft Dynamics AX 2012 (SYS)
          server public static boolean setCode(
            int codeLine, 
            str code, 
           [str expireDate, 
            int userCount, 
            boolean create])

Run On

Server

Parameters

  • codeLine
    Type: int
  • code
    Type: str
  • expireDate
    Type: str
  • userCount
    Type: int
  • timestamp
    Type: str

See Also

Reference

SysLicenseCodeReadFile Class