gleimar 2014-01-20 21:43:58 +00:00
parent 901443491c
commit b69cec9b48
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ public class EstacionServiceImpl implements EstacionService {
private void validarEstoqueBorrar(Estacion estacion) throws BusinessException { private void validarEstoqueBorrar(Estacion estacion) throws BusinessException {
if (!ApplicationProperties.getInstance().generarRotinaFolios()) { if (!ApplicationProperties.getInstance().generarRotinaFolios()) {
if (estacionDAO.temEstoque(estacion.getPuntoVenta(), estacion)) { if (estacionDAO.temEstoque(estacion.getPuntoVenta(), estacion)) {
throw new BusinessException("estacionServiceImpl.msg.hayStock"); throw new BusinessException("estacionServiceImpl.msg.hayStock.borrar");
} }
} }
} }