The process of using MS NAV Adatper is explained in this section with an example of integrating MS NAV with MySQL Database. In this example four process flows as mentioned below is built for integration. Based on the requirement, other process flows can be built. Wiki link Platform can be referred to learn about building process flows / Process Definition Language.
- MS NAV Customers to DB Customers
- To sync MS NAV Customers into Database Customers table.
- MS NAV Invoice to DB Invoice
- To sync MS NAV Invoice into Database Invoice table.
- DB Customers to MS NAV Customers
- To sync Database Customer table into MS NAV Customers module.
- DB Invoice to MS NAV Invoice
- To sync Database Invoice table into MS NAV Invoice module.
DBSync Setup:
- Enter your DBSync Username and Password and click on Login.
- Once logged in, click on "My Home" tab from the menu and click on Launch button.
![](/docs/download/attachments/7340131/worddavb21d700be07ccf91b5d29dee4f77cdc0.png?version=1&modificationDate=1405594473000&api=v2)
- You will be re-directed to DBSync profile page.
- Click on Quick Start button to navigate to the configuration window as shown.
![](/docs/download/attachments/7340131/worddav2b43777fcb13c0ae394a0be8185ffd10.png?version=1&modificationDate=1405594473000&api=v2)
- Click on MS NAV on the top left corner of the Quick Start window.
![](/docs/download/attachments/7340131/worddavc02447fc335ab325154a01ec35c588c8.png?version=1&modificationDate=1405594473000&api=v2)
- Retain the default classpath.
- Enter your MS NAV username & password in the specified field.
- Enter the base URL for the server wherein MS NAV is installed. If DBSync is installed in the same machine where MS NAV is installed URL field need not be entered.
- Click on Save Properties to save MS NAV settings.
- Click on Validate to confirm validation.
- Click on Database on the top left corner of the Quick Start window.
![](/docs/download/attachments/7340131/worddavc1755bcda5f6dded63a93e8139c9ee4c.png?version=1&modificationDate=1405594474000&api=v2)
- Enter your database username & password in the specified field.
- driver should be the type of database.
- autocommit should be true.
- dbname should be the name of database.
- Click on Save Properties to save MS NAV settings.
- Click on Validate to confirm validation.
Running the Integration:
Integration can be run using scheduler or run button. Scheduler can be used to setup auto run & run button can be used to run the integration manually.
Scheduler:
- Click on the Scheduler button on the top right corner of DBSync profile page.
- Select the required profile to schedule & Process.
- Enter the frequency of sync under Cron Settings.
- In the bottom, Cron Scheduler will show the scheduled process.
- In case, the scheduled process is no longer required, you may delete the schedule.
![](/docs/download/attachments/7340131/worddava5ac8da50025e53fc566a5e5a3813283.png?version=1&modificationDate=1405594477000&api=v2)
Manual Run:
- Click on edit on DBSync profile page.
![](/docs/download/attachments/7340131/worddav8bc646fe4d4e88712e09f9c6a6351864.png?version=1&modificationDate=1405594477000&api=v2)
- Select the required process to run.
![](/docs/download/attachments/7340131/worddav01d2844458c546f7fac73f35e44a9cf1.png?version=1&modificationDate=1405594478000&api=v2)
- Click on Run to manually initiate integration.
![](/docs/download/attachments/7340131/worddav6546d08dda6098f55db8465728d1ef80.png?version=1&modificationDate=1405594479000&api=v2)