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("IdValidacion") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "IdValidacion", "IdValidacion")); } if (fl.Contains("Descripcion") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "Descripcion", "Descripcion")); } if (fl.Contains("Formula") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "Formula", "Formula")); } if (fl.Contains("IdConexion") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "IdConexion", "IdConexion")); } 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("RowId") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "RowId", "RowId")); } if (fl.Contains("Observaciones") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "Observaciones", "Observaciones")); } sb.Append(LayoutBuilder.GetFooter()); return(sb.ToString()); }
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("IdComprobante") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "IdComprobante", "IdComprobante")); } 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")); } if (fl.Contains("IdInstanciaCaja") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "IdInstanciaCaja", "IdInstanciaCaja")); } if (fl.Contains("IdTipoDeComprobante") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "IdTipoDeComprobante", "IdTipoDeComprobante")); } if (fl.Contains("Numero") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "Numero", "Numero")); } if (fl.Contains("Fecha") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "Fecha", "Fecha")); } if (fl.Contains("IdProveedor") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "IdProveedor", "IdProveedor")); } if (fl.Contains("IdResponsable") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "IdResponsable", "IdResponsable")); } if (fl.Contains("Total") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "Total", "Total")); } if (fl.Contains("TotalConImpuestos") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "TotalConImpuestos", "TotalConImpuestos")); } if (fl.Contains("IdMonedaCierre") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "IdMonedaCierre", "IdMonedaCierre")); } if (fl.Contains("IdCotizacionCierre") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "IdCotizacionCierre", "IdCotizacionCierre")); } 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")); } sb.Append(LayoutBuilder.GetFooter()); return(sb.ToString()); }
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("IdFormaDePago") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "IdFormaDePago", "IdFormaDePago")); } if (fl.Contains("Descripcion") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "Descripcion", "Descripcion")); } if (fl.Contains("Activo") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "Activo", "Activo")); } if (fl.Contains("Sistema") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "Sistema", "Sistema")); } if (fl.Contains("MaximoPorcentaje") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "MaximoPorcentaje", "MaximoPorcentaje")); } if (fl.Contains("MaximoMontoFijo") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "MaximoMontoFijo", "MaximoMontoFijo")); } if (fl.Contains("IdTasaDeCambio") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "IdTasaDeCambio", "IdTasaDeCambio")); } 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")); } sb.Append(LayoutBuilder.GetFooter()); return(sb.ToString()); }
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("IdBonificacion") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "IdBonificacion", "IdBonificacion")); } 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")); } if (fl.Contains("Descripcion") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "Descripcion", "Descripcion")); } if (fl.Contains("IdTipoBonificacion") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "IdTipoBonificacion", "IdTipoBonificacion")); } 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")); } sb.Append(LayoutBuilder.GetFooter()); return(sb.ToString()); }
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("IdValorizacionStock") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "IdValorizacionStock", "IdValorizacionStock")); } if (fl.Contains("Fecha") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "Fecha", "Fecha")); } if (fl.Contains("IdProducto") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "IdProducto", "IdProducto")); } if (fl.Contains("IdDeposito") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "IdDeposito", "IdDeposito")); } if (fl.Contains("IdSeccion") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "IdSeccion", "IdSeccion")); } if (fl.Contains("IdEstadoDeStock") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "IdEstadoDeStock", "IdEstadoDeStock")); } if (fl.Contains("Cantidad") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "Cantidad", "Cantidad")); } if (fl.Contains("Costo") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "Costo", "Costo")); } 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("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()); }
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("IdCamino") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "IdCamino", "IdCamino")); } if (fl.Contains("IdTareaOrigen") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "IdTareaOrigen", "IdTareaOrigen")); } if (fl.Contains("IdTareaDestino") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "IdTareaDestino", "IdTareaDestino")); } if (fl.Contains("IdProceso") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "IdProceso", "IdProceso")); } if (fl.Contains("Power") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "Power", "Power")); } if (fl.Contains("Frecuencia") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "Frecuencia", "Frecuencia")); } if (fl.Contains("IdConexion") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "IdConexion", "IdConexion")); } 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("RowId") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "RowId", "RowId")); } if (fl.Contains("Observaciones") || _fieldList == null) { sb.Append(LayoutBuilder.GetRow(i++, "Observaciones", "Observaciones")); } sb.Append(LayoutBuilder.GetFooter()); return(sb.ToString()); }