Book Image

Dynamics 365 Business Central Development Quick Start Guide

By : Stefano Demiliani, Duilio Tacconi
Book Image

Dynamics 365 Business Central Development Quick Start Guide

By: Stefano Demiliani, Duilio Tacconi

Overview of this book

Microsoft Dynamics 365 Business Central is the new SaaS ERP proposition from Microsoft. This latest version has many exciting features guaranteed to make your life easier. This book is an ideal guide to Dynamics 365 Business Central and will help you get started with implementing and designing solutions for real-world scenarios. This book will take you through the fundamental topics for implementing solutions based on Dynamics 365 Business Central (on-premise and SaaS). We'll see the core topics of the new development model (based on extensions) and we'll see how to create applications with the new Microsoft ERP proposition. The book begins by explaining the basics of Dynamics 365 Business Central and the Microsoft ERP proposition. We will then cover topics such as extensions, the new modern development model of Visual studio code, sandboxes, Docker, and many others. By the end of the book, you will have learned how to debug and compile extensions and to deploy them to the cloud and on-premise.You will also have learned how to create serverless business processes for Microsoft Dynamics 365 Business Central.
Table of Contents (13 chapters)
Title Page
Packt Upsell
Contributors
Preface
Index

Dynamics 365 Business Central web services


When talking about integrating Dynamics 365 Business Central with external applications in a service-oriented way, we have essentially two main roads: use SOAP and OData web services, or use REST APIs.

To publish a NAV entity as a SOAP web service, you have to go to the web service page in Dynamics 365 Business Central. For this sample, we want to create a web service to access the Item entity, so we create a new record by inserting the following values:

  • OBJECT TYPE: Page
  • OBJECT ID: 30
  • SERVICE NAME: Item
  • PUBLISHED: true

Dynamics 365 Business Central automatically gives you the URLs for the OData and SOAP endpoints:

Now, you can access your published web service from an external application able to use SOAP web services.

To create a web service client, open Visual Studio and create a new Console application project (here called D365BCWebServiceClient). Now, right-click on your project and select Add a Service Reference.

In the Address box, enter the SOAP...