git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@33177 d1611594-4594-4d17-8e1d-87c2c4800839
parent
901443491c
commit
b69cec9b48
|
@ -112,7 +112,7 @@ public class EstacionServiceImpl implements EstacionService {
|
|||
private void validarEstoqueBorrar(Estacion estacion) throws BusinessException {
|
||||
if (!ApplicationProperties.getInstance().generarRotinaFolios()) {
|
||||
if (estacionDAO.temEstoque(estacion.getPuntoVenta(), estacion)) {
|
||||
throw new BusinessException("estacionServiceImpl.msg.hayStock");
|
||||
throw new BusinessException("estacionServiceImpl.msg.hayStock.borrar");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue