Exemple #1
0
        void MostrarCabeceraMes(int n_MesInicio, DataTable dtDatos)
        {
            int       n_col      = 0;
            int       n_posArray = 3;
            int       n_nummes   = n_MesInicio;
            DataTable dtResult   = new DataTable();
            string    c_nommes   = "";

            for (n_col = 1; n_col <= 12; n_col++)
            {
                c_nommes = Convert.ToString(funDatos.DataTableBuscar(dtMeses, "n_id", "c_des", n_nummes.ToString(), "N"));
                arrCabeceraFlex1[n_posArray, 0] = c_nommes.ToLower();
                arrCabeceraFlex1[n_posArray, 1] = "70";
                arrCabeceraFlex1[n_posArray, 2] = "D";
                arrCabeceraFlex1[n_posArray, 3] = "0.00";
                arrCabeceraFlex1[n_posArray, 4] = c_nommes.ToLower();

                n_nummes   = n_nummes + 1;
                n_posArray = n_posArray + 1;
                if (n_nummes == 13)
                {
                    n_nummes = 1;
                }
            }
            funFlex.FlexMostrarDatos(FgProEmp1, arrCabeceraFlex1, dtDatos, 2, true);
        }
Exemple #2
0
        void ConfigurarFormulario()
        {
            this.Height = 600;
            this.Width  = 1094;

            Sz1.Left   = 0;
            Sz1.Top    = 41;
            Sz1.Height = this.Height - 83;
            Sz1.Width  = this.Width - 18;



            OptPen.Checked = true;

            TxtFchIni.Text          = "01/01/" + STU_SISTEMA.ANOTRABAJO.ToString();
            CboTipPro.SelectedValue = STU_SISTEMA.EMPRESAID;
            FgDatos.Cols.Count      = 5;

            funFlex.b_AlternarColor = true;

            if (n_TipoReporte == 1)
            {
                this.Text = "VENTAS - VENTAS X CLIENTE";
                Cabecera1();
                funFlex.FlexMostrarDatos(FgDatos, arrCabecera1, dtLista, 2, false);
            }
            if (n_TipoReporte == 2)
            {
                this.Text = "VENTAS - VENTAS X ITEMS";
                Cabecera2();
                funFlex.FlexMostrarDatos(FgDatos, arrCabecera2, dtLista, 2, false);
            }
        }
Exemple #3
0
        void ConfigurarFormulario()
        {
            this.Height = 600;
            this.Width  = 1094;

            Sz1.Left   = 0;
            Sz1.Top    = 41;
            Sz1.Height = this.Height - 83;
            Sz1.Width  = this.Width - 18;

            this.Text = "VENTAS - GUIAS ANUALES";

            OptCan.Checked = true;

            FgDatos.Cols.Count = 5;
            Cabecera1();
            funFlex.FlexMostrarDatos(FgDatos, arrCabecera1, dtLista, 2, false);

            arrCabeceraFlex1[0, 0] = "Cliente";
            arrCabeceraFlex1[0, 1] = "420";
            arrCabeceraFlex1[0, 2] = "C";
            arrCabeceraFlex1[0, 3] = "";
            arrCabeceraFlex1[0, 4] = "c_tipexides";

            arrCabeceraFlex1[1, 0] = "Id";
            arrCabeceraFlex1[1, 1] = "0";
            arrCabeceraFlex1[1, 2] = "N";
            arrCabeceraFlex1[1, 3] = "";
            arrCabeceraFlex1[1, 4] = "c_itedes";

            funFlex.FlexMostrarDatos(FgCli, arrCabeceraFlex1, dtProv, 1, false);
            TxtFchIni.Text          = "01/01/" + STU_SISTEMA.ANOTRABAJO.ToString();
            FgCli.Cols[1].ComboList = "...";
            FgCli.AllowEditing      = true;
        }
Exemple #4
0
        void CargarDatos2()
        {
            DataTable dtRes = new DataTable();

            dtRes = funGen.DataTableFiltrar(dtClientes, "n_id = " + LbIdCliente.Text + "");

            if (dtRes.Rows.Count != 0)
            {
                TxtNumPla.Text             = dtRes.Rows[0]["c_numpla"].ToString();
                TxtApeNom.Text             = dtRes.Rows[0]["c_nom"].ToString();
                CboTipCliCli.SelectedValue = Convert.ToInt16(dtRes.Rows[0]["n_idtipcli"]);
                LbIdCliente.Text           = dtRes.Rows[0]["n_id"].ToString();
                CboTipDoc.SelectedValue    = Convert.ToInt16(dtRes.Rows[0]["n_tipdocfac"]);
                if (Convert.ToInt16(CboTipDoc.SelectedValue) == 90)
                {
                    N_IDLIBRO = 33;
                }
                else
                {
                    N_IDLIBRO = 14;
                }

                if (Convert.ToInt16(CboTipDoc.SelectedValue) == 2)
                {
                    TxtNumSer.Text = c_NUMSERFAC;
                }
                if (Convert.ToInt16(CboTipDoc.SelectedValue) == 4)
                {
                    TxtNumSer.Text = c_NUMSERBOL;
                }
                if (Convert.ToInt16(CboTipDoc.SelectedValue) == 90)
                {
                    TxtNumSer.Text = c_NUMSERTIC;
                }

                CN_est_cargos o_cargo = new CN_est_cargos(STU_SISTEMA);
                o_cargo.STU_SISTEMA = STU_SISTEMA;
                o_cargo.Consulta1(Convert.ToInt16(LbIdCliente.Text));
                dtRes   = o_cargo.dtListar;
                o_cargo = null;

                if (dtRes.Rows.Count != 0)
                {
                    b_agregando = true;
                    funFlex.FlexMostrarDatos(FgReg, arrCabecera1, dtRes, 2, true);
                    HallarTotales();
                    b_agregando = false;
                }
            }

            CN_est_conecta o_conec = new CN_est_conecta(STU_SISTEMA);

            objTipDoc.mysConec = o_conec.mysConec;
            TxtNumDoc.Text     = objTipDoc.UltimoNumero(STU_SISTEMA.EMPRESAID, Convert.ToInt16(CboTipDoc.SelectedValue), TxtNumSer.Text);
            o_conec            = null;
            //TxtAbono.Focus();
        }
Exemple #5
0
        void ConfigurarFormulario()
        {
            this.Height = 600;
            this.Width  = 1010;

            Sz1.Left   = 0;
            Sz1.Top    = 41;
            Sz1.Height = this.Height - 83;
            Sz1.Width  = this.Width - 18;

            if (n_Libro == 14)
            {
                this.Text = "VENTAS - CONSULTA DE VENTAS ";
            }

            OptRes.Checked = true;

            OptTod.Checked    = true;
            OptTodDoc.Checked = true;

            funControl.dtpBlanquea(TxtFchIni);
            funControl.dtpBlanquea(TxtFchFin);

            arrCabeceraFlex1[0, 0] = "Provedor";
            arrCabeceraFlex1[0, 1] = "300";
            arrCabeceraFlex1[0, 2] = "C";
            arrCabeceraFlex1[0, 3] = "";
            arrCabeceraFlex1[0, 4] = "c_tipexides";

            arrCabeceraFlex1[1, 0] = "Id";
            arrCabeceraFlex1[1, 1] = "0";
            arrCabeceraFlex1[1, 2] = "N";
            arrCabeceraFlex1[1, 3] = "";
            arrCabeceraFlex1[1, 4] = "c_itedes";

            funFlex.FlexMostrarDatos(FgPro, arrCabeceraFlex1, dtLista, 1, false);

            arrCabeceraFlex2[0, 0] = "Item(s)";
            arrCabeceraFlex2[0, 1] = "300";
            arrCabeceraFlex2[0, 2] = "C";
            arrCabeceraFlex2[0, 3] = "";
            arrCabeceraFlex2[0, 4] = "c_tipexides";

            arrCabeceraFlex2[1, 0] = "Id";
            arrCabeceraFlex2[1, 1] = "0";
            arrCabeceraFlex2[1, 2] = "N";
            arrCabeceraFlex2[1, 3] = "";
            arrCabeceraFlex2[1, 4] = "c_itedes";

            funFlex.FlexMostrarDatos(FgItem, arrCabeceraFlex2, dtLista, 1, false);

            FgDatos.Cols.Count = 13;
            Cabecera1();
            funFlex.FlexMostrarDatos(FgDatos, arrCabecera1, dtLista, 2, false);
            SetearCabecera1();
        }
Exemple #6
0
        private void FrmFiltrar_Load(object sender, EventArgs e)
        {
            // CONFIGURAMOS EL FORMULARIO
            DataTable dtResul = new DataTable();

            this.Text        = c_titulo;
            this.MaximizeBox = false;
            this.MinimizeBox = false;
            int n_fila            = 0;
            int n_ancho           = 0;
            int n_NumeroElementos = Convert.ToInt32(arrCabeceraFlex.GetLongLength(0)) - 1;

            this.Height = 527;
            //this.Width = 517;

            for (n_fila = 0; n_fila <= n_NumeroElementos; n_fila++)
            {
                n_ancho = n_ancho + Convert.ToInt32(arrCabeceraFlex[n_fila, 1].ToString());

                if (arrCabeceraFlex[n_fila, 2].ToString() == "B")
                {
                    n_colseleccion = n_fila + 1;
                }
            }
            c1Sizer1.Left   = 0;
            c1Sizer1.Top    = 0;
            c1Sizer1.Width  = n_ancho + 35;
            c1Sizer1.Height = this.Height - 20;

            this.Width      = n_ancho + 50;
            FgFiltro.Width  = n_ancho;
            FgFiltro.Height = this.Height - 150;
            FgFix.Width     = n_ancho;

            //ORDENAMOS EL DATATABLE
            dtResul     = fungen.DataTableOrdenar(dtConsulta, c_campoorden);
            dtConsulta  = dtResul;
            dtResul     = null;                                                         // LIMPIAMOS EL DATATABLE DE RESULTADOS, SE LIMPIA PORQUE ESTE DATATABLE SE PASA COMO REFERENCIA A LA CLASE QUE LLAMA AL FORMULARUIO DE BUSQUEDA
            b_agregando = true;

            funFlex.FlexMostrarDatos(FgFiltro, arrCabeceraFlex, dtConsulta, 0, true);
            funFlex.FlexMostrarDatos(FgFix, arrCabeceraFlex, dtConsulta, 2, false);

            FgFix.SelectionMode = C1.Win.C1FlexGrid.SelectionModeEnum.Cell;//  = C1.Win.C1FlexGrid.SelectionModeEnum.Row;
            FgFix.AllowEditing  = true;
            if (b_ConFiltro == true)
            {
                FgFix.Rows.Count = FgFix.Rows.Count + 1;
            }

            LblNumReg.Text = dtConsulta.Rows.Count.ToString();
            CmdEsc.Left    = 2000;
            LblOrden.Text  = MostrarCampoOrden(c_campoorden);
            b_agregando    = false;
            this.CenterToScreen();
        }
        void ConfigurarFormulario()
        {
            this.Height = 600;
            this.Width  = 1010;

            Sz1.Left   = 0;
            Sz1.Top    = 41;
            Sz1.Height = this.Height - 83;
            Sz1.Width  = this.Width - 18;

            if (n_Libro == 14)
            {
                this.Text = "VENTAS - CONSULTA DE VENTAS ";
            }

            OptRes.Checked    = true;
            OptFchEmi.Checked = true;
            OptTod.Checked    = true;
            OptTodDoc.Checked = true;

            //funControl.dtpBlanquea(TxtFchIni);
            //funControl.dtpBlanquea(TxtFchFin);
            TxtFchIni.Text = "01/01/" + STU_SISTEMA.ANOTRABAJO.ToString();
            TxtFchFin.Text = DateTime.Now.ToString("dd/MM/yyyy");

            arrCabeceraFlex1[0, 0] = "Cliente";
            arrCabeceraFlex1[0, 1] = "420";
            arrCabeceraFlex1[0, 2] = "C";
            arrCabeceraFlex1[0, 3] = "";
            arrCabeceraFlex1[0, 4] = "c_tipexides";

            arrCabeceraFlex1[1, 0] = "Id";
            arrCabeceraFlex1[1, 1] = "0";
            arrCabeceraFlex1[1, 2] = "N";
            arrCabeceraFlex1[1, 3] = "";
            arrCabeceraFlex1[1, 4] = "c_itedes";

            funFlex.FlexMostrarDatos(FgPro, arrCabeceraFlex1, dtLista, 1, false);

            arrCabeceraFlex2[0, 0] = "Item(s)";
            arrCabeceraFlex2[0, 1] = "420";
            arrCabeceraFlex2[0, 2] = "C";
            arrCabeceraFlex2[0, 3] = "";
            arrCabeceraFlex2[0, 4] = "c_tipexides";

            arrCabeceraFlex2[1, 0] = "Id";
            arrCabeceraFlex2[1, 1] = "0";
            arrCabeceraFlex2[1, 2] = "N";
            arrCabeceraFlex2[1, 3] = "";
            arrCabeceraFlex2[1, 4] = "c_itedes";

            funFlex.FlexMostrarDatos(FgItem, arrCabeceraFlex2, dtLista, 1, false);

            FgDatos.Cols.Count = 13;
            Cabecera1();
            funFlex.FlexMostrarDatos(FgDatos, arrCabecera1, dtLista, 2, false);
            SetearCabecera1();
        }
Exemple #8
0
        //con_diario_consultaasiento
        void ConfigurarFormulario()
        {
            this.Height = 322;
            this.Width  = 770;

            this.Text = "CONTABILIDAD - ASIENTO CONTABLE DE LA OPERACION";

            arrCabeceraFlex1[0, 0] = "Nº Cuenta";
            arrCabeceraFlex1[0, 1] = "80";
            arrCabeceraFlex1[0, 2] = "C";
            arrCabeceraFlex1[0, 3] = "";
            arrCabeceraFlex1[0, 4] = "c_cuecon";

            arrCabeceraFlex1[1, 0] = "Descripcion Cta. Contable";
            arrCabeceraFlex1[1, 1] = "300";
            arrCabeceraFlex1[1, 2] = "C";
            arrCabeceraFlex1[1, 3] = "";
            arrCabeceraFlex1[1, 4] = "c_des";

            arrCabeceraFlex1[2, 0] = "T.C.";
            arrCabeceraFlex1[2, 1] = "60";
            arrCabeceraFlex1[2, 2] = "D";
            arrCabeceraFlex1[2, 3] = "0.000";
            arrCabeceraFlex1[2, 4] = "n_tc";

            arrCabeceraFlex1[3, 0] = "Debe";
            arrCabeceraFlex1[3, 1] = "70";
            arrCabeceraFlex1[3, 2] = "D";
            arrCabeceraFlex1[3, 3] = "0.00";
            arrCabeceraFlex1[3, 4] = "n_impdebsol";

            arrCabeceraFlex1[4, 0] = "Haber";
            arrCabeceraFlex1[4, 1] = "70";
            arrCabeceraFlex1[4, 2] = "D";
            arrCabeceraFlex1[4, 3] = "0.00";
            arrCabeceraFlex1[4, 4] = "n_imphabsol";

            arrCabeceraFlex1[5, 0] = "Debe";
            arrCabeceraFlex1[5, 1] = "70";
            arrCabeceraFlex1[5, 2] = "D";
            arrCabeceraFlex1[5, 3] = "0.00";
            arrCabeceraFlex1[5, 4] = "n_impdebdol";

            arrCabeceraFlex1[6, 0] = "Haber";
            arrCabeceraFlex1[6, 1] = "70";
            arrCabeceraFlex1[6, 2] = "D";
            arrCabeceraFlex1[6, 3] = "0.00";
            arrCabeceraFlex1[6, 4] = "n_imphabdol";

            funFlex.FlexMostrarDatos(FgItems, arrCabeceraFlex1, dtLista, 2, false);
            FgItems.Rows.Count = 2;
        }
Exemple #9
0
        void ConfigurarFormulario()
        {
            DataTable dtResul = new DataTable();

            this.Height = 433;
            this.Width  = 586;

            arrCabeceraFlexCar[0, 0] = "Concepto";
            arrCabeceraFlexCar[0, 1] = "300";
            arrCabeceraFlexCar[0, 2] = "C";
            arrCabeceraFlexCar[0, 3] = "";
            arrCabeceraFlexCar[0, 4] = "";

            arrCabeceraFlexCar[1, 0] = "Importe";
            arrCabeceraFlexCar[1, 1] = "80";
            arrCabeceraFlexCar[1, 2] = "D";
            arrCabeceraFlexCar[1, 3] = "";
            arrCabeceraFlexCar[1, 4] = "";

            arrCabeceraFlexCar[2, 0] = "idconepto";
            arrCabeceraFlexCar[2, 1] = "0";
            arrCabeceraFlexCar[2, 2] = "C";
            arrCabeceraFlexCar[2, 3] = "";
            arrCabeceraFlexCar[2, 4] = "";

            funFlex.FlexMostrarDatos(FgLista, arrCabeceraFlexCar, dtMeses, 2, false);
        }
        void ConfigurarFormulario()
        {
            this.Height = 580;
            this.Width  = 909;

            Tab_Dimensionar(Tab1, this.Height - 83, this.Width - 18);
            Tab_Posicionar(Tab1, 1, 42);
            Tab1.SelectedIndex = 0;
            LblTitulo2.Text    = "DETALLE DEL REGISTRO";

            arrCabeceraFlex1[0, 0] = "Periodo";
            arrCabeceraFlex1[0, 1] = "200";
            arrCabeceraFlex1[0, 2] = "S";
            arrCabeceraFlex1[0, 3] = "";
            arrCabeceraFlex1[0, 4] = "c_tipexides";

            arrCabeceraFlex1[1, 0] = "Valor";
            arrCabeceraFlex1[1, 1] = "150";
            arrCabeceraFlex1[1, 2] = "";
            arrCabeceraFlex1[1, 3] = "";
            arrCabeceraFlex1[1, 4] = "c_itedes";

            funFlex.FlexMostrarDatos(FgItems, arrCabeceraFlex1, dtLista, 2, false);

            this.Text = dtForm.Rows[0]["c_titfor"].ToString();
        }
Exemple #11
0
        void ConfigurarFormulario()
        {
            this.Height = 441;
            this.Width  = 452;

            this.Text = dtForm.Rows[0]["c_titfor"].ToString();

            arrCabeceraFlex1[0, 0] = "Mes";
            arrCabeceraFlex1[0, 1] = "200";
            arrCabeceraFlex1[0, 2] = "C";
            arrCabeceraFlex1[0, 3] = "";
            arrCabeceraFlex1[0, 4] = "c_tipexides";

            arrCabeceraFlex1[1, 0] = "Cerrado";
            arrCabeceraFlex1[1, 1] = "50";
            arrCabeceraFlex1[1, 2] = "B";
            arrCabeceraFlex1[1, 3] = "";
            arrCabeceraFlex1[1, 4] = "c_desunimed";

            arrCabeceraFlex1[2, 0] = "IdMes";
            arrCabeceraFlex1[2, 1] = "0";
            arrCabeceraFlex1[2, 2] = "N";
            arrCabeceraFlex1[2, 3] = "";
            arrCabeceraFlex1[2, 4] = "c_desunimed";

            funFlex.FlexMostrarDatos(FgItems, arrCabeceraFlex1, dtLista, 2, false);
            FgItems.Rows.Count = FgItems.Rows.Count + 1;
        }
Exemple #12
0
        void ConfigurarFormulario()
        {
            this.Height = 502;
            this.Width  = 720;

            Tab_Dimensionar(Tab1, this.Height - 83, this.Width - 18);
            Tab_Posicionar(Tab1, 1, 42);
            Tab1.SelectedIndex = 0;
            LblTitulo2.Text    = "DETALLE DEL REGISTRO";

            this.Text = dtForm.Rows[0]["c_titfor"].ToString();
            //CboMeses.SelectedValue = STU_SISTEMA.MESTRABAJO;

            arrCabeceraFlex1[0, 0] = "Nº DNI";
            arrCabeceraFlex1[0, 1] = "100";
            arrCabeceraFlex1[0, 2] = "C";
            arrCabeceraFlex1[0, 3] = "";
            arrCabeceraFlex1[0, 4] = "c_despro";

            arrCabeceraFlex1[1, 0] = "Fecha Marcacion";
            arrCabeceraFlex1[1, 1] = "100";
            arrCabeceraFlex1[1, 2] = "C";
            arrCabeceraFlex1[1, 3] = "";
            arrCabeceraFlex1[1, 4] = "c_codrec";

            arrCabeceraFlex1[2, 0] = "Hora Marcacion";
            arrCabeceraFlex1[2, 1] = "100";
            arrCabeceraFlex1[2, 2] = "C";
            arrCabeceraFlex1[2, 3] = "";
            arrCabeceraFlex1[2, 4] = "c_unimed";

            funFlex.FlexMostrarDatos(FgLisPer, arrCabeceraFlex1, dtLista, 2, false);
        }
Exemple #13
0
        void ConfigurarFormulario()
        {
            this.Height = 600;
            this.Width  = 1094;

            Sz1.Left   = 1;
            Sz1.Top    = 41;
            Sz1.Height = this.Height - 83;
            Sz1.Width  = this.Width - 18;

            this.Text = "VENTAS - VENTAS ELECTRONICAS POR PERIODO";

            Cabecera1();
            funFlex.FlexMostrarDatos(FgDatos, arrCabecera1, dtLista, 3, false);
            SetearCabecera();
        }
Exemple #14
0
        void ConfigurarFormulario()
        {
            this.Height = 600;
            this.Width  = 1094;

            Sz1.Left   = 0;
            Sz1.Top    = 41;
            Sz1.Height = this.Height - 83;
            Sz1.Width  = this.Width - 18;

            this.Text = "CONTABILIDAD - BALANCE DE COMPROBACION";

            FgDatos.Cols.Count = 5;
            Cabecera1();
            funFlex.FlexMostrarDatos(FgDatos, arrCabecera1, dtLista, 2, false);
            SetearCabecera1();
        }
Exemple #15
0
        void ConfigurarFormulario()
        {
            this.Height = 579;
            this.Width  = 955;

            Tab_Dimensionar(Tab1, this.Height - 83, this.Width - 18);
            Tab_Posicionar(Tab1, 1, 42);
            Tab1.SelectedIndex = 0;
            LblTitulo2.Text    = "DETALLE DEL REGISTRO";

            this.Text = dtForm.Rows[0]["c_titfor"].ToString();

            arrCabeceraFlex1[0, 0] = "Nº Cuenta";
            arrCabeceraFlex1[0, 1] = "80";
            arrCabeceraFlex1[0, 2] = "S";
            arrCabeceraFlex1[0, 3] = "";
            arrCabeceraFlex1[0, 4] = "c_tipexides";

            arrCabeceraFlex1[1, 0] = "Descripcion";
            arrCabeceraFlex1[1, 1] = "340";
            arrCabeceraFlex1[1, 2] = "S";
            arrCabeceraFlex1[1, 3] = "";
            arrCabeceraFlex1[1, 4] = "c_desunimed";

            arrCabeceraFlex1[2, 0] = "Debe S/.";
            arrCabeceraFlex1[2, 1] = "80";
            arrCabeceraFlex1[2, 2] = "D";
            arrCabeceraFlex1[2, 3] = "0.00";
            arrCabeceraFlex1[2, 4] = "c_itedes";

            arrCabeceraFlex1[3, 0] = "Haber S/.";
            arrCabeceraFlex1[3, 1] = "80";
            arrCabeceraFlex1[3, 2] = "D";
            arrCabeceraFlex1[3, 3] = "0.00";
            arrCabeceraFlex1[3, 4] = "c_itepredes";

            arrCabeceraFlex1[4, 0] = "Debe $";
            arrCabeceraFlex1[4, 1] = "80";
            arrCabeceraFlex1[4, 2] = "D";
            arrCabeceraFlex1[4, 3] = "0.00";
            arrCabeceraFlex1[4, 4] = "n_can";

            arrCabeceraFlex1[5, 0] = "Haber $";
            arrCabeceraFlex1[5, 1] = "80";
            arrCabeceraFlex1[5, 2] = "D";
            arrCabeceraFlex1[5, 3] = "0.00";
            arrCabeceraFlex1[5, 4] = "n_numlot";

            arrCabeceraFlex1[6, 0] = "n_idcuecon";
            arrCabeceraFlex1[6, 1] = "0";
            arrCabeceraFlex1[6, 2] = "N";
            arrCabeceraFlex1[6, 3] = "0.00";
            arrCabeceraFlex1[6, 4] = "n_numlot";

            funFlex.FlexMostrarDatos(FgItems, arrCabeceraFlex1, dtLista, 2, false);
            FgItems.Rows.Count = FgItems.Rows.Count + 30;
        }
Exemple #16
0
        void ConfigurarFormulario()
        {
            this.Height = 602;
            this.Width  = 832;

            Tab_Dimensionar(Tab1, this.Height - 83, this.Width - 18);
            Tab_Posicionar(Tab1, 1, 42);
            Tab1.SelectedIndex = 0;
            LblTitulo2.Text    = "DETALLE DEL REGISTRO";

            this.Text = "CLIENTES - LISTA DE ITEMS Y PRECIOS"; //dtForm.Rows[0]["c_titfor"].ToString();

            arrCabeceraFlex2[0, 0] = "Codigo";
            arrCabeceraFlex2[0, 1] = "80";
            arrCabeceraFlex2[0, 2] = "C";
            arrCabeceraFlex2[0, 3] = "";
            arrCabeceraFlex2[0, 4] = "c_tipexides";

            arrCabeceraFlex2[1, 0] = "Mercaderia / Producto / Bien o Servicio";
            arrCabeceraFlex2[1, 1] = "300";
            arrCabeceraFlex2[1, 2] = "C";
            arrCabeceraFlex2[1, 3] = "";
            arrCabeceraFlex2[1, 4] = "c_tipexides";

            arrCabeceraFlex2[2, 0] = "Uni. Med.";
            arrCabeceraFlex2[2, 1] = "40";
            arrCabeceraFlex2[2, 2] = "C";
            arrCabeceraFlex2[2, 3] = "";
            arrCabeceraFlex2[2, 4] = "c_tipexides";

            arrCabeceraFlex2[3, 0] = "P. Bruto";
            arrCabeceraFlex2[3, 1] = "70";
            arrCabeceraFlex2[3, 2] = "D";
            arrCabeceraFlex2[3, 3] = "0.00";
            arrCabeceraFlex2[3, 4] = "c_tipexides";

            arrCabeceraFlex2[4, 0] = "Tasa IGV";
            arrCabeceraFlex2[4, 1] = "60";
            arrCabeceraFlex2[4, 2] = "D";
            arrCabeceraFlex2[4, 3] = "0.00";
            arrCabeceraFlex2[4, 4] = "c_tipexides";

            arrCabeceraFlex2[5, 0] = "P. Neto";
            arrCabeceraFlex2[5, 1] = "70";
            arrCabeceraFlex2[5, 2] = "D";
            arrCabeceraFlex2[5, 3] = "0.00";
            arrCabeceraFlex2[5, 4] = "c_tipexides";

            arrCabeceraFlex2[6, 0] = "Id Producto";
            arrCabeceraFlex2[6, 1] = "0";
            arrCabeceraFlex2[6, 2] = "N";
            arrCabeceraFlex2[6, 3] = "";
            arrCabeceraFlex2[6, 4] = "c_tipexides";

            funFlex.FlexMostrarDatos(FgItems, arrCabeceraFlex2, dtRegistros, 2, false);
        }
Exemple #17
0
        void ConfigurarFormulario()
        {
            this.Height = 600;
            this.Width  = 1094;

            Sz1.Left   = 0;
            Sz1.Top    = 41;
            Sz1.Height = this.Height - 83;
            Sz1.Width  = this.Width - 18;

            this.Text = "PRODUCCION - CONSULTA DE TAREAS";

            OptPen.Checked = true;

            TxtFchIni.Text = "01/01/" + STU_SISTEMA.ANOTRABAJO.ToString();

            FgDatos.Cols.Count = 5;
            Cabecera1();

            arrCabeceraFlex1[0, 0] = "Producto";
            arrCabeceraFlex1[0, 1] = "395";
            arrCabeceraFlex1[0, 2] = "C";
            arrCabeceraFlex1[0, 3] = "";
            arrCabeceraFlex1[0, 4] = "c_tipexides";

            arrCabeceraFlex1[1, 0] = "Id";
            arrCabeceraFlex1[1, 1] = "0";
            arrCabeceraFlex1[1, 2] = "N";
            arrCabeceraFlex1[1, 3] = "";
            arrCabeceraFlex1[1, 4] = "c_itedes";

            funFlex.FlexMostrarDatos(FgPro, arrCabeceraFlex1, dtLista, 1, false);

            funFlex.b_AlternarColor = false;
            funFlex.FlexMostrarDatos(FgDatos, arrCabecera1, dtLista, 2, false);

            FgPro.Rows.Count        = FgPro.Rows.Count + 1;
            FgPro.Cols[1].ComboList = "...";
            FgPro.AllowEditing      = true;
        }
Exemple #18
0
        void ConfigurarFormulario()
        {
            this.Height = 599;
            this.Width  = 1091;

            Sz1.Left   = 0;
            Sz1.Top    = 41;
            Sz1.Height = this.Height - 83;
            Sz1.Width  = this.Width - 18;

            this.Text = "PLANILLAS - HORAS TRABAJADAS";

            OptPen.Checked = true;

            TxtFchIni.Text = "01/01/" + STU_SISTEMA.ANOTRABAJO.ToString();

            DataTable dt = new DataTable();

            FgDatos.Cols.Count = 5;
            Cabecera1();
            funFlex.b_AlternarColor = false;
            funFlex.FlexMostrarDatos(FgDetallado, arrCabeceraDetallado, dt, 2, false);
            funFlex.FlexMostrarDatos(FgDatos, arrCabecera1, dt, 3, false);
            funFlex.FlexMostrarDatos(FgDatos2, arrCabecera2, dt, 3, false);
            funFlex.FlexMostrarDatos(FgMarca, arrCabecera3, dt, 2, false);

            //SetearCabecera1();
        }
Exemple #19
0
        void ConfigurarFormulario()
        {
            this.Height = 600;
            this.Width  = 1010;

            Sz1.Left   = 0;
            Sz1.Top    = 41;
            Sz1.Height = this.Height - 83;
            Sz1.Width  = this.Width - 18;

            LblNumReg.Text = "";

            OptLibro.Checked = true;

            Tab02.SelectedIndex = 0;

            Cabecera1();
            this.Text = "CONTABILIDAD - LIBRO DIARIO";
            funFlex.FlexMostrarDatos(FgDatos, arrCabecera1, dtLista, 3, false);
            funFlex.FlexMostrarDatos(FgRes, arrCabResumen1, dtResumen, 3, false);
            Configurarcabecera1();
        }
Exemple #20
0
        void ConfigurarFormulario()
        {
            this.Height = 600;
            this.Width  = 1010;

            Sz1.Left   = 0;
            Sz1.Top    = 41;
            Sz1.Height = this.Height - 83;
            Sz1.Width  = this.Width - 18;

            LblNumReg.Text      = "";
            Tab02.SelectedIndex = 0;

            Cabecera1();
            this.Text = "CONTABILIDAD - LIBRO MAYOR";
            funFlex.FlexMostrarDatos(FgDatos, arrCabecera1, dtLista, 3, false);
            funFlex.FlexMostrarDatos(FgRes, arrCabResumen1, dtResumen, 3, false);
            funFlex.FlexMostrarDatos(FgCuenta, arrCabeceraFlex1, dtResumen, 1, false);
            FgCuenta.AllowEditing      = true;
            FgCuenta.Cols[1].ComboList = "...";
            //Configurarcabecera1();
        }
Exemple #21
0
        void ConfigurarFormulario()
        {
            this.Height = 600;
            this.Width  = 1094;

            Sz1.Left   = 0;
            Sz1.Top    = 41;
            Sz1.Height = this.Height - 83;
            Sz1.Width  = this.Width - 18;

            this.Text = "VENTAS - CUENTA CORRIENTE PEDIDOS";

            OptPen.Checked = true;

            TxtFchIni.Text = "01/01/" + STU_SISTEMA.ANOTRABAJO.ToString();

            FgDatos.Cols.Count = 5;
            Cabecera1();
            funFlex.b_AlternarColor = false;
            funFlex.FlexMostrarDatos(FgDatos, arrCabecera1, dtLista, 3, false);
            SetearCabecera1();
        }
Exemple #22
0
        void ConfigurarFormulario()
        {
            Tab_Dimensionar(Tab1, this.Height - 97, this.Width - 18);
            Tab_Posicionar(Tab1, 9, 74);

            Tab1.SelectedIndex = 0;
            LblTitulo2.Text    = "Detalle Registro";

            arrCabeceraFlex1[0, 0] = "Tipo Item";
            arrCabeceraFlex1[0, 1] = "100";
            arrCabeceraFlex1[0, 2] = "S";
            arrCabeceraFlex1[0, 3] = "";
            arrCabeceraFlex1[0, 4] = "c_tipexides";

            arrCabeceraFlex1[1, 0] = "Item";
            arrCabeceraFlex1[1, 1] = "400";
            arrCabeceraFlex1[1, 2] = "S";
            arrCabeceraFlex1[1, 3] = "";
            arrCabeceraFlex1[1, 4] = "c_itedes";

            arrCabeceraFlex1[2, 0] = "Presentacion";
            arrCabeceraFlex1[2, 1] = "170";
            arrCabeceraFlex1[2, 2] = "S";
            arrCabeceraFlex1[2, 3] = "";
            arrCabeceraFlex1[2, 4] = "c_itepredes";

            arrCabeceraFlex1[3, 0] = "Cantidad";
            arrCabeceraFlex1[3, 1] = "70";
            arrCabeceraFlex1[3, 2] = "N";
            arrCabeceraFlex1[3, 3] = "0.000000";
            arrCabeceraFlex1[3, 4] = "n_can";

            funFlex.FlexMostrarDatos(FgItems, arrCabeceraFlex1, dtMoviDetalle, 2, false);

            this.Text = dtForm.Rows[0]["c_titfor"].ToString();
            CboMeses.SelectedValue = STU_SISTEMA.MESTRABAJO;
        }
Exemple #23
0
        void ConfigurarFormulario()
        {
            this.Height = 591;
            this.Width  = 976;

            n_por4ta = 8;
            Tab_Dimensionar(Tab1, this.Height - 83, this.Width - 18);
            Tab_Posicionar(Tab1, 1, 42);
            Tab1.SelectedIndex = 0;
            LblTitulo2.Text    = "DETALLE DEL REGISTRO";
            LblPorRta4.Text    = n_por4ta.ToString("0") + "%";

            arrCabeceraFlex1[0, 0] = "Descripcion del Servicio";
            arrCabeceraFlex1[0, 1] = "660";
            arrCabeceraFlex1[0, 2] = "C";
            arrCabeceraFlex1[0, 3] = "";
            arrCabeceraFlex1[0, 4] = "c_tipexides";

            arrCabeceraFlex1[1, 0] = "Importe Afecto";
            arrCabeceraFlex1[1, 1] = "80";
            arrCabeceraFlex1[1, 2] = "D";
            arrCabeceraFlex1[1, 3] = "";
            arrCabeceraFlex1[1, 4] = "c_itedes";

            arrCabeceraFlex1[2, 0] = "Importe Total";
            arrCabeceraFlex1[2, 1] = "80";
            arrCabeceraFlex1[2, 2] = "D";
            arrCabeceraFlex1[2, 3] = "0.00";
            arrCabeceraFlex1[2, 4] = "c_itepredes";

            arrCabeceraFlex1[3, 0] = "IdItem";
            arrCabeceraFlex1[3, 1] = "0";
            arrCabeceraFlex1[3, 2] = "N";
            arrCabeceraFlex1[3, 3] = "0.00";
            arrCabeceraFlex1[3, 4] = "n_can";

            arrCabeceraFlex1[4, 0] = "IdUnimed";
            arrCabeceraFlex1[4, 1] = "0";
            arrCabeceraFlex1[4, 2] = "N";
            arrCabeceraFlex1[4, 3] = "0.00";
            arrCabeceraFlex1[4, 4] = "n_can";

            funFlex.FlexMostrarDatos(FgItems, arrCabeceraFlex1, dtLista, 2, false);
            FgItems.Rows.Count = FgItems.Rows.Count + n_NumFilasDocumento;

            //this.Text = dtForm.Rows[0]["c_titfor"].ToString();
            this.Text = "LOGISTICA - RENTA DE 4TA CATEGORIA";
            CboMeses.SelectedValue = STU_SISTEMA.MESTRABAJO;
        }
Exemple #24
0
        void ConfigurarFormulario()
        {
            this.Text = "MODULO DE PLANILLAS - Tareas realizadas por el colaborador";

            // FLEX GRID DE LOS INSUMOS
            arrCabeceraFlexLisPro[0, 0] = "Tarea";
            arrCabeceraFlexLisPro[0, 1] = "250";
            arrCabeceraFlexLisPro[0, 2] = "C";
            arrCabeceraFlexLisPro[0, 3] = "";
            arrCabeceraFlexLisPro[0, 4] = "c_despro";

            arrCabeceraFlexLisPro[1, 0] = "Cantidad";
            arrCabeceraFlexLisPro[1, 1] = "70";
            arrCabeceraFlexLisPro[1, 2] = "N";
            arrCabeceraFlexLisPro[1, 3] = "";
            arrCabeceraFlexLisPro[1, 4] = "c_codrec";

            arrCabeceraFlexLisPro[2, 0] = "Hora Inicio";
            arrCabeceraFlexLisPro[2, 1] = "60";
            arrCabeceraFlexLisPro[2, 2] = "H";
            arrCabeceraFlexLisPro[2, 3] = "";
            arrCabeceraFlexLisPro[2, 4] = "c_unimed";

            arrCabeceraFlexLisPro[3, 0] = "Hora Termimo";
            arrCabeceraFlexLisPro[3, 1] = "60";
            arrCabeceraFlexLisPro[3, 2] = "H";
            arrCabeceraFlexLisPro[3, 3] = "";
            arrCabeceraFlexLisPro[3, 4] = "n_can";

            arrCabeceraFlexLisPro[4, 0] = "Tiempo Labor";
            arrCabeceraFlexLisPro[4, 1] = "60";
            arrCabeceraFlexLisPro[4, 2] = "H";
            arrCabeceraFlexLisPro[4, 3] = "";
            arrCabeceraFlexLisPro[4, 4] = "d_fchent";

            arrCabeceraFlexLisPro[5, 0] = "Precio Kilo";
            arrCabeceraFlexLisPro[5, 1] = "70";
            arrCabeceraFlexLisPro[5, 2] = "N";
            arrCabeceraFlexLisPro[5, 3] = "";
            arrCabeceraFlexLisPro[5, 4] = "n_numarm";

            arrCabeceraFlexLisPro[6, 0] = "Total Pagar";
            arrCabeceraFlexLisPro[6, 1] = "70";
            arrCabeceraFlexLisPro[6, 2] = "N";
            arrCabeceraFlexLisPro[6, 3] = "";
            arrCabeceraFlexLisPro[6, 4] = "n_idpro";

            funFlex.FlexMostrarDatos(FgLisPer, arrCabeceraFlexLisPro, FgLisPer, 2, false);
        }
Exemple #25
0
        void ConfigurarFormulario()
        {
            this.Height = 600;
            this.Width  = 1024;

            Sz1.Left   = 0;
            Sz1.Top    = 41;
            Sz1.Height = this.Height - 83;
            Sz1.Width  = this.Width - 18;
            ConfigurarFlex();
            LblNumReg.Text = "";

            OptOpcion2.Checked = true;
            OptIte1.Checked    = true;

            FgCliente.Rows.Count = 2;
            FgItems.Rows.Count   = 2;

            FgCliente.Cols[1].ComboList = "...";
            FgItems.Cols[1].ComboList   = "...";

            this.Text = "VENTAS - CONSULTA DESPACHOS POR GUIAS";

            if (OptOpcion1.Checked == true)
            {
                Cabecera1();
                funFlex.FlexMostrarDatos(FgDatos, arrCabecera1, dtLista, 3, false);
                Configurarcabecera1();
            }
            if (OptOpcion2.Checked == true)
            {
                Cabecera2();
                funFlex.FlexMostrarDatos(FgDatos, arrCabecera2, dtLista, 3, false);
                Configurarcabecera2();
            }
            if (OptOpcion3.Checked == true)
            {
                Cabecera3();
                funFlex.FlexMostrarDatos(FgDatos, arrCabecera3, dtLista, 3, false);
                Configurarcabecera3();
            }
        }
        void ConfigurarFormulario()
        {
            this.StartPosition = FormStartPosition.CenterScreen;
            this.Height        = 587;
            this.Width         = 1000;
            Sizer_Dimensionar(c1Sizer1, this.Width - 16, this.Height - 80);
            Sizer_Posicionar(c1Sizer1, 1, 41);
            ChkOpcion.Checked = false;

            arrCabeceraFlex1[0, 0] = "D.N.I.";
            arrCabeceraFlex1[0, 1] = "80";
            arrCabeceraFlex1[0, 2] = "C";
            arrCabeceraFlex1[0, 3] = "";
            arrCabeceraFlex1[0, 4] = "c_tipexides";

            arrCabeceraFlex1[1, 0] = "Empleado";
            arrCabeceraFlex1[1, 1] = "200";
            arrCabeceraFlex1[1, 2] = "C";
            arrCabeceraFlex1[1, 3] = "";
            arrCabeceraFlex1[1, 4] = "c_itedes";

            arrCabeceraFlex1[2, 0] = "Area";
            arrCabeceraFlex1[2, 1] = "100";
            arrCabeceraFlex1[2, 2] = "C";
            arrCabeceraFlex1[2, 3] = "";
            arrCabeceraFlex1[2, 4] = "c_itepredes";

            funFlex.FlexMostrarDatos(FgItems, arrCabeceraFlex1, dtDetalle, 2, false);
            FgItems.Rows.Count     = FgItems.Rows.Count + n_NumFilasDocumento;              // INDICAMOS EL NUMERO DE FILAS PARA EL DETALLE
            this.Text              = dtForm.Rows[0]["c_titfor"].ToString() + " - Materia Prima";
            CboMeses.SelectedValue = STU_SISTEMA.MESTRABAJO;
            FgItems.Rows.Count     = 2;

            ToolTip miTool = new ToolTip();

            miTool.AutoPopDelay = 4000;
            miTool.InitialDelay = 1000;
            miTool.ReshowDelay  = 500;
            miTool.ShowAlways   = true;
            miTool.SetToolTip(CmdBuscar, "Buscar");
            miTool.SetToolTip(CmdBuscar, "CmdActEmp");
        }
Exemple #27
0
        void ConfigurarFormulario()
        {
            this.Height = 600;
            this.Width  = 1094;

            Sz1.Left   = 0;
            Sz1.Top    = 41;
            Sz1.Height = this.Height - 83;
            Sz1.Width  = this.Width - 18;

            this.Text = "CONTABILIDAD - LIBRO DIARIO";

            OptSelLib.Checked = true;
            OptSol.Checked    = true;

            FgDatos.Cols.Count = 15;
            Cabecera1();
            funFlex.FlexMostrarDatos(FgDatos, arrCabecera1, dtLista, 2, false);
            SetearCabecera1();
        }
Exemple #28
0
        void ConfigurarFormulario()
        {
            this.Height = 594;
            this.Width  = 930;

            Tab_Dimensionar(Tab1, this.Height - 83, this.Width - 18);
            Tab_Posicionar(Tab1, 1, 42);
            Tab1.SelectedIndex = 0;
            LblTitulo2.Text    = "DETALLE DEL REGISTRO";

            arrCabeceraFlex1[0, 0] = "Codigo";
            arrCabeceraFlex1[0, 1] = "100";
            arrCabeceraFlex1[0, 2] = "C";
            arrCabeceraFlex1[0, 3] = "";
            arrCabeceraFlex1[0, 4] = "c_tipexides";

            arrCabeceraFlex1[1, 0] = "Descripcion";
            arrCabeceraFlex1[1, 1] = "400";
            arrCabeceraFlex1[1, 2] = "c";
            arrCabeceraFlex1[1, 3] = "";
            arrCabeceraFlex1[1, 4] = "c_itedes";

            arrCabeceraFlex1[2, 0] = "Unidad Medida";
            arrCabeceraFlex1[2, 1] = "70";
            arrCabeceraFlex1[2, 2] = "C";
            arrCabeceraFlex1[2, 3] = "";
            arrCabeceraFlex1[2, 4] = "c_itepredes";

            arrCabeceraFlex1[3, 0] = "Cantidad";
            arrCabeceraFlex1[3, 1] = "80";
            arrCabeceraFlex1[3, 2] = "N";
            arrCabeceraFlex1[3, 3] = "0.000000";
            arrCabeceraFlex1[3, 4] = "n_can";

            funFlex.FlexMostrarDatos(FgItems, arrCabeceraFlex1, dtItems, 2, false);
            FgItems.Rows.Count = FgItems.Rows.Count + n_NumFilasDocumento;

            this.Text = dtForm.Rows[0]["c_titfor"].ToString();
            CboMeses.SelectedValue = STU_SISTEMA.MESTRABAJO;
        }
Exemple #29
0
        void ConfigurarFormulario()
        {
            this.StartPosition = FormStartPosition.CenterScreen;
            //this.Height = 587;
            //this.Width = 1000;

            //Tab1.SelectedIndex = 0;
            //LblTitulo2.Text = "DETALLE DEL REGISTRO";
            OptSelTod.Checked   = true;
            OptUnSelTod.Checked = false;

            arrCabeceraFlex1[0, 0] = "D.N.I.";
            arrCabeceraFlex1[0, 1] = "80";
            arrCabeceraFlex1[0, 2] = "C";
            arrCabeceraFlex1[0, 3] = "";
            arrCabeceraFlex1[0, 4] = "c_tipexides";

            arrCabeceraFlex1[1, 0] = "Empleado";
            arrCabeceraFlex1[1, 1] = "412";
            arrCabeceraFlex1[1, 2] = "C";
            arrCabeceraFlex1[1, 3] = "";
            arrCabeceraFlex1[1, 4] = "c_itedes";

            arrCabeceraFlex1[2, 0] = "Activar";
            arrCabeceraFlex1[2, 1] = "50";
            arrCabeceraFlex1[2, 2] = "B";
            arrCabeceraFlex1[2, 3] = "";
            arrCabeceraFlex1[2, 4] = "";

            arrCabeceraFlex1[3, 0] = "Codigo";
            arrCabeceraFlex1[3, 1] = "0";
            arrCabeceraFlex1[3, 2] = "C";
            arrCabeceraFlex1[3, 3] = "";
            arrCabeceraFlex1[3, 4] = "";

            funFlex.FlexMostrarDatos(FgEmpleados, arrCabeceraFlex1, dtCabecera, 2, false);
            this.Text = "PLANILLAS - ACTIVACION DE EMPLEADOS";
            FgEmpleados.Rows.Count = 2;
        }
Exemple #30
0
        void ConfigurarFormulario()
        {
            this.Height = 600;
            this.Width  = 1094;

            Sz1.Left   = 0;
            Sz1.Top    = 41;
            Sz1.Height = this.Height - 83;
            Sz1.Width  = this.Width - 18;

            this.Text = "TESORERIA - CUENTA CORRIENTE CLIENTES";

            OptRes.Checked = true;

            OptTod.Checked    = true;
            OptTodDoc.Checked = true;

            OptSol.Checked = true;

            TxtFchIni.Text = "01/01/" + STU_SISTEMA.ANOTRABAJO.ToString();

            arrCabeceraFlex1[0, 0] = "Cliente";
            arrCabeceraFlex1[0, 1] = "355";
            arrCabeceraFlex1[0, 2] = "C";
            arrCabeceraFlex1[0, 3] = "";
            arrCabeceraFlex1[0, 4] = "c_tipexides";

            arrCabeceraFlex1[1, 0] = "Id";
            arrCabeceraFlex1[1, 1] = "0";
            arrCabeceraFlex1[1, 2] = "N";
            arrCabeceraFlex1[1, 3] = "";
            arrCabeceraFlex1[1, 4] = "c_itedes";

            funFlex.FlexMostrarDatos(FgPro, arrCabeceraFlex1, dtLista, 1, false);
            FgPro.AllowEditing = true;

            FgDatos.Cols.Count = 5;
            Cabecera1();
            funFlex.FlexMostrarDatos(FgDatos, arrCabecera1, dtLista, 3, false);
            SetearCabecera1();
        }