Click here to Skip to main content
13,146,315 members (44,584 online)
Click here to Skip to main content
Add your own
alternative version

Tagged as


2 bookmarked
Posted 5 Jul 2013

Displaying a Subset of the Company Family Tree

, 5 Jul 2013
Rate this:
Please Sign up or sign in to vote.
An idea for the DnB Developer Challenge to display a subset of the company family tree

Editorial Note

This article is an entry in our DnB Developer Challenge. Articles in this sub-section are not required to be full articles so care should be taken when voting.


This article describes an idea for an application that uses data from the D&B sandbox. The D&B sandbox uses a subset of business data from D&B’s database of over 215+ million business records. The business records are accessed through a cloud hosted API that provides a variety of functions for accessing company content.


Each company location has a unique number called a DUNS number that is assigned to it. It is a unique 9 digit number assigned by D&B. It has existed for over 50 years and is used by business and government agencies. Once a DUNS number is assigned it remains with the business forever.

One of the basic functions available through the API retrieves Company Family Hierarchy information when a DUNS number is provided. (If you don’t know the DUNS number of the company there is another API call that can retrieve it.) This shows the legal structure of a company group or family, such as if it is the Headquarters, Parent, Subsidiary or Ultimate Parent. It can be used in a CRM to show related accounts or used to research the company for marketing purposes.


Our CRM system stores the DUNS number on the account record. With the DUNS number we can use the API to retrieve the company hierarchy or family tree. The problem is that we usually work with a subset of the locations in the company family tree so if we show the entire tree it can get confusing to determine which locations we actually work with.

What I propose would be to use the API to retrieve the complete family tree for a company and display it as a tree view. Then find the company records in our CRM that are in the tree and show them highlighted in some way. We can use this to quickly be able to see which subsidiaries we deal with and determine if we need to create new accounts or organize our existing ones to match the full tree.


Original Version.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Database Developer Minitab
United States United States
No Biography provided

You may also be interested in...


Comments and Discussions

GeneralThanks for your submission! Pin
Kevin Priddle9-Jul-13 6:29
staffKevin Priddle9-Jul-13 6:29 
GeneralRe: Thanks for your submission! Pin
relhok139-Jul-13 8:27
memberrelhok139-Jul-13 8:27 
GeneralRe: Thanks for your submission! Pin
chrispardo9-Jul-13 16:32
memberchrispardo9-Jul-13 16:32 
GeneralRe: Thanks for your submission! Pin
Kevin Priddle10-Jul-13 6:07
staffKevin Priddle10-Jul-13 6:07 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

Permalink | Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.170915.1 | Last Updated 5 Jul 2013
Article Copyright 2013 by relhok13
Everything else Copyright © CodeProject, 1999-2017
Layout: fixed | fluid