Table and Field Structure

dabel
Member Posts: 44
Is there a document that exists that lists all of the tables and fields such that one would be able to reference this in order to create reports?
0
Comments
-
No there isn't, but there are some tools that can help you:
tBrowser v1.2
Visio Data Modeler v. 2.1
NaviTools ER Diagram v1.2 for Microsoft NavisionNo support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0 -
Navision Developer's Toolkit has something like that.
However, by understanding naming conventions you can pretty guess that for yourself:
Useful transaction information is in tables that are called Entry - simply filter for *Entry* and you will see. Document tables usually called Header and Line.
For most master data, primary key is No. For most settings-like data (categories etc.) primary key is Code. Foreign keys in Entry tables tend to be called master data name + No. : so wherever you see a Vendor No. you can be sure there is a Vendor table with primary key No. and where you see an Item Category Code field then there is an Item Category table with primary key Code.
Documents sometimes have a primary key No. in other times, a composite primary key such as Document Type, No. Primary key of Lines tables also contain Document Type etc. such fields of the header, also have Document No. which always relates to the No. of the header, and have a Line No. also in the primary key.
If in doubt, find the data in the user interface, Ctrl+F2, Shift+F4 and look at the SourceTable property.
Do It Yourself is they key. Standard code might work - your code surely works.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions