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

Creating a conditional table relationship


Within the requirement list, we have stated that we want to allow the user to specify whether the item came from a purchase order from a vendor or a production order. We want to allow the user to be able to specify and look up either Purchase Receipt or Finished Production Order.

The same concept is applied to the Type and the No. field in the Sales Line table. Depending on what you select as Type, the No. field will look up to the appropriate table. For example, if you choose G/L Account as Type, the No. field will look up to the G/L Account table.

  1. To do this, we will need to create two fields, Source Type and Source No.. The Source Type field will allow the user to indicate whether Source No. will be a Purchase Receipt number or the Finished Prod. Order number.

  2. Go to the property of the Source Type field and find the OptionString property. In the Value column of this property, type in Purchase Receipt,Finished Prod. Order with no spaces between the...