DELETE FROM agenda_tarefa WHERE idPrimario ='52471' - 44;
DELETE FROM agenda_tarefa WHERE idPrimario ='-1749123829976' - 44;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1749123339210','3','','100072','2025-06-05','2025-06-04','08:00:00','17:00:00','Finalizado','44','44','','-1749123339210','','') - 44;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1749123339210','3','','100072','2025-06-05','2025-06-05','','','','','44','31094101','-1749123349798','','') - 44;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1749123339210','3','','100072','2025-06-05','2025-06-05','','','','','44','31037401','-1749123512971','','') - 44;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1749123339210','3','','100072','2025-06-05','2025-06-05','','','','','44','31280101','-1749123721877','','') - 44;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1749123781412','7','','44','2025-06-05','2025-06-05','08:00:00','18:00:00','Pendente','44','44','','-1749123781412','','') - 44;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1749123794298','7','','44','2025-06-05','2025-06-06','08:00:00','18:00:00','Pendente','44','44','','-1749123794298','','') - 44;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1749123816474','6','','44','2025-06-05','2025-06-09','08:00:00','18:00:00','Finalizado','44','44','','-1749123816474','','') - 44;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1749123889961','6','','44','2025-06-05','2025-06-10','08:00:00','18:00:00','Finalizado','44','44','','-1749123889961','','') - 44;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1749123923291','1003','entrevista Caxias ','44','2025-06-05','2025-06-11','08:00:00','18:00:00','Pendente','44','44','','-1749123923291','','') - 44;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1749123990717','7','','44','2025-06-05','2025-06-13','08:00:00','18:00:00','Pendente','44','44','','-1749123990717','','') - 44;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1749124033938','7','','44','2025-06-05','2025-06-20','08:00:00','18:00:00','Pendente','44','44','','-1749124033938','','') - 44;
INSERT INTO agenda_tarefa (idPrimario, assunto, observacao, vendedor, dataCriacao, data, horario_inicial, horario_final, status, usuario, supervisor, clientes, idOriginal, resumo, dataRota) values ('-1749124047289','7','','44','2025-06-05','2025-06-27','08:00:00','18:00:00','Pendente','44','44','','-1749124047289','','') - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123349798','101','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123349798','302','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123349798','303','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123349798','106','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123349798','107','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123349798','206','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123349798','305','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123349798','207','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123349798','109','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123349798','110','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123349798','111','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123349798','112','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123349798','114','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123349798','208','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123349798','210','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123349798','115','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123349798','117','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123512971','101','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123512971','302','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123512971','303','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123512971','106','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123512971','107','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123512971','206','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123512971','305','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123512971','207','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123512971','109','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123512971','110','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123512971','111','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123512971','112','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123512971','114','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123512971','208','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123512971','210','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123512971','115','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123512971','117','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123721877','101','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123721877','302','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123721877','303','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123721877','106','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123721877','107','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123721877','206','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123721877','305','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123721877','207','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123721877','109','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123721877','110','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123721877','111','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123721877','112','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123721877','114','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123721877','208','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123721877','210','0','') ON DUPLICATE KEY UPDATE resposta = '0', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123721877','115','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_formulario (tarefa, item, resposta, resposta_txt) values ('-1749123721877','117','1','') ON DUPLICATE KEY UPDATE resposta = '1', resposta_txt = '' - 44;
INSERT INTO agenda_resposta_desenvolvimento_equipe (tarefa, prazo, feedback, acao) values ('-1749123339210','','','') - 44;
INSERT INTO agenda_resposta_desenvolvimento_equipe (tarefa, prazo, feedback, acao) values ('-1749123923291','','','') - 44;
INSERT INTO agenda_resposta_desenvolvimento_equipe (tarefa, prazo, feedback, acao) values ('-1749123889961','','','') - 44;
INSERT INTO agenda_resposta_desenvolvimento_equipe (tarefa, prazo, feedback, acao) values ('-1749123816474','','','') - 44;
UPDATE agenda_tarefa SET idPrimario = 53006 WHERE idPrimario = -1749123339210 - 44;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 53006 WHERE tarefa = -1749123339210 - 44;
UPDATE agenda_resposta_formulario SET tarefa = 53007 WHERE tarefa = -1749123349798 - 44;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 53007 WHERE tarefa = -1749123349798 - 44;
UPDATE agenda_resposta_formulario SET tarefa = 53008 WHERE tarefa = -1749123512971 - 44;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 53008 WHERE tarefa = -1749123512971 - 44;
UPDATE agenda_resposta_formulario SET tarefa = 53009 WHERE tarefa = -1749123721877 - 44;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 53009 WHERE tarefa = -1749123721877 - 44;
UPDATE agenda_tarefa SET idPrimario = 53010 WHERE idPrimario = -1749123781412 - 44;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 53010 WHERE tarefa = -1749123781412 - 44;
UPDATE agenda_tarefa SET idPrimario = 53011 WHERE idPrimario = -1749123794298 - 44;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 53011 WHERE tarefa = -1749123794298 - 44;
UPDATE agenda_tarefa SET idPrimario = 53012 WHERE idPrimario = -1749123816474 - 44;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 53012 WHERE tarefa = -1749123816474 - 44;
UPDATE agenda_tarefa SET idPrimario = 53013 WHERE idPrimario = -1749123889961 - 44;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 53013 WHERE tarefa = -1749123889961 - 44;
UPDATE agenda_tarefa SET idPrimario = 53014 WHERE idPrimario = -1749123923291 - 44;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 53014 WHERE tarefa = -1749123923291 - 44;
UPDATE agenda_tarefa SET idPrimario = 53015 WHERE idPrimario = -1749123990717 - 44;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 53015 WHERE tarefa = -1749123990717 - 44;
UPDATE agenda_tarefa SET idPrimario = 53016 WHERE idPrimario = -1749124033938 - 44;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 53016 WHERE tarefa = -1749124033938 - 44;
UPDATE agenda_tarefa SET idPrimario = 53017 WHERE idPrimario = -1749124047289 - 44;
UPDATE agenda_resposta_desenvolvimento_equipe SET tarefa = 53017 WHERE tarefa = -1749124047289 - 44;
update agenda_resposta_formulario a, agenda_tarefa b set a.tarefa = b.id where a.tarefa = b.idOriginal - 44;
update agenda_resposta_desenvolvimento_equipe a, agenda_tarefa b set a.tarefa = b.id where a.tarefa = b.idOriginal - 44;
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 ; - 44;
update agenda_tarefa set idPrimario = id where idPrimario = idOriginal; - 44;
update agenda_resposta_desenvolvimento_equipe aa set aa.tarefaAgendada = 1 where aa.tarefaAgendada is null; - 44;
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 = '53006'
GROUP BY a.idPrimario - 44;
Binding output parameters deu certo: ( 0) - 44;
FORM VENDEDOR 20 - 44;
GRUPO->
Grupos:
| Grupo |
Qtd |
Percentual |
| 1 - 1 - PLANEJAR |
9 |
100.00 |
| 2 - 2 - LEITURA DE LOJA |
12 |
75.00 |
| 3 - 3 - EXECUTAR |
3 |
66.67 |
| 4 - 4 - NEGOCIAR |
21 |
80.95 |
| 5 - 5 - ANALISAR |
6 |
83.33 |
- 44;
Respostas->Questões:
| Grupo | Questes | Qtd | Percentual |
|---|
| 1 - 1 - PLANEJAR |
101 - 1 - É UMA VISITA NO ROTEIRO DO DIA? |
3 |
100.00 |
| 1 - 1 - PLANEJAR |
302 - 2 - TEM AS PARCIAIS (TOPS/CAMPANHAS), ANALISOU E SABE O QUE PRECISA FAZER NESTA VISITA/CLIENTE (ITENS QUE PRECISA POSITIVAR, O QUE FALTA PARA BATER 10KG, TAREFA ANTERIOR, ETC)? |
3 |
100.00 |
| 1 - 1 - PLANEJAR |
303 - 3 - REVISOU CADASTRO (CRÉDITO) E HISTÓRICO DE COMPRA? |
3 |
100.00 |
| 2 - 2 - LEITURA DE LOJA |
106 - 5 - ANALISOU NOSSO PREÇOS VS PREÇO SUGERIDO? PRODUTOS ESTÃO PRECIFICADOS? |
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 |
206 - 7 - LOJA TEM PONTO EXTRA? (ILHA/EXPOSITOR/PILHA NA ENTRADA DA LOJA/SACHE NO BALCÃO) |
3 |
0.00 |
| 2 - 2 - LEITURA DE LOJA |
305 - 4 - FEZ O LEVANTAMENTO DE ESTOQUE USANDO O HISTÓRICO DO APP DE VENDAS(PREÇO E CAMPANHA) OU A FICHA IMPRESSA? |
3 |
100.00 |
| 3 - 3 - EXECUTAR |
207 - 8 - EXECUTOU NO PONTO DE VENDA (ABASTECEU, COLOCOU MATERIAL, ORGANIZOU, ARRUMOU E/OU COLOCOU PREÇO)? (SE NÃO, CORRIJA PREÇOS DE IMEDIATO) |
3 |
66.67 |
| 4 - 4 - NEGOCIAR |
109 - 14 - FEZ UMA ABORDAGEM/ABERTURA EFICIENTE? (CORDIAL, POSITIVA, ADEQUADA AO PERFIL DESTE CLIENTE) |
3 |
100.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)? |
3 |
100.00 |
| 4 - 4 - NEGOCIAR |
111 - 12 - INICIOU A VENDA POR TOP 20 DO PET ESPECIALIZADO (SE FOR FILIAL OU COMPRADOR AUSENTE, FEZ A CONTAGEM ESTOQUE TOP 20)? |
3 |
100.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 |
114 - 14 - NEGOCIOU A VENDA DE ALGUM ITEM QUE ESTA EM PREMIO/CAMPANHA PARA O VENDEDOR? (SE FOR FILIAL OU COMPRADOR AUSENTE, MARCAR SIM) |
3 |
100.00 |
| 4 - 4 - NEGOCIAR |
208 - 15 - CONSEGUIU REVERTER OBJEÇÃO(SE NÃO TEVE=RESPOSTA SIM)?SE NÃO CONSEGUIR REVERTER ESTE É UM TEMA PARA ABORDAR NO FEEDBACK, INCLUIR NAS TAREFA/AGENDA FUTURA. QUAL A OBJEÇÃO, COMO REVERTER, DICAS, TREINAR, ETC SE FOR FILIAL OU COMPRADOR AUSENTE MAR |
3 |
66.67 |
| 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 |
66.67 |
| 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 |
100.00 |
| 5 - 5 - ANALISAR |
117 - 20 - TRASMITIU AO SAIR DO CLIENTE? (PEDIDO, NÃO VENDA OU VENDA DIGITADO POSTERIOR) |
3 |
66.67 |
- 44;
statusNaoFinalizado - 44;
statusNaoFinalizado - 44;
statusNaoFinalizado - 44;
statusNaoFinalizado - 44;
statusNaoFinalizado - 44;
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 = '53012'
GROUP BY a.idPrimario - 44;
Binding output parameters deu certo: ( 0) - 44;
FORM VENDEDOR 20 - 44;
GRUPO->Grupos:
- 44;
Respostas->Questões:
| Grupo | Questes | Qtd | Percentual |
|---|
- 44;
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 = '53013'
GROUP BY a.idPrimario - 44;
Binding output parameters deu certo: ( 0) - 44;
FORM VENDEDOR 20 - 44;
GRUPO->Grupos:
- 44;
Respostas->Questões:
| Grupo | Questes | Qtd | Percentual |
|---|
- 44;
statusNaoFinalizado - 44;
statusNaoFinalizado - 44;
statusNaoFinalizado - 44;
statusNaoFinalizado - 44;