Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Getting Started with Dynamics NAV 2013 Application Development

You're reading from   Getting Started with Dynamics NAV 2013 Application Development Using this tutorial will take you deeper into Dynamics NAV from a developer's viewpoint, and allow you to unlock its full potential. The book covers developing an application from start to finish in logical, illuminating steps.

Arrow left icon
Product type Paperback
Published in May 2013
Publisher Packt
ISBN-13 9781849689489
Length 230 pages
Edition 1st Edition
Arrow right icon
Author (1):
Arrow left icon
Alex Chow Alex Chow
Author Profile Icon Alex Chow
Alex Chow
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Getting Started with Dynamics NAV 2013 Application Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. Getting Dynamics NAV 2013 on Your Computer – For (Almost) Free FREE CHAPTER 2. Getting Familiar with Dynamics NAV 2013 3. Exploring the Data Structure and Basic Layout of Dynamics NAV 4. Determining a Task List 5. Finding Similar Functions for Inspiration 6. Creating the Application – Tables 7. Creating the Application – Pages and Reports 8. Extending Our Application 9. Dynamics NAV Modules to Address the Specific Needs of Your Business Additional Resources and Conclusion Index

Table relations


We already know that the Sales Line table is related to the Sales Header table. But how do we tell Dynamics NAV about the relationship between these two tables?

The table relation for the fields is defined in the properties of the field. Go ahead and click on the Document No. field in the Sales Line table and find the property called TableRelation:

Click on the AssistEdit button to bring up the Table Relation screen. The AssistEdit button is the button that looks similar to three dots:

Clicking on the AssistEdit button will tell us the table relation that's associated with that field:

From the Table Relation screen, click on the AssistEdit button to bring up Table Filter; this will tell us the relation criteria:

From the previous screenshots, the sentence you would construct would be this: The Document No. field is related to the Sales Header No. field, where the value on Document Type on the Sales Line table has to equal to the Document Type on the Sales Header table.

Make sure...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €18.99/month. Cancel anytime