xArgs.parmEnum Method [AX 2012]

Gets or sets the enumeration value of the enumeration type that is specified in the parmEnumType method.

public anytype parmEnum([int value])

Run On

Called

Parameters

value
Type: int
The key of an enumeration value to set; optional.

Return Value

Type: anytype
The enumeration value of the enumeration type that is specified in the parmEnumType method.

  • This method is often used with the parmEnumType method:

  • args.parmEnumType(enumnum(AssetBookType));

  • args.parmEnumType(enumnum(AssetBookType));

Community Additions

ADD
Show: