Skip to main content

How to Integrate Microsoft Dynamics CRM with Microsoft Dynamics Navision 2017?


   In my post, you will get to know how to integrate CRM with Navision 2017.

    Prerequisite for CRM-
    You would need an instance of CRM. If you dont have it you can click on the link and create one. https://www.microsoft.com/en-us/dynamics/free-crm-trial.aspx
 

  Note- All my development and testing have done in Azure server.   
   Prerequisite for Nav- make sure all the CRM objects in Navision 2017 are the version of  NAVW110.00.00.14199, that is of cumulative update 2, otherwise you get errors.

    Follow the following Steps-


  1.Go to CRM homepage, in the homepage go to Settings\Customizations and click on Solutions. 
  
  2. Import a solution in CRM by clicking the import button and browse the zip file which is available in NAVDVD\CrmCustomization.




    
  3. Click Next and Import the solution.
   
  4. Now, under settings Go to Security and click on Users.
  
  5. We need Two users in CRM to perform integration with NAV, One would be the admin of CRM and the other would be the Integration User. Here I’m using the same User for admin and Integration User.

  6. You have to assign 4 roles to this user- dynamics Nav integration administrator, dynamics Nav integration User, system administrator, system customizer.

  7. There is a field on this user’s form, Integration user mode, make sure it is YES.


    
  8. In the search bar in Navision 2017 type CRM Connection Setup and open the page or go to Departments/Administration/IT Administration/Services and click on Microsoft CRM connection setup.

  9. Click on assisted setup and enter Dynamics CRM URL and in the next window enter the Credentials. Here I’m using the same user for integration and admin.

   
  10. Click Next and finish the assisted setup, make sure every Boolean field is true.






  11. Now our connection has been set up. To integrate sales order integration you have to manually enable it.


  12. To test the connection if all the settings are valid click on test connection.


     


  13. To map the Dynamics NAV user to CRM user, Go to the user and fill in the office 365 authentication Email ID.

  14. To check all the standard mapping, click on Integration Table mappings.

  15. This is standard table to table mappings in Navision 2017 to CRM.



  16. Now to check further, click on fields to check field to field level mappings.



   
  17. Here as you can see, the last three fields have been added by me, this is custom mappings.
  18.  In my next post, I will show you how to map these custom fields in different CRM entities.   












Comments

  1. Great Post!! Thanks for sharing this with us.
    CRM System

    ReplyDelete
  2. Hi, thanks for this post.

    I have tried to integrate NAV 2016 On-Premise and Dynamics 365 (8.2.2.160).

    I followed same way. I get error "Invalid ISO Currency Code" when coupling NAV Items and CRM Product. Also, i coupled successfully CRM Transaction Currency and NAV Currency.

    Also, i can't see Integration Field Mapping button.
    I appreciate if you can help.

    ReplyDelete
  3. Your article is very useful for me. Thank you for sharing this useful information.

    Microsoft Dynamics CRM Training Courses | Microsoft Dynamics CRM Training Institutes in Chennai

    ReplyDelete
  4. This concept is a good way to enhance the knowledge.thanks for sharing. please keep it up Salesforce Online Training Hyderabad

    ReplyDelete
  5. Great articles, first of all Thanks for writing such lovely Post!

    technocrawler
    Technology

    ReplyDelete
  6. nice blog. thanks for sharing Devops Tutorials. It’s really Helpful for me.
    Microsoft Dynamics Online Training

    ReplyDelete

Post a Comment

Popular posts from this blog

How to Publish Custom Codeunit as web service and Consume it in Navision Part 1

In this post we will create a codeunit and publish this as a web service which will read a xml and send the XML in a variable big text format and consume the web service in another Codeunit of Navision I will divide this Blog into 2 parts. In the first part we will be publishing the Codeunit as web service. In the second part we will be consuming the web service. Pre-requisite-      1)   You will have to create staging table, I have created customer staging table.      2)   You will also have to create XMLport for the staging table we created so that we can export and import data into the table.      3)   You will need to install Chrome extension Boomerang (we will discuss its use later on). Let’s begin- I have created a staging table of customer with Primary Key as Entry No Similarly, I have created a XMLport of this staging table. Please change the Encoding property to UTF-8 and default namespace to No . As shown

How to Integrate Microsoft Dynamics CRM with Microsoft Dynamics Navision 2017 with custom field mappings?

In my earlier Post of Nav-CRM integration, it was more focused on the functional side. Let’s go into the technical details of integration. If you haven’t read my first post of Nav-CRM integration, I would strongly recommend you to visit the link, To see how the connection is made. How to integrate Nav-CRM? Part 1 In this post we will discuss how to create custom field mappings in Customer-Account synchronization. Firstly there is a new table-type called CRM.   Now what should you do if you have a new custom field in CRM and you want to map with a custom field in CRM account table ID 5341? You cant create the field manually because it will give a ExternalType="" as Error.  For this you will have to use the power-shell cmdlet to Refresh the schema of table CRM account(5341). Open the Windows Power-shell ISE in Administrator mode . Import-Module "C:\Program Files (x86)\Microsoft Dynamics NAV\100\RoleTailored Client\Mi