Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
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

Put our code in the table


Dynamics NAV has internal functions to perform certain tasks. The list of these internal C/AL functions for tables can be found here:

http://msdn.microsoft.com/en-us/library/dd355032.aspx

Now that we know what code to put in and where to put it, go back to the tables in Object Designer and go to our table 50000, Complaint Header. Click on Design to enter the design mode.

The first thing we need to do is define the variables in our table. Click on View | C/AL Globals. Define the NoSeriesMgt variable as the NoSeriesManagement codeunit, or we can just copy and paste the variable from the Sales Header table. Be sure to highlight the whole line and copy and paste, otherwise you may just copy the name or the data type.

After the variable is defined, close the C/AL Globals screen and push F9 to go into the C/AL code.

We will omit the TestNoSeries function because we're defining the number series directly within the function.

Hardcoding values is not the correct way to...

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
Banner background image