Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Unanswered

Datasouces of User Contact, Department and Location info from CRM

(0) ShareShare
ReportReport
Posted on by 5

Hi All

I am newbie for CRM and works with CRM database first time.

I am looking for datasources for following entities (user, department and location) columns and can relate each other with column key like departmentcode & locationcode.

I have done some intitiatives to find/map them thru dependancy and reference column keys (primary & foreign) using SQL queries. But it is quite diffucult to find/map  the columns due to CRM structure. 

User Columns
employeeID
AccountName
firstName
lastName
managerEmployeeID
managerSamAccountName
positionTitle
positionID
departmentCode
locationCode
phoneMobile
costCentre
userType
startDate
endDate
status

Department Columns
departmentCode
departmentName
parentCode
status
effectiveDate
departmentLevel

Location Columns
locationCode
locationlocation
streetAddress
suburb
city
country
postCode

Is some one can help/guide with to locate above datasources in CRM database. CRM version is 2016.

Thanks in Advance 

  • SQLHoncho Profile Picture
    5 on at
    RE: Datasouces of User Contact, Department and Location info from CRM

    Is anyone can help with my problerm?

  • SQLHoncho Profile Picture
    5 on at
    RE: Datasouces of User Contact, Department and Location info from CRM

    Thanks Bipin appreciate quick reply...

    These are 3 views i want to create so looking for data sources (data points)  from CRM database for columns of views.

    I found contact table and filtered views but like said above could not map them.

    "If you have access to SQL, you could write query and execute to get the result. If you want to see these data from CRM UI then advanced find is best tool to check that."  - well that's why I asked Q in the forum for help with SQL for view's columns.

    Looking forward to have assistance.

    Hope this clarify your Qs.

  • Bipin D365 Profile Picture
    28,981 Moderator on at
    RE: Datasouces of User Contact, Department and Location info from CRM

    Hi,

    What are your requirements?

    Department & Location are custom entity in CRM. User OOB entity.

    You have already identified the column to join with. You were able able to write sql query.

    What help do you need? If possible share some screenshot to understand your requirement clearly and provide guidance.

    If you have access to SQL, you could write query and execute to get the result. If you want to see these data from CRM UI then advanced find is best tool to check that.

    If found helpful, Please mark my answer verified.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 225 Super User 2025 Season 1

#2
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 97

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 82 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans