Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Programming Microsoft Dynamics NAV
Programming Microsoft Dynamics NAV

Programming Microsoft Dynamics NAV: Hone your skills and increase your productivity when programming in Microsoft Dynamics NAV 2017 , Fifth Edition

Arrow left icon
Profile Icon Marije Brummel Profile Icon Christopher D. Studebaker Profile Icon David Studebaker
Arrow right icon
Mex$699.99 Mex$1000.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.3 (4 Ratings)
eBook Apr 2017 706 pages 5th Edition
eBook
Mex$699.99 Mex$1000.99
Paperback
Mex$1251.99
Subscription
Free Trial
Arrow left icon
Profile Icon Marije Brummel Profile Icon Christopher D. Studebaker Profile Icon David Studebaker
Arrow right icon
Mex$699.99 Mex$1000.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.3 (4 Ratings)
eBook Apr 2017 706 pages 5th Edition
eBook
Mex$699.99 Mex$1000.99
Paperback
Mex$1251.99
Subscription
Free Trial
eBook
Mex$699.99 Mex$1000.99
Paperback
Mex$1251.99
Subscription
Free Trial

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Table of content icon View table of contents Preview book icon Preview Book

Programming Microsoft Dynamics NAV

Tables

"If you don't know where you are going, you might wind up someplace else."
                                                                                                    - Yogi Berra
"Successful design is anticipating the anticipations of others."
                                                                                                   
- John Maynard Keynes

The foundation of any...

An overview of tables

There is a distinction between the table (data definition and data container) and the data (the contents of a table). The table definition describes the identification information, data structure, validation rules, storage, and retrieval of the data that is stored in the table (container). The definition is defined by the design and can only be changed by a developer. The data is the variable content that originates from user activities. The place where we can see the data explicitly referenced independently of the table as a definition of structure is in the Permissions setup data. In the following screenshot, the data is formally referred to as Table Data:

The table is not the data, it is the definition of data contained in the table. Even so, we commonly refer to both the data and the table as if they were one and the same. That is what we will do in this book.

All permanent data must be...

Enhancing our sample application

Now we can take our knowledge of tables and expand our WDTU application. Our base Radio Show table needs to be added to and modified. We also need to create and reference additional tables.

Although we want to have a realistic design in our sample application, we will focus on changes that illustrate features in NAV table design that the authors feel are among the most important. If there are capabilities or functionalities that you feel are missing, feel free to add them. Adjust the examples as much as you wish to make them more meaningful to you.

Creating and modifying tables

In Chapter 1, Introduction to NAV 2017, we created the Radio Show table for the WDTU application. At that time, we used the minimum fields that allowed us...

Types of table

For this discussion, we will divide table types into three categories. As developers, we can change the definition and the contents of the first category (the Fully Modifiable tables). We cannot change the definition of the base fields of the second category, but we can change the contents (the Content Modifiable tables) and add new fields. The third category can be accessed for information, but neither the definition nor the data within is modifiable (the Read-Only tables).

Fully Modifiable tables

The following tables are included in the Fully Modifiable tables category.

Master Data

The Master Data...

Review questions

  1. Which of the following is a correct description of a table in NAV 2017? Choose two:

a) A NAV table is the definition of data structure

b) A NAV table includes a built-in data entry page

c) A NAV table can contain C/AL code but that should be avoided

d) A NAV table should implement many of the business rules of a system

  1. All primary keys should contain only one data field. True or false?
  2. It is possible to link a NAV table to a table outside of the NAV database using what property? Choose one:

a) DatabaseLink

b) ObjectPointer

c) LinkedObject

d) C# Codelet

  1. System tables cannot be modified. True or false?
  2. Which of the following are table triggers? Choose two:

a) OnInsert

b) OnChange

c) OnNewKey

d) OnRename

  1. Keys can be enabled or disabled in executable code. True or false?
  2. Because Setup tables on contain one record, they do not need to have a primary key. True or false?
  3. Table numbers intended to...

Summary

In this chapter, we focused on the foundation level of NAV data structure: tables and their internal structure. We worked our way through the hands-on creation of a number of tables and their data definitions in support of our WDTU application. We briefly discussed Field Groups and how they are used.

We identified the essential table structure elements including Properties, Object Numbers, Triggers, Keys, and SumIndexFields. Finally, we reviewed the several categories of tables found in NAV 2017.

In the next chapter, we will dig deeper into the NAV data structure to understand how fields and their attributes are assembled to make up the tables. We will also focus on what can be done with Triggers. Then we will explore how other object types use tables, working towards developing a fully featured NAV development toolkit.

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Gain from the insights and methods of industry-leading experts and tailor your applications to best suit the needs of your business
  • Learn through the detailed explanations and useful examples that are presented in a logical, step-by-step manner
  • This comprehensive guide is written with the goals of being used as a classroom text, a self-study text, and as a handy in-depth reference guide

Description

Microsoft Dynamics NAV is a full business solution suite, and a complete ERP solution that contains a robust set of development tools to support customization and enhancement. These tools provide greater control over financials and can simplify supply chain, manufacturing, and operations. This book will take you from an introduction to Dynamics NAV and its integrated development tools to being a productive developer in the Dynamics NAV Development Environment. You will find this book very useful if you want to evaluate the product's development capabilities or need to manage Dynamics NAV based projects. It will teach you about the NAV application structure, the C/SIDE development environment, the C/AL language paired with the improved editor, the construction and uses of each object type, and how it all fits together to build universal applications. With this new edition, you will be able to understand how to design and develop using Patterns and new features such as Extensions and Events.

Who is this book for?

This book will appeal to all those who want to learn about NAV's powerful and extensive built-in development capabilities. It assumes that you understand programming and are familiar with business application software, although you aren’t expected to have worked with NAV before. ERP consultants and managers of NAV development will also find the book helpful.

What you will learn

  • Productively and effectively use the development tools that are built into Dynamics NAV
  • Understand the strengths of NAV s development tools and how they can be applied to address functional business requirements
  • Learn how to do programming using the C/AL language in the C/SIDE Development Environment
  • Explore functional design and development using C/AL
  • Leverage advanced Dynamics NAV development features and tools
  • Get to know the best practices to design and develop modifications of new functionality integrated with the standard Dynamics NAV software

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Apr 26, 2017
Length: 706 pages
Edition : 5th
Language : English
ISBN-13 : 9781786461926
Vendor :
Microsoft

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want

Product Details

Publication date : Apr 26, 2017
Length: 706 pages
Edition : 5th
Language : English
ISBN-13 : 9781786461926
Vendor :
Microsoft

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just Mex$85 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just Mex$85 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total Mex$ 4,760.97
Microsoft Dynamics NAV
Mex$2256.99
Programming Microsoft Dynamics NAV
Mex$1251.99
Mastering Microsoft Dynamics NAV 2016
Mex$1251.99
Total Mex$ 4,760.97 Stars icon

Table of Contents

9 Chapters
Introduction to NAV 2017 Chevron down icon Chevron up icon
Tables Chevron down icon Chevron up icon
Data Types and Fields Chevron down icon Chevron up icon
Pages - the Interactive Interface Chevron down icon Chevron up icon
Queries and Reports Chevron down icon Chevron up icon
Introduction to C/SIDE and C/AL Chevron down icon Chevron up icon
Intermediate C/AL Chevron down icon Chevron up icon
Advanced NAV Development Tools Chevron down icon Chevron up icon
Successful Conclusions Chevron down icon Chevron up icon

Customer reviews

Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.3
(4 Ratings)
5 star 75%
4 star 0%
3 star 0%
2 star 25%
1 star 0%
MAHMOUD ELMOUGY Jun 04, 2020
Full star icon Full star icon Empty star icon Empty star icon Empty star icon 2
there are some code is wrong in this book :(
Amazon Verified review Amazon
Rodrigue Sep 07, 2019
Full star icon Full star icon Full star icon Full star icon Full star icon 5
fast and good
Amazon Verified review Amazon
Vivienne Strettle May 01, 2018
Full star icon Full star icon Full star icon Full star icon Full star icon 5
Anything written by Mark is going to be worth reading.
Amazon Verified review Amazon
Doctor Slugworth Aug 02, 2017
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I need to get in contact with Mark Brummel and have him tutor me personally. Mark, can this be arranged? not in person though. I don't want to leave my house. the book is good for flipping through when you're learning how to manipulate the majority of areas in Dynamics NAV. I wish there was a ctrl+f on the book and it would flip to the correct page automatically. I guess I could just get a dual screen tablet/book reader thing if they make them. Hey Bezos, do you guys have them? I'm too lazy to scroll up and type it in the search bar, rather I'll keep my hands by the keyboard. maybe if I had an mouse I could move with my eye then I would scroll up but I don't have one of those either.. yes youre thinking. uh silly goose, hit page up. nope not going to happen. it's imperative the guy who was richer than William for more than a few hours must respond to my review on a book none of his platform is built on or would consider using.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.