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

A look at what is installed


After the installation finishes, if you click on your Start icon in Windows, you'll notice a few new icons. They are:

  • Microsoft Dynamics NAV 2013 Administration Shell

  • Microsoft Dynamics NAV 2013 Development Environment

  • Microsoft Dynamics NAV 2013

  • Microsoft Dynamics NAV Administration

  • Microsoft SQL Server 2012 folder

  • Microsoft SQL Report Builder folder

In addition, there will be two services that will be running. They are:

  • Microsoft Dynamics NAV Server [DynamicsNAV70]

  • SQL Server (NAVDEMO)

The SQL Server (NAVDEMO) is the service for the SQL Server instance where the demo database resides. Microsoft Dynamics NAV [DynamicsNAV70] is the middle tier that the client connects to. Ensure both of these have their status as Started.

Microsoft Dynamics NAV 2013 Administration Shell

The Microsoft Dynamics NAV 2013 Administration Shell allows you to run scripts implemented using PowerShell 2.0. There are predefined commands (called Cmdlet) that the user can use right away. The built-in Cmdlet allows the administrator to configure and troubleshoot permissions and connection problems on a local or remote computer. Also worth mentioning is that Cmdlet should always be run as an administrator.

This tool will come in very handy if you're deploying Dynamics NAV to remote locations or in your own private cloud.

Microsoft Dynamics NAV 2013 Development Environment

As the name suggests, this is where NAV developers come to create all sorts of wonderful things for Dynamics NAV. This is the main environment where developers work; it is called the Client/Server Integrated Development Environment (C/SIDE). Within C/SIDE, you will be developing using a language called Client/server Application Language (C/AL).

All of the objects are contained within this environment and stored in the SQL Server database, so you do not have to go anywhere else to create or modify applications for the end users. Even the development of report layouts, which uses Visual Studio and not C/SIDE, is tightly integrated and is launched from within the development environment.

The development environment is also where the user can update the license either on the server or for their particular session.

When you start this application, it will look very empty. For Dynamics NAV developers, the majority of their time will be spent here, so having a nice clean space is a very good start.

Microsoft Dynamics NAV 2013 Windows Client

Microsoft Dynamics NAV 2013 Windows Client is the actual client application that the end users will be using to transact their daily operations. As mentioned earlier, the client application is called the Role Tailored Client (RTC), or Windows Client.

By default, when you start the Windows Client, you will assume the role of a sales-order processor. This is okay, because you can still access any part of the system as long as you have permission to do so.

Any changes we've made in the development environment will be reflected in the client application through the middle tier. If you're using any other interface, such as a mobile interface or a web interface, the changes will be reflected there as well.

Microsoft Dynamics NAV Administration

Do not confuse this with the previously mentioned Administration Shell. The Microsoft Dynamics NAV Administration program allows you to manage the Dynamics NAV services that are installed both on your local computer and on the server. You can also manage the services without using this program using the command prompt, but that wouldn't be very efficient, or fun.

The SQL Server 2012 folder

There's a tool in the SQL Server 2012 folder called Import/Export Data. As a general rule, when working with Dynamics NAV or any ERP software out there, do not ever try to import data directly into the SQL tables in your ERP software. The reason is that these import/export programs do not validate against any business logic that's built in place. By doing these imports in an external program, you risk undermining the integrity of the data in your ERP software.

The SQL Server 2012 report builder

The SQL Server 2012 report builder is installed primarily for the API to upgrade RDLC 2005 for Dynamics NAV 2009 to RDLC 2008 in Dynamics NAV 2013.

Of course, you can use the report builder to create beautiful reports for Dynamics NAV if you do not wish to use the reporting tool within C/SIDE.

The reports that you will be modifying or creating in C/SIDE will automatically be linked to the appropriate objects. However, the reporting in C/SIDE will not be done using the Report Builder application.