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

Data Type, Length and other details of Data Entity Columns

(1) ShareShare
ReportReport
Posted on by 2,334
Hi,
 
If I want to get all the details about the fields in a data entity, for eg. Vendors V2 (details like field type, field length if it's string, etc), whats the best approach?
 
I can export the table column definition from SSMS on dev server, but is there a better approach?
 
Best Regards,
Mohammad Yusuf
I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    303,571 Super User 2026 Season 1 on at
    Hi Mohammad,
     
    Do you need to have the column definitions from a few entities just once? Or are you looking for something dynamic to retrieve information depending on e.g. configuration? Do you need the SQL types, or the types used in Dynamics 365 itself? E.g. a F&O enumeration is an integer in SQL. Can you tell more about the purpose and what you will do with the information once you have the column definition? 
  • MYGz Profile Picture
    2,334 on at
    Hello @Andre
     
    Yeah, I wanted to have the column definitions of few entities just once. Dynamics Data Types would be preferred but SQL would suffice if that's not possible.
     
    Appreciate any tips.
     
    Thanks.
  • Suggested answer
    André Arnaud de Calavon Profile Picture
    303,571 Super User 2026 Season 1 on at
    Hi Mohammad,
     
    If it is for a few entities only, you can look at the staging tables for the data types used. You can find type information for the fields in the system table SQLDictionary. You can first find a record with the name of the staging table. Then you know the table ID. Using that table ID, you can find the fields for that table in the same SQLDictionary table.
  • MYGz Profile Picture
    2,334 on at
    Hello @Andre
     
    The SQLDictionary table has FieldType column which have the following values:
    49: (BigInt)
    8:VarString
    6:UtcDateTime
    4:Enum
    3:Date
    2:Real
    1:Integer
    0:String
     
    Out of these values, I need to drill down on 2 types of values i.e 4:Enum and 8:VarString (Which is EDT?)
     
    How can I get the enumType used on the field and subsequently it's values. Similarly the EDTType and it's length/values.
     
    Best Regards,
  • Verified answer
    Ankit Life Profile Picture
    681 on at
    Hi,
    You can try Entity attribute.
     
     

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!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 531

#2
André Arnaud de Calavon Profile Picture

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

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 257 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans