web
You’re offline. This is a read only version of the page.
close
Skip to main content
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
    RE: EDT or Enum Base type

    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
    RE: EDT or Enum Base type

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

  • Verified answer
    Chaitanya Golla Profile Picture
    17,225 on at
    RE: EDT or Enum Base type

    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
    RE: EDT or Enum Base type

    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
    RE: EDT or Enum Base type

    Thanks Chaitanya , I got my answer.

  • Chaitanya Golla Profile Picture
    17,225 on at
    RE: EDT or Enum Base type

    Hi,

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

  • Rohin Profile Picture
    4,624 on at
    RE: EDT or Enum Base type

    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

Quick Links

Responsible AI policies

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

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#3
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans