web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

Selecting only first value of enum in query using ax 2012

(0) ShareShare
ReportReport
Posted on by 131

Dear Seniors,

I am customizing Generate earning form and I have add new Enum(HCMEMPLOYMENTTYPE) Field in HCMWorker table to get employ type but when code run it always get Employee in enum value what will be the solutions?

I have the same question (0)
  • MuthukumaranAX Profile Picture
    2,903 on at

    Hi

    what code you have written and where it is written? can you share the details?

    thanks

  • Laraib Profile Picture
    131 on at

    Dear MuthukumaranAX

    First of all I would like to thank you for your response and secondly I would like to tell you that I have only updated query datasource I did not write any code for that

  • Community Member Profile Picture
    on at

    Ok, when you say this "always get Employee in enum value what will be the solutions?" then I believe in your enum Employee value is zeroth position and it is picking that up by default,

    please check

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 467 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 420 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 241 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans