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

The AutoSplitKey property


Remember how our primary key on the lines ends with Line No.? Remember how we keep stating that the Line No. field is automatically generated by the system? Here's how we do this.

The way to do this is not at the table level, but at the page level. From Page Designer, move the cursor down until you are at a new line, then click on View | Properties:

On the property screen, find the AutoSplitKey property and set it to Yes. Another property you will need to set is the DelayedInsert property. Set this property to Yes as well:

The AutoSplitKey property can only be set if the last key on your primary key is an integer field. The purpose of AutoSplitKey is to have Dynamics NAV automatically assign a unique integer value to keep the record unique.

The AutoSplitKey and the DelayedInsert properties almost always go together. If you leave the DelayedInsert property as No (as it is by default), when you go to a new line, it will automatically insert a blank line; the reason...

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 $19.99/month. Cancel anytime