Totvs - WS Fornecedor / WS Cliente / WS Pedido Compra (fixes bug #6127)
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@42775 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
dd4970d159
commit
b45843d5c4
|
@ -275,8 +275,8 @@ public class PuntoVentaServiceImpl implements PuntoVentaService {
|
||||||
tel = puntoVenta.getNumtelefonouno();
|
tel = puntoVenta.getNumtelefonouno();
|
||||||
}
|
}
|
||||||
|
|
||||||
String email = puntoVenta.getDescCorreo();
|
String email = puntoVenta.getDescCorreo() == null ? "" : puntoVenta.getDescCorreo();
|
||||||
String fax = puntoVenta.getNumfax();
|
String fax = puntoVenta.getNumfax() == null ? "" : puntoVenta.getNumfax();
|
||||||
String inscr = puntoVenta.getNumIEPuntoVenta();
|
String inscr = puntoVenta.getNumIEPuntoVenta();
|
||||||
String inscrm = InscricaoMunicipal.ISENTO.name();
|
String inscrm = InscricaoMunicipal.ISENTO.name();
|
||||||
|
|
||||||
|
@ -293,8 +293,7 @@ public class PuntoVentaServiceImpl implements PuntoVentaService {
|
||||||
tipoPessoa = TipoPessoa.J.name();
|
tipoPessoa = TipoPessoa.J.name();
|
||||||
}
|
}
|
||||||
|
|
||||||
String obs = puntoVenta.getComentarios();
|
String obs = StringUtils.isBlank(puntoVenta.getComentarios()) ? "sem obs." : puntoVenta.getComentarios();
|
||||||
obs = StringUtils.isBlank(obs) ? "sem obs." : obs;
|
|
||||||
|
|
||||||
String conta = "1110101001001"; // DEVE SER REVISADO COM A GUANABARA
|
String conta = "1110101001001"; // DEVE SER REVISADO COM A GUANABARA
|
||||||
|
|
||||||
|
@ -309,7 +308,7 @@ public class PuntoVentaServiceImpl implements PuntoVentaService {
|
||||||
agencia = agencia == null ? null : agenciaComp[0];
|
agencia = agencia == null ? null : agenciaComp[0];
|
||||||
dgverag = agencia == null ? null : agenciaComp[1];
|
dgverag = agencia == null ? null : agenciaComp[1];
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
tel = puntoVenta.getAgenciaId().getNumagencia();
|
agencia = puntoVenta.getAgenciaId() == null ? "" : puntoVenta.getAgenciaId().getNumagencia();
|
||||||
}
|
}
|
||||||
|
|
||||||
String banco = puntoVenta.getAgenciaId().getInstiFinanceiraId() == null ? "" : puntoVenta.getAgenciaId().getInstiFinanceiraId().getCodigo();
|
String banco = puntoVenta.getAgenciaId().getInstiFinanceiraId() == null ? "" : puntoVenta.getAgenciaId().getInstiFinanceiraId().getCodigo();
|
||||||
|
|
Loading…
Reference in New Issue