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