Notice: Undefined index: idFor in D:\Arquivos\implantacao\cotacaoWeb\Pacote Atualizado\server\actionReportPedido.php on line 54 Notice: Undefined index: nomeFor in D:\Arquivos\implantacao\cotacaoWeb\Pacote Atualizado\server\actionReportPedido.php on line 55 Notice: Undefined index: idCot in D:\Arquivos\implantacao\cotacaoWeb\Pacote Atualizado\server\actionReportPedido.php on line 56 Notice: Undefined index: idEmp in D:\Arquivos\implantacao\cotacaoWeb\Pacote Atualizado\server\actionReportPedido.php on line 57 Notice: Undefined index: numPC in D:\Arquivos\implantacao\cotacaoWeb\Pacote Atualizado\server\actionReportPedido.php on line 58 Notice: Undefined index: empPC in D:\Arquivos\implantacao\cotacaoWeb\Pacote Atualizado\server\actionReportPedido.php on line 59 Invalid query: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'group by cg2_cod, es1_cod )' at line 1 CREATE TEMPORARY TABLE temp_es1i (SELECT es1_cod, cg2_cod, es1_codforn from es1i where cg2_cod = group by cg2_cod, es1_cod )