Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

Datasouces of User Contact, Department and Location info from CRM

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
    SQLHoncho 5 on at
    RE: Datasouces of User Contact, Department and Location info from CRM

    Is anyone can help with my problerm?

  • SQLHoncho Profile Picture
    SQLHoncho 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
    Bipin D365 28,964 Super User 2024 Season 1 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans