Project

General

Profile

Actions

Tareas #4843

open

reporte de gestiones por vendedor y fecha

Added by Jose Orlando over 1 year ago. Updated over 1 year ago.

Status:
Resuelta
Priority:
Normal
Assignee:
Start date:
05/23/2024
Due date:
% Done:

0%

Estimated time:

Description

filtros: proyecto, rango de fechas, vendedor

formato exp a excel

select
startdate::date,
op.salesrep_id,
ta.name as gestion,
count(*) as cant
from c_contactactivity ge
inner join tb_activitytype ta on ta.tb_activitytype_ID = ge.tb_activitytype_ID
inner join c_opportunity op on op.c_opportunity_id = ge.c_opportunity_id
where ge.ad_client_id = 1000005
and ge.startdate >= '2024-01-01'
group by 1,2,3
order by 1,2,3


Files

clipboard-202405231234-mmzku.png (13.5 KB) clipboard-202405231234-mmzku.png Armando Chuto, 05/23/2024 12:34 PM
Actions #1

Updated by Armando Chuto over 1 year ago

Actions

Also available in: Atom PDF