Book Image

Implementing Microsoft Dynamics NAV - Third Edition

By : Alex Chow
Book Image

Implementing Microsoft Dynamics NAV - Third Edition

By: Alex Chow

Overview of this book

Microsoft Dynamics NAV 2016 is an Enterprise Resource Planning (ERP) application used in all kinds of organizations around the world. It provides a great variety of functionality out-of-the-box in different topics such as accounting, sales, purchase processing, logistics, or manufacturing. It also allows companies to grow the application by customizing the solution to meet specific requirements. This book is a hands-on tutorial on working with a real Dynamics NAV implementation. You will learn about the team from your Microsoft Dynamics NAV partner as well as the team within the customer’s company. This book provides an insight into the different tools available to migrate data from the client’s legacy system into Microsoft Dynamics NAV. If you are already live with Microsoft Dynamics NAV, this books talks about upgrades and what to expect from them. We’ll also show you how to implement additional or expanding functionalities within your existing Microsoft Dynamics NAV installation, perform data analysis, debug error messages, and implement free third-party add-ons to your existing installation. This book will empower you with all the skills and knowledge you need for a successful implementation.
Table of Contents (19 chapters)
Implementing Microsoft Dynamics NAV Third Edition
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Accessing Dynamics NAV


In the past, Dynamics NAV had a single client access. But technology has changed and evolved, and so has Dynamics NAV. The release of Dynamics NAV 2009 already brought two new ways of accessing the application: the Role Tailored Client and Web Services. Dynamics NAV 2016 also brings new accessibility options: the Web Client and the tablet client. It has also removed the accessibility option, the Classic Client, although it has been maintained and converted for development purposes.

In this section, we will explain the different environments in which you can access your Microsoft Dynamics NAV 2016 application.

Windows client

The Windows client is also known as the RoleTailored client, or the RTC client. That was its name when the client was first released on Dynamics NAV 2009. But Dynamics NAV 2016 has the Web client, which is also a RoleTailored client. So, we cannot call it as the RoleTailored client anymore.

The Windows client is based on the individuals within an organization, their roles, and the tasks they perform. When users first enter Dynamics NAV, they see the data needed for the daily tasks they do according to their role. Users belonging to different roles will have a different view of the system, each of them seeing only those functions they need to be able to perform their daily tasks.

For those of you who haven't used Dynamics NAV 2009 yet, but had the chance to work with Microsoft Dynamics NAV 4.0 or 5.0, you might remember how difficult it was sometimes to locate a specific feature in the jungle of the navigation pane. Switching back and forth between the specific menus in search of a menu item was a frustrating experience, especially for users performing tasks in several functional areas of the application. Unless you used shortcuts, accessing any feature required three or four clicks, provided you knew exactly where it was. The system also didn't do much to help users focus on what was needed to be done, and after you found the feature you needed, you typically had to spend extra time searching for documents or tasks that needed your attention. With the Role Tailored Client, the feature jungle was gone.

The Windows client allows users to widely customize the data they see on each page. They have the ability to personalize the pages according to their requirements by hiding, moving, and configuring parts contained on the pages and also by saving queries, adding filters, and adding or removing fields. The ribbon can also be customized; you can add, remove, and rename actions, menus, and tabs.

The following screenshot shows what the Role Center of the Windows client looks like. Role Center is the main page of the client, and it is the first page a user sees when entering Dynamics NAV.

The Windows client supports three methods for authenticating users who try to access the Dynamics NAV Web client:

  • Windows: This credential type authenticates users using their Windows credentials (Active Directory, local workgroup, or the local computer's users). Because they are authenticated through Windows, Windows users are not prompted for credentials when they start the Windows client.

  • Username: This setting prompts the user for username/password credentials when starting the client. These credentials are then validated against Windows authentication by the Microsoft Dynamics NAV Server.

  • NavUserPassword: This setting manages authentication by the Microsoft Dynamics NAV Server but is not based on Windows users or Active Directory. The user is prompted for username/password credentials when they start the client. The credentials are then validated by an external mechanism.

  • AccessControlService: Using this setting, NAV uses the Microsoft Azure Access Control service (ACS) or Azure Active Directory (Azure AD) for user authentication services.

Web client

The Microsoft Dynamics NAV Web client gives users access to Microsoft Dynamics NAV data over a network, such as the Internet. From a web browser, users can view and modify data from a user-friendly interface that resembles the Windows client where the starting point is Role Center. The Role Center page can be customized according to a user's individual needs based on their role, company, and daily tasks. The Web client does not replace the Windows client, but complements it by enabling scenarios that are not possible with the Windows client. The following screenshot shows what the Role Center of the Web client looks like:

The Microsoft Dynamics NAV Web client supports most of the features that the Microsoft Dynamics NAV Windows client supports; however, there are some exceptions and limitations. The full list of the limitations can be found here: https://msdn.microsoft.com/en-us/library/hh168959(v=nav.80).aspx

Tablet client

With NAV 2016, the tablet client has been introduced. This means that you can download Dynamics NAV on your Apple, Android, and Microsoft tablet devices. The design of the tablet client is focused on how you usually hold the tablet; using both hands holding it like a steering wheel. The design has been done so that you can navigate between screens using your thumb.

The tablet functionalities are based on the web client. So this means that whenever you modify something in a page, it will translate into the web client and the tablet client.

SharePoint client

Microsoft Dynamics NAV SharePoint client enables you to interact with Dynamics NAV data from a Microsoft SharePoint website. The Microsoft Dynamics NAV SharePoint client is built on the Microsoft Dynamics NAV Portal Framework for Microsoft SharePoint 2010, which is a web-based application framework that integrates Microsoft Dynamics NAV with Microsoft SharePoint applications. By integrating with SharePoint, the Microsoft Dynamics NAV SharePoint client can use the business and administration features in Microsoft SharePoint including workflows, business connectivity services, workspaces, SharePoint authentication, and scalability.

With Microsoft Dynamics NAV Portal Framework for Microsoft SharePoint 2010, you can also do the following:

  • Display Microsoft Dynamics NAV pages and reports on SharePoint sites using an URL

  • Add a page using a Microsoft Dynamics NAV web part and connect the web part to other web parts on a SharePoint page

  • Edit data on pages in web applications and update the changes in the Microsoft Dynamics NAV 2013 database using the same metadata and business logic that is rendered in the Microsoft Dynamics NAV Windows client

Working with Microsoft Dynamics NAV pages and reports in the SharePoint client is very similar to working with pages and reports in Microsoft Dynamics NAV Windows client or Microsoft Dynamics NAV Web client. The Microsoft Dynamics NAV SharePoint client is designed for occasional users who typically need an overview of their daily work status and perform relatively simple or light data entry.

Web Services

Microsoft Dynamics NAV provides Web Services, which makes it easy for other systems to integrate with Microsoft Dynamics NAV. Web Services allow you to expose the business logic of Dynamics NAV to other environments.

Web Services are a lightweight, industry-standard way to make an application functionality available to a wide range of external systems and users. Microsoft Dynamics NAV 2016 supports creation and publishing of Microsoft Dynamics NAV functionality as Web Services. You can expose pages, codeunits, or queries as Web Services and even enhance a page Web Service with an extension codeunit. When you publish Microsoft Dynamics NAV objects as Web Services, they are immediately available on the network.

Developers can publish two types of Web Services from Microsoft Dynamics NAV objects:

  • SOAP Web Services: You can publish either Microsoft Dynamics NAV pages or codeunits as SOAP services.

  • OData Web Services: You can publish either pages or queries as OData services. The OData protocol offers new and flexible opportunities for interacting with Microsoft Dynamics NAV data. For example, you can use OData Web Services to publish a refreshable link to Microsoft Dynamics NAV data that can be displayed in Microsoft Excel with Power Pivot or in SharePoint.

Three different objects can be exposed as Web Services:

  • Page Web Services: When you expose a page as an OData Web Service, you can query that data to return a service metadata (EDMX) document or an AtomPub document. When you expose a page as a SOAP Web Service, you expose a default set of operations that you can use to manage common operations such as create, read, update, and delete. For SOAP services, you can also use extension codeunits to extend the default set of operations that are available on a page.

  • Codeunit Web Services: Currently available only for SOAP Web Services, codeunit Web Services provide you with maximum control and flexibility. When a codeunit is exposed as a web service, all the functions defined in the codeunit are exposed as operations.

  • Query Web Services: When you expose a Microsoft Dynamics NAV query as an OData Web Service, you can query that data to return a service metadata (EDMX) document or an AtomPub document.

Development Environment

You use the Microsoft Dynamics NAV Development Environment to develop Microsoft Dynamics NAV applications. This component, which was also an end user client in the earlier versions of Microsoft Dynamics NAV, was formerly known as the Classic Client.

When you open the development environment, the Object Designer opens, which gives you access to Microsoft Dynamics NAV objects. You can use the Object Designer to modify the application or to create new application areas.

You can also use the development environment to create and manage Microsoft Dynamics NAV 2016 databases to create and manage Microsoft Dynamics NAV companies and to upload or change Microsoft Dynamics NAV licenses.

The following screenshot displays how the Development Environment looks like:

As previously mentioned, whatever you change in the development environment will be reflected in all of the different clients. This significantly reduces the development time to deploy changes to your web client, tablet client, and sharepoint client.