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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

EDT or Enum Base type

(0) ShareShare
ReportReport
Posted on by 4,624

Hello,

I have small confusion , would like to clear here. I want to create an Enum type (with No Yes enum element) so It is best practice to create EDT for this Enum ? or i can use this Enum directly to table level? what is best way ?

Please clear

*This post is locked for comments

I have the same question (0)
  • Verified answer
    @rp@n Profile Picture
    30 on at

    Hi Visvash,

    You have already standard EDT "NoyesId" and itself Enum type = No yes is there. You need to use EDT directly "NoyesID " in your table field only. Automatically it will shows enum "NoYes" for you.

    If it's useful for you please mark verify.

    Thanks!

    Arpan

  • Verified answer
    Mahmoud Hakim Profile Picture
    17,887 on at

    you can use the exsiting Enum , no need to create new EDT

  • Verified answer
    Chaitanya Golla Profile Picture
    17,225 on at

    Hi,

    Recommended best practice is to assign ExtendedDataType property to NoYesId and Enum property to NoYes on the required field(as shown below). No need to create a new EDT.

    On the other side, you can simply assign the Enum as NoYes without any EDT(at table level directly) and I haven't seen any best practice deviation on the table by doing so.

    7115.Enum.jpg

    Hope this helps you.

  • Rohin Profile Picture
    4,624 on at

    Thanks Arpan & Hakim.

     Yes , I know i can use directly Enum on table but i was looking for suggestion if i have field specfic to some functionality then wouldn't be it better to make EDT for Enum for that or use standard enum directly on table level.

  • Rohin Profile Picture
    4,624 on at

    Thanks Chaitanya , I got my answer.

  • Chaitanya Golla Profile Picture
    17,225 on at

    Hi,

    If you feel your issue is resolved, could you mark the useful answers as verified.

  • Rohin Profile Picture
    4,624 on at

    Already did..

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

News and Announcements

Season of Giving Solutions is Here!

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
TAHER Mehdi Profile Picture

TAHER Mehdi 3

#2
Martin Dráb Profile Picture

Martin Dráb 2 Most Valuable Professional

#2
Nakul Profile Picture

Nakul 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans