public class ComprasGeralServicePlublic
extends java.lang.Object
implements br.inf.thema.erp.integracao.materiais.service.compras.ComprasGeralPublicService
Modifier and Type | Field and Description |
---|---|
private ComprasGeralDao |
comprasGeralDao |
private DestinoItemPedidoCompraService |
destinoItemPedidoCompraService |
private ItemPedidoCompraDao |
itemPedidoCompraDao |
private ProdutoDao |
produtoDao |
private static long |
serialVersionUID |
Constructor and Description |
---|
ComprasGeralServicePlublic() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
buscaTipoGrupoProtocoloDefault(java.lang.String moduloIntegracao)
Retorna o tipo e o grupo do protocolo
|
java.lang.Double |
calculaPrecoTotal(java.lang.Double quantidade,
java.lang.Double valorUnitario,
java.lang.Double arredondamento)
Procedimento que seta o formato de arredondamento de preços totais.
|
java.lang.String |
getLiberaUnidadePedidoCompra() |
java.lang.String |
modeloArredondamentoGet()
Procedimento que seta o formato de arredondamento de preços totais
|
private static final long serialVersionUID
@Autowired private ComprasGeralDao comprasGeralDao
@Autowired private ItemPedidoCompraDao itemPedidoCompraDao
@Autowired private DestinoItemPedidoCompraService destinoItemPedidoCompraService
@Autowired private ProdutoDao produtoDao
public java.util.Map<java.lang.String,java.lang.Object> buscaTipoGrupoProtocoloDefault(java.lang.String moduloIntegracao) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
buscaTipoGrupoProtocoloDefault
in interface br.inf.thema.erp.integracao.materiais.service.compras.ComprasGeralPublicService
moduloIntegracao
- C - Contrato, L - Licitação, E - MepenhoErpServiceException
public java.lang.String modeloArredondamentoGet() throws br.inf.thema.erp.infra.service.exception.ErpServiceException
modeloArredondamentoGet
in interface br.inf.thema.erp.integracao.materiais.service.compras.ComprasGeralPublicService
ErpServiceException
public java.lang.Double calculaPrecoTotal(java.lang.Double quantidade, java.lang.Double valorUnitario, java.lang.Double arredondamento) throws br.inf.thema.erp.infra.service.exception.ErpServiceException
calculaPrecoTotal
in interface br.inf.thema.erp.integracao.materiais.service.compras.ComprasGeralPublicService
ErpServiceException
public java.lang.String getLiberaUnidadePedidoCompra() throws br.inf.thema.erp.infra.service.exception.ErpServiceException
getLiberaUnidadePedidoCompra
in interface br.inf.thema.erp.integracao.materiais.service.compras.ComprasGeralPublicService
br.inf.thema.erp.infra.service.exception.ErpServiceException