Totvs - WS Fornecedor / WS Cliente / WS Pedido Compra (fixes bug #6127)

git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Web/trunk/ventaboletos@42895 d1611594-4594-4d17-8e1d-87c2c4800839
master
julio 2015-04-08 16:43:52 +00:00
parent 21e3ac5854
commit c543c85475
1 changed files with 0 additions and 15 deletions

View File

@ -99,7 +99,6 @@ import com.rjconsultores.ventaboletos.service.PuntoVentaService;
import com.rjconsultores.ventaboletos.service.TipoPuntoVentaService; import com.rjconsultores.ventaboletos.service.TipoPuntoVentaService;
import com.rjconsultores.ventaboletos.service.UsuarioBancarioService; import com.rjconsultores.ventaboletos.service.UsuarioBancarioService;
import com.rjconsultores.ventaboletos.service.UsuarioService; import com.rjconsultores.ventaboletos.service.UsuarioService;
import com.rjconsultores.ventaboletos.utilerias.InscricaoEstadualUtil;
import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado; import com.rjconsultores.ventaboletos.utilerias.UsuarioLogado;
import com.rjconsultores.ventaboletos.web.gui.controladores.configuracioneccomerciales.FechamentoParamptovtaListItemRenderer; import com.rjconsultores.ventaboletos.web.gui.controladores.configuracioneccomerciales.FechamentoParamptovtaListItemRenderer;
import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta; import com.rjconsultores.ventaboletos.web.utilerias.MyComboboxPuntoVenta;
@ -1005,20 +1004,6 @@ public class EditarPuntoVentaController extends MyGenericForwardComposer {
cmbTipoConta.getValue(); cmbTipoConta.getValue();
cmbPosicao.getValue(); cmbPosicao.getValue();
if (!ckIsento.isChecked() && StringUtils.isNotBlank(puntoVenta.getNumIEPuntoVenta())) {
try {
String uf = puntoVenta.getColonia() == null ? null : puntoVenta.getColonia().getCiudad().getEstado().getCveestado();
String inscEstadual = puntoVenta.getNumIEPuntoVenta();
InscricaoEstadualUtil.valida(inscEstadual, uf);
} catch (Exception e) {
log.error("editarPuntoVentaController: ", e);
Messagebox.show(e.getMessage(), Labels.getLabel("editarPuntoVentaController.window.title"),
Messagebox.OK, Messagebox.ERROR);
return;
}
}
String numagencia = txtNumAg.getValue() + (StringUtils.isBlank(txtDigitoAg.getValue()) ? "" : "-" + txtDigitoAg.getValue()); String numagencia = txtNumAg.getValue() + (StringUtils.isBlank(txtDigitoAg.getValue()) ? "" : "-" + txtDigitoAg.getValue());
puntoVenta.getAgenciaId().setNumagencia(numagencia); puntoVenta.getAgenciaId().setNumagencia(numagencia);