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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

how will get field name, datatype, edt and size of fields form table throgh code in AX 2012 R3.

(0) ShareShare
ReportReport
Posted on by 56

Hi all,

can you please let me know how will get field name, datatype, EDT and size of fields form table throgh code in AX 2012 R3.

Please give me more shed on this.

Thanks!

I have the same question (0)
  • Verified answer
    Sergei Minozhenko Profile Picture
    23,095 on at

    Hi @rp@n,

    You need to check Dict* classes (DictTable and DictField)

    microsftdynamics.blogspot.com/.../get-all-fields-name-type-mendatory-and.html

  • @rp@n Profile Picture
    56 on at

    thanks Sergei,

    edt size is not there. how will get ?

  • Verified answer
    Sergei Minozhenko Profile Picture
    23,095 on at

    Hi @rp@n,

    Do you mean size of string field? If yes, it can be fetched from DictField.stringLen() method

  • @rp@n Profile Picture
    56 on at

    yes,

    it's showing the name string only but not showing the EDT name

  • Verified answer
    Sergei Minozhenko Profile Picture
    23,095 on at

    Hi @rp@n,

    There is typeId method as well which will return you EDT Id and you can use extendedTypeId2Name function to convert EDT Id to EDT name.

    extendedTypeId2Name(DictField.typeId())

  • @rp@n Profile Picture
    56 on at

    thanks Sergei

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 653

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 493 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 317 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans