leonardo 2017-01-03 17:08:49 +00:00
parent 6b4226bd70
commit a4c8faf203
1 changed files with 2 additions and 2 deletions

View File

@ -165,7 +165,7 @@ public class PuntoVentaServiceImpl implements PuntoVentaService {
TFornecedor fornecedor = null; TFornecedor fornecedor = null;
String strFornecedor = ""; String strFornecedor = "";
try{ try{
strFornecedor = iag.getCodigoFornecedorWithIDWS(entidad.getPuntoventaId().toString()); strFornecedor = iag.getCodigoFornecedorWithIDWS(entidad.getNumPuntoVenta().toString());
log.debug("Retorno consulta fornecedor ws: " + strFornecedor); log.debug("Retorno consulta fornecedor ws: " + strFornecedor);
} catch (RemoteException e) { } catch (RemoteException e) {
log.error("", e.toString()); log.error("", e.toString());
@ -237,7 +237,7 @@ public class PuntoVentaServiceImpl implements PuntoVentaService {
TCliente cli = null; TCliente cli = null;
String cliStr = ""; String cliStr = "";
try{ try{
cliStr = iag.getClienteWithIDWS(entidad.getPuntoventaId().toString()); cliStr = iag.getClienteWithIDWS(entidad.getNumPuntoVenta().toString());
log.debug("Retorno consulta cliente ws: " + cliStr); log.debug("Retorno consulta cliente ws: " + cliStr);
} catch (RemoteException e) { } catch (RemoteException e) {
log.error("", e.toString()); log.error("", e.toString());