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

Defaulting fields using FlowFields


After we default the fields for the customer address information, we will also default the Vendor Name when the user enters the Vendor No. value.

Instead of using code this time, we will use the FlowFields feature in Dynamics NAV to display this information. For a full and detailed explanation on FlowFields, go here:

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

FlowFields are basically a way to quickly display calculated information in a field. We will replicate this, but instead of calculating numbers, we will look up information.

Go to Properties for the Vendor Name field:

Change the FieldClass property to FlowField. Click on the AssistEdit button in the CalcFormula property.

Here you want to put in a formula to Lookup the Vendor table in the Name field where the No. field on the Vendor table is the same as the Vendor No. in the Complaint Header table. The following screenshot describes what we should have in place:

Click on OK once you...