static void EnumValue(Args _args)
{
DictEnum dictEnum;
int i;
dictEnum=new DictEnum(enumName2Id("Gender"));
for(i=0;i<dictEnum.values();i++)
{
info(strFmt("Enum Label:: %1 ",dictEnum.index2Label(i)));
info(strFmt("Enum values:: %1 ",dictEnum.index2Value(i)));
}
}
Subscribe to:
Post Comments (Atom)
Create number sequence in D365 FO
Create the data type. Add code in the loadModule method of the appropriate NumberSeqModule subclass. Add a method to the module’s paramet...
-
Dialogbutton dialogButtonConfirm; ; dialogButtonConfirm = Box::yesNo("continue ", dialogButton::Yes, ...
-
Breakpoints Command Shortcut key Remove all breakpoints. CTRL+SHIFT+F9 I...
-
Just use the below code to remove the special character from the string. strRem('String','*'); You can replace * with...
No comments:
Post a Comment