private string Build_LayoutDetalleDisponible()
        {
            int           i  = 0;
            StringBuilder sb = new StringBuilder();

            sb.Append(LayoutBuilder.GetHeader());
            sb.Append(LayoutBuilder.GetRow(i++, "IdInstanciaOrdenReparacion", "IdInstanciaOrdenReparacion", 80));
            sb.Append(LayoutBuilder.GetRow(i++, "Tecnico", "Tecnico", 500, Types.EditType.NoEdit));
            sb.Append(LayoutBuilder.GetRow(i++, "IdTecnico", "IdTecnico", 100, true));

            sb.Append(LayoutBuilder.GetFooter());
            return(sb.ToString());
        }
예제 #2
0
        public string GetLayoutAgrupProductos()
        {
            int           i  = 0;
            StringBuilder sb = new StringBuilder();

            sb.Append(LayoutBuilder.GetHeader());
            sb.Append(LayoutBuilder.GetRow(i++, "Jerarquia", "Jerarquia", true));
            sb.Append(LayoutBuilder.GetRow(i++, "Padre", "Padre", 200));
            sb.Append(LayoutBuilder.GetRow(i++, "Descripcion", "Descripcion", 200));
            sb.Append(LayoutBuilder.GetFooter());

            return(sb.ToString());
        }
        private string Build_LayoutPerfiles()
        {
            int           i  = 0;
            StringBuilder sb = new StringBuilder();

            sb.Append(LayoutBuilder.GetHeader());

            sb.Append(LayoutBuilder.GetRow(i++, "IdPerfil", "IdPerfil", 80, true));
            sb.Append(LayoutBuilder.GetRow(i++, "Nombre", "Nombre", 100, Types.EditType.NoEdit));
            sb.Append(LayoutBuilder.GetRow(i++, "Activo", "Activo", 50, Types.ColumnTypes.CheckBox, Types.EditType.CheckBox));

            sb.Append(LayoutBuilder.GetFooter());
            return(sb.ToString());
        }
예제 #4
0
        private string GetLayoutConsultaProductosNumerosDeSerie()
        {
            int           i  = 0;
            StringBuilder sb = new StringBuilder();

            sb.Append(LayoutBuilder.GetHeader());
            sb.Append(LayoutBuilder.GetRow(i++, "Producto", "Producto", 400));
            sb.Append(LayoutBuilder.GetRow(i++, "NumeroDeSerie", "Nro de Serie", 150));
            sb.Append(LayoutBuilder.GetRow(i++, "Deposito", "Deposito", 200));
            sb.Append(LayoutBuilder.GetRow(i++, "Seccion", "Seccion", 200));
            sb.Append(LayoutBuilder.GetRow(i++, "EstadoDeStock", "Est. de Stock", 200));
            sb.Append(LayoutBuilder.GetFooter());
            return(sb.ToString());
        }
        public string GetLayout()
        {
            int           i  = 0;
            StringBuilder sb = new StringBuilder();

            sb.Append(LayoutBuilder.GetHeader());

            sb.Append(LayoutBuilder.GetRow(i++, "ColumnName", "Columna", true));
            sb.Append(LayoutBuilder.GetRow(i++, "ColumnCaption", "Texto Columna", 100, Types.EditType.TextBox));
            sb.Append(LayoutBuilder.GetRow(i++, "Visible", "Visible", 75, Types.ColumnTypes.CheckBox, Types.EditType.CheckBox));
            sb.Append(LayoutBuilder.GetFooter());

            return(sb.ToString());
        }
        private void BuildLayoutSucursales()
        {
            int           i  = 0;
            StringBuilder sb = new StringBuilder();

            sb.Append(LayoutBuilder.GetHeader());
            sb.Append(LayoutBuilder.GetRow(i++, "IdProducto", "IdProducto", 80, true));
            sb.Append(LayoutBuilder.GetRow(i++, "IdSucursal", "IdSucursal", 80, true));
            sb.Append(LayoutBuilder.GetRow(i++, "Codigo", "Codigo", true));
            sb.Append(LayoutBuilder.GetRow(i++, "Producto", "Producto", 300, Types.EditType.NoEdit));
            sb.Append(LayoutBuilder.GetRow(i++, "Sucursal", "Sucursal", 200, Types.EditType.NoEdit));
            sb.Append(LayoutBuilder.GetRow(i++, "Activo", "Activo", true));
            sb.Append(LayoutBuilder.GetFooter());
            _layoutProductosSucursales = sb.ToString();
        }
        private string GetLayoutFiltros( )
        {
            int i = 0;

            StringBuilder sb = new StringBuilder();

            sb.Append(LayoutBuilder.GetHeader());

            sb.Append(LayoutBuilder.GetRow(i++, "Id", "Id", true));
            sb.Append(LayoutBuilder.GetRow(i++, "Sel", "Sel", 20, Types.ColumnTypes.CheckBox, Types.EditType.CheckBox));
            sb.Append(LayoutBuilder.GetRow(i++, "Descripcion", "Descripcion", 250, Types.ColumnTypes.Text, Types.EditType.NoEdit));

            sb.Append(LayoutBuilder.GetFooter());

            return(sb.ToString());
        }
        public string GetLayoutObservaciones()
        {
            int           i  = 0;
            StringBuilder sb = new StringBuilder();

            sb.Append(LayoutBuilder.GetHeader());
            sb.Append(LayoutBuilder.GetRow(i++, "IdComentarioOrdenReparacion", "IdComentarioOrdenReparacion", true));
            sb.Append(LayoutBuilder.GetRow(i++, "IdOrdenReparacion", "IdOrdenReparacion", true));
            sb.Append(LayoutBuilder.GetRow(i++, "FechaCreacion", "Fecha", 100, Types.Aligment.Center, Types.FormatDisplay.DateTime));
            sb.Append(LayoutBuilder.GetRow(i++, "Usuario", "Usuario", 200));
            sb.Append(LayoutBuilder.GetRow(i++, "Descripcion", "Descripción", 8000));

            sb.Append(LayoutBuilder.GetFooter());

            return(sb.ToString());
        }
예제 #9
0
        private string GetLayoutSubTiposMovimienos( )
        {
            int i = 0;

            StringBuilder sb = new StringBuilder();

            sb.Append(LayoutBuilder.GetHeader());

            sb.Append(LayoutBuilder.GetRow(i++, "IdSubTipoMovimiento", "IdSubTipoMovimiento", true));
            sb.Append(LayoutBuilder.GetRow(i++, "Descripcion", "Descripcion", 250));
            sb.Append(LayoutBuilder.GetRow(i++, "Activo", "Activo", true));

            sb.Append(LayoutBuilder.GetFooter());

            return(sb.ToString());
        }
예제 #10
0
        public string GetLayout()
        {
            int           i  = 0;
            StringBuilder sb = new StringBuilder();

            sb.Append(LayoutBuilder.GetHeader());

            sb.Append(LayoutBuilder.GetRow(i++, "IdBonificacion", "IdBonificacion", true));
            sb.Append(LayoutBuilder.GetRow(i++, "Ordinal", "Ordinal", true));
            sb.Append(LayoutBuilder.GetRow(i++, "Minimo", "Mínimo", false));
            sb.Append(LayoutBuilder.GetRow(i++, "Maximo", "Máximo", false));
            sb.Append(LayoutBuilder.GetRow(i++, "Valor", "Valor", false));
            sb.Append(LayoutBuilder.GetFooter());

            return(sb.ToString());
        }
예제 #11
0
        private string GetLayoutProductos()
        {
            int           i  = 0;
            StringBuilder sb = new StringBuilder();

            sb.Append(LayoutBuilder.GetHeader());

            string etiquetaCampoAuxiliar1 = Variables.GetValueString("Productos.CampoAuxiliar1.Etiqueta");
            string etiquetaCampoAuxiliar2 = Variables.GetValueString("Productos.CampoAuxiliar2.Etiqueta");
            string etiquetaCampoAuxiliar3 = Variables.GetValueString("Productos.CampoAuxiliar3.Etiqueta");
            string etiquetaCampoAuxiliar4 = Variables.GetValueString("Productos.CampoAuxiliar4.Etiqueta");
            string etiquetaCampoAuxiliar5 = Variables.GetValueString("Productos.CampoAuxiliar5.Etiqueta");

            bool HideCampoAux1 = etiquetaCampoAuxiliar1.Trim() == "" ? true : false;
            bool HideCampoAux2 = etiquetaCampoAuxiliar2.Trim() == "" ? true : false;
            bool HideCampoAux3 = etiquetaCampoAuxiliar3.Trim() == "" ? true : false;
            bool HideCampoAux4 = etiquetaCampoAuxiliar4.Trim() == "" ? true : false;
            bool HideCampoAux5 = etiquetaCampoAuxiliar5.Trim() == "" ? true : false;

            sb.Append(LayoutBuilder.GetRow(i++, "IdProducto", "IdProducto", true));
            sb.Append(LayoutBuilder.GetRow(i++, "IdTipoProducto", "Tipo de Producto", true));
            sb.Append(LayoutBuilder.GetRow(i++, "Codigo", "Codigo", 50));
            sb.Append(LayoutBuilder.GetRow(i++, "Descripcion", "Descripcion", 300));
            sb.Append(LayoutBuilder.GetRow(i++, "PrecioDeVentaBruto", "Pcio bruto", 70, Types.Aligment.Far));
            sb.Append(LayoutBuilder.GetRow(i++, "DescripcionMonedaOrigenPrecioDeVentaBruto", "Moneda", true));
            sb.Append(LayoutBuilder.GetRow(i++, "PrecioFinalEstimadoMonedaDestino", "Pcio Imp", true));
            sb.Append(LayoutBuilder.GetRow(i++, "DescripcionMonedaOrigenPrecioDeVentaBruto", "Moneda", true));
            sb.Append(LayoutBuilder.GetRow(i++, "PrecioFinalEstimado", "Pcio Imp", 70, Types.Aligment.Far));
            sb.Append(LayoutBuilder.GetRow(i++, "DescripcionMonedaOrigenPrecioDeVentaBruto", "Moneda", 65));
            sb.Append(LayoutBuilder.GetRow(i++, "SimboloMonedaOrigenPrecioDeVentaBruto", "Moneda", 40));
            sb.Append(LayoutBuilder.GetRow(i++, "StockDisponible", "Stock", 65, Types.Aligment.Far, Types.FormatDisplay.Integer));
            sb.Append(LayoutBuilder.GetRow(i++, "DescripcionCorta", "Descripcion Corta", true));
            sb.Append(LayoutBuilder.GetRow(i++, "DescripcionLarga", "Descripcion Larga", true));
            sb.Append(LayoutBuilder.GetRow(i++, "CampoAuxiliar1", etiquetaCampoAuxiliar1, 65, HideCampoAux1));
            sb.Append(LayoutBuilder.GetRow(i++, "CampoAuxiliar2", etiquetaCampoAuxiliar2, 65, HideCampoAux2));
            sb.Append(LayoutBuilder.GetRow(i++, "CampoAuxiliar3", etiquetaCampoAuxiliar3, 65, HideCampoAux3));
            sb.Append(LayoutBuilder.GetRow(i++, "CampoAuxiliar4", etiquetaCampoAuxiliar4, 65, HideCampoAux4));
            sb.Append(LayoutBuilder.GetRow(i++, "CampoAuxiliar5", etiquetaCampoAuxiliar5, 65, HideCampoAux5));
            sb.Append(LayoutBuilder.GetRow(i++, "StockMinimo", "StockMinimo", 65, true));
            sb.Append(LayoutBuilder.GetRow(i++, "StockAntesMinimo", "StockAntesMinimo", 65, true));



            sb.Append(LayoutBuilder.GetFooter());

            return(sb.ToString());
        }
예제 #12
0
        public string GetLayoutEx()
        {
            ArrayList fl = new ArrayList();

            if (_fieldList != null)
            {
                fl.AddRange(_fieldList);
            }

            int           i  = 0;
            StringBuilder sb = new StringBuilder();

            sb.Append(LayoutBuilder.GetHeader());

            if (fl.Contains("KeyVisualizacion") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "KeyVisualizacion", "KeyVisualizacion", true));
            }
            if (fl.Contains("NombreVisualizacion") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "NombreVisualizacion", "Nombre Visualización", 170));
            }
            if (fl.Contains("KeyEstado") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "KeyEstado", "KeyEstado", true));
            }
            if (fl.Contains("DescripcionEstado") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "DescripcionEstado", "Estado de Stock", 170));
            }
            if (fl.Contains("Operacion") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "Operacion", "Operación", 100));
            }
            if (fl.Contains("Activo") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "Activo", "Activo", 50));
            }
            if (fl.Contains("Modo") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "Modo", "Acción", 50));
            }

            sb.Append(LayoutBuilder.GetFooter());

            return(sb.ToString());
        }
예제 #13
0
        public string GetLayoutEx()
        {
            ArrayList fl = new ArrayList();

            if (_fieldList != null)
            {
                fl.AddRange(_fieldList);
            }

            int           i  = 0;
            StringBuilder sb = new StringBuilder();

            sb.Append(LayoutBuilder.GetHeader());

            if (fl.Contains("IdVariable") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "IdVariable", "Variable", 200));
            }
            if (fl.Contains("DescripcionDatoNuevo") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "DescripcionDatoNuevo", "Dato", 200));
            }
            if (fl.Contains("IdHabilitado") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "IdHabilitado", "IdHabilitado", true));
            }
            if (fl.Contains("IdHabilitadoL") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "IdHabilitadoL", "IdHabilitadoL", true));
            }
            if (fl.Contains("IdHabilitadoLAux") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "IdHabilitadoLAux", "IdHabilitadoLAux", true));
            }
            if (fl.Contains("DescripcionHabilitado") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "DescripcionHabilitado", "Habilitado", 150));
            }
            if (fl.Contains("TipoHabilitado") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "TipoHabilitado", "TipoHabilitado", true));
            }

            sb.Append(LayoutBuilder.GetFooter());

            return(sb.ToString());
        }
예제 #14
0
        private string Build_LayoutDetalleATransferir()
        {
            int           i  = 0;
            StringBuilder sb = new StringBuilder();

            sb.Append(LayoutBuilder.GetHeader());

            sb.Append(LayoutBuilder.GetRow(i++, "IdValor", "IdValor", 80, true));
            sb.Append(LayoutBuilder.GetRow(i++, "Descripcion", "Descripción", 100, Types.EditType.NoEdit));
            sb.Append(LayoutBuilder.GetRow(i++, "Moneda", "Moneda", 50, Types.EditType.NoEdit));
            sb.Append(LayoutBuilder.GetRow(i++, "Numero", "Número", 60, Types.EditType.NoEdit));
            sb.Append(LayoutBuilder.GetRow(i++, "Entidad", "Entidad", 70, Types.EditType.NoEdit));
            sb.Append(LayoutBuilder.GetRow(i++, "ValorDestino", "Importe", 60, Types.Aligment.Near, Types.FormatDisplay.Money));

            sb.Append(LayoutBuilder.GetFooter());
            return(sb.ToString());
        }
예제 #15
0
        private string Build_LayoutContactos()
        {
            int           i  = 0;
            StringBuilder sb = new StringBuilder();

            sb.Append(LayoutBuilder.GetHeader());
            sb.Append(LayoutBuilder.GetRow(i++, "Nombre", "Nombre", 250));
            sb.Append(LayoutBuilder.GetRow(i++, "TipoDeContacto", "Tipo Contacto", 150));
            sb.Append(LayoutBuilder.GetRow(i++, "Telefonos", "Telefonos", 150));
            sb.Append(LayoutBuilder.GetRow(i++, "Email", "Email", 100));
            sb.Append(LayoutBuilder.GetRow(i++, "Comentarios", "Comentarios", 150));
            sb.Append(LayoutBuilder.GetRow(i++, "Activo", "Activo", 50, Types.ColumnTypes.CheckBox, Types.EditType.CheckBox));
            sb.Append(LayoutBuilder.GetRow(i++, "InstantMesseger", "InstantMesseger", 100));
            sb.Append(LayoutBuilder.GetRow(i++, "Observaciones", "Observaciones", 200));
            sb.Append(LayoutBuilder.GetFooter());
            return(sb.ToString());
        }
예제 #16
0
        private string GetLayoutConsultarRentabilidadProductos()
        {
            int           i  = 0;
            StringBuilder sb = new StringBuilder();

            sb.Append(LayoutBuilder.GetHeader());
            sb.Append(LayoutBuilder.GetRow(i++, "Codigo", "Cod.", 50));
            sb.Append(LayoutBuilder.GetRow(i++, "Descripcion", "Descripcion", 350));
            sb.Append(LayoutBuilder.GetRow(i++, "Linea", "Linea", 150));
            sb.Append(LayoutBuilder.GetRow(i++, "Cantidad", "Cant.", 50));
            sb.Append(LayoutBuilder.GetRow(i++, "TotalPrecioDeCosto", "Tot P.Costo", 75));
            sb.Append(LayoutBuilder.GetRow(i++, "TotalPrecioDeVenta", "Tot P.Venta", 75));
            sb.Append(LayoutBuilder.GetRow(i++, "Rentabilidad", "Rent.", 75));
            sb.Append(LayoutBuilder.GetRow(i++, "StockDisponible", "Stock Disp.", 75));
            sb.Append(LayoutBuilder.GetFooter());
            return(sb.ToString());
        }
        public string GetLayout()
        {
            ArrayList     fl = new ArrayList();
            int           i  = 0;
            StringBuilder sb = new StringBuilder();

            sb.Append(LayoutBuilder.GetHeader());
            if (true)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "IdComprobante", "IdComprobante", true));
                sb.Append(LayoutBuilder.GetRow(i++, "Descripcion", "Comprobante", 150));
                sb.Append(LayoutBuilder.GetRow(i++, "Numero", "Número", 125));
                sb.Append(LayoutBuilder.GetRow(i++, "Fecha", "Fecha", 125));
                sb.Append(LayoutBuilder.GetRow(i++, "Codigo", "Código", 100));
                sb.Append(LayoutBuilder.GetRow(i++, "Nombre", "Cliente", 200));
                sb.Append(LayoutBuilder.GetRow(i++, "Total", "Total", 100, Types.Aligment.Far, Types.FormatDisplay.Money));
                sb.Append(LayoutBuilder.GetRow(i++, "Moneda", "Moneda", 100));
                sb.Append(LayoutBuilder.GetRow(i++, "Responsable", "Resp.Emisión", 150));
                sb.Append(LayoutBuilder.GetRow(i++, "Empresa", "Empresa", true));
                sb.Append(LayoutBuilder.GetRow(i++, "Sucursal", "Sucursal", true));
                sb.Append(LayoutBuilder.GetRow(i++, "IdTipoDeComprobante", "IdTipoDeComprobante", true));
                sb.Append(LayoutBuilder.GetRow(i++, "Pendientes", "Pendientes", true));
                sb.Append(LayoutBuilder.GetRow(i++, "TextoHTML", "TextoHTML", true));
            }
            else
            {
                sb.Append(LayoutBuilder.GetRow(i++, "IdComprobante", "IdComprobante", true));
                sb.Append(LayoutBuilder.GetRow(i++, "Descripcion", "Comprobante", 250));
                sb.Append(LayoutBuilder.GetRow(i++, "Numero", "Número", 125));
                sb.Append(LayoutBuilder.GetRow(i++, "Fecha", "Fecha", 125));
                sb.Append(LayoutBuilder.GetRow(i++, "Codigo", "Código", 100));
                sb.Append(LayoutBuilder.GetRow(i++, "Nombre", "Cliente", 200));
                sb.Append(LayoutBuilder.GetRow(i++, "Total", "Total", true));
                sb.Append(LayoutBuilder.GetRow(i++, "Moneda", "Moneda", true));
                sb.Append(LayoutBuilder.GetRow(i++, "Responsable", "Resp.Emisión", 150));
                sb.Append(LayoutBuilder.GetRow(i++, "Empresa", "Empresa", true));
                sb.Append(LayoutBuilder.GetRow(i++, "Sucursal", "Sucursal", true));
                sb.Append(LayoutBuilder.GetRow(i++, "IdTipoDeComprobante", "IdTipoDeComprobante", true));
                sb.Append(LayoutBuilder.GetRow(i++, "TextoHTML", "TextoHTML", true));
            }


            sb.Append(LayoutBuilder.GetFooter());

            return(sb.ToString());
        }
예제 #18
0
        public string GetLayout()
        {
            int i = 0;

            StringBuilder sb = new StringBuilder();

            sb.Append(LayoutBuilder.GetHeader());
            sb.Append(LayoutBuilder.GetRow(i++, "Cantidad", "Cantidad", 50, Types.Aligment.Far, Types.FormatDisplay.Integer));
            sb.Append(LayoutBuilder.GetRow(i++, "Fecha", "Fecha", 120, Types.Aligment.Near, Types.FormatDisplay.DateTime));
            sb.Append(LayoutBuilder.GetRow(i++, "Movimiento", "Movimiento", 200));
            sb.Append(LayoutBuilder.GetRow(i++, "IdTipoDeComprobante", "Tipo de comprobante", 120));
            sb.Append(LayoutBuilder.GetRow(i++, "Numero", "Nómero", 100));
            sb.Append(LayoutBuilder.GetRow(i++, "Cliente", "Cliente", 200));
            sb.Append(LayoutBuilder.GetRow(i++, "Progresion", "Progresión", 80, Types.Aligment.Far, Types.FormatDisplay.Integer));
            sb.Append(LayoutBuilder.GetFooter());

            return(sb.ToString());
        }
예제 #19
0
        private string GetLayoutValorizarStock()
        {
            int           i  = 0;
            StringBuilder sb = new StringBuilder();

            sb.Append(LayoutBuilder.GetHeader());
            sb.Append(LayoutBuilder.GetRow(i++, "Codigo", "Codigo", 50));
            sb.Append(LayoutBuilder.GetRow(i++, "Producto", "Producto", 200));
            sb.Append(LayoutBuilder.GetRow(i++, "Cantidad", "cant.", 75));
            sb.Append(LayoutBuilder.GetRow(i++, "PrecioDeCostoMonedaVisualizacion", "P. Costo", 75));
            sb.Append(LayoutBuilder.GetRow(i++, "TotalMonedaVisualizacion", "Total", 75));
            sb.Append(LayoutBuilder.GetRow(i++, "EstadoDeStock", "Est. de Stock", 200));
            sb.Append(LayoutBuilder.GetRow(i++, "Deposito", "Deposito", 200));
            sb.Append(LayoutBuilder.GetRow(i++, "Seccion", "Seccion", 200));

            sb.Append(LayoutBuilder.GetFooter());
            return(sb.ToString());
        }
        public string GetLayout()
        {
            string[]      _fieldList = null;
            ArrayList     fl         = new ArrayList();
            int           i          = 0;
            StringBuilder sb         = new StringBuilder();

            sb.Append(LayoutBuilder.GetHeader());


            if (fl.Contains("IdNomenclaturaCuenta") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "IdNomenclaturaCuenta", "IdNomenclaturaCuenta", true));
            }
            if (fl.Contains("IdNomenclaturaProducto") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "IdNomenclaturaProducto", "IdNomenclaturaProducto", true));
            }
            if (fl.Contains("IdListaDePrecios") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "IdListaDePrecios", "IdListaDePrecios", true));
            }

            if (fl.Contains("CategoriaCuenta") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "CategoriaCuenta", "Categoría Cliente", 345));
            }
            if (fl.Contains("CategoriaProducto") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "CategoriaProducto", "Categoría Producto", 345));
            }
            if (fl.Contains("ListaDePrecios") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "ListaDePrecios", "Lista De Precios", 150));
            }
            if (fl.Contains("Estado") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "Estado", "Estado", true));
            }

            sb.Append(LayoutBuilder.GetFooter());

            return(sb.ToString());
        }
예제 #21
0
        public string GetCustomLayout()
        {
            ArrayList fl = new ArrayList();

            if (_fieldList != null)
            {
                fl.AddRange(_fieldList);
            }

            int           i  = 0;
            StringBuilder sb = new StringBuilder();

            sb.Append(LayoutBuilder.GetHeader());

            if (fl.Contains("IdCondicionDeVenta"))
            {
                sb.Append(LayoutBuilder.GetRow(i++, "IdCondicionDeVenta", "IdCondicionDeVenta", !fl.Contains("IdCondicionDeVenta")));
            }
            if (fl.Contains("Descripcion"))
            {
                sb.Append(LayoutBuilder.GetRow(i++, "Descripcion", "Descripcion", 200));
            }
            if (fl.Contains("PorcentajeRecargo"))
            {
                sb.Append(LayoutBuilder.GetRow(i++, "PorcentajeRecargo", "%", 50, Types.Aligment.Near, Types.FormatDisplay.Default));
            }
            if (fl.Contains("Recargo"))
            {
                sb.Append(LayoutBuilder.GetRow(i++, "Recargo", "Recargo", 50, Types.Aligment.Near, Types.FormatDisplay.Money));
            }
            if (fl.Contains("Importe"))
            {
                sb.Append(LayoutBuilder.GetRow(i++, "Importe", "Importe", 50, Types.Aligment.Near, Types.FormatDisplay.Money));
            }
            if (fl.Contains("Activo"))
            {
                sb.Append(LayoutBuilder.GetRow(i++, "Activo", "Activo", !fl.Contains("Activo")));
            }


            sb.Append(LayoutBuilder.GetFooter());

            return(sb.ToString());
        }
예제 #22
0
        private string GetLayoutTiposMovimienos( )
        {
            int i = 0;

            StringBuilder sb = new StringBuilder();

            sb.Append(LayoutBuilder.GetHeader());

            sb.Append(LayoutBuilder.GetRow(i++, "IdTipoMovimiento", "IdTipoMovimiento", true));
            sb.Append(LayoutBuilder.GetRow(i++, "Descripcion", "Descripcion", 250));
            sb.Append(LayoutBuilder.GetRow(i++, "Tipo Movimiento", "Tipo de Movimiento", 70));
            //CRistian Tarea 0000112 30110606
            sb.Append(LayoutBuilder.GetRow(i++, "Activo", "Activo", 50, Types.ColumnTypes.CheckBox));
            //FIn cristian Tarea 0000112

            sb.Append(LayoutBuilder.GetFooter());

            return(sb.ToString());
        }
        public string GetLayoutEx()
        {
            ArrayList fl = new ArrayList();

            if (_fieldList != null)
            {
                fl.AddRange(_fieldList);
            }

            int           i  = 0;
            StringBuilder sb = new StringBuilder();

            sb.Append(LayoutBuilder.GetHeader());

            if (fl.Contains("KeyTipo") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "KeyTipo", "KeyTipo", true));
            }
            if (fl.Contains("DescripcionTipo") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "DescripcionTipo", "Tipo de observación", 170));
            }
            if (fl.Contains("KeyTipoPadre") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "KeyTipoPadre", "KeyTipoPadre", true));
            }
            if (fl.Contains("DescripcionTipoPadre") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "DescripcionTipoPadre", "Tipo de observación padre", 170));
            }
            if (fl.Contains("Activo") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "Activo", "Activo", 50, Types.ColumnTypes.CheckBox));
            }
            if (fl.Contains("Modo") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "Modo", "Acción", 50));
            }

            sb.Append(LayoutBuilder.GetFooter());

            return(sb.ToString());
        }
예제 #24
0
        private string GetLayoutConsultarComprasListaDePrecios()
        {
            int           i  = 0;
            StringBuilder sb = new StringBuilder();

            sb.Append(LayoutBuilder.GetHeader());
            sb.Append(LayoutBuilder.GetRow(i++, "Codigo", "Cod.", 50));
            sb.Append(LayoutBuilder.GetRow(i++, "Producto", "Producto", 250));
            sb.Append(LayoutBuilder.GetRow(i++, "PrecioDeCostoDirecto", "P. Costo Dir.", 75));
            sb.Append(LayoutBuilder.GetRow(i++, "PrecioDeCostoIndirecto", "P. Costo Indir.", 75));
            sb.Append(LayoutBuilder.GetRow(i++, "PrecioDeCostoRef", "P. de Costo", 75));
            sb.Append(LayoutBuilder.GetRow(i++, "MAC", "MAC %", 50));
            sb.Append(LayoutBuilder.GetRow(i++, "PrecioDeVentaNeto", "P. Venta Neto(Sug)", 75));
            sb.Append(LayoutBuilder.GetRow(i++, "MaxDescuento", "Desc", 75));
            sb.Append(LayoutBuilder.GetRow(i++, "MaxDescuentoPorcentual", "Desc %", 75));
            sb.Append(LayoutBuilder.GetRow(i++, "PrecioDeVentaBruto", "P.Lista", 75));
            sb.Append(LayoutBuilder.GetRow(i++, "PrecioFinalEstimado", "P. Lista c/Imp", 75));
            sb.Append(LayoutBuilder.GetFooter());
            return(sb.ToString());
        }
        private string LayoutConsultaDeCaja()
        {
            int i = 0;

            StringBuilder sb = new StringBuilder();

            sb.Append(LayoutBuilder.GetHeader());

            sb.Append(LayoutBuilder.GetRow(i++, "Instancia", "Caja", 400));

            /*sb.Append( LayoutBuilder.GetRow( i++, "IdResponsable", "IdResponsable", 150 ) );
             * sb.Append( LayoutBuilder.GetRow( i++, "TipoDeMovimiento", "Descripcion", 150 ) );*/
            sb.Append(LayoutBuilder.GetRow(i++, "ComprobanteMoneda", "Forma de Pago", 200));
            //sb.Append( LayoutBuilder.GetRow( i++, "Total", "Importe", 80, Types.Aligment.Far, )  );
            sb.Append(LayoutBuilder.GetRow(i++, "Total", "Importe", 80, Types.Aligment.Far, Types.FormatDisplay.Money));

            sb.Append(LayoutBuilder.GetFooter());

            return(sb.ToString());
        }
        private string LayoutConsultaDeCajaDetallada()
        {
            int i = 0;

            StringBuilder sb = new StringBuilder();

            sb.Append(LayoutBuilder.GetHeader());

            sb.Append(LayoutBuilder.GetRow(i++, "Moneda", "Moneda", 80));
            sb.Append(LayoutBuilder.GetRow(i++, "Valor", "Importe", 80, Types.Aligment.Far, Types.FormatDisplay.Money));
            sb.Append(LayoutBuilder.GetRow(i++, "MonedaReferencia", "Moneda", 80));
            sb.Append(LayoutBuilder.GetRow(i++, "Valor", "Importe", 80, Types.Aligment.Far, Types.FormatDisplay.Money));

            sb.Append(LayoutBuilder.GetRow(i++, "Entidad", "Entidad", 80));
            sb.Append(LayoutBuilder.GetRow(i++, "Numero", "Número", 100));
            sb.Append(LayoutBuilder.GetRow(i++, "FechaVencimiento", "F.Vencimiento", 80));

            sb.Append(LayoutBuilder.GetFooter());

            return(sb.ToString());
        }
예제 #27
0
        private string GetLayoutResultado( )
        {
            int i = 0;

            StringBuilder sb = new StringBuilder();

            sb.Append(LayoutBuilder.GetHeader());

            sb.Append(LayoutBuilder.GetRow(i++, "IdProducto", "IdProducto", true));
            sb.Append(LayoutBuilder.GetRow(i++, "Linea", "Linea", true));
            sb.Append(LayoutBuilder.GetRow(i++, "Codigo", "Codigo", 50));
            sb.Append(LayoutBuilder.GetRow(i++, "Proveedor", "Proveedor", 80));
            sb.Append(LayoutBuilder.GetRow(i++, "Descripcion", "Producto", 300));
            sb.Append(LayoutBuilder.GetRow(i++, "StockActual", "Stock Actual", 75, Types.Aligment.Far, Types.FormatDisplay.Integer));
            sb.Append(LayoutBuilder.GetRow(i++, "CantidadPorVentas", "Cant. Ventas", 75, Types.Aligment.Far, Types.FormatDisplay.Integer));
            sb.Append(LayoutBuilder.GetRow(i++, "CantidadSugerida", "Stock Sugerido", 100, Types.Aligment.Far, Types.FormatDisplay.Integer));
            sb.Append(LayoutBuilder.GetRow(i++, "CantidadAComprar", "Cant. A Comprar", 100, Types.Aligment.Far, Types.FormatDisplay.Integer));
            sb.Append(LayoutBuilder.GetRow(i++, "MontoMonedaVisualizacion", "P. Costo", 80));
            sb.Append(LayoutBuilder.GetRow(i++, "TotalMonedaVisualizacion", "Monto a Comprar", 80));
            sb.Append(LayoutBuilder.GetRow(i++, "MonedaVisualizacion", "Moneda", 80));
            sb.Append(LayoutBuilder.GetRow(i++, "MontoMonedaReferencia", "P. Costo", 80));
            sb.Append(LayoutBuilder.GetRow(i++, "TotalMonedaReferencia", "Monto a Comprar", 80));
            sb.Append(LayoutBuilder.GetRow(i++, "MonedaReferencia", "Moneda", 80));
            sb.Append(LayoutBuilder.GetRow(i++, "PrecioDeCosto", "P. Costo", 80));
            sb.Append(LayoutBuilder.GetRow(i++, "TotalMonedaProducto", "Monto a Comprar", 80));
            sb.Append(LayoutBuilder.GetRow(i++, "MonedaProducto", "Moneda", 80));
            sb.Append(LayoutBuilder.GetRow(i++, "CantidadPorDevoluciones", "Cant. NC", 75, Types.Aligment.Far, Types.FormatDisplay.Integer));
            sb.Append(LayoutBuilder.GetRow(i++, "CantidadPorST", "Cant. ST", 75, Types.Aligment.Far, Types.FormatDisplay.Integer));
            sb.Append(LayoutBuilder.GetRow(i++, "CantidadPorDevolucionesST", "Cant. NC ST", 75, Types.Aligment.Far, Types.FormatDisplay.Integer));
            sb.Append(LayoutBuilder.GetRow(i++, "Media", "Media", 50, Types.Aligment.Far));
            sb.Append(LayoutBuilder.GetRow(i++, "MaximaVenta", "Max Venta", 50, Types.Aligment.Far));


            //sb.Append( LayoutBuilder.GetRow( i++, "Cierre","F.Cierre Caja", 80 ) );


            sb.Append(LayoutBuilder.GetFooter());

            return(sb.ToString());
        }
예제 #28
0
        public string GetLayout()
        {
            ArrayList fl = new ArrayList();

            if (_fieldList != null)
            {
                fl.AddRange(_fieldList);
            }

            int           i  = 0;
            StringBuilder sb = new StringBuilder();

            sb.Append(LayoutBuilder.GetHeader());

            if (fl.Contains("IdTipoAjuste") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "IdTipoAjuste", "IdTipoAjuste", false));
            }
            if (fl.Contains("Descripcion") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "Descripcion", "Descripcion"));
            }

            /*if ( fl.Contains( "Sistema" ) || _fieldList == null ) sb.Append( LayoutBuilder.GetRow( i++, "Sistema", "Sistema", true ) );
             * if ( fl.Contains( "Operacion" ) || _fieldList == null ) sb.Append( LayoutBuilder.GetRow( i++, "Operacion", "Operacion", true) );
             * if ( fl.Contains( "FechaCreacion" ) || _fieldList == null ) sb.Append( LayoutBuilder.GetRow( i++, "FechaCreacion", "FechaCreacion", true ) );
             * if ( fl.Contains( "IdConexionCreacion" ) || _fieldList == null ) sb.Append( LayoutBuilder.GetRow( i++, "IdConexionCreacion", "IdConexionCreacion", true ) );
             * if ( fl.Contains( "UltimaModificacion" ) || _fieldList == null ) sb.Append( LayoutBuilder.GetRow( i++, "UltimaModificacion", "UltimaModificacion", true ) );
             * if ( fl.Contains( "IdConexionUltimaModificacion" ) || _fieldList == null ) sb.Append( LayoutBuilder.GetRow( i++, "IdConexionUltimaModificacion", "IdConexionUltimaModificacion", true ) );
             * if ( fl.Contains( "IdReservado" ) || _fieldList == null ) sb.Append( LayoutBuilder.GetRow( i++, "IdReservado", "IdReservado", true ) );
             * if ( fl.Contains( "RowId" ) || _fieldList == null ) sb.Append( LayoutBuilder.GetRow( i++, "RowId", "RowId", true ) );
             * if ( fl.Contains( "IdSucursal" ) || _fieldList == null ) sb.Append( LayoutBuilder.GetRow( i++, "IdSucursal", "IdSucursal", true ) );
             * if ( fl.Contains( "IdEmpresa" ) || _fieldList == null ) sb.Append( LayoutBuilder.GetRow( i++, "IdEmpresa", "IdEmpresa", true ) );
             * if ( fl.Contains( "IdEstadoDeStock" ) || _fieldList == null ) sb.Append( LayoutBuilder.GetRow( i++, "IdEstadoDeStock", "IdEstadoDeStock", true ) );
             * if ( fl.Contains( "OldIdTipoAjuste" ) || _fieldList == null ) sb.Append( LayoutBuilder.GetRow( i++, "OldIdTipoAjuste", "OldIdTipoAjuste", true ) );
             */
            sb.Append(LayoutBuilder.GetFooter());

            return(sb.ToString());
        }
예제 #29
0
        public string GetLayout()
        {
            ArrayList fl = new ArrayList();

            if (_fieldList != null)
            {
                fl.AddRange(_fieldList);
            }

            int           i  = 0;
            StringBuilder sb = new StringBuilder();

            sb.Append(LayoutBuilder.GetHeader());

            if (fl.Contains("IdCuentaObservacionEstado") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "IdCuentaObservacionEstado", "IdCuentaObservacionEstado", true));
            }
            if (fl.Contains("Descripcion") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "Descripcion", "Descripcion"));
            }
            //if ( fl.Contains( "FechaCreacion" ) || _fieldList == null ) sb.Append( LayoutBuilder.GetRow( i++, "FechaCreacion", "FechaCreacion" ) );
            //if ( fl.Contains( "Activo" ) || _fieldList == null ) sb.Append( LayoutBuilder.GetRow( i++, "Activo", "Activo" ) );
            if (fl.Contains("Activo") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "Activo", "Activo", 50, Types.ColumnTypes.CheckBox, Types.EditType.CheckBox));
            }
            //if ( fl.Contains( "IdConexionCreacion" ) || _fieldList == null ) sb.Append( LayoutBuilder.GetRow( i++, "IdConexionCreacion", "IdConexionCreacion" ) );
            //if ( fl.Contains( "UltimaModificacion" ) || _fieldList == null ) sb.Append( LayoutBuilder.GetRow( i++, "UltimaModificacion", "UltimaModificacion" ) );
            //if ( fl.Contains( "IdConexionUltimaModificacion" ) || _fieldList == null ) sb.Append( LayoutBuilder.GetRow( i++, "IdConexionUltimaModificacion", "IdConexionUltimaModificacion" ) );
            //	if ( fl.Contains( "IdReservado" ) || _fieldList == null ) sb.Append( LayoutBuilder.GetRow( i++, "IdReservado", "IdReservado" ) );
            //	if ( fl.Contains( "RowId" ) || _fieldList == null ) sb.Append( LayoutBuilder.GetRow( i++, "RowId", "RowId" ) );
            //if ( fl.Contains( "IdSucursal" ) || _fieldList == null ) sb.Append( LayoutBuilder.GetRow( i++, "IdSucursal", "IdSucursal" ) );
            //if ( fl.Contains( "IdEmpresa" ) || _fieldList == null ) sb.Append( LayoutBuilder.GetRow( i++, "IdEmpresa", "IdEmpresa" ) );

            sb.Append(LayoutBuilder.GetFooter());

            return(sb.ToString());
        }
예제 #30
0
        public string GetLayout()
        {
            ArrayList fl = new ArrayList();

            if (_fieldList != null)
            {
                fl.AddRange(_fieldList);
            }

            int           i  = 0;
            StringBuilder sb = new StringBuilder();

            sb.Append(LayoutBuilder.GetHeader());

            if (fl.Contains("IdLocalidad") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "IdLocalidad", "IdLocalidad", true));
            }
            if (fl.Contains("Descripcion") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "Descripcion", "Descripcion"));
            }
            if (fl.Contains("CodigoPostal") || _fieldList == null)
            {
                sb.Append(LayoutBuilder.GetRow(i++, "CodigoPostal", "CodigoPostal"));
            }
            //if ( fl.Contains( "FechaCreacion" ) || _fieldList == null ) sb.Append( LayoutBuilder.GetRow( i++, "FechaCreacion", "FechaCreacion" ) );
            //if ( fl.Contains( "IdConexionCreacion" ) || _fieldList == null ) sb.Append( LayoutBuilder.GetRow( i++, "IdConexionCreacion", "IdConexionCreacion" ) );
            //if ( fl.Contains( "UltimaModificacion" ) || _fieldList == null ) sb.Append( LayoutBuilder.GetRow( i++, "UltimaModificacion", "UltimaModificacion" ) );
            //	if ( fl.Contains( "IdConexionUltimaModificacion" ) || _fieldList == null ) sb.Append( LayoutBuilder.GetRow( i++, "IdConexionUltimaModificacion", "IdConexionUltimaModificacion" ) );
            //if ( fl.Contains( "IdReservado" ) || _fieldList == null ) sb.Append( LayoutBuilder.GetRow( i++, "IdReservado", "IdReservado" ) );
            //if ( fl.Contains( "RowId" ) || _fieldList == null ) sb.Append( LayoutBuilder.GetRow( i++, "RowId", "RowId" ) );
            //	if ( fl.Contains( "IdEmpresa" ) || _fieldList == null ) sb.Append( LayoutBuilder.GetRow( i++, "IdEmpresa", "IdEmpresa" ) );
            //	if ( fl.Contains( "IdSucursal" ) || _fieldList == null ) sb.Append( LayoutBuilder.GetRow( i++, "IdSucursal", "IdSucursal" ) );

            sb.Append(LayoutBuilder.GetFooter());

            return(sb.ToString());
        }