MS Dynamics OData Settings
In order to use Integration Framework with MS Dynamics NAV on-premise or Azure installation, oData web services must be enabled.
Enable oData Web Services
This can be done by a MS Dynamics NAV administrator by using the MS Dynamics Server and enable the oData services for the installation he wants as shown on the below picture.
If the OData Base URL field is not set, then the default OData url will be used
that consist of MSDynamicsServerUrl:ODataPort/NavisitionInstallationName/Company('CompanyName')
Web Service Pages
Once OData services are enabled, the relevant pages for each model that will be synced should be published.
This can be done by navigating from a MS Dynamics NAV instance to Departments → Administration → IT Administration → Service → Web Services and add any new page that is needed.
Below is an example of web service page with all pages published
Below table contains the relation between web services and models for a ready-to-use integration setup
Web service page | Model |
---|---|
CustomerCard | Account |
ContactCard | Contact |
ItemCard | Product |
SalesInvoice | Invoice |
SalesOrder | Order |
PaymentJournal | Payments(push) |
CustomerLedger | Payments(pull) |
SalesLines | InvoiceItems OrderItems |