Notifications
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 551 Most Valuable Professional
André Arnaud de Cal... 450 Super User 2025 Season 2
BillurSamdancioglu 278 Most Valuable Professional