Totvs - WS Fornecedor / WS Cliente / WS Pedido Compra (fixes bug #6127)
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@43151 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
9d7241a316
commit
32f1b6d70d
|
@ -76,7 +76,8 @@ public class PuntoVentaServiceImpl implements PuntoVentaService {
|
||||||
|
|
||||||
Exception respEx = null;
|
Exception respEx = null;
|
||||||
try {
|
try {
|
||||||
if (entidad.getIndIntegracion() != TipoRetorno.CONCLUIDA.getValor()) {
|
if (entidad.getIndIntegracion() == TipoRetorno.PENDENTE.getValor()
|
||||||
|
|| entidad.getIndIntegracion() == TipoRetorno.ERRO.getValor()) {
|
||||||
String resp = integracionTotvs(entidad);
|
String resp = integracionTotvs(entidad);
|
||||||
|
|
||||||
TipoRetorno retornoTotvs = RetornoTotvs.validaRetornoTotvs(resp);
|
TipoRetorno retornoTotvs = RetornoTotvs.validaRetornoTotvs(resp);
|
||||||
|
@ -133,7 +134,8 @@ public class PuntoVentaServiceImpl implements PuntoVentaService {
|
||||||
|
|
||||||
Exception respEx = null;
|
Exception respEx = null;
|
||||||
try {
|
try {
|
||||||
if (entidad.getIndIntegracion() != TipoRetorno.CONCLUIDA.getValor()) {
|
if (entidad.getIndIntegracion() == TipoRetorno.PENDENTE.getValor()
|
||||||
|
|| entidad.getIndIntegracion() == TipoRetorno.ERRO.getValor()) {
|
||||||
String resp = integracionTotvs(entidad);
|
String resp = integracionTotvs(entidad);
|
||||||
|
|
||||||
TipoRetorno retornoTotvs = RetornoTotvs.validaRetornoTotvs(resp);
|
TipoRetorno retornoTotvs = RetornoTotvs.validaRetornoTotvs(resp);
|
||||||
|
|
Loading…
Reference in New Issue