Consuming a document service

In Dynamics AX, document services normally provide a number of predefined operations, such as create, delete, read, find, findKeys, and others. Each operation is responsible for some particular action, for example, create allows creating a new document, delete allows deleting a document, and so on. The read operation was demonstrated in the Consuming an existing document service recipe.

In this recipe, we will create a .NET console application to demonstrate how the find operation can be used. We will consume the service created in the Creating a document service recipe to list all currencies in the system.

How to do it...

Carry out the following steps in order to complete this recipe:

  1. In Visual Studio, create a new Visual ...

Get Microsoft Dynamics AX 2012 Development Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.