Alfasith AX

Alfasith AX
اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي، وَعَلِّمْنِي مَا يَنْفَعُنِي، وَزِدْنِي عِلْمًا

Saturday, May 24, 2014

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;
}

No comments:

Post a Comment

SQL code to upate one Legal entity banner to all the legal entity in D365

 Hi, update companyimage set  companyimage.Image  = companyimageA.Image  from  ( select Image from companyimage where dataAreaid = 'USF...