You’re offline. This is a read only version of the page.
Skip to main content
Dynamics 365 Community
Cancel
Get involved
Get answers
Discover events
Learn Dynamics 365
More
Search
Announcements
No record found.
Community site session details
Session Id :
Copy
Close
Dynamics 365 Community
/
Blogs
/
Pooja Karki Blog for Microsoft Dynamics AX
/
Retrieve BaseEnum Value thr...
Retrieve BaseEnum Value through code
Views (5137)
Pooja Karki
3,045
Follow
Like
(
1
)
Share
Report
Today I will demonstrate you that how to retrieve
BaseEnum v
alue through code in AX.
static void RetreiveEnumValue(Args _args)
{
DictEnum denum;
int i;
denum=new DictEnum(enumName2Id("ABC"));
for(i=0;i<denum.values();i++)
{
print denum.index2Label(i);
print denum.index2Value(i);
}
pause;
}
This was originally posted
here
.
Comments
*This post is locked for comments
Messages
Welcome,
Profile
Messages
My activity
Sign out
*This post is locked for comments