Get label name from Enum value using x++

Hello, Below is the code we can use for getting the label for an enum. 


    SysDictEnum dictEnum = new SysDictEnum( enumnum(InventTransType) ); 

   dictEnum.value2Label(InventTrans.TransType);

Thanks

Comments