preloader-matrix

Alfasith

To get enum value from the enum field in Dynamic AX

void ToGetEnumFromValue(Args _args)
{
    ABC ABC;
    str val = “B”;
    int m;
    //m = enum2int(str2enum(ABC,val));
    //print enum2int(str2enum(ABC,val));
    print enum2str(str2enum(ABC,val));
    pause;
}
Share on email
Share on facebook
Share on twitter
Share on linkedin
Share on pinterest

Leave a Reply

Your email address will not be published.