Hi, I have a task activity in case. Now I want to get associated case number and account number through SSRS report, how can I get that? I am using SQL not fetchxml
*This post is locked for comments
Hi, I have a task activity in case. Now I want to get associated case number and account number through SSRS report, how can I get that? I am using SQL not fetchxml
*This post is locked for comments
no..regardingobjectid is a the regarding lookup on Task. This will be the case entity in your scenario - however this can be account, contact, lead etc. It is a multiple entity type.
is not regardingobjectid associated with filteredactivitypointer?
In SQL, I believe you are using filteredtask, filteredincident and filteredaccount views to get the data.
filteredtask has regardingobjectid. which store the guid for parent of that task. You can join the task with filteredincident and get the case number.
To get account number, you need to join again with account view on parentcustomerid field present in incident(case)
Thanks,
Prateek
André Arnaud de Cal...
292,494
Super User 2025 Season 1
Martin Dráb
231,305
Most Valuable Professional
nmaenpaa
101,156