Commit 8179cf90f5f6840e96675b2c1b9f01ef35c9a80e
1 parent
7067eacd
Exists in
master
Atendimento Redmine #4999
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
cit-almoxarifado-api/src/main/java/br/com/centralit/api/service/impl/MovimentoEstoqueServiceImpl.java
... | ... | @@ -432,7 +432,7 @@ public class MovimentoEstoqueServiceImpl extends GenericServiceImpl<MovimentoEst |
432 | 432 | |
433 | 433 | for (AtendimentoRequisicaoConsumoItemEndereco atendimentoRequisicaoConsumoItemEndereco : atendimentoRequisicaoConsumoItem.getAtendimentoRequisicaoConsumoItemEnderecos()) { |
434 | 434 | |
435 | - MovimentoEstoque movimentoEstoque = new MovimentoEstoque(atendimento.getDataAtendimento(), atendimentoRequisicaoConsumoItem.getQuantidade().multiply(BigDecimal.valueOf(-1)), | |
435 | + MovimentoEstoque movimentoEstoque = new MovimentoEstoque(atendimento.getDataAtendimento(), atendimentoRequisicaoConsumoItemEndereco.getQuantidade().multiply(BigDecimal.valueOf(-1)), | |
436 | 436 | valorMovimentoFIFO.multiply(BigDecimal.valueOf(-1)), valorMovimentoMediaMovel.multiply(BigDecimal.valueOf(-1)), tipoMovimento); //Movimentos negativos pois o valor esta saindo do estoque. |
437 | 437 | |
438 | 438 | movimentoEstoque.setDominioClasseReferencia(classeReferenciaAtendimento); | ... | ... |