DELETE FROM agenda_tarefa WHERE idPrimario ='-1765472576626' - 90;
DELETE FROM agenda_tarefa WHERE idPrimario ='-1765472596195' - 90;
DELETE FROM agenda_tarefa WHERE idPrimario ='-1765472571802' - 90;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1765472462650','7','','90','2025-12-11','2025-12-04','08:00:00','18:00:00','Finalizado','90','90','','-1765472462650','','') - 90;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1765472596195','4','','4005','2025-12-11','2025-12-11','','','','','90','17643','-1765472599130','','') - 90;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1765923065110','7','treinamento Igor novo supervisor ','90','2025-12-16','2025-12-10','08:00:00','18:00:00','Finalizado','90','90','','-1765923065110','','') - 90;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1765923097061','7','treinamento igor supervisor ','90','2025-12-16','2025-12-12','08:00:00','18:00:00','Finalizado','90','90','','-1765923097061','','') - 90;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1765923117219','7','','90','2025-12-16','2025-12-15','08:00:00','18:00:00','Finalizado','90','90','','-1765923117219','','') - 90;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1765923165414','1','visita lojas abimar e manentti com carlos executivo linea ','90','2025-12-16','2025-12-16','08:00:00','12:00:00','Finalizado','90','90','','-1765923165414','','') - 90;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1765923199377','1','atendimento angeloni com carlos da linea e luis','90','2025-12-16','2025-12-16','14:00:00','18:00:00','Finalizado','90','90','','-1765923199377','','') - 90;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1765923218431','7','','90','2025-12-16','2025-12-09','08:00:00','18:00:00','Finalizado','90','90','','-1765923218431','','') - 90;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1765923230425','7','','90','2025-12-16','2025-12-08','08:00:00','18:00:00','Finalizado','90','90','','-1765923230425','','') - 90;
UPDATE agenda_tarefa SET assunto ='1', observacao = 'atendimento em clientes com a coordenadora da condor kely', vendedor='4003', dataCriacao = '2025-06-24', data = '2025-06-24', horario_inicial = '08:00:00', horario_final = '18:00:00', status = 'Finalizado', usuario = '90', supervisor = '90', clientes = '', resumo= '' WHERE id = '53175' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472576626','101','-1','') ON DUPLICATE KEY UPDATE resposta = '-1', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472576626','102','-1','') ON DUPLICATE KEY UPDATE resposta = '-1', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472576626','103','-1','') ON DUPLICATE KEY UPDATE resposta = '-1', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472576626','105','-1','') ON DUPLICATE KEY UPDATE resposta = '-1', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472576626','107','-1','') ON DUPLICATE KEY UPDATE resposta = '-1', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472576626','204','-1','') ON DUPLICATE KEY UPDATE resposta = '-1', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472576626','205','-1','') ON DUPLICATE KEY UPDATE resposta = '-1', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472576626','304','-1','') ON DUPLICATE KEY UPDATE resposta = '-1', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472576626','108','-1','') ON DUPLICATE KEY UPDATE resposta = '-1', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472576626','307','-1','') ON DUPLICATE KEY UPDATE resposta = '-1', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472576626','420','-1','') ON DUPLICATE KEY UPDATE resposta = '-1', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472576626','421','-1','') ON DUPLICATE KEY UPDATE resposta = '-1', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472576626','422','-1','') ON DUPLICATE KEY UPDATE resposta = '-1', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472576626','109','-1','') ON DUPLICATE KEY UPDATE resposta = '-1', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472576626','110','-1','') ON DUPLICATE KEY UPDATE resposta = '-1', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472576626','112','-1','') ON DUPLICATE KEY UPDATE resposta = '-1', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472576626','113','-1','') ON DUPLICATE KEY UPDATE resposta = '-1', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472576626','209','-1','') ON DUPLICATE KEY UPDATE resposta = '-1', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472576626','210','-1','') ON DUPLICATE KEY UPDATE resposta = '-1', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472576626','212','-1','') ON DUPLICATE KEY UPDATE resposta = '-1', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472576626','115','-1','') ON DUPLICATE KEY UPDATE resposta = '-1', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472576626','116','-1','') ON DUPLICATE KEY UPDATE resposta = '-1', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472576626','214','-1','') ON DUPLICATE KEY UPDATE resposta = '-1', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472576626','215','-1','') ON DUPLICATE KEY UPDATE resposta = '-1', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472599130','423','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472599130','424','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472599130','425','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472599130','426','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472599130','427','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472599130','404','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472599130','428','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472599130','429','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472599130','430','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472599130','431','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472599130','432','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472599130','433','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472599130','434','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472599130','435','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472599130','436','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1765472599130','437','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53176','101','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53176','102','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53176','103','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53176','105','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53176','107','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53176','204','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53176','205','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53176','304','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53176','108','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53176','307','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53176','420','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53176','421','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53176','422','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53176','109','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53176','110','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53176','112','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53176','113','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53176','209','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53176','210','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53176','212','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53176','115','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53176','116','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53176','214','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53176','215','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53177','101','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53177','102','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53177','103','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53177','105','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53177','107','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53177','204','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53177','205','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53177','304','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53177','108','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53177','307','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53177','420','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53177','421','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53177','422','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53177','109','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53177','110','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53177','112','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53177','113','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53177','209','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53177','210','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53177','212','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53177','115','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53177','116','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53177','214','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('53177','215','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 90;
INSERT INTO agenda_resposta_desenvolvimento_equipe (tarefa, prazo, feedback, acao) values ('-1765472462650','','','') - 90;
INSERT INTO agenda_resposta_desenvolvimento_equipe (tarefa, prazo, feedback, acao) values ('-1765472596195','2026-01-22','','melhorar positivacao de jde') - 90;
INSERT INTO agenda_resposta_desenvolvimento_equipe (tarefa, prazo, feedback, acao) values ('53175','','','') - 90;
INSERT INTO agenda_resposta_desenvolvimento_equipe (tarefa, prazo, feedback, acao) values ('-1765923065110','','','') - 90;
INSERT INTO agenda_resposta_desenvolvimento_equipe (tarefa, prazo, feedback, acao) values ('-1765923097061','','','') - 90;
INSERT INTO agenda_resposta_desenvolvimento_equipe (tarefa, prazo, feedback, acao) values ('-1765923117219','','','') - 90;
INSERT INTO agenda_resposta_desenvolvimento_equipe (tarefa, prazo, feedback, acao) values ('-1765923165414','','','') - 90;
INSERT INTO agenda_resposta_desenvolvimento_equipe (tarefa, prazo, feedback, acao) values ('-1765923199377','','','') - 90;
INSERT INTO agenda_resposta_desenvolvimento_equipe (tarefa, prazo, feedback, acao) values ('-1765923218431','','','') - 90;
INSERT INTO agenda_resposta_desenvolvimento_equipe (tarefa, prazo, feedback, acao) values ('-1765923230425','','','') - 90;
UPDATE agenda_tarefa SET idPrimario = 55172 WHERE idPrimario = -1765472462650 - 90;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 55172 WHERE tarefa = -1765472462650 - 90;
UPDATE agenda_resposta_formulario SET tarefa = 55173 WHERE tarefa = -1765472599130 - 90;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 55173 WHERE tarefa = -1765472599130 - 90;
UPDATE agenda_tarefa SET idPrimario = 55174 WHERE idPrimario = -1765923065110 - 90;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 55174 WHERE tarefa = -1765923065110 - 90;
UPDATE agenda_tarefa SET idPrimario = 55175 WHERE idPrimario = -1765923097061 - 90;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 55175 WHERE tarefa = -1765923097061 - 90;
UPDATE agenda_tarefa SET idPrimario = 55176 WHERE idPrimario = -1765923117219 - 90;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 55176 WHERE tarefa = -1765923117219 - 90;
UPDATE agenda_tarefa SET idPrimario = 55177 WHERE idPrimario = -1765923165414 - 90;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 55177 WHERE tarefa = -1765923165414 - 90;
UPDATE agenda_tarefa SET idPrimario = 55178 WHERE idPrimario = -1765923199377 - 90;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 55178 WHERE tarefa = -1765923199377 - 90;
UPDATE agenda_tarefa SET idPrimario = 55179 WHERE idPrimario = -1765923218431 - 90;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 55179 WHERE tarefa = -1765923218431 - 90;
UPDATE agenda_tarefa SET idPrimario = 55180 WHERE idPrimario = -1765923230425 - 90;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 55180 WHERE tarefa = -1765923230425 - 90;
update agenda_resposta_formulario a, agenda_tarefa b set a.tarefa = b.id where a.tarefa = b.idOriginal - 90;
update agenda_resposta_desenvolvimento_equipe a, agenda_tarefa b set a.tarefa = b.id where a.tarefa = b.idOriginal - 90;
insert into agenda_tarefa (idPrimario, assunto, vendedor, dataCriacao, dataInsercao, data, horario_inicial, horario_final, usuario, supervisor, idOriginal, observacao, clientes, resumo, status) select date_format(now(),'%Y%m%d%H%i%s') * -1, 999, b.vendedor, curdate(), now(), a.prazo, '08:00:00', '08:00:00', b.supervisor, b.supervisor, date_format(now(),'%Y%m%d%H%i%s') * -1, a.acao, '', '', 'Pendente' FROM agenda_resposta_desenvolvimento_equipe a, agenda_tarefa b where a.tarefaAgendada is null and a.tarefa = b.id ; - 90;
update agenda_tarefa set idPrimario = id where idPrimario = idOriginal; - 90;
update agenda_resposta_desenvolvimento_equipe aa set aa.tarefaAgendada = 1 where aa.tarefaAgendada is null; - 90;
sqlCabecalho-> SELECT a.idPrimario,
f.descricao,
concat(b.supervisor,' - ',g.nome) supervisor,
concat(b.vendedor,' - ',h.nome) vendedor,
DATE_FORMAT(b.data, '%d/%m/%Y') as data,
b.horario_inicial,
b.horario_final,
b.supervisor,
b.vendedor
FROM agenda_tarefa a, agenda_tarefa b
left join agenda_assunto f on b.assunto = f.id
left join vendedor g on b.supervisor = g.id
left join vendedor h on b.vendedor = h.id,
agenda_resposta_formulario c
left join agenda_item d on c.item = d.id
left join agenda_grupo e on d.grupo = e.id
WHERE a.idPrimario = b.id
AND a.id = c.tarefa
AND a.idPrimario = '55172'
GROUP BY a.idPrimario - 90;
Binding output parameters deu certo: ( 0) - 90;
FORM VENDEDOR 20 - 90;
GRUPO->
Grupos:
- 90;
Respostas->Questões:
| Grupo | Questes | Qtd | Percentual |
|---|
- 90;
statusNaoFinalizado - 90;
sqlCabecalho-> SELECT a.idPrimario,
f.descricao,
concat(b.supervisor,' - ',g.nome) supervisor,
concat(b.vendedor,' - ',h.nome) vendedor,
DATE_FORMAT(b.data, '%d/%m/%Y') as data,
b.horario_inicial,
b.horario_final,
b.supervisor,
b.vendedor
FROM agenda_tarefa a, agenda_tarefa b
left join agenda_assunto f on b.assunto = f.id
left join vendedor g on b.supervisor = g.id
left join vendedor h on b.vendedor = h.id,
agenda_resposta_formulario c
left join agenda_item d on c.item = d.id
left join agenda_grupo e on d.grupo = e.id
WHERE a.idPrimario = b.id
AND a.id = c.tarefa
AND a.idPrimario = '55174'
GROUP BY a.idPrimario - 90;
Binding output parameters deu certo: ( 0) - 90;
FORM VENDEDOR 20 - 90;
GRUPO->Grupos:
- 90;
Respostas->Questões:
| Grupo | Questes | Qtd | Percentual |
|---|
- 90;
sqlCabecalho-> SELECT a.idPrimario,
f.descricao,
concat(b.supervisor,' - ',g.nome) supervisor,
concat(b.vendedor,' - ',h.nome) vendedor,
DATE_FORMAT(b.data, '%d/%m/%Y') as data,
b.horario_inicial,
b.horario_final,
b.supervisor,
b.vendedor
FROM agenda_tarefa a, agenda_tarefa b
left join agenda_assunto f on b.assunto = f.id
left join vendedor g on b.supervisor = g.id
left join vendedor h on b.vendedor = h.id,
agenda_resposta_formulario c
left join agenda_item d on c.item = d.id
left join agenda_grupo e on d.grupo = e.id
WHERE a.idPrimario = b.id
AND a.id = c.tarefa
AND a.idPrimario = '55175'
GROUP BY a.idPrimario - 90;
Binding output parameters deu certo: ( 0) - 90;
FORM VENDEDOR 20 - 90;
GRUPO->Grupos:
- 90;
Respostas->Questões:
| Grupo | Questes | Qtd | Percentual |
|---|
- 90;
sqlCabecalho-> SELECT a.idPrimario,
f.descricao,
concat(b.supervisor,' - ',g.nome) supervisor,
concat(b.vendedor,' - ',h.nome) vendedor,
DATE_FORMAT(b.data, '%d/%m/%Y') as data,
b.horario_inicial,
b.horario_final,
b.supervisor,
b.vendedor
FROM agenda_tarefa a, agenda_tarefa b
left join agenda_assunto f on b.assunto = f.id
left join vendedor g on b.supervisor = g.id
left join vendedor h on b.vendedor = h.id,
agenda_resposta_formulario c
left join agenda_item d on c.item = d.id
left join agenda_grupo e on d.grupo = e.id
WHERE a.idPrimario = b.id
AND a.id = c.tarefa
AND a.idPrimario = '55176'
GROUP BY a.idPrimario - 90;
Binding output parameters deu certo: ( 0) - 90;
FORM VENDEDOR 20 - 90;
GRUPO->Grupos:
- 90;
Respostas->Questões:
| Grupo | Questes | Qtd | Percentual |
|---|
- 90;
sqlCabecalho-> SELECT a.idPrimario,
f.descricao,
concat(b.supervisor,' - ',g.nome) supervisor,
concat(b.vendedor,' - ',h.nome) vendedor,
DATE_FORMAT(b.data, '%d/%m/%Y') as data,
b.horario_inicial,
b.horario_final,
b.supervisor,
b.vendedor
FROM agenda_tarefa a, agenda_tarefa b
left join agenda_assunto f on b.assunto = f.id
left join vendedor g on b.supervisor = g.id
left join vendedor h on b.vendedor = h.id,
agenda_resposta_formulario c
left join agenda_item d on c.item = d.id
left join agenda_grupo e on d.grupo = e.id
WHERE a.idPrimario = b.id
AND a.id = c.tarefa
AND a.idPrimario = '55177'
GROUP BY a.idPrimario - 90;
Binding output parameters deu certo: ( 0) - 90;
FORM VENDEDOR 20 - 90;
GRUPO->Grupos:
- 90;
Respostas->Questões:
| Grupo | Questes | Qtd | Percentual |
|---|
- 90;
sqlCabecalho-> SELECT a.idPrimario,
f.descricao,
concat(b.supervisor,' - ',g.nome) supervisor,
concat(b.vendedor,' - ',h.nome) vendedor,
DATE_FORMAT(b.data, '%d/%m/%Y') as data,
b.horario_inicial,
b.horario_final,
b.supervisor,
b.vendedor
FROM agenda_tarefa a, agenda_tarefa b
left join agenda_assunto f on b.assunto = f.id
left join vendedor g on b.supervisor = g.id
left join vendedor h on b.vendedor = h.id,
agenda_resposta_formulario c
left join agenda_item d on c.item = d.id
left join agenda_grupo e on d.grupo = e.id
WHERE a.idPrimario = b.id
AND a.id = c.tarefa
AND a.idPrimario = '55178'
GROUP BY a.idPrimario - 90;
Binding output parameters deu certo: ( 0) - 90;
FORM VENDEDOR 20 - 90;
GRUPO->Grupos:
- 90;
Respostas->Questões:
| Grupo | Questes | Qtd | Percentual |
|---|
- 90;
sqlCabecalho-> SELECT a.idPrimario,
f.descricao,
concat(b.supervisor,' - ',g.nome) supervisor,
concat(b.vendedor,' - ',h.nome) vendedor,
DATE_FORMAT(b.data, '%d/%m/%Y') as data,
b.horario_inicial,
b.horario_final,
b.supervisor,
b.vendedor
FROM agenda_tarefa a, agenda_tarefa b
left join agenda_assunto f on b.assunto = f.id
left join vendedor g on b.supervisor = g.id
left join vendedor h on b.vendedor = h.id,
agenda_resposta_formulario c
left join agenda_item d on c.item = d.id
left join agenda_grupo e on d.grupo = e.id
WHERE a.idPrimario = b.id
AND a.id = c.tarefa
AND a.idPrimario = '55179'
GROUP BY a.idPrimario - 90;
Binding output parameters deu certo: ( 0) - 90;
FORM VENDEDOR 20 - 90;
GRUPO->Grupos:
- 90;
Respostas->Questões:
| Grupo | Questes | Qtd | Percentual |
|---|
- 90;
sqlCabecalho-> SELECT a.idPrimario,
f.descricao,
concat(b.supervisor,' - ',g.nome) supervisor,
concat(b.vendedor,' - ',h.nome) vendedor,
DATE_FORMAT(b.data, '%d/%m/%Y') as data,
b.horario_inicial,
b.horario_final,
b.supervisor,
b.vendedor
FROM agenda_tarefa a, agenda_tarefa b
left join agenda_assunto f on b.assunto = f.id
left join vendedor g on b.supervisor = g.id
left join vendedor h on b.vendedor = h.id,
agenda_resposta_formulario c
left join agenda_item d on c.item = d.id
left join agenda_grupo e on d.grupo = e.id
WHERE a.idPrimario = b.id
AND a.id = c.tarefa
AND a.idPrimario = '55180'
GROUP BY a.idPrimario - 90;
Binding output parameters deu certo: ( 0) - 90;
FORM VENDEDOR 20 - 90;
GRUPO->Grupos:
- 90;
Respostas->Questões:
| Grupo | Questes | Qtd | Percentual |
|---|
- 90;
sqlCabecalho-> SELECT a.idPrimario,
f.descricao,
concat(b.supervisor,' - ',g.nome) supervisor,
concat(b.vendedor,' - ',h.nome) vendedor,
DATE_FORMAT(b.data, '%d/%m/%Y') as data,
b.horario_inicial,
b.horario_final,
b.supervisor,
b.vendedor
FROM agenda_tarefa a, agenda_tarefa b
left join agenda_assunto f on b.assunto = f.id
left join vendedor g on b.supervisor = g.id
left join vendedor h on b.vendedor = h.id,
agenda_resposta_formulario c
left join agenda_item d on c.item = d.id
left join agenda_grupo e on d.grupo = e.id
WHERE a.idPrimario = b.id
AND a.id = c.tarefa
AND a.idPrimario = '53175'
GROUP BY a.idPrimario - 90;
Binding output parameters deu certo: ( 0) - 90;
FORM VENDEDOR 20 - 90;
GRUPO->Grupos:
| Grupo |
Qtd |
Percentual |
| 1 - 1 - PLANEJAR |
6 |
33.33 |
| 2 - 2 - LEITURA DE LOJA |
10 |
0.00 |
| 3 - 3 - EXECUTAR |
10 |
0.00 |
| 4 - 4 - NEGOCIAR |
14 |
0.00 |
| 5 - 5 - ANALISAR |
8 |
0.00 |
- 90;
Respostas->Questões:
| Grupo | Questes | Qtd | Percentual |
|---|
| 1 - 1 - PLANEJAR |
101 - 1 - É UMA VISITA NO ROTEIRO DO DIA? |
2 |
100.00 |
| 1 - 1 - PLANEJAR |
102 - 2 - TEM AS PARCIAIS (MSL/TOPS/CAMPANHAS), ANALISOU E SABE O QUE PRECISA FAZER NESTA VISITA/CLIENTE (ITENS QUE PRECISA POSITIVAR, TAREFA ANTERIOR, ETC)? |
2 |
0.00 |
| 1 - 1 - PLANEJAR |
103 - 3 - REVISOU CADASTRO (CRÉDITO) E HISTÓRICO DE COMPRA? |
2 |
0.00 |
| 2 - 2 - LEITURA DE LOJA |
105 - 4 - FEZ O LEVANTAMENTO DE ESTOQUE USANDO O HISTÓRICO DO APP DE VENDAS? |
2 |
0.00 |
| 2 - 2 - LEITURA DE LOJA |
107 - 6 - ANALISOU CONCORRENTES (ESPAÇO, MIX E PREÇOS)? IDENTIFICOU OPORTUNIDADES COM OLHO NA CONCORRÊNCIA? |
2 |
0.00 |
| 2 - 2 - LEITURA DE LOJA |
204 - 7 - LOJA TEM DE AÇÕES DE MERCHANDISING? (CLIP STRIP, CROSS MERCHANDISING, WOBLER, CARTAZ, ETC...) SE NÃO TINHA, COLOCOU ALGUM ITEM? |
2 |
0.00 |
| 2 - 2 - LEITURA DE LOJA |
205 - 8 - LOJA TEM AÇÕES DE MERCHANDISING? (PONTA, ILHA, ENCARTE, EXPOSITOR) |
2 |
0.00 |
| 2 - 2 - LEITURA DE LOJA |
304 - 5 - ANALISOU NOSSO PREÇOS VS PREÇO SUGERIDO? PRODUTOS ESTÃO PRECIFICADOS CORRETAMENTE (MESMO PREÇO ENTRE FRAGRÂNCIAS E SIMILARES/AGRUPAMENTOS)? CORRIGIU O PROBLEMA? |
2 |
0.00 |
| 3 - 3 - EXECUTAR |
108 - 9 - ANALISOU A VALIDADE DOS PRODUTOS? TOMOU ATITUDE PARA RESOLVER O PROBLEMA? |
2 |
0.00 |
| 3 - 3 - EXECUTAR |
307 - 10 - FOI NO DEPÓSITO? VERIFICOU SE TEM MERCADORIA NO DEPÓSITO E NÃO TEM NA ÁREA DE VENDAS? RESOLVEU PROBLEMAS? |
2 |
0.00 |
| 3 - 3 - EXECUTAR |
420 - 11 - VERIFICOU TROCAS E PROBLEMAS COM PRODUTOS? RESOLVER IMEDIATAMENTE. |
2 |
0.00 |
| 3 - 3 - EXECUTAR |
421 - 12 - ABASTECEU, COLOCOU MATERIAL, ORGANIZOU GÔNDOLAS E RUPTURAS, ARRUMOU E/OU COLOCOU PREÇO? |
2 |
0.00 |
| 3 - 3 - EXECUTAR |
422 - 13 - CORRIGIU MERCADORIA QUE NÃO TINHA NO PONTO NATURAL MAS TINHA NO PONTO EXTRA? CASO ESTEJA OK, MARCAR SIM. |
2 |
0.00 |
| 4 - 4 - NEGOCIAR |
109 - 14 - FEZ UMA ABORDAGEM/ABERTURA EFICIENTE? (CORDIAL, POSITIVA, ADEQUADA AO PERFIL DESTE CLIENTE) |
2 |
0.00 |
| 4 - 4 - NEGOCIAR |
110 - 15 - APRESENTOU A PAUTA AO CLIENTE (MESMO SENDO FILIAL OU COMPRADOR AUSENTE, APRESENTE AO GESTOR DA LOJA ITENS QUE DESEJA INTRODUZIR)? |
2 |
0.00 |
| 4 - 4 - NEGOCIAR |
112 - 17 - NEGOCIOU AS RUPTURAS (SE FOR FILIAL OU COMPRADOR AUSENTE, FEZ A CONTAGEM ESTOQUE E IDENTIFICOU RUPTURA)? |
2 |
0.00 |
| 4 - 4 - NEGOCIAR |
113 - 19 - FEZ INTRODUÇÃO DE ALGUM ITEM (CADASTRO NOVO)? |
2 |
0.00 |
| 4 - 4 - NEGOCIAR |
209 - 18 - TINHA ARGUMENTOS PARA REVERTER OBJEÇÃO (SE NÃO TEVE=RESPOSTA SIM) SE NÃO CONSEGUIU REVERTER, TEMA PARA FEEDBACK E INCLUIR NAS TAREFAS/AGENDA FUTURA. QUAL A OBJEÇÃO, COMO REVERTER, DICAS, TREINAR, ETC. (SE FOR FILIAL OU COMPRADOR AUSENTE, MARCAR |
2 |
0.00 |
| 4 - 4 - NEGOCIAR |
210 - 17 - TIROU O PEDIDO? (NÃO É ORÇAMENTO! É PEDIDO PARA FATURAR JÁ!!)
(SE FOR FILIAL OU COMPRADOR AUSENTE, MARCAR SIM) |
2 |
0.00 |
| 4 - 4 - NEGOCIAR |
212 - 20 - "TIROU O PEDIDO? (NÃO É ORÇAMENTO! É PEDIDO PARA FATURAR JÁ!!)
(SE FOR FILIAL OU COMPRADOR AUSENTE, MARCAR SIM) |
2 |
0.00 |
| 5 - 5 - ANALISAR |
115 - 18 - AO SAIR DO CLIENTE REFORÇOU O QUE FOI COMBINADO?
(VALOR DO PEDIDO/DATA/ESPAÇO/PREÇO/RUPTURAS/CAMPANHAS/ITENS INTRODUZIR) |
2 |
0.00 |
| 5 - 5 - ANALISAR |
116 - 21 - "AO SAIR DO CLIENTE REFORÇOU O QUE FOI COMBINADO?
(VALOR DO PEDIDO/DATA/ESPAÇO/PREÇO/RUPTURAS/CAMPANHAS/ITENS INTRODUZIR)" |
2 |
0.00 |
| 5 - 5 - ANALISAR |
214 - 22 - REVISOU O PEDIDO ANTES DE ENVIAR (PREÇOS, COMBOS, BONIFICAÇÕES, PRAZO, ETC...)? |
2 |
0.00 |
| 5 - 5 - ANALISAR |
215 - 23 - TRASMITIU AO SAIR DO CLIENTE? (PEDIDO, NÃO VENDA OU VENDA DIGITADO POSTERIOR) |
2 |
0.00 |
- 90;
update agenda_resposta_formulario a, agenda_tarefa b set a.tarefa = b.id where a.tarefa = b.idOriginal - 90;
update agenda_resposta_desenvolvimento_equipe a, agenda_tarefa b set a.tarefa = b.id where a.tarefa = b.idOriginal - 90;
insert into agenda_tarefa (idPrimario, assunto, vendedor, dataCriacao, dataInsercao, data, horario_inicial, horario_final, usuario, supervisor, idOriginal, observacao, clientes, resumo, status) select date_format(now(),'%Y%m%d%H%i%s') * -1, 999, b.vendedor, curdate(), now(), a.prazo, '08:00:00', '08:00:00', b.supervisor, b.supervisor, date_format(now(),'%Y%m%d%H%i%s') * -1, a.acao, '', '', 'Pendente' FROM agenda_resposta_desenvolvimento_equipe a, agenda_tarefa b where a.tarefaAgendada is null and a.tarefa = b.id ; - 90;
update agenda_tarefa set idPrimario = id where idPrimario = idOriginal; - 90;
update agenda_resposta_desenvolvimento_equipe aa set aa.tarefaAgendada = 1 where aa.tarefaAgendada is null; - 90;