Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidmoten/microsoft-dynamics-finance-client
Java client for Microsoft Dynamcis Finance and Operations API
https://github.com/davidmoten/microsoft-dynamics-finance-client
Last synced: about 1 month ago
JSON representation
Java client for Microsoft Dynamcis Finance and Operations API
- Host: GitHub
- URL: https://github.com/davidmoten/microsoft-dynamics-finance-client
- Owner: davidmoten
- License: apache-2.0
- Created: 2022-05-26T22:06:03.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-09T06:00:35.000Z (2 months ago)
- Last Synced: 2024-09-09T07:24:47.094Z (2 months ago)
- Language: Java
- Size: 1.44 MB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# microsoft-dynamics-finance-client
This is a java client for the Microsoft Dynamics Finance and Operations API and is built using [odata-client](https://github.com/davidmoten/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](src/main/odata/microsoft-dynamics-finance-metadata.xml) 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](https://github.com/wvengen/proguard-maven-plugin).
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](/src/test/java/com/github/davidmoten/ms/dynamics/DynamicsMain.java) for usage.