Book Image

Getting Started with Dynamics NAV 2013 Application Development

By : Alex Chow
Book Image

Getting Started with Dynamics NAV 2013 Application Development

By: Alex Chow

Overview of this book

So, your company has made the wise decision to use Dynamics NAV as its main business software for all its enterprise resource planning. Dive in and learn the ins and outs of the software from a development standpoint and unlock the software's full potential.The book will walk you through creating an application from start to finish. Once you know how to create a working application that users can access, you will have the knowledge and the resources needed to create other applications based on the tutorials covered in this guide.You will start by obtaining a free trial version of Dynamics NAV and then be introduced to the world of analyzing and deriving user problems into a requirements list. Finally, you will be shown how to use the software to knock out these requirements. You will learn everything you need in order to begin creating your own applications, from translating the user's requirements to creating and modifying your system applications. Use Dynamics NAV's capability to create an application and address the user's needs, while also learning best practices and simple solutions. "Getting Started with Dynamics NAV 2013 Application Development" will help you on your way to becoming a great developer!
Table of Contents (17 chapters)
Getting Started with Dynamics NAV 2013 Application Development
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Generate unique document numbers automatically


Let's do a quick check on our requirement list:

To have a record automatically generate a unique number, we will use the existing Dynamics NAV functionality called number series (shortened to No. Series in Dynamics NAV). The purpose of the number series functionality is to allow the system to keep track of a unique number for you and save the number used in a table. This function is typically used for primary key fields, as we will use with our application.

For example, if we set our sales invoice number series to start from INV-100000, Dynamics NAV will automatically increment INV-100000 by one numeric digit when we call this function. In this case, the next value to be given will be INV-100001.

If you want to learn more about the number series function in Dynamics NAV, you can read about it here:

http://msdn.microsoft.com/en-us/library/hh879485(v=nav.70).aspx