/microsoft-dynamics-finance-client

Java client for Microsoft Dynamcis Finance and Operations API

Primary LanguageJavaApache License 2.0Apache-2.0

microsoft-dynamics-finance-client


This is a java client for the Microsoft Dynamics Finance and Operations API and is built using odata-client. As each organization has their own extensions to the API it makes sense that each organization builds their own client.

Getting started

mvn clean install

At that point you will have a newly built jar in the target directory microsoft-dynamics-finance-client-0.1-SNAPSHOT.jar.

Note that the Finance and Operations OData metadata is large (28M) and as a consequence there are lots of generated classes too (over 13,600!). The jar is about 29M. You could trim your metadata but that gets complex because of all the intertwined dependencies in the data model. If you do need to reduce the jar size to just support the functionality you need then I suggest building an uber jar with your code and this library and shrinking it with ProGuard.

Dynamics allows you to extend the base functionality of the system. When you do so replace the file src/main/odata/microsoft-dynamics-finance-metadata.xml with your service metadata and rebuild the client so you can access your new functionality using type-safe Java code.

Usage

See DynamicsMain.java for usage.