Exemple #1
0
 private void VentasGCListarPL()
 {
     try
     {
         GridProductoyVentas.DataSource = GuiaRemisionPendienteNego.GuiaRemisionPendienteListarDS(Convert.ToDateTime(txtFecha1.Text), Convert.ToDateTime(txtFecha2.Text), ddSerie.SelectedValue, ddlEst.SelectedValue, ddEmpresa.Text);
         GridProductoyVentas.DataBind();
     }
     catch (Exception)
     {
     }
 }
Exemple #2
0
 private void VentasGCListarPL()
 {
     try
     {
         GridProductoyVentas.DataSource = SAPMarcaQtyNego.SAPMarcaQtyDS();
         GridProductoyVentas.DataBind();
     }
     catch (Exception)
     {
     }
 }
Exemple #3
0
 private void VentasGCListarPL()
 {
     try
     {
         GridProductoyVentas.DataSource = TEstadoNego.TomaIEstadosDT();
         GridProductoyVentas.DataBind();
     }
     catch (Exception)
     {
     }
 }
 private void ListarCompras()
 {
     try
     {
         GridProductoyVentas.DataSource = OrdenCompraNego.OrdenCompraDT(Convert.ToDateTime(txtFecha1.Text), Convert.ToDateTime(txtFecha2.Text), ddlListEmp.SelectedValue);
         GridProductoyVentas.DataBind();
     }
     catch (Exception)
     {
     }
 }
Exemple #5
0
 private void Listar()
 {
     try
     {
         GridProductoyVentas.DataSource = SAPListaPrecioStockNego.SapListaPrecioDetalleDT(codigo);
         GridProductoyVentas.DataBind();
     }
     catch
     {
     }
 }
 private void VentasGCListarPL()
 {
     try
     {
         GridProductoyVentas.DataSource = VentasxClientexMensualDetalleNego.VxClienteDetalleDT(fechaIn, fechaFi, ven, cli, empr);
         GridProductoyVentas.DataBind();
     }
     catch (Exception)
     {
     }
 }
Exemple #7
0
 private void VentasGCListarPL()
 {
     try
     {
         GridProductoyVentas.DataSource = ventasgcExcelNego.VentasGeneralesDetalleConsultarDT(Convert.ToDateTime(txtFecha1.Text), Convert.ToDateTime(txtFecha2.Text), ddlList.Text);
         GridProductoyVentas.DataBind();
     }
     catch (Exception)
     {
     }
 }
 private void VentasGCListarPL()
 {
     try
     {
         GridProductoyVentas.DataSource = SAPListaPrecioStockNego.SapListaPrecioDT();
         GridProductoyVentas.DataBind();
     }
     catch (Exception)
     {
     }
 }
Exemple #9
0
 private void ProductoyVentaListar()
 {
     try
     {
         asignarValores();
         GridProductoyVentas.DataSource = ProductoyVentasNego.ProductoyVentasListar(txtCodigo.Text, ruc, ddEmpresa.Text);
         GridProductoyVentas.DataBind();
     }
     catch (Exception)
     {
     }
 }
Exemple #10
0
 private void VentasGCListarPL()
 {
     try
     {
         GridProductoyVentas.DataSource = VentasGCNego.VentasSTOCKSAPConsultar(TextBox1.Text);
         GridProductoyVentas.DataBind();
     }
     catch (Exception)
     {
         throw new Exception();
     }
 }
        private void ListarDatos()
        {
            try
            {
                GridVStockDatos.DataSource = ProductoStockNego.ProductoStockListar(txtValor.Text);
                GridVStockDatos.DataBind();

                GridProductoyVentas.DataSource = VentasGCNego.VentasSTOCKSAPConsultar(txtValor.Text);
                GridProductoyVentas.DataBind();
            }
            catch (Exception)
            {
            }
        }
Exemple #12
0
        private void VentasGCListarPL()
        {
            try
            {
                GridProductoyVentas.DataSource = VentasGCNego.VentasGCListarCDatos(Convert.ToDateTime(txtFecha1.Text), Convert.ToDateTime(txtFecha2.Text), ddlList.Text);
                GridProductoyVentas.DataBind();

                suma = 0;
                GridVentasGCSAP.DataSource = SAPVentasGCNego.VentasGCSAPConsultar(Convert.ToDateTime(txtFecha1.Text), Convert.ToDateTime(txtFecha2.Text), ddlList.Text);
                GridVentasGCSAP.DataBind();
            }
            catch (Exception)
            {
            }
        }
Exemple #13
0
        protected void TextBox1_TextChanged1(object sender, EventArgs e)
        {
            string TextToSearch = TextBox1.Text;

            if (TextToSearch != "")
            {
                BindingSource bs = new BindingSource();
                bs.DataSource = SAPListaPrecioStockNego.SapListaPrecioDetalleDT(codigo);
                //bs.DataSource = grdListado.Page;
                bs.Filter = $"[ItemCode] LIKE '%{TextToSearch}%'";
                GridProductoyVentas.DataSource = bs;
                GridProductoyVentas.DataBind();
            }
            else
            {
                GridProductoyVentas.DataSource = SAPListaPrecioStockNego.SapListaPrecioDetalleDT(codigo);
                GridProductoyVentas.DataBind();
            }
        }
 private void listarDatos()
 {
     ValidaCampo();
     GridProductoyVentas.DataSource = VentasxClientexMensualNego.VentasGeneralesDetalleConsultarDT(Convert.ToDateTime(txtFechaInicio.Text), Convert.ToDateTime(txtFechaFin.Text), ddVendedor.SelectedValue.ToString(), ddEmpresa.Text, cliente);
     GridProductoyVentas.DataBind();
 }