Hi,
Below is the code we can use for getting the label for an enum.In this example I'm taking InventTransType enum.
SysDictEnum dictEnum = new SysDictEnum( enumnum(InventTransType) );
dictEnum.value2Label(InventTrans.TransType);
Below is the code we can use for getting the label for an enum.In this example I'm taking InventTransType enum.
SysDictEnum dictEnum = new SysDictEnum( enumnum(InventTransType) );
dictEnum.value2Label(InventTrans.TransType);
or
// If you want to assign the label to string
dictEnum.index2Name(InventTrans.TransType);
in which language ???
ReplyDelete