Book Image

Building ERP Solutions with Microsoft Dynamics NAV

By : Stefano Demiliani
Book Image

Building ERP Solutions with Microsoft Dynamics NAV

By: Stefano Demiliani

Overview of this book

Implementing Microsoft Dynamics NAV in the real world often requires you to integrate the ERP with external applications or solve complex architectural tasks in order to have a final successful project. This book will show you how to extend a Microsoft Dynamics NAV installation to the enterprise world in a practical way. The book starts with an introduction to Microsoft Dynamics NAV architecture and then moves on to advanced topics related to implementing real-world solutions based on NAV and external applications. You will learn how an enterprise distributed architecture with NAV at the core can be implemented. Through a series of real-world cases on every topic and every industry (sales, retail, manufacturing, distribution, healthcare, and so on), you’ll see step by step how to efficiently solve a technical problem. These common problems encountered in a NAV implementation will be solved using the entire technology stack that Microsoft offers. By the end of the book, you will have the knowledge to efficiently solve certain scenarios, you will know which is the best solution architecture to propose to a customer and how to implement it.
Table of Contents (17 chapters)
Building ERP Solutions with Microsoft Dynamics NAV
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Publishing the NAV objects


To expose the NAV business objects and entities we have previously created to an external world, we need to publish them as a web service:

  1. To do so, we can open the Web Service page in NAV and create the new entries (with Published = TRUE) for the Codeunit object:

  2. Here we need to set the following parameters:

    • Object Type: Codeunit

    • Object ID: ID of our previously created codeunit in NAV (obviously, the object ID can be a standard range or a custom range)

    • Service Name: This is the name of our codeunit web service (without spaces!)

    • Published: TRUE

  3. When published, NAV gives the SOAP URL. We can test if all is working by opening a browser and load the returned URL.

  4. For every Query object to publish, we need to create an entry in the Web Services page with:

    • Object Type: Query

    • Object ID: ID of our previously created Query in NAV

    • Service Name: This is the name of our Query web service (without spaces!)

    • Published: TRUE

    This is the final result:

  5. After publishing a Query object...