Dynamics NAV Development for Non-Developers: Part 2 – Data Structure Basics

by | Updated August 15, 2016 | Development, Dynamics NAV

For some who deal with Dynamics NAV development, tables, fields, data and relationships all make perfectly good sense. For others, these data structure concepts are a bit more elusive. If you believe you may be in the latter group, you may want to scan through this entry before jumping further into the topic.

Tables

In Dynamics NAV, all data resides in records that live in tables. Much like in Microsoft Excel, each value in a record (row) is stored in its own field (column). In NAV, all tables reside in a single database. In Excel, those tables might reside in a single workbook.

Multiple companies in a single NAV database can clutter this definition a bit, but consider each company as sharing the same table definition (fields and rules), but with a segregated set of data that is housed separately from other companies.

As an example of this data structure, consider the Item List page in Dynamics NAV. On it, you will see many items, each line reflecting a different record in the table. Like Excel, the columns represent fields on the record (within the table).

Opening a specific Item Card presents you with all (most) information about a specific item record within the “Item” table. Each cell, or field, in the page, reflects a different field in the underlying “Item” table.

Primary Key

In a relational database like Dynamics NAV, each record must also have a unique value (or a combination of values), called the primary key. In the case of items, that unique value is stored in the “No.” field. No two item records can share the same “No.”, even though a particular “description” might be common to more than one item.

Pages

Pages in NAV are generally straight-forward in that they typically access a single table. There are certainly exceptions – document pages with a header and lines is the most obvious. Reports, on the other hand, frequently access multiple tables, related by a single common field or filter. Reports may also manipulate data before putting it to paper or screen. As such, reports present a slightly more difficult challenge when trying to isolate the location of the information they represent.

Whether you are working in the table directly, creating or updating a page, or modifying reports, it will be very helpful to understand the basics of the table structures.

More on Data Structure in NAV

If you want to dig a little deeper, you might start with some online tools and tutorials. The MSDN introduction to tables, written for Microsoft Access, is as good a starting point as any.

Read more for further exploration into whether developing in NAV as a non-developer is a good idea or not.

Related Posts

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Upcoming Events

june

02jun2:00 pm2:30 pmBusiness Intelligence for Batch Manufacturers

16jun10:00 am10:30 amHow AP automation can speed up month-end close in D365 Finance

17jun11:00 am12:00 pmConfab Live with Stoneridge – Real Time Marketing Strategies for Success

23jun10:00 am10:30 amThe Modern Manufacturer: Cost Accounting in D365

30jun10:00 am10:30 amAP Automation Checklist for a 2022 Rebound

30jun2:00 pm2:30 pmAchieving Success: How Technology Is Helping Nonprofits Thrive

july

01jul11:00 am12:00 pmConfab Live with Stoneridge – Dataverse Virtual Entities

14jul12:00 pm12:30 pmBeyond Reporting - What Business Intelligence Can Do For Your Agribusiness

15jul11:00 am12:00 pmConfab Live with Stoneridge – Integration Strategies for End User Success

21jul10:00 am10:30 amThe Modern Manufacturer: Manufacturing Software in the Real World

21jul12:00 pm1:00 pmIs it Worth it to Upgrade to Dynamics 365 Finance and Supply Chain Management? - Everything AX Users Need to Consider

About Stoneridge
Stoneridge Software is a unique Microsoft Gold Partner, with emphasis on partner. With specialties in Microsoft Dynamics 365, Microsoft Dynamics AX, Microsoft Dynamics NAV, Microsoft Dynamics GP and Microsoft Dynamics CRM, we focus on attracting the most knowledgeable experts in the field to our team, and prioritize delivering stellar solutions with maximum impact for your business. At Stoneridge, we are deeply committed to your results. Each engagement is met with a dedicated team, ready to provide thorough, tailored, and expert service. Based in Minnesota, we intentionally “step into your shoes,” wherever you are. We focus on what you care about, and develop trusting, long-term relationships with our clients.

Subscribe To Our Blog

Sign up to get periodic updates on the latest posts.

Thank you for subscribing!

X