Jump to content

dev botao

Erro na consulta de Lote para provedor IPM


Go to solution Solved by Italo Giurizzato Junior,
  • Este tópico foi criado há 447 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Recommended Posts

  • Membros Pro
Posted (edited)

Olá.

O provedor IPM esta retorando uma chave de protocolo de 40 caracteres, até aí tudo bem.

Problema que ao fazer uma consulta ConsultarLoteRps, esta retornando erro:

Project NFSe.exe raised exception class EACBrDFeException with message '500 - ERROR:  22003: value "8771738822201156285920241030102023276602" is out of range for type bigint
LINE 1: ... = '11.562.777/0001-00' and  ablnumeroprotocolo = '877173882...
                                                             ^
LOCATION:  scanint8, int8.c:118
SQL:SELECT 1 FROM wne.tbabrasflote where  ablcpfcnpjprestador = '11.562.777/0001-00' and  ablnumeroprotocolo = '8771738822201156285920241030102023276602' limit 1
exception 'SqlDefaultException' with message 'Problema interno não esperado, contate o suporte.' in /var/www/html/novohamburgo.atende.net/estrutura/est_class_sql_trigger_exception.inc:69
Stack trace:
#0 /var/www/html/novohamburgo.atende.net/estrutura/est_class_conexao_bd.inc(743): SqlTriggerException::instanceSqlException(Object(Query))
#1 /var/www/html/novohamburgo.atende.net/estrutura/est_class_query.inc(337): ConexaoBd->executeDebug(Object(Query), false)
#2 /var/www/html/novohamburgo.atende.net/estrutura/est_class_query.inc(767): Query->execute()
#3 /var/www/html/novohamburgo.atende.net/estrutura/est_class_query.inc(512): Query->ver_exec()
#4 /var/www/html/novohamburgo.atende.net/estrutura/est_class_conexao_bd.inc(652): Query->fetch_object()
#5 /var/www/html/novohamburgo.atende.net/estrutura/est_class_query.inc(630): ConexaoBd->fetch_sql('SELECT 1 FROM w...')
#6 /var/www/html/novohamburgo.atende.net/include/wne/persistencia/wne_class_persistencia_nota_fiscal_eletronica_abrasf_lote.inc(82): Query->fetch_sql()
#7 /var/www/html/novohamburgo.atende.net/include/wne/model/wne_class_model_bo_web_service_nota_fiscal_eletronica_abrasf_valida_consulta_lote.inc(41): Wne\Persistencia\PersistenciaNotaFiscalEletronicaAbrasfLote->getCpfCnpjProtocolo('11.562.788/0001...', '877173882220115...', true)
#8 /var/www/html/novohamburgo.atende.net/include/wne/model/wne_class_model_bo_web_service_nota_fiscal_eletronica_abrasf_valida_consulta_lote.inc(24): Wne\Model\Bo\ModelBoWebServiceNotaFiscalEletronicaAbrasfValidaConsultaLote->validaExisteLotePersistido()
#9 /var/www/html/novohamburgo.atende.net/include/wne/controller/wne_class_controller_web_service_nota_fiscal_eletronica_abrasf_consultar_lote_rps.inc(84): Wne\Model\Bo\ModelBoWebServiceNotaFiscalEletronicaAbrasfValidaConsultaLote->valida()
#10 /var/www/html/novohamburgo.atende.net/include/wne/controller/wne_class_controller_web_service_nota_fiscal_eletronica_abrasf_consultar_lote_rps.inc(65): Wne\Controller\ControllerWebServiceNotaFiscalEletronicaAbrasfConsultarLoteRps->getErrosLote()
#11 /var/www/html/novohamburgo.atende.net/include/wne/controller/wne_class_controller_web_service_nota_fiscal_eletronica_abrasf_base.inc(94): Wne\Controller\ControllerWebServiceNotaFiscalEletronicaAbrasfConsultarLoteRps->executa()
#12 /var/www/html/novohamburgo.atende.net/include/wne/controller/wne_class_controller_web_service_nota_fiscal_eletronica_abrasf.inc(212): Wne\Controller\ControllerWebServiceNotaFiscalEletronicaAbrasfBase->processa()
#13 [internal function]: Wne\Controller\ControllerWebServiceNotaFiscalEletronicaAbrasf->returnConsultarLoteRpsEnvio(Object(stdClass))
#14 /var/www/html/novohamburgo.atende.net/estrutura/est_funcao.inc(495): call_user_func_array(Array, Array)
#15 /var/www/html/novohamburgo.atende.net/include/glw/controller/glw_class_controller_web_service_definicao.inc(125): callMethod(Object(Wne\Controller\ControllerWebServiceNotaFiscalEletronicaAbrasf), 'returnConsultar...', Array)
#16 [internal function]: ControllerWebServiceDefinicao->__call('ConsultarLoteRp...', Array)
#17 [internal function]: Wne\Controller\ControllerWebServiceNotaFiscalEletronicaAbrasf->ConsultarLoteRpsEnvio(Object(stdClass))
#18 /var/www/html/novohamburgo.atende.net/include/glw/controller/glw_class_controller_web_service_router.inc(115): SoapServer->handle()
#19 /var/www/html/novohamburgo.atende.net/include/glw/controller/glw_class_controller_web_service_router.inc(72): ControllerWebServiceRouter->doExecuteWebService()
#20 /var/www/html/novohamburgo.atende.net/include/glw/controller/glw_class_controller_service_router_base.inc(66): ControllerWebServiceRouter->initService()
#21 /var/www/html/novohamburgo.atende.net/estrutura/est_class_factory.inc(154): ControllerServiceRouterBase->__construct()
#22 /var/www/html/novohamburgo.atende.net/estrutura/est_class_factory.inc(126): Factory::instance('controllerWebSe...', Array)
#23 /var/www/html/novohamburgo.atende.net/estrutura/est_class_factory.inc(430): Factory::load('glw', 'web_service_rou...', 'controller', Array, false)
#24 /var/www/html/novohamburgo.atende.net/estrutura/est_class_formulario.inc(928): Factory::loadFile('glw_class_contr...')
#25 /var/www/html/novohamburgo.atende.net/estrutura/est_class_formulario.inc(954): Formulario->loadInstanceControllerFormulario()
#26 /var/www/html/novohamburgo.atende.net/estrutura/est_class_formulario.inc(942): Formulario->callControllerForm()
#27 /var/www/html/novohamburgo.atende.net/atende.php(0): Formulario->callController()
#28 {main}'.

 

Edited by C4Dev
dados incorretos inseridos
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

The popup will be closed in 10 seconds...