View d47civi_0z3xa.civicrm_view_case_activity_recent | Generated by SchemaSpy |
View Definition:
select `ca`.`case_id` AS `case_id`,`a`.`id` AS `id`,`a`.`activity_date_time` AS `activity_date_time`,`a`.`status_id` AS `status_id`,`a`.`activity_type_id` AS `activity_type_id` from (`d47civi_0z3xa`.`civicrm_case_activity` `ca` join `d47civi_0z3xa`.`civicrm_activity` `a` on((`ca`.`activity_id` = `a`.`id`))) where ((`a`.`activity_date_time` <= now()) and (`a`.`activity_date_time` >= (now() - interval 14 day)) and (`a`.`is_current_revision` = 1) and (`a`.`is_deleted` = 0) and (`a`.`status_id` <> 1))
Possibly Referenced Tables/Views: