Home Recent Sign up Sign in

Navision Application Server (NAS) Connector

 

If you need to run C/AL code when you transfer data to/from MS Dynamics NAV, you can use the NAS Connector.

We recommend that you use the RapidiConnector (based on C/Front) for most purposes and only use the NAS Connector for the few cases where you really need to run C/AL code. The NAS Connector is then usually used in addition to the RapidiConnector.

 

In order for RapidiOnline to transfer data to/from your local Navision system, you need to download and install an AutomationServer dll on the computer that should run the link to Navision (would normally be the NAS Server but could be a workstation for test purposes) and additionaly, you need to import a few codeunits into your Navision.
The Connector must be configured with parameters (see below) specific to your service.
When started the Connector will connect to our central service and keep that connection open. The connection will then be used to transfer data between your local databases and your other systems.
Please Note that the Navision objects that you can download are compatible with MS Dynamics NAV 3.70 or later - you should be able to import these codeunits in MS Dynamics NAV 4.0, 5.0 or 2009 without modifications.

 

In the RapidiOnline Configuration application, go to Configure - NAS Connector, press NEW (if you don't have a NAS Connector created) and unfold the "NAS RapidiConnector" by clicking the red triangle.

 

Please follow these steps:

1. Download the Connector pack zip file (use link below).

2. Unpack the zip file to some temporary directory.
3. Copy the dbconn.dll file to the windows system32 directory (on the NAS Server).
4. Run "regsvr.exe dbconn.dll" to register the Connector in windows.
5. Import the object file (DB_BO10x.fob) into MS Dynamics NAV.
6. Locate codeunit 64020 and edit it:
enter the details listed below (RapidiServiceId, UserID and Password) in the variables in top of the codeunit.
7. Now run codeunit 64020.
8. Check that the NAS Connector is connected (see the Dashboard page)

 

To get the NAS connector running under NAS follow these steps:

follow step 1 to 6 above and then:
7. Edit codeunit 1 to setup NAS to run codeunit 64020 at startup.
8. Start NAS and ensure that the NAS Connector is connected.

 

Configuration

The field of the NAS Connector Data Source Card is described as follows:

  • Description: Enter a text describing the Data Source.

 

Test and Read Design

 

You can Test that the access to a DataSource works using the Test button on the DataSource. Select the Configure Tab and then go to ...

 

Read Design is the way to read the layout - the information about tables and fields - from a DataSource. Reading the design is necessary ...