public Int32 TraeUltimoEstadoYSectorSolicitud(Int64 idBeneficiario, Int16 codPrestacion, out Int32 codEstado) { ConsultasDatos objDao = new ConsultasDatos(); Int32 codSector; try { // Creo un Objeto Windows Identity para enviarle al thread asyncronico //(lo necesita para poder impersonar el thread nuevo) WindowsIdentity mThreadIdentity = WindowsIdentity.GetCurrent(); objDao.TraeUltimoEstadoYSectorSolicitud(idBeneficiario, codPrestacion, out codEstado, out codSector); } catch (Exception ex) { throw ex; } finally { objDao.Dispose(); } return(codSector); }
public List <SolicitudesEFechasSolicitud> TraeSolicitudesEFechasSolicitud(String fechaDesde, String fechaHasta, Int16?codPrestacion, Int16?codPais, Boolean Mercosur, Byte orderBy) { List <SolicitudesEFechasSolicitud> oResult = null; ConsultasDatos objDao = new ConsultasDatos(); try { // Creo un Objeto Windows Identity para enviarle al thread asyncronico //(lo necesita para poder impersonar el thread nuevo) WindowsIdentity mThreadIdentity = WindowsIdentity.GetCurrent(); oResult = objDao.TraeSolicitudesEFechasSolicitud(fechaDesde, fechaHasta, codPrestacion, codPais, Mercosur, orderBy); } catch (Exception ex) { throw ex; } finally { objDao.Dispose(); } return(oResult); }
public List <NotificacionesVencidas> TraeDevolucionesNotificadasVencidasXPlazo(Int64 PageNum, Int64 PageSize, out Int64 TotalRowsNum, Byte ordenPor, Int16 DiasPlazo) { List <NotificacionesVencidas> oResult = null; ConsultasDatos objDao = new ConsultasDatos(); try { // Creo un Objeto Windows Identity para enviarle al thread asyncronico //(lo necesita para poder impersonar el thread nuevo) WindowsIdentity mThreadIdentity = WindowsIdentity.GetCurrent(); oResult = objDao.TraeDevolucionesNotificadasVencidasXPlazo(PageNum, PageSize, out TotalRowsNum, ordenPor, DiasPlazo); } catch (Exception ex) { throw ex; } finally { objDao.Dispose(); } return(oResult); }
public List <IndicadorTotalesSector> TraeIndicadorTotalesSectorAFechaX(String AFecha) { List <IndicadorTotalesSector> oResult = null; ConsultasDatos objDao = new ConsultasDatos(); try { // Creo un Objeto Windows Identity para enviarle al thread asyncronico //(lo necesita para poder impersonar el thread nuevo) WindowsIdentity mThreadIdentity = WindowsIdentity.GetCurrent(); oResult = objDao.TraeIndicadorTotalesSectorAFechaX(AFecha); } catch (Exception ex) { throw ex; } finally { objDao.Dispose(); } return(oResult); }
public List <IndicadorPorSolicitudesPrestaciones> TraeIndicadorPorSolicitudesPrestaciones(Byte criteriotemporal, Byte param_Temporal, String anio) { List <IndicadorPorSolicitudesPrestaciones> oResult = null; ConsultasDatos objDao = new ConsultasDatos(); try { // Creo un Objeto Windows Identity para enviarle al thread asyncronico //(lo necesita para poder impersonar el thread nuevo) WindowsIdentity mThreadIdentity = WindowsIdentity.GetCurrent(); oResult = objDao.TraeIndicadorPorSolicitudesPrestaciones(criteriotemporal, param_Temporal, anio); } catch (Exception ex) { throw ex; } finally { objDao.Dispose(); } return(oResult); }
public Movimiento_Solicitud TraeUltimoMovimientoSolicitud(Int64 idBeneficiario, Int16 codPrestacion) { Movimiento_Solicitud oResult = null; ConsultasDatos objDao = new ConsultasDatos(); try { // Creo un Objeto Windows Identity para enviarle al thread asyncronico //(lo necesita para poder impersonar el thread nuevo) WindowsIdentity mThreadIdentity = WindowsIdentity.GetCurrent(); oResult = objDao.TraeUltimoMovimientoSolicitud(idBeneficiario, codPrestacion); } catch (Exception ex) { throw ex; } finally { objDao.Dispose(); } return(oResult); }