INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('37549','1','Acompanhar vendedor \ncliente com o seu último pedido chego com atraso ','3033','2024-10-09','2024-10-09','','','','','47','30843101','-1728475149198','','') - 47;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('37549','1','Acompanhar vendedor ','3033','2024-10-09','2024-10-09','','','','','47','19735501','-1728477323675','','') - 47;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('37549','1','Acompanhar vendedor, cliente loja de limpeza ','3033','2024-10-09','2024-10-09','','','','','47','31367501','-1728496423889','','') - 47;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1728504864940','2','Acompanhar o desenvolvimento do vendedor ','3033','2024-10-09','2024-10-09','08:00:00','17:00:00','Finalizado','47','47','','-1728504864940','','') - 47;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1728990933632','1','Orientação e abastecimento com o promotor Marcos no Hper Select. \nReunião de Trad Marketing com Thais, Guilherme Reckitt, e equipe Hiper Select, Thalita, Fabíola, Silvio, Lázaro, Paulo','47','2024-10-15','2024-10-14','08:00:00','18:30:00','Pendente','47','47','','-1728990933632','','') - 47;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1728991076317','7','Reunião semanal equipe, montagem para apresentação de propostas temporada. \n','47','2024-10-15','2024-10-15','08:00:00','18:00:00','Pendente','47','47','','-1728991076317','','') - 47;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1728991174478','1','Visitas as lojas do Hiper Select com Thais','47','2024-10-15','2024-10-16','08:00:00','18:30:00','Pendente','47','47','','-1728991174478','','') - 47;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1728991253603','7','levantamento dos números projeto Dominar e das positivacão de Yoki e Geral','47','2024-10-15','2024-10-17','08:00:00','18:00:00','Pendente','47','47','','-1728991253603','','') - 47;
UPDATE agenda_tarefa SET assunto ='7', observacao = 'Atualização de planilha de marcas positivacão \\nMontagem de Reunião. \\nConversar com vendedor individualmente ', vendedor='47', dataCriacao = '2024-10-07', data = '2024-10-07', horario_inicial = '08:00:00', horario_final = '18:00:00', status = 'Finalizado', usuario = '290', supervisor = '47', clientes = '', resumo= '' WHERE id = '37547' - 47;
UPDATE agenda_tarefa SET assunto ='1', observacao = 'Acompanhamento vendedor Msl\\nAbertura e positivacão clientes novos\\n', vendedor='3033', dataCriacao = '2024-10-07', data = '2024-10-09', horario_inicial = '08:00:00', horario_final = '17:00:00', status = 'Finalizado', usuario = '290', supervisor = '47', clientes = '', resumo= '' WHERE id = '37549' - 47;
UPDATE agenda_tarefa SET assunto ='1', observacao = 'Acompanhamento vendedor e avaliação, abertura e positivacão clientes novos', vendedor='297', dataCriacao = '2024-10-07', data = '2024-10-10', horario_inicial = '08:00:00', horario_final = '18:00:00', status = 'Finalizado', usuario = '290', supervisor = '47', clientes = '', resumo= '' WHERE id = '37550' - 47;
UPDATE agenda_tarefa SET assunto ='7', observacao = 'Atualização dos números do Projeto Dominar \\nReunião gerencial ', vendedor='47', dataCriacao = '2024-10-07', data = '2024-10-11', horario_inicial = '08:00:00', horario_final = '18:00:00', status = 'Finalizado', usuario = '290', supervisor = '47', clientes = '', resumo= '' WHERE id = '37551' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728475149198','101','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728475149198','102','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728475149198','103','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728475149198','105','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728475149198','107','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728475149198','204','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728475149198','205','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728475149198','304','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728475149198','108','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728475149198','307','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728475149198','420','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728475149198','421','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728475149198','422','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728475149198','109','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728475149198','110','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728475149198','112','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728475149198','113','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728475149198','209','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728475149198','210','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728475149198','212','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728475149198','115','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728475149198','116','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728475149198','214','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728475149198','215','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728477323675','101','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728477323675','102','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728477323675','103','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728477323675','105','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728477323675','107','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728477323675','204','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728477323675','205','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728477323675','304','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728477323675','108','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728477323675','307','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728477323675','420','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728477323675','421','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728477323675','422','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728477323675','109','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728477323675','110','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728477323675','112','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728477323675','113','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728477323675','209','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728477323675','210','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728477323675','212','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728477323675','115','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728477323675','116','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728477323675','214','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728477323675','215','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728496423889','101','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728496423889','102','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728496423889','103','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728496423889','105','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728496423889','107','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728496423889','204','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728496423889','205','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728496423889','304','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728496423889','108','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728496423889','307','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728496423889','420','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728496423889','421','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728496423889','422','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728496423889','109','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728496423889','110','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728496423889','112','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728496423889','113','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728496423889','209','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728496423889','210','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728496423889','212','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728496423889','115','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728496423889','116','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728496423889','214','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1728496423889','215','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 47;
INSERT INTO agenda_resposta_desenvolvimento_equipe (tarefa, prazo, feedback, acao) values ('37549','2024-10-30','vendedor com melhoras suas práticas comerciais \nBoa abordagem .','Abertura e positivacão de novos clientes.') - 47;
INSERT INTO agenda_resposta_desenvolvimento_equipe (tarefa, prazo, feedback, acao) values ('-1728504864940','2024-10-30','Vendedor melhorou muito depois da última avaliação. \nAinda concentra muita dependência do fator preço \nPrecisa desenvolver o mix de produtos em suas clientes','Abertura e positivacão de novos clientes') - 47;
INSERT INTO agenda_resposta_desenvolvimento_equipe (tarefa, prazo, feedback, acao) values ('37547','2024-10-08','Realizado, montagem de reunião, atualização de relatórios de positivacão, conversa individual com vendedores','apresentação da reunião semanal') - 47;
INSERT INTO agenda_resposta_desenvolvimento_equipe (tarefa, prazo, feedback, acao) values ('37550','2024-10-18','Não realizado, mudanças de agenda, levantamento dos números de positivacão, lista Sustagen e montagem de reunião gerencial sexta-feira','Reunião gerencial') - 47;
INSERT INTO agenda_resposta_desenvolvimento_equipe (tarefa, prazo, feedback, acao) values ('37551','','Realizado a apresentação dos números da reunião','') - 47;
UPDATE agenda_resposta_formulario SET tarefa = 39706 WHERE tarefa = -1728475149198 - 47;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 39706 WHERE tarefa = -1728475149198 - 47;
UPDATE agenda_resposta_formulario SET tarefa = 39707 WHERE tarefa = -1728477323675 - 47;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 39707 WHERE tarefa = -1728477323675 - 47;
UPDATE agenda_resposta_formulario SET tarefa = 39708 WHERE tarefa = -1728496423889 - 47;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 39708 WHERE tarefa = -1728496423889 - 47;
UPDATE agenda_tarefa SET idPrimario = 39709 WHERE idPrimario = -1728504864940 - 47;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 39709 WHERE tarefa = -1728504864940 - 47;
UPDATE agenda_tarefa SET idPrimario = 39710 WHERE idPrimario = -1728990933632 - 47;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 39710 WHERE tarefa = -1728990933632 - 47;
UPDATE agenda_tarefa SET idPrimario = 39711 WHERE idPrimario = -1728991076317 - 47;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 39711 WHERE tarefa = -1728991076317 - 47;
UPDATE agenda_tarefa SET idPrimario = 39712 WHERE idPrimario = -1728991174478 - 47;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 39712 WHERE tarefa = -1728991174478 - 47;
UPDATE agenda_tarefa SET idPrimario = 39713 WHERE idPrimario = -1728991253603 - 47;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 39713 WHERE tarefa = -1728991253603 - 47;
update agenda_resposta_formulario a, agenda_tarefa b set a.tarefa = b.id where a.tarefa = b.idOriginal - 47;
update agenda_resposta_desenvolvimento_equipe a, agenda_tarefa b set a.tarefa = b.id where a.tarefa = b.idOriginal - 47;
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 ; - 47;
update agenda_tarefa set idPrimario = id where idPrimario = idOriginal; - 47;
update agenda_resposta_desenvolvimento_equipe aa set aa.tarefaAgendada = 1 where aa.tarefaAgendada is null; - 47;
statusNaoFinalizado - 47;
statusNaoFinalizado - 47;
statusNaoFinalizado - 47;
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 = '39709'
GROUP BY a.idPrimario - 47;
Binding output parameters deu certo: ( 0) - 47;
FORM VENDEDOR 20 - 47;
GRUPO->
Grupos:
- 47;
Respostas->Questões:
Grupo | Questes | Qtd | Percentual |
---|
- 47;
statusNaoFinalizado - 47;
statusNaoFinalizado - 47;
statusNaoFinalizado - 47;
statusNaoFinalizado - 47;
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 = '37547'
GROUP BY a.idPrimario - 47;
Binding output parameters deu certo: ( 0) - 47;
FORM VENDEDOR 20 - 47;
GRUPO->Grupos:
- 47;
Respostas->Questões:
Grupo | Questes | Qtd | Percentual |
---|
- 47;
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 = '37549'
GROUP BY a.idPrimario - 47;
Binding output parameters deu certo: ( 0) - 47;
FORM VENDEDOR 20 - 47;
GRUPO->Grupos:
Grupo |
Qtd |
Percentual |
1 - 1 - PLANEJAR |
9 |
100.00 |
2 - 2 - LEITURA DE LOJA |
15 |
60.00 |
3 - 3 - EXECUTAR |
15 |
60.00 |
4 - 4 - NEGOCIAR |
21 |
42.86 |
5 - 5 - ANALISAR |
12 |
58.33 |
- 47;
Respostas->Questões:
Grupo | Questes | Qtd | Percentual |
---|
1 - 1 - PLANEJAR |
101 - 1 - É UMA VISITA NO ROTEIRO DO DIA? |
3 |
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)? |
3 |
100.00 |
1 - 1 - PLANEJAR |
103 - 3 - REVISOU CADASTRO (CRÉDITO) E HISTÓRICO DE COMPRA? |
3 |
100.00 |
2 - 2 - LEITURA DE LOJA |
105 - 4 - FEZ O LEVANTAMENTO DE ESTOQUE USANDO O HISTÓRICO DO APP DE VENDAS? |
3 |
100.00 |
2 - 2 - LEITURA DE LOJA |
107 - 6 - ANALISOU CONCORRENTES (ESPAÇO, MIX E PREÇOS)? IDENTIFICOU OPORTUNIDADES COM OLHO NA CONCORRÊNCIA? |
3 |
100.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? |
3 |
33.33 |
2 - 2 - LEITURA DE LOJA |
205 - 8 - LOJA TEM AÇÕES DE MERCHANDISING? (PONTA, ILHA, ENCARTE, EXPOSITOR) |
3 |
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? |
3 |
66.67 |
3 - 3 - EXECUTAR |
108 - 9 - ANALISOU A VALIDADE DOS PRODUTOS? TOMOU ATITUDE PARA RESOLVER O PROBLEMA? |
3 |
100.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? |
3 |
66.67 |
3 - 3 - EXECUTAR |
420 - 11 - VERIFICOU TROCAS E PROBLEMAS COM PRODUTOS? RESOLVER IMEDIATAMENTE. |
3 |
100.00 |
3 - 3 - EXECUTAR |
421 - 12 - ABASTECEU, COLOCOU MATERIAL, ORGANIZOU GÔNDOLAS E RUPTURAS, ARRUMOU E/OU COLOCOU PREÇO? |
3 |
33.33 |
3 - 3 - EXECUTAR |
422 - 13 - CORRIGIU MERCADORIA QUE NÃO TINHA NO PONTO NATURAL MAS TINHA NO PONTO EXTRA? CASO ESTEJA OK, MARCAR SIM. |
3 |
0.00 |
4 - 4 - NEGOCIAR |
109 - 14 - FEZ UMA ABORDAGEM/ABERTURA EFICIENTE? (CORDIAL, POSITIVA, ADEQUADA AO PERFIL DESTE CLIENTE) |
3 |
66.67 |
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)? |
3 |
0.00 |
4 - 4 - NEGOCIAR |
112 - 17 - NEGOCIOU AS RUPTURAS (SE FOR FILIAL OU COMPRADOR AUSENTE, FEZ A CONTAGEM ESTOQUE E IDENTIFICOU RUPTURA)? |
3 |
33.33 |
4 - 4 - NEGOCIAR |
113 - 19 - FEZ INTRODUÇÃO DE ALGUM ITEM (CADASTRO NOVO)? |
3 |
100.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 |
3 |
33.33 |
4 - 4 - NEGOCIAR |
210 - 17 - TIROU O PEDIDO? (NÃO É ORÇAMENTO! É PEDIDO PARA FATURAR JÁ!!)
(SE FOR FILIAL OU COMPRADOR AUSENTE, MARCAR SIM) |
3 |
33.33 |
4 - 4 - NEGOCIAR |
212 - 20 - "TIROU O PEDIDO? (NÃO É ORÇAMENTO! É PEDIDO PARA FATURAR JÁ!!)
(SE FOR FILIAL OU COMPRADOR AUSENTE, MARCAR SIM) |
3 |
33.33 |
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) |
3 |
66.67 |
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)" |
3 |
66.67 |
5 - 5 - ANALISAR |
214 - 22 - REVISOU O PEDIDO ANTES DE ENVIAR (PREÇOS, COMBOS, BONIFICAÇÕES, PRAZO, ETC...)? |
3 |
66.67 |
5 - 5 - ANALISAR |
215 - 23 - TRASMITIU AO SAIR DO CLIENTE? (PEDIDO, NÃO VENDA OU VENDA DIGITADO POSTERIOR) |
3 |
33.33 |
- 47;
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 = '37550'
GROUP BY a.idPrimario - 47;
Binding output parameters deu certo: ( 0) - 47;
FORM VENDEDOR 20 - 47;
GRUPO->Grupos:
- 47;
Respostas->Questões:
Grupo | Questes | Qtd | Percentual |
---|
- 47;
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 = '37551'
GROUP BY a.idPrimario - 47;
Binding output parameters deu certo: ( 0) - 47;
FORM VENDEDOR 20 - 47;
GRUPO->Grupos:
- 47;
Respostas->Questões:
Grupo | Questes | Qtd | Percentual |
---|
- 47;