Overview
The Dynamics NAV adapter simplifies the extraction of data from Microsoft Dynamics NAV. This article details how to setup the NAV adapter using a SQL Provider.
Prerequisites
Import NAV Adapter into the New NAV Database (NAV 4.0SP1 - 2009R2)
If the NAV database that is being used is a new NAV database that was not previously used by the Jet Data Manager then the NAV Adapter needs to be imported into the NAV database and the Adapter Setup needs to be run. This is the same process that was followed during the initial setup and additional information can be found in the Jet Reports installation document.
Open the Project in the Jet Data Manager
Since the data source needs to be changed in the project itself, open the Jet Data Manager and open the desired project.
Add Dynamics NAV Adapter
-
On the Data tab, right click Data Sources → Adapter Data Sources → Add Dynamics NAV Adapter
-
Click Wizard Setup
-
Click Microsoft SQL Provider
For adding a NAV Native data source see the following article: Configuring A Natvie NAV Project -
Assign a name in the Name field. In this example we choose NAV. Click OK.
-
In the Server name field enter the name of the server where your NAV database resides. In this example we choose localhost.
-
In the Database field select your NAV database.
-
Click OK
-
Accept the defaults and click OK
-
Accept the defaults and click OK
-
The Synchronization result: dialog opens and shows added accounts. Click OK
-
Select the company(s) you would like to report from. In this example we only wanted to report form the North American company.
-
Select the template that corresponds the the company you selected.
-
Click OK
If selecting more than one company select the template of the main company
Synchronize Database Objects
-
Right click the NAV data source and select Read Objects. This will synchronize all necessary database objects (such as tables, fields, and option values) from the new data source to the Jet Data Manager.
The NAV Adapter must be imported and executed in the new database prior to synchronizing the objects. If this has not been done then an error will appear. -
The following window will appear during the synchronization process:
Once synchronization is complete the Jet Data Manager will display any changes that have occurred in the tables and fields currently being used in the project. If no changes are found the follow screen will appear:
Deploy and Execute the Project
-
After the new data source has been configured and synchronized the final step is to deploy and execute the project against the new database. This can be achieved by clicking the Manual Deployment and Execution button at the top of the Data tab:
-
Click the Start button to start the deployment and execution process.
Comments