bug #7788
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@65273 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
ee3fb05a64
commit
08464c5a9f
|
@ -178,6 +178,9 @@ public class PuntoVentaServiceImpl implements PuntoVentaService {
|
||||||
wslog.debug("Retorno consulta fornecedor ws: " + strFornecedor);
|
wslog.debug("Retorno consulta fornecedor ws: " + strFornecedor);
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
wslog.error(e.toString());
|
wslog.error(e.toString());
|
||||||
|
entidad.setIndIntegradoAG(false);
|
||||||
|
entidad.setMotivoNaoIntegradoAG(e.toString());
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
if (!strFornecedor.contains("ERRO")){
|
if (!strFornecedor.contains("ERRO")){
|
||||||
// retornar msg a informação de registro já cadastrado
|
// retornar msg a informação de registro já cadastrado
|
||||||
|
@ -250,6 +253,9 @@ public class PuntoVentaServiceImpl implements PuntoVentaService {
|
||||||
wslog.debug("Retorno consulta cliente ws: " + cliStr);
|
wslog.debug("Retorno consulta cliente ws: " + cliStr);
|
||||||
} catch (RemoteException e) {
|
} catch (RemoteException e) {
|
||||||
wslog.error(e.toString());
|
wslog.error(e.toString());
|
||||||
|
entidad.setIndIntegradoAG(false);
|
||||||
|
entidad.setMotivoNaoIntegradoAG(e.toString());
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
if (!cliStr.contains("ERRO")){
|
if (!cliStr.contains("ERRO")){
|
||||||
// retornar msg a informação de registro já cadastrado
|
// retornar msg a informação de registro já cadastrado
|
||||||
|
|
Loading…
Reference in New Issue