Esempio n. 1
0
 public void ExcluirDetalhes(int itemAtual, int numVenda, int numcaixa)
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         novaVenda.ExcluirDetalhes(itemAtual, numVenda, numcaixa);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 2
0
 public void CancelarVendaAtual(int numVenda)
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         novaVenda.CancelarVendaAtual(numVenda);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 3
0
 public void FecharVenda(int codInternoprod)
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         novaVenda.FecharVenda(codInternoprod);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 4
0
 public void AlterarAtualizado(bool atualizado)
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         novaVenda.AlterarAtualizado(atualizado);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 5
0
 public void DevolucaoVendaBanco(int idproduto, decimal qtde, decimal preco, decimal total, int idUsuario, int item, DateTime dataCadastro, decimal custo, bool baixado, int numCupom, string codBarra, string descricao, string aliquota, int idParametro, string _valorPis, string cstPis, string valorCofins, string _cstCofins, string _cfop, string _ncm, string _icmCst, string _origemProduto, Boolean fechado, int numCaixa)
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         novaVenda.DevolucaoVendaBanco(idproduto, qtde, preco, total, idUsuario, item, dataCadastro, custo, baixado, numCupom, codBarra, descricao, aliquota, idParametro, _valorPis, cstPis, valorCofins, _cstCofins, _cfop, _ncm, _icmCst, _origemProduto, fechado, numCaixa);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 6
0
 public void ExcluirVenda(int numcaixa, int numCupom, int idUsuarioLogado)
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         novaVenda.ExcluirVenda(numcaixa, numCupom, idUsuarioLogado);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 7
0
 public void FecharVendaIdVenda(int idvenda)
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         novaVenda.FecharVendaIdVenda(idvenda);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 8
0
 public void GravarDadosSangria(int idUsuario, decimal valorSangria, string motivo, DateTime data, int numCaixa, bool tipo, bool fechado)
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         novaVenda.GravarDadosSangria(idUsuario, valorSangria, data, motivo, numCaixa, tipo, fechado);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 9
0
 public void AlterarBaixadoVenda(int idUsuario, int numCaixa)
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         novaVenda.AlterarBaixadoVenda(idUsuario, numCaixa);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 10
0
 public void AlterarESinclonizarItensVenda(int itemA, int numVenda, int idVenda)
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         novaVenda.AlterarESinclonizarItensVenda(itemA, numVenda, idVenda);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 11
0
 public void CancelarUltimaVenda(int ultimoVenda)
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         novaVenda.CancelarUltimaVenda(ultimoVenda);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 12
0
 public DataTable VendaX(int idUsuario, int numCaixa, string data)
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         DataTable dadosTabela = new DataTable();
         dadosTabela = novaVenda.VendaX(idUsuario, numCaixa, data);
         return(dadosTabela);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 13
0
 public DataTable PesquisarProdutoItem(int numCupom, int itemAtual, int numCaixa)
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         DataTable dadosTabela = new DataTable();
         dadosTabela = novaVenda.PesquisarProdutoItem(numCupom, itemAtual, numCaixa);
         return(dadosTabela);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 14
0
 public DataTable GerarRealtorioEstoque(int idUsuario, int numcaixa)
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         DataTable dadosTabela = new DataTable();
         dadosTabela = novaVenda.GerarRealtorioEstoque(idUsuario, numcaixa);
         return(dadosTabela);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 15
0
 public DataTable PesquisaNumCupom()
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         DataTable dadosTabela = new DataTable();
         dadosTabela = novaVenda.PesquisarNumCupom();
         return(dadosTabela);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 16
0
 public DataTable ReimprimirUltimaVenda(int ultimaVenda, int numCaixa)
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         DataTable dadosTabela = new DataTable();
         dadosTabela = novaVenda.ReimprimirUltimaVenda(ultimaVenda, numCaixa);
         return(dadosTabela);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 17
0
 public DataTable PesquisarSomaTotalDia(int idUsuario, DateTime data)
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         DataTable dadosTabela = new DataTable();
         dadosTabela = novaVenda.PesquisarSomaTotalDia(idUsuario, data);
         return(dadosTabela);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);;
     }
 }
Esempio n. 18
0
 public DataTable PesquisaVendaSetor(int idUsuario, DateTime data, int numCaixa)
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         DataTable dadosTabela = new DataTable();
         dadosTabela = novaVenda.PesquisaVendaSetor(idUsuario, data, numCaixa);
         return(dadosTabela);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 19
0
 public DataTable FecharVendaDepartamentos(int idUsuario, int numCaixa)
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         DataTable dadosTabela = new DataTable();
         dadosTabela = novaVenda.FecharVendaDepartamentos(idUsuario, numCaixa);
         return(dadosTabela);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 20
0
 public DataTable PesquisaVendaNegativo(int ultimoVenda)
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         DataTable dadosTabela = new DataTable();
         dadosTabela = novaVenda.PesquisaVendaNegativo(ultimoVenda);
         return(dadosTabela);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 21
0
 public DataTable PesquisarDataVendaAberto(string numCaixaXml)
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         DataTable dadosTabela = new DataTable();
         dadosTabela = novaVenda.PesquisarDataVendaAberto(numCaixaXml);
         return(dadosTabela);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 22
0
 public DataTable GerarRelatorioVendaTotal(int idUsuario, DateTime data)
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         DataTable dadosTabela = new DataTable();
         dadosTabela = novaVenda.GerarRelatorioVendaTotal(idUsuario, data);
         return(dadosTabela);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 23
0
 public DataTable PesquisarRelatorioTotalMesTotalAliquota(int numcaixa, int dia, int ano)
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         DataTable dadosTabela = new DataTable();
         dadosTabela = novaVenda.PesquisarRelatorioTotalMesTotalAliquota(numcaixa, dia, ano);
         return(dadosTabela);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 24
0
 public DataTable PesquisaVendaNaoFechado(bool vendaNaoFechado, int numCaixa)
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         DataTable dadosTabela = new DataTable();
         dadosTabela = novaVenda.PesquisaVendaNaoFechado(vendaNaoFechado, numCaixa);
         return(dadosTabela);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 25
0
 public DataTable PesquisarEstoqueIncialMes(int numeroSetor)
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         DataTable dadosTabela = new DataTable();
         dadosTabela = novaVenda.PesquisarEstoqueIncialMes(numeroSetor);
         return(dadosTabela);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 26
0
 public DataTable PesquisaCancelaItem(int numVenda, int item)
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         DataTable dadosTabela = new DataTable();
         dadosTabela = novaVenda.PesquisaCancelaItem(numVenda, item);
         return(dadosTabela);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 27
0
 public DataTable PesquisarUltimaVenda(int numcaixa, int idUsuarioLogado)
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         DataTable dadosTabela = new DataTable();
         dadosTabela = novaVenda.PesquisarUltimaVenda(idUsuarioLogado, numcaixa);
         return(dadosTabela);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 28
0
 public DataTable SomaTotalEntrada(int _numVenda, int numCaixa)
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         DataTable dadosTabela = new DataTable();
         dadosTabela = novaVenda.SomaTotalEntrada(_numVenda, numCaixa);
         return(dadosTabela);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 29
0
 public DataTable PesquisarQtde_QtdeEstoque(int idUsuario, int numCaixa)
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         DataTable dadosTabela = new DataTable();
         dadosTabela = novaVenda.PesquisarQtde_QtdeEstoque(idUsuario, numCaixa);
         return(dadosTabela);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }
Esempio n. 30
0
 public DataTable AtualizarGriVenda(int numCupom, bool baixado, int numCaixa)
 {
     try
     {
         novaVenda = new AcessoDados.VendaAcessoDados();
         DataTable dadosTabela = new DataTable();
         dadosTabela = novaVenda.AtualizarGridVenda(numCupom, baixado, numCaixa);
         return(dadosTabela);
     }
     catch (Exception ex)
     {
         throw new Exception(ex.Message);
     }
 }