Looking for PowerObjects? Don’t worry, you’re in the right place! We’ve been part of HCL for several years, and we’ve now taken the final step in our acquisition journey: moving our website to the HCL domain. Nothing else is changing – we are still fanatically focused on Microsoft Business Applications!

PowerObjects Blog 

for Microsoft Business Applications


Using CRM 2015 Hierarchy Visualizations to Manage and Present NAICS Codes

Post Author: Joe D365 |

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!

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!

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

2 comments on “Using CRM 2015 Hierarchy Visualizations to Manage and Present NAICS Codes”

  1. Hi Joe,

    My Observation,2nd Screen Shot in the blog need correction I guess. Would it not be more appropriate if it would be “Code and Name" screenshot.

PowerObjects Recommends