POWEROBJECTS

718 Washington Ave. N. Suite #101
Minneapolis, MN 55401
View map and all Locations

Send us a message

The use of NAICS Codes in Microsoft CRM is becoming a more and more frequent request. Many businesses use The North American Industry Classification System (NAICS) Codes to classify their customers and prospects. In today’s blog, we will show you a nice and easy way to leverage CRM 2015’s hierarchy visualizations to manage and present NAICS Codes. Let’s begin!

tips-and-tricks

1. First, we need to create a new entity called Codes. Be sure to uncheck all options except the section where you want your new entity to appear:


2. Next, name the primary attribute “Code and Name” and make 200 the maximum length.

hjk

3. Add the following new attributes to your entity:

  • Code – to store the actual NAICS code. We will use codes without dots (111 instead of 1.1.1).
  • Code set – this will identify the set that is being used. In this example, we are using NAICS 2012. Having this code set will enable us to have better reporting in the future as new code sets are added to the system.
  • Sequence – this is an incremental number that allows us to sort the code list. You may say “why not sort on code? Well, there are exceptions to the codes where they are not purely numerical. For example, in our current code set, manufacturing is 31-33 which would throw off our sort.
  • Parent Code and Name – this is the key to our design. It will allow us to leverage the hierarchy visualizations.


Here is a screenshot of the parent code and name attribute:


4. Create a new quick view form that you’ll use for the hierarchy settings later.


5. Set hierarchy.

  1. Click on Hierarchy settings.
  2. Click New.
  3. Name your hierarchy.
  4. Select the quick view form that you created in step 3 from the list.
  5. Click on Mark relationship as enabled for hierarchy.
  6. Click on Mark Hierarchy.
  7. Click Done.
  8. Save and close.


6. Lay out your form as shown below.


7. Edit your quick find active codes view and add code and code and name to the find columns. This will allow the user to search by code or by the name of the code.


8. Now you can load your codes into CRM. This is what the code list will look like:


9. Now, we add a lookup on codes to any record in CRM. Users will be able to search on codes and names. In addition, they will be able to see the parent code in the list. Let’s take a look at our new lookup.


10. Finally, we are able to leverage the hierarchy visualizations to see our NAICS codes!


If you want to get fancy, you can add a custom control to your form so that you can leverage the hierarchy when selecting the NAICS Code. This custom control filters on the code set and sorts on your sequence number that is populated using PowerObjects’ PowerAutoNumber add-on!

Here is what it looks like:


We hope you found today’s blog helpful. Keep checking our PowerObjects blog for more tips and tricks! If you are looking for more information on creating custom entities or hierarchy visualizations check out other blogs on the topic as well as the CRM Book!

Happy CRM’ing!

Avatar for JoeCRM

JoeCRM

Joe CRM is a CRM superhero who runs on pure Microsoft Dynamics CRM adrenaline. As the face of PowerObjects, Joe CRM’s mission is to reveal innovative ways to use Dynamics CRM and bring the application to more businesses and organizations around the world.