Rev 550 | Rev 608 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 550 | Rev 591 | ||
|---|---|---|---|
| Line 479... | Line 479... | ||
| 479 | setProdutoLojaSelecionado(produtoLojaService.consultarProdutoLoja(produto, loja)); |
479 | setProdutoLojaSelecionado(produtoLojaService.consultarProdutoLoja(produto, loja)); |
| 480 | setQuantidadeEstoque(getProdutoLojaSelecionado().getQuantidadeEstoque()); |
480 | setQuantidadeEstoque(getProdutoLojaSelecionado().getQuantidadeEstoque()); |
| 481 | setLocalizacao(getProdutoLojaSelecionado().getLocalizacao()); |
481 | setLocalizacao(getProdutoLojaSelecionado().getLocalizacao()); |
| 482 | }
|
482 | }
|
| 483 | 483 | ||
| 484 | public void prepararParaContagemPorCodigo(final Loja loja) { |
- | |
| - | 484 | public void prepararParaContagemRapidaPorCodigo(final Loja loja) { |
|
| 485 | new VerificadorLancamentoException().tratarIhRelancarExcecaoSemLimparEntidade(new CommandBean() { |
485 | new VerificadorLancamentoException().tratarIhRelancarExcecaoSemLimparEntidade(new CommandBean() { |
| 486 | public void execute() { |
486 | public void execute() { |
| 487 | Produto produtoConsultado = produtoService.consultarProdutoPorCodigoParaContagem(StringUtils.trim(getCodigoProdutoParaContagem()), loja, getUsuarioParaContagem()); |
487 | Produto produtoConsultado = produtoService.consultarProdutoPorCodigoParaContagem(StringUtils.trim(getCodigoProdutoParaContagem()), loja, getUsuarioParaContagem()); |
| 488 | ((ParametrosConsultaProdutoDTO)parametrosConsulta).setLojaSelecionadaParaContagem(getLojaSelecionada()); |
488 | ((ParametrosConsultaProdutoDTO)parametrosConsulta).setLojaSelecionadaParaContagem(getLojaSelecionada()); |
| 489 | setProdutoLojaSelecionado(produtoLojaService.consultarProdutoLoja(produtoConsultado, loja)); |
489 | setProdutoLojaSelecionado(produtoLojaService.consultarProdutoLoja(produtoConsultado, loja)); |