public override global::System.Data.DataTable Clone()
            {
                ReporteDataTable cln = ((ReporteDataTable)(base.Clone()));

                cln.InitVars();
                return(cln);
            }
 private void InitClass()
 {
     this.DataSetName             = "dataSIntroduccion";
     this.Prefix                  = "";
     this.Namespace               = "http://tempuri.org/dataSIntroduccion.xsd";
     this.EnforceConstraints      = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableReporte            = new ReporteDataTable();
     base.Tables.Add(this.tableReporte);
 }
 internal void InitVars(bool initTable)
 {
     this.tableReporte = ((ReporteDataTable)(base.Tables["Reporte"]));
     if ((initTable == true))
     {
         if ((this.tableReporte != null))
         {
             this.tableReporte.InitVars();
         }
     }
 }
Ejemplo n.º 4
0
        public List <Reporte> GetLastReportsByAlarmaId(int idAlarma)
        {
            ReporteTableAdapter adapter = new ReporteTableAdapter();
            ReporteDataTable    table   = adapter.GetLastReportsByAlarmaId(idAlarma);

            List <Reporte> listReports = new List <Reporte>();
            Reporte        objTemp;

            foreach (var row in table)
            {
                objTemp = new Reporte()
                {
                    IdReporte       = row.idReporte,
                    FechaActivacion = row.fechaActivacion,
                    IdAlarma        = row.idAlarma
                };

                listReports.Add(objTemp);
            }

            return(listReports);
        }
Ejemplo n.º 5
0
 internal void InitVars(bool initTable) {
     this.tableMovimiento = ((MovimientoDataTable)(base.Tables["Movimiento"]));
     if ((initTable == true)) {
         if ((this.tableMovimiento != null)) {
             this.tableMovimiento.InitVars();
         }
     }
     this.tableReporte = ((ReporteDataTable)(base.Tables["Reporte"]));
     if ((initTable == true)) {
         if ((this.tableReporte != null)) {
             this.tableReporte.InitVars();
         }
     }
 }
Ejemplo n.º 6
0
 internal void InitVars(bool initTable) {
     this.tableReporte = ((ReporteDataTable)(base.Tables["Reporte"]));
     if ((initTable == true)) {
         if ((this.tableReporte != null)) {
             this.tableReporte.InitVars();
         }
     }
     this.tableVentas = ((VentasDataTable)(base.Tables["Ventas"]));
     if ((initTable == true)) {
         if ((this.tableVentas != null)) {
             this.tableVentas.InitVars();
         }
     }
 }
Ejemplo n.º 7
0
 private void InitClass() {
     this.DataSetName = "Compras";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/Compras.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableCompra = new CompraDataTable();
     base.Tables.Add(this.tableCompra);
     this.tableCompraLinea = new CompraLineaDataTable();
     base.Tables.Add(this.tableCompraLinea);
     this.tableReporte = new ReporteDataTable();
     base.Tables.Add(this.tableReporte);
     global::System.Data.ForeignKeyConstraint fkc;
     fkc = new global::System.Data.ForeignKeyConstraint("Compra_CompraLinea", new global::System.Data.DataColumn[] {
                 this.tableCompra.NroFacturaColumn}, new global::System.Data.DataColumn[] {
                 this.tableCompraLinea.NroFacturaColumn});
     this.tableCompraLinea.Constraints.Add(fkc);
     fkc.AcceptRejectRule = global::System.Data.AcceptRejectRule.None;
     fkc.DeleteRule = global::System.Data.Rule.None;
     fkc.UpdateRule = global::System.Data.Rule.None;
     this.relationCompra_CompraLinea = new global::System.Data.DataRelation("Compra_CompraLinea", new global::System.Data.DataColumn[] {
                 this.tableCompra.NroFacturaColumn}, new global::System.Data.DataColumn[] {
                 this.tableCompraLinea.NroFacturaColumn}, false);
     this.Relations.Add(this.relationCompra_CompraLinea);
 }
Ejemplo n.º 8
0
 internal void InitVars(bool initTable) {
     this.tableCompra = ((CompraDataTable)(base.Tables["Compra"]));
     if ((initTable == true)) {
         if ((this.tableCompra != null)) {
             this.tableCompra.InitVars();
         }
     }
     this.tableCompraLinea = ((CompraLineaDataTable)(base.Tables["CompraLinea"]));
     if ((initTable == true)) {
         if ((this.tableCompraLinea != null)) {
             this.tableCompraLinea.InitVars();
         }
     }
     this.tableReporte = ((ReporteDataTable)(base.Tables["Reporte"]));
     if ((initTable == true)) {
         if ((this.tableReporte != null)) {
             this.tableReporte.InitVars();
         }
     }
     this.relationCompra_CompraLinea = this.Relations["Compra_CompraLinea"];
 }
Ejemplo n.º 9
0
 private void InitClass() {
     this.DataSetName = "dsIncidencia";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/dsIncidencia.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableReporte = new ReporteDataTable();
     base.Tables.Add(this.tableReporte);
     this.tableIncidencia = new IncidenciaDataTable();
     base.Tables.Add(this.tableIncidencia);
     this.tableIncidenciaLinea = new IncidenciaLineaDataTable();
     base.Tables.Add(this.tableIncidenciaLinea);
     this.relationIncidencia_IncidenciaLinea = new global::System.Data.DataRelation("Incidencia_IncidenciaLinea", new global::System.Data.DataColumn[] {
                 this.tableIncidencia.IdColumn}, new global::System.Data.DataColumn[] {
                 this.tableIncidenciaLinea.IncidenciaColumn}, false);
     this.Relations.Add(this.relationIncidencia_IncidenciaLinea);
 }
Ejemplo n.º 10
0
 internal void InitVars(bool initTable) {
     this.tableReporte = ((ReporteDataTable)(base.Tables["Reporte"]));
     if ((initTable == true)) {
         if ((this.tableReporte != null)) {
             this.tableReporte.InitVars();
         }
     }
     this.tableIncidencia = ((IncidenciaDataTable)(base.Tables["Incidencia"]));
     if ((initTable == true)) {
         if ((this.tableIncidencia != null)) {
             this.tableIncidencia.InitVars();
         }
     }
     this.tableIncidenciaLinea = ((IncidenciaLineaDataTable)(base.Tables["IncidenciaLinea"]));
     if ((initTable == true)) {
         if ((this.tableIncidenciaLinea != null)) {
             this.tableIncidenciaLinea.InitVars();
         }
     }
     this.relationIncidencia_IncidenciaLinea = this.Relations["Incidencia_IncidenciaLinea"];
 }
Ejemplo n.º 11
0
 private void InitClass() {
     this.DataSetName = "DSReportes";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/DSReportes.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableReporteEmpleadosPorFechaDeJubilacion = new ReporteEmpleadosPorFechaDeJubilacionDataTable();
     base.Tables.Add(this.tableReporteEmpleadosPorFechaDeJubilacion);
     this.tablereporteAusencias = new reporteAusenciasDataTable();
     base.Tables.Add(this.tablereporteAusencias);
     this.tablereporteNovedadesDeLiquidacion = new reporteNovedadesDeLiquidacionDataTable();
     base.Tables.Add(this.tablereporteNovedadesDeLiquidacion);
     this.tablereporteRelojConsultarFechas = new reporteRelojConsultarFechasDataTable();
     base.Tables.Add(this.tablereporteRelojConsultarFechas);
     this.tablereporteRelojConsultarFechasHorasExtra = new reporteRelojConsultarFechasHorasExtraDataTable();
     base.Tables.Add(this.tablereporteRelojConsultarFechasHorasExtra);
     this.tablereporteConceptos = new reporteConceptosDataTable();
     base.Tables.Add(this.tablereporteConceptos);
     this.tablereporteRecibosSueldoGeneral = new reporteRecibosSueldoGeneralDataTable();
     base.Tables.Add(this.tablereporteRecibosSueldoGeneral);
     this.tablereporteRecibosSueldoDetalle = new reporteRecibosSueldoDetalleDataTable();
     base.Tables.Add(this.tablereporteRecibosSueldoDetalle);
     this.tablereporteLiquidacionesNetoPorLegajo = new reporteLiquidacionesNetoPorLegajoDataTable();
     base.Tables.Add(this.tablereporteLiquidacionesNetoPorLegajo);
     this.tableempresaConsultarParaRubrica = new empresaConsultarParaRubricaDataTable();
     base.Tables.Add(this.tableempresaConsultarParaRubrica);
     this.tableempresaConsultar = new empresaConsultarDataTable();
     base.Tables.Add(this.tableempresaConsultar);
     this.tablereporteHorarios = new reporteHorariosDataTable();
     base.Tables.Add(this.tablereporteHorarios);
     this.tableempleadosConsultarParaGrilla = new empleadosConsultarParaGrillaDataTable();
     base.Tables.Add(this.tableempleadosConsultarParaGrilla);
     this.tableliquidacionesDetalleConsultarParaGrilla = new liquidacionesDetalleConsultarParaGrillaDataTable();
     base.Tables.Add(this.tableliquidacionesDetalleConsultarParaGrilla);
     this.tableReporte = new ReporteDataTable();
     base.Tables.Add(this.tableReporte);
     this.tablereporteLiquidacionesNetoPorFormaDePago = new reporteLiquidacionesNetoPorFormaDePagoDataTable();
     base.Tables.Add(this.tablereporteLiquidacionesNetoPorFormaDePago);
     this.tableliquidacionesNetosPorLegajo = new liquidacionesNetosPorLegajoDataTable();
     base.Tables.Add(this.tableliquidacionesNetosPorLegajo);
     this.tableempleadosConsultarParaCombo = new empleadosConsultarParaComboDataTable();
     base.Tables.Add(this.tableempleadosConsultarParaCombo);
     this.tableasistenciaConsultarConNovedades = new asistenciaConsultarConNovedadesDataTable();
     base.Tables.Add(this.tableasistenciaConsultarConNovedades);
     this.tableReporteEmpleadosPorCampoEmpleado = new ReporteEmpleadosPorCampoEmpleadoDataTable();
     base.Tables.Add(this.tableReporteEmpleadosPorCampoEmpleado);
     this.tablereporteLiquidacionesTotalesPorConcepto = new reporteLiquidacionesTotalesPorConceptoDataTable();
     base.Tables.Add(this.tablereporteLiquidacionesTotalesPorConcepto);
     this.tableanticiposConsultarParaVale = new anticiposConsultarParaValeDataTable();
     base.Tables.Add(this.tableanticiposConsultarParaVale);
     this.tablereporteAnticiposPorAnioMes = new reporteAnticiposPorAnioMesDataTable();
     base.Tables.Add(this.tablereporteAnticiposPorAnioMes);
     this.tableReporteAsientoDeSueldos = new ReporteAsientoDeSueldosDataTable();
     base.Tables.Add(this.tableReporteAsientoDeSueldos);
     this.tableReporteAsientoDeSueldosPorCentroCosto = new ReporteAsientoDeSueldosPorCentroCostoDataTable();
     base.Tables.Add(this.tableReporteAsientoDeSueldosPorCentroCosto);
     this.tablereporteAcumuladosPorTipo = new reporteAcumuladosPorTipoDataTable();
     base.Tables.Add(this.tablereporteAcumuladosPorTipo);
     this.tablereporteSindicatos = new reporteSindicatosDataTable();
     base.Tables.Add(this.tablereporteSindicatos);
     this.tablereporteAusenciasCantidad = new reporteAusenciasCantidadDataTable();
     base.Tables.Add(this.tablereporteAusenciasCantidad);
     this.tableReporteEmpleado = new ReporteEmpleadoDataTable();
     base.Tables.Add(this.tableReporteEmpleado);
 }
Ejemplo n.º 12
0
 internal void InitVars(bool initTable) {
     this.tableProveedor = ((ProveedorDataTable)(base.Tables["Proveedor"]));
     if ((initTable == true)) {
         if ((this.tableProveedor != null)) {
             this.tableProveedor.InitVars();
         }
     }
     this.tableReporte = ((ReporteDataTable)(base.Tables["Reporte"]));
     if ((initTable == true)) {
         if ((this.tableReporte != null)) {
             this.tableReporte.InitVars();
         }
     }
 }
 internal ReporteRow(global::System.Data.DataRowBuilder rb) :
     base(rb)
 {
     this.tableReporte = ((ReporteDataTable)(this.Table));
 }
Ejemplo n.º 14
0
 private void InitClass() {
     this.DataSetName = "Movimiento";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/Movimiento.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableMovimiento = new MovimientoDataTable();
     base.Tables.Add(this.tableMovimiento);
     this.tableReporte = new ReporteDataTable();
     base.Tables.Add(this.tableReporte);
 }
Ejemplo n.º 15
0
 private void InitClass() {
     this.DataSetName = "dsProveedor";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/dsProveedor.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tableProveedor = new ProveedorDataTable();
     base.Tables.Add(this.tableProveedor);
     this.tableReporte = new ReporteDataTable();
     base.Tables.Add(this.tableReporte);
 }
Ejemplo n.º 16
0
 internal ReporteRow(global::System.Data.DataRowBuilder rb) : 
         base(rb) {
     this.tableReporte = ((ReporteDataTable)(this.Table));
 }
Ejemplo n.º 17
0
 internal void InitVars(bool initTable) {
     this.tableReporteEmpleadosPorFechaDeJubilacion = ((ReporteEmpleadosPorFechaDeJubilacionDataTable)(base.Tables["ReporteEmpleadosPorFechaDeJubilacion"]));
     if ((initTable == true)) {
         if ((this.tableReporteEmpleadosPorFechaDeJubilacion != null)) {
             this.tableReporteEmpleadosPorFechaDeJubilacion.InitVars();
         }
     }
     this.tablereporteAusencias = ((reporteAusenciasDataTable)(base.Tables["reporteAusencias"]));
     if ((initTable == true)) {
         if ((this.tablereporteAusencias != null)) {
             this.tablereporteAusencias.InitVars();
         }
     }
     this.tablereporteNovedadesDeLiquidacion = ((reporteNovedadesDeLiquidacionDataTable)(base.Tables["reporteNovedadesDeLiquidacion"]));
     if ((initTable == true)) {
         if ((this.tablereporteNovedadesDeLiquidacion != null)) {
             this.tablereporteNovedadesDeLiquidacion.InitVars();
         }
     }
     this.tablereporteRelojConsultarFechas = ((reporteRelojConsultarFechasDataTable)(base.Tables["reporteRelojConsultarFechas"]));
     if ((initTable == true)) {
         if ((this.tablereporteRelojConsultarFechas != null)) {
             this.tablereporteRelojConsultarFechas.InitVars();
         }
     }
     this.tablereporteRelojConsultarFechasHorasExtra = ((reporteRelojConsultarFechasHorasExtraDataTable)(base.Tables["reporteRelojConsultarFechasHorasExtra"]));
     if ((initTable == true)) {
         if ((this.tablereporteRelojConsultarFechasHorasExtra != null)) {
             this.tablereporteRelojConsultarFechasHorasExtra.InitVars();
         }
     }
     this.tablereporteConceptos = ((reporteConceptosDataTable)(base.Tables["reporteConceptos"]));
     if ((initTable == true)) {
         if ((this.tablereporteConceptos != null)) {
             this.tablereporteConceptos.InitVars();
         }
     }
     this.tablereporteRecibosSueldoGeneral = ((reporteRecibosSueldoGeneralDataTable)(base.Tables["reporteRecibosSueldoGeneral"]));
     if ((initTable == true)) {
         if ((this.tablereporteRecibosSueldoGeneral != null)) {
             this.tablereporteRecibosSueldoGeneral.InitVars();
         }
     }
     this.tablereporteRecibosSueldoDetalle = ((reporteRecibosSueldoDetalleDataTable)(base.Tables["reporteRecibosSueldoDetalle"]));
     if ((initTable == true)) {
         if ((this.tablereporteRecibosSueldoDetalle != null)) {
             this.tablereporteRecibosSueldoDetalle.InitVars();
         }
     }
     this.tablereporteLiquidacionesNetoPorLegajo = ((reporteLiquidacionesNetoPorLegajoDataTable)(base.Tables["reporteLiquidacionesNetoPorLegajo"]));
     if ((initTable == true)) {
         if ((this.tablereporteLiquidacionesNetoPorLegajo != null)) {
             this.tablereporteLiquidacionesNetoPorLegajo.InitVars();
         }
     }
     this.tableempresaConsultarParaRubrica = ((empresaConsultarParaRubricaDataTable)(base.Tables["empresaConsultarParaRubrica"]));
     if ((initTable == true)) {
         if ((this.tableempresaConsultarParaRubrica != null)) {
             this.tableempresaConsultarParaRubrica.InitVars();
         }
     }
     this.tableempresaConsultar = ((empresaConsultarDataTable)(base.Tables["empresaConsultar"]));
     if ((initTable == true)) {
         if ((this.tableempresaConsultar != null)) {
             this.tableempresaConsultar.InitVars();
         }
     }
     this.tablereporteHorarios = ((reporteHorariosDataTable)(base.Tables["reporteHorarios"]));
     if ((initTable == true)) {
         if ((this.tablereporteHorarios != null)) {
             this.tablereporteHorarios.InitVars();
         }
     }
     this.tableempleadosConsultarParaGrilla = ((empleadosConsultarParaGrillaDataTable)(base.Tables["empleadosConsultarParaGrilla"]));
     if ((initTable == true)) {
         if ((this.tableempleadosConsultarParaGrilla != null)) {
             this.tableempleadosConsultarParaGrilla.InitVars();
         }
     }
     this.tableliquidacionesDetalleConsultarParaGrilla = ((liquidacionesDetalleConsultarParaGrillaDataTable)(base.Tables["liquidacionesDetalleConsultarParaGrilla"]));
     if ((initTable == true)) {
         if ((this.tableliquidacionesDetalleConsultarParaGrilla != null)) {
             this.tableliquidacionesDetalleConsultarParaGrilla.InitVars();
         }
     }
     this.tableReporte = ((ReporteDataTable)(base.Tables["Reporte"]));
     if ((initTable == true)) {
         if ((this.tableReporte != null)) {
             this.tableReporte.InitVars();
         }
     }
     this.tablereporteLiquidacionesNetoPorFormaDePago = ((reporteLiquidacionesNetoPorFormaDePagoDataTable)(base.Tables["reporteLiquidacionesNetoPorFormaDePago"]));
     if ((initTable == true)) {
         if ((this.tablereporteLiquidacionesNetoPorFormaDePago != null)) {
             this.tablereporteLiquidacionesNetoPorFormaDePago.InitVars();
         }
     }
     this.tableliquidacionesNetosPorLegajo = ((liquidacionesNetosPorLegajoDataTable)(base.Tables["liquidacionesNetosPorLegajo"]));
     if ((initTable == true)) {
         if ((this.tableliquidacionesNetosPorLegajo != null)) {
             this.tableliquidacionesNetosPorLegajo.InitVars();
         }
     }
     this.tableempleadosConsultarParaCombo = ((empleadosConsultarParaComboDataTable)(base.Tables["empleadosConsultarParaCombo"]));
     if ((initTable == true)) {
         if ((this.tableempleadosConsultarParaCombo != null)) {
             this.tableempleadosConsultarParaCombo.InitVars();
         }
     }
     this.tableasistenciaConsultarConNovedades = ((asistenciaConsultarConNovedadesDataTable)(base.Tables["asistenciaConsultarConNovedades"]));
     if ((initTable == true)) {
         if ((this.tableasistenciaConsultarConNovedades != null)) {
             this.tableasistenciaConsultarConNovedades.InitVars();
         }
     }
     this.tableReporteEmpleadosPorCampoEmpleado = ((ReporteEmpleadosPorCampoEmpleadoDataTable)(base.Tables["ReporteEmpleadosPorCampoEmpleado"]));
     if ((initTable == true)) {
         if ((this.tableReporteEmpleadosPorCampoEmpleado != null)) {
             this.tableReporteEmpleadosPorCampoEmpleado.InitVars();
         }
     }
     this.tablereporteLiquidacionesTotalesPorConcepto = ((reporteLiquidacionesTotalesPorConceptoDataTable)(base.Tables["reporteLiquidacionesTotalesPorConcepto"]));
     if ((initTable == true)) {
         if ((this.tablereporteLiquidacionesTotalesPorConcepto != null)) {
             this.tablereporteLiquidacionesTotalesPorConcepto.InitVars();
         }
     }
     this.tableanticiposConsultarParaVale = ((anticiposConsultarParaValeDataTable)(base.Tables["anticiposConsultarParaVale"]));
     if ((initTable == true)) {
         if ((this.tableanticiposConsultarParaVale != null)) {
             this.tableanticiposConsultarParaVale.InitVars();
         }
     }
     this.tablereporteAnticiposPorAnioMes = ((reporteAnticiposPorAnioMesDataTable)(base.Tables["reporteAnticiposPorAnioMes"]));
     if ((initTable == true)) {
         if ((this.tablereporteAnticiposPorAnioMes != null)) {
             this.tablereporteAnticiposPorAnioMes.InitVars();
         }
     }
     this.tableReporteAsientoDeSueldos = ((ReporteAsientoDeSueldosDataTable)(base.Tables["ReporteAsientoDeSueldos"]));
     if ((initTable == true)) {
         if ((this.tableReporteAsientoDeSueldos != null)) {
             this.tableReporteAsientoDeSueldos.InitVars();
         }
     }
     this.tableReporteAsientoDeSueldosPorCentroCosto = ((ReporteAsientoDeSueldosPorCentroCostoDataTable)(base.Tables["ReporteAsientoDeSueldosPorCentroCosto"]));
     if ((initTable == true)) {
         if ((this.tableReporteAsientoDeSueldosPorCentroCosto != null)) {
             this.tableReporteAsientoDeSueldosPorCentroCosto.InitVars();
         }
     }
     this.tablereporteAcumuladosPorTipo = ((reporteAcumuladosPorTipoDataTable)(base.Tables["reporteAcumuladosPorTipo"]));
     if ((initTable == true)) {
         if ((this.tablereporteAcumuladosPorTipo != null)) {
             this.tablereporteAcumuladosPorTipo.InitVars();
         }
     }
     this.tablereporteSindicatos = ((reporteSindicatosDataTable)(base.Tables["reporteSindicatos"]));
     if ((initTable == true)) {
         if ((this.tablereporteSindicatos != null)) {
             this.tablereporteSindicatos.InitVars();
         }
     }
     this.tablereporteAusenciasCantidad = ((reporteAusenciasCantidadDataTable)(base.Tables["reporteAusenciasCantidad"]));
     if ((initTable == true)) {
         if ((this.tablereporteAusenciasCantidad != null)) {
             this.tablereporteAusenciasCantidad.InitVars();
         }
     }
     this.tableReporteEmpleado = ((ReporteEmpleadoDataTable)(base.Tables["ReporteEmpleado"]));
     if ((initTable == true)) {
         if ((this.tableReporteEmpleado != null)) {
             this.tableReporteEmpleado.InitVars();
         }
     }
 }