SLA Reports - Linking task_sla and Case

Manuel Gomes
Tera Contributor

I am trying to create a report that has a list of SLA's (task_sla) but as well data from the  Case table (sn_customerservice_case).

Has anyone managed to add Accounts (not company) and link this with the Task number?

1 ACCEPTED SOLUTION

Dhianan
Tera Expert

Hi Manuel

 

Task_sla contains the reference to the Task (case/incident etc). So the fields on Case table (sn_customerservice_case) are not available from the child tables, for reporting.

Suggest you introduce the database view between task_sla and the sn_customerservice_case tables. You may refer to the OOTB incident sla view below as an example.

find_real_file.png

Thanks

Dhianan

View solution in original post

3 REPLIES 3

Dhianan
Tera Expert

Hi Manuel

 

Task_sla contains the reference to the Task (case/incident etc). So the fields on Case table (sn_customerservice_case) are not available from the child tables, for reporting.

Suggest you introduce the database view between task_sla and the sn_customerservice_case tables. You may refer to the OOTB incident sla view below as an example.

find_real_file.png

Thanks

Dhianan

Thank you! I was then able to create a report from the database view

Regards,

Manuel

Hi - what would be the Case Number formulation for the "where clause" ?