Announcements
No record found.
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!
Hi @rp@n,
You need to check Dict* classes (DictTable and DictField)
microsftdynamics.blogspot.com/.../get-all-fields-name-type-mendatory-and.html
thanks Sergei,
edt size is not there. how will get ?
Do you mean size of string field? If yes, it can be fetched from DictField.stringLen() method
yes,
it's showing the name string only but not showing the EDT name
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())
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Giorgio Bonacorsi 653
André Arnaud de Cal... 493 Super User 2026 Season 1
Syed Haris Shah 317 Super User 2026 Season 1