コード例 #1
0
        private void CargarDatos()
        {
            ProcesoSeleccionNegocio nProceso = new ProcesoSeleccionNegocio();

            var vEntrevista = nProceso.ObtieneEntrevistaProcesoSeleccion(pIdEntrevista: vIdEntrevista).FirstOrDefault();

            if (vEntrevista != null)
            {
                cmbTipoEntrevista.SelectedValue = vEntrevista.ID_ENTREVISTA_TIPO.ToString();
                vFeEntrevista = vEntrevista.FE_ENTREVISTA;
                RadListBoxItem vItem = new RadListBoxItem();
                vItem.Text            = vEntrevista.NB_ENTREVISTADOR;
                vItem.Value           = vEntrevista.ID_ENTREVISTADOR.ToString();
                txtEntrevistador.Text = vItem.Text;
                vIdEntrevistador      = vEntrevista.ID_ENTREVISTADOR;
                //lstEntrevistador.Items.Add(vItem);
                txtCorreoEntrevistador.Text = vEntrevista.CL_CORREO_ENTREVISTADOR;
                txtPuesto.Text     = vEntrevista.NB_PUESTO_ENTREVISTADOR;
                txtDsNotas.Content = vEntrevista.DS_OBSERVACIONES;

                vCltocken     = vEntrevista.CL_TOKEN;
                vFlEntrevista = vEntrevista.FL_ENTREVISTA.Value;
            }
            if (vIdEntrevistador == null)
            {
                txtEntrevistador.Enabled = true;
                txtPuesto.Enabled        = true;
            }
            else
            {
                txtEntrevistador.Enabled = false;
                txtPuesto.Enabled        = false;
            }
        }
コード例 #2
0
        protected void btnGuardar_Click(object sender, EventArgs e)
        {
            ProcesoSeleccionNegocio nProcesoSeleccion = new ProcesoSeleccionNegocio();
            XElement vXmlreferencias = new XElement("REFERENCIAS");

            if (vLstReferencias.Count >= 1)
            {
                vLstReferencias[0].NB_REFERENCIA             = txtNombreReferencia.Text;
                vLstReferencias[0].NB_PUESTO_REFERENCIA      = txtPuestoReferencia.Text;
                vLstReferencias[0].FG_INFORMACION_CONFIRMADA = chkInformacionConfirmadaSi.Checked;
                vLstReferencias[0].DS_COMENTARIOS            = txtDsNotas.Text;
            }

            vXmlreferencias.Add(vLstReferencias.Select(t =>
                                                       new XElement("REFERENCIA",
                                                                    new XAttribute("ID_EXPERIENCIA_LABORAL", t.ID_EXPERIENCIA_LABORAL),
                                                                    new XAttribute("NB_REFERENCIA", t.NB_REFERENCIA),
                                                                    new XAttribute("NB_PUESTO_REFERENCIA", t.NB_PUESTO_REFERENCIA),
                                                                    new XAttribute("FG_INFORMACION_PROPORCIONADA", t.FG_INFORMACION_CONFIRMADA),
                                                                    new XAttribute("DS_COMENTARIOS", t.DS_COMENTARIOS))));

            var vRespuesta = nProcesoSeleccion.ActualizaReferenciasExperienciaLaboral(vXmlreferencias.ToString(), vClUsuario, vNbPrograma);

            UtilMensajes.MensajeResultadoDB(rnMensaje, vRespuesta.MENSAJE[0].DS_MENSAJE.ToString(), vRespuesta.CL_TIPO_ERROR, 400, 150, pCallBackFunction: "generateDataForParent");
        }
コード例 #3
0
        protected void rgComentariosEntrevistas_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
        {
            ProcesoSeleccionNegocio nProcesoSeleccion = new ProcesoSeleccionNegocio();
            var vProcesoSeleccion = nProcesoSeleccion.ObtieneProcesoSeleccion(pIdCandidato: vIdCandidato).FirstOrDefault();

            rgComentariosEntrevistas.DataSource = nProcesoSeleccion.ObtieneComentariosEntrevistaProcesoSeleccion(pIdProceso: vIdProcesoSeleccion);
        }
コード例 #4
0
        protected void Page_Load(object sender, EventArgs e)
        {
            vClUsuario  = ContextoUsuario.oUsuario.CL_USUARIO;
            vNbPrograma = ContextoUsuario.nbPrograma;

            if (!Page.IsPostBack)
            {
                if (Request.Params["IdCandidato"] != null)
                {
                    vIdCandidato = int.Parse(Request.Params["IdCandidato"].ToString());
                }

                if (Request.Params["IdProcesoSeleccion"] != null)
                {
                    vIdProcesoSeleccion = int.Parse(Request.Params["IdProcesoSeleccion"].ToString());
                }

                ProcesoSeleccionNegocio nProcesoSeleccion = new ProcesoSeleccionNegocio();

                var vProcesoSeleccion = nProcesoSeleccion.ObtieneProcesoSeleccion(pIdProcesoSeleccion: vIdProcesoSeleccion).FirstOrDefault();

                if (vProcesoSeleccion != null)
                {
                    txtCandidato.InnerText        = vProcesoSeleccion.NB_CANDIDATO_COMPLETO;
                    txtClaveRequisicion.InnerText = vProcesoSeleccion.NO_REQUISICION;
                }
            }
        }
コード例 #5
0
        private void CargarCatalogos()
        {
            ProcesoSeleccionNegocio nProceso = new ProcesoSeleccionNegocio();

            var vLstTipoentrevista = nProceso.ObtieneTipoEntrevista();

            cmbTipoEntrevista.DataSource = vLstTipoentrevista;
            cmbTipoEntrevista.DataBind();
        }
コード例 #6
0
        protected void btnEliminar_Click(object sender, EventArgs e)
        {
            ProcesoSeleccionNegocio nProcesoSeleccion = new ProcesoSeleccionNegocio();

            foreach (GridDataItem item in grdProcesoSeleccion.SelectedItems)
            {
                int         vIdProcesoSeleccion = int.Parse(item.GetDataKeyValue("ID_PROCESO_SELECCION").ToString());
                E_RESULTADO vResultado          = nProcesoSeleccion.EliminaProcesoSeleccion(pIdProcesoSeleccion: vIdProcesoSeleccion);
                string      vMensaje            = vResultado.MENSAJE.Where(w => w.CL_IDIOMA.Equals(vClIdioma.ToString())).FirstOrDefault().DS_MENSAJE;
                UtilMensajes.MensajeResultadoDB(rnMensaje, vMensaje, vResultado.CL_TIPO_ERROR, pCallBackFunction: null);
                grdProcesoSeleccion.Rebind();
            }
        }
コード例 #7
0
        protected void Page_Load(object sender, EventArgs e)
        {
            vClUsuario  = ContextoUsuario.oUsuario.CL_USUARIO;
            vNbPrograma = ContextoUsuario.nbPrograma;


            if (!IsPostBack)
            {
                if (Request.QueryString["IdExperiencia"] != null && Request.QueryString["idCandidato"] != null)
                {
                    vIdExperiencia  = int.Parse((Request.QueryString["IdExperiencia"]));
                    vIdCandidato    = int.Parse((Request.QueryString["idCandidato"]));
                    vLstReferencias = new List <E_REFERENCIA_CANDIDATO>();

                    ProcesoSeleccionNegocio nProcesoSeleccion = new ProcesoSeleccionNegocio();
                    var referencias = nProcesoSeleccion.ObtieneExperienciaLaboral(pIdCandidato: vIdCandidato, pIdExperienciaLaboral: vIdExperiencia).FirstOrDefault();

                    vLstReferencias.Add(new E_REFERENCIA_CANDIDATO {
                        ID_EXPERIENCIA_LABORAL = referencias.ID_EXPERIENCIA_LABORAL
                    });
                    txtEmpresa.InnerText               = referencias.NB_EMPRESA;
                    txtGiroEmpresa.InnerText           = referencias.NB_GIRO;
                    txtInicio.InnerText                = referencias.FE_INICIO;
                    txtFin.InnerText                   = referencias.FE_FIN;
                    txtPuestoDesempenado.InnerText     = referencias.NB_PUESTO;
                    txtFuncionesDesempenadas.InnerText = referencias.DS_FUNCIONES;
                    txtNombreJefe.InnerText            = referencias.NB_CONTACTO;
                    txtPuestoJefe.InnerText            = referencias.NB_PUESTO_CONTACTO;
                    txtTelefonoJefe.InnerText          = referencias.NO_TELEFONO_CONTACTO;
                    txtCorreoJefe.InnerText            = referencias.CL_CORREO_ELECTRONICO;

                    txtNombreReferencia.Text = referencias.NB_REFERENCIA;
                    txtPuestoReferencia.Text = referencias.NB_PUESTO_REFERENCIA;
                    if (referencias.CL_INFORMACION_CONFIRMADA == "Sí")
                    {
                        chkInformacionConfirmadaSi.Checked = true;
                        chkInformacionConfirmadaNo.Checked = false;
                    }
                    else
                    {
                        chkInformacionConfirmadaNo.Checked = true;
                        chkInformacionConfirmadaSi.Checked = false;
                    }
                    txtDsNotas.Content = referencias.DS_COMENTARIOS;
                }
            }
        }
コード例 #8
0
        private void GuardarDatos()
        {
            ProcesoSeleccionNegocio nProcesoSeleccion = new ProcesoSeleccionNegocio();

            E_RESULTADO vResultado = nProcesoSeleccion.ActualizaComentarioEntrevista(vIdEntrevista, txtDsNotas.Content, vClUsuario, vNbPrograma);
            string      vMensaje   = vResultado.MENSAJE.Where(w => w.CL_IDIOMA.Equals(vClIdioma.ToString())).FirstOrDefault().DS_MENSAJE;

            if (vResultado.CL_TIPO_ERROR == E_TIPO_RESPUESTA_DB.SUCCESSFUL)
            {
                UtilMensajes.MensajeResultadoDB(rnMensaje, vMensaje, vResultado.CL_TIPO_ERROR);
                Response.Redirect("~/Logout.aspx");
            }
            else
            {
                UtilMensajes.MensajeResultadoDB(rnMensaje, vMensaje, vResultado.CL_TIPO_ERROR, pCallBackFunction: "");
            }
        }
コード例 #9
0
        private void CargarDatos()
        {
            ProcesoSeleccionNegocio nProcesoSeleccion = new ProcesoSeleccionNegocio();

            var vProcesoSeleccion = nProcesoSeleccion.ObtieneProcesoSeleccion(pIdProcesoSeleccion: vIdProcesoSeleccion).FirstOrDefault();

            if (vProcesoSeleccion != null)
            {
                txtCandidato.InnerText        = vProcesoSeleccion.NB_CANDIDATO_COMPLETO;
                txtClaveRequisicion.InnerText = vProcesoSeleccion.NO_REQUISICION;
                txtPuestoAplicar.InnerText    = vProcesoSeleccion.NB_PUESTO;
            }

            var vEntrevista = nProcesoSeleccion.ObtieneEntrevistaProcesoSeleccion(pIdEntrevista: vIdEntrevista).FirstOrDefault();

            if (vEntrevista != null)
            {
                txtDsNotas.Content = vEntrevista.DS_OBSERVACIONES;
            }
        }
コード例 #10
0
        private void GuardarDatos()
        {
            E_ENTREVISTA            vEntrevista = new E_ENTREVISTA();
            ProcesoSeleccionNegocio nProceso    = new ProcesoSeleccionNegocio();

            var vEntrevistas = vIdEntrevista != null?nProceso.ObtieneEntrevistaProcesoSeleccion(pIdEntrevista : vIdEntrevista).FirstOrDefault() : null;


            string vClTipoSeleccion = "";

            vEntrevista.CL_CORREO_ENTREVISTADOR = txtCorreoEntrevistador.Text;
            vEntrevista.DS_OBSERVACIONES        = txtDsNotas.Content;
            vEntrevista.ID_ENTREVISTA_TIPO      = int.Parse(cmbTipoEntrevista.SelectedValue);
            vEntrevista.ID_PROCESO_SELECCION    = vIdProcesoSeleccion;

            //if (lstEntrevistador.SelectedItem != null && lstEntrevistador.Items[0].Value != "")
            //{
            //    vEntrevista.ID_ENTREVISTADOR = int.Parse(lstEntrevistador.Items[0].Value);
            //    vEntrevista.NB_ENTREVISTADOR = lstEntrevistador.Items[0].Text;
            //    vEntrevista.NB_PUESTO_ENTREVISTADOR = txtPuesto.Text;
            //}
            //else if (vEntrevistas != null && lstEntrevistador.Items[0].Value != "")
            //{
            //    vEntrevista.ID_ENTREVISTADOR = int.Parse(lstEntrevistador.Items[0].Value);
            //    vEntrevista.NB_ENTREVISTADOR = lstEntrevistador.Items[0].Text;
            //    vEntrevista.NB_PUESTO_ENTREVISTADOR = txtPuesto.Text;
            //}
            if (txtEntrevistador.Text != "")
            {
                int idEntrevistador = (vIdEntrevistador != null) ? Convert.ToInt32(vIdEntrevistador) : 0;
                vEntrevista.ID_ENTREVISTADOR        = idEntrevistador;
                vEntrevista.NB_ENTREVISTADOR        = txtEntrevistador.Text;
                vEntrevista.NB_PUESTO_ENTREVISTADOR = txtPuesto.Text;
            }
            else if (vEntrevistas != null && txtEntrevistador.Text != "")
            {
                int idEntrevistador = (vIdEntrevistador != null) ? Convert.ToInt32(vIdEntrevistador) : 0;
                vEntrevista.ID_ENTREVISTADOR        = idEntrevistador;
                vEntrevista.NB_ENTREVISTADOR        = txtEntrevistador.Text;
                vEntrevista.NB_PUESTO_ENTREVISTADOR = txtPuesto.Text;
            }
            else
            {
                UtilMensajes.MensajeResultadoDB(rnMensaje, "No se ha seleccionado un entrevistador", E_TIPO_RESPUESTA_DB.WARNING, pCallBackFunction: null);
                return;
            }

            if (vIdEntrevista != 0)
            {
                vClTipoSeleccion          = E_TIPO_OPERACION_DB.A.ToString();
                vEntrevista.ID_ENTREVISTA = vIdEntrevista;
                vEntrevista.FE_ENTREVISTA = vFeEntrevista;
                vEntrevista.CL_TOKEN      = vCltocken;
                vEntrevista.FL_ENTREVISTA = vFlEntrevista;
            }
            else
            {
                vClTipoSeleccion          = E_TIPO_OPERACION_DB.I.ToString();
                vEntrevista.FE_ENTREVISTA = DateTime.Now;
                vEntrevista.FL_ENTREVISTA = Guid.NewGuid();
                vEntrevista.CL_TOKEN      = Membership.GeneratePassword(12, 1);
            }

            E_RESULTADO vRespuesta = nProceso.InsertaActualizaEntrevista(vClTipoSeleccion, vEntrevista, vClUsuario, vNbPrograma);
            string      vMensaje   = vRespuesta.MENSAJE.Where(w => w.CL_IDIOMA.Equals(vClIdioma.ToString())).FirstOrDefault().DS_MENSAJE;

            if (vRespuesta.CL_TIPO_ERROR == E_TIPO_RESPUESTA_DB.SUCCESSFUL)
            {
                UtilMensajes.MensajeResultadoDB(rnMensaje, vMensaje, vRespuesta.CL_TIPO_ERROR, pCallBackFunction: "generateDataForParent");
            }
            else
            {
                UtilMensajes.MensajeResultadoDB(rnMensaje, vMensaje, vRespuesta.CL_TIPO_ERROR, pCallBackFunction: "");
            }
        }
コード例 #11
0
ファイル: ProcesoExterno.cs プロジェクト: AcruxPDE/SIGEIN50
        /// <summary>
        /// Obtener la información del proceso que se realizara
        /// </summary>
        /// <param name="Proceso">Clave del proceso.</param>
        /// <param name="Folio">Folio correspondiente al proceso. Con este folio se obtienen los datos a mostrar.</param>
        /// <returns>Regresa un booleano en caso de que no exista información dependiendo del folio y el proceso.</returns>
        public bool ObtenerInformacionProceso(string Proceso)
        {
            bool resultado;


            switch (Proceso)
            {
            case "EVALUACION":

                EventoCapacitacionOperaciones op = new EventoCapacitacionOperaciones();

                E_EVENTO evento = op.ObtenerEventos(FL_EVENTO: FolioProceso).FirstOrDefault();

                if (evento != null)
                {
                    IdProceso           = evento.ID_EVENTO;
                    NombreProceso       = evento.NB_EVENTO;
                    UsuarioProceso      = evento.NB_EVALUADOR;
                    ContraseñaProceso   = evento.CL_TOKEN;
                    FechaInicialProceso = evento.FE_EVALUACION.Value;
                    FechaFinalProceso   = evento.FE_EVALUACION.Value;
                    // FechaFinalProceso = evento.FE_TERMINO;
                    MensajeError = "";
                    resultado    = true;
                }
                else
                {
                    MensajeError = "El evento no existe.";
                    resultado    = false;
                }
                break;

            case "CUESTIONARIOS":
                PeriodoOperaciones oPeriodo = new PeriodoOperaciones();

                SPE_OBTIENE_FYD_PERIODO_EVALUADOR_Result oPeriodoEvaluador = oPeriodo.ObtenerPeriodoEvaluador(pFlEvaluador: FolioProceso);
                if (oPeriodoEvaluador != null)
                {
                    int  oPeriodoEvaluadorcontestado = oPeriodo.ObtenerPeriodoEvaluadorContestado(pFlEvaluador: FolioProceso);
                    bool fg_contestado_total;
                    if (oPeriodoEvaluadorcontestado > 0)
                    {
                        fg_contestado_total = false;
                    }
                    else
                    {
                        fg_contestado_total = true;
                    }
                    IdProceso                = oPeriodoEvaluador.ID_EVALUADOR;
                    NombreProceso            = oPeriodoEvaluador.NB_PERIODO;
                    UsuarioProceso           = oPeriodoEvaluador.NB_EVALUADOR;
                    ContraseñaProceso        = oPeriodoEvaluador.CL_TOKEN;
                    fgCuestionarioContestado = fg_contestado_total;
                    clEstatusProceso         = oPeriodoEvaluador.CL_ESTADO_PERIODO;
                    MensajeError             = "";
                    resultado                = true;
                }
                else
                {
                    MensajeError = "El periodo no existe.";
                    resultado    = false;
                }

                break;

            case "CLIMALABORAL":

                ClimaLaboralOperaciones oClima = new ClimaLaboralOperaciones();
                SPE_OBTIENE_EO_PERIODO_EVALUADOR_Result oClimaEvaluador = oClima.ObtenerPeriodoEvaluador(pFlEvaluador: FolioProceso);

                if (oClimaEvaluador != null)
                {
                    IdProceso                = oClimaEvaluador.ID_EVALUADOR;
                    IdPeriodo                = oClimaEvaluador.ID_PERIODO;
                    NombreProceso            = oClimaEvaluador.NB_PERIODO;
                    UsuarioProceso           = oClimaEvaluador.NB_EVALUADOR;
                    ContraseñaProceso        = oClimaEvaluador.CL_TOKEN;
                    fgCuestionarioContestado = oClimaEvaluador.FG_CONTESTADO;
                    clEstadoEmpleado         = oClimaEvaluador.CL_ESTADO_EMPLEADO;
                    MensajeError             = "";
                    resultado                = true;
                }
                else
                {
                    MensajeError = "El periodo no existe.";
                    resultado    = false;
                }
                break;

            case "ENTREVISTA_SELECCION":

                ProcesoSeleccionNegocio nProcesoSeleccion = new ProcesoSeleccionNegocio();
                var vProcesoSeleccion = nProcesoSeleccion.ObtieneEntrevistaProcesoSeleccion(pFlEntrevista: FolioProceso).FirstOrDefault();

                if (vProcesoSeleccion != null)
                {
                    IdProceso         = vProcesoSeleccion.ID_ENTREVISTA;
                    IdPeriodo         = vProcesoSeleccion.ID_PROCESO_SELECCION;
                    UsuarioProceso    = vProcesoSeleccion.NB_ENTREVISTADOR;
                    ContraseñaProceso = vProcesoSeleccion.CL_TOKEN;

                    resultado = true;
                }
                else
                {
                    MensajeError = "La entrevista no existe.";
                    resultado    = false;
                }

                break;

            case "NOTIFICACIONRRHH":

                RequisicionNegocio nNotificacion = new RequisicionNegocio();
                var vNotificacion = nNotificacion.ObtieneRequisicion(flNotificacion: FolioProceso).FirstOrDefault();

                if (vNotificacion != null)
                {
                    IdProceso         = (int)vNotificacion.ID_PUESTO;
                    IdPeriodo         = (int)vNotificacion.ID_REQUISICION;
                    NombreProceso     = vNotificacion.NB_PUESTO;
                    ContraseñaProceso = vNotificacion.CL_TOKEN_PUESTO;
                    FlRequisicion     = vNotificacion.NO_REQUISICION;
                    clEstatusProceso  = vNotificacion.CL_ESTATUS_PUESTO;
                    resultado         = true;
                }
                else
                {
                    MensajeError = "El puesto no existe.";
                    resultado    = false;
                }

                break;

            case "AUTORIZAREQUISICION":

                RequisicionNegocio nARequisicion = new RequisicionNegocio();
                var vAutorizaRequisicion         = nARequisicion.ObtenerAutorizarRequisicion(FL_REQUISICION: FolioProceso).FirstOrDefault();

                if (vAutorizaRequisicion != null)
                {
                    IdProceso         = vAutorizaRequisicion.ID_REQUISICION;
                    FlRequisicion     = vAutorizaRequisicion.NO_REQUISICION;
                    IdPeriodo         = Convert.ToInt32(vAutorizaRequisicion.ID_REQUISICION);
                    NombreProceso     = vAutorizaRequisicion.NB_PUESTO;
                    ContraseñaProceso = vAutorizaRequisicion.CL_TOKEN_REQUISICION;
                    clEstatusProceso  = vAutorizaRequisicion.CL_ESTATUS_REQUISICION;

                    resultado = true;
                }
                else
                {
                    MensajeError = "La notificación no existe.";
                    resultado    = false;
                }
                break;

            case "AUTORIZAREQPUESTO":

                RequisicionNegocio nAReqPuesto = new RequisicionNegocio();
                var vRequisicion = nAReqPuesto.ObtenerAutorizarRequisicion(FL_REQUISICION: FolioProceso).FirstOrDefault();

                if (vRequisicion != null)
                {
                    IdProceso         = vRequisicion.ID_REQUISICION;
                    FlRequisicion     = vRequisicion.NO_REQUISICION;
                    IdPeriodo         = Convert.ToInt32(vRequisicion.ID_REQUISICION);
                    NombreProceso     = vRequisicion.NB_PUESTO;
                    ContraseñaProceso = vRequisicion.CL_TOKEN_REQUISICION;
                    clEstatusProceso  = vRequisicion.CL_ESTATUS_REQUISICION.Equals("AUTORIZADO") & vRequisicion.CL_ESTATUS_PUESTO.Equals("AUTORIZADO") ? "AUTORIZADO" : "FALTA";

                    resultado = true;
                }
                else
                {
                    MensajeError = "La requisición no existe";
                    resultado    = false;
                }
                break;

            case "DESEMPENO":

                PeriodoDesempenoNegocio oDesempeno = new PeriodoDesempenoNegocio();
                SPE_OBTIENE_EO_PERIODO_EVALUADOR_DESEMPENO_Result oDesempenoEvaluador = oDesempeno.ObtenerPeriodoEvaluadorDesempeno(pFL_EVALUADOR: FolioProceso);

                if (oDesempenoEvaluador != null)
                {
                    IdProceso         = oDesempenoEvaluador.ID_EVALUADOR;
                    IdPeriodo         = oDesempenoEvaluador.ID_PERIODO;
                    NombreProceso     = oDesempenoEvaluador.NB_PERIODO;
                    UsuarioProceso    = oDesempenoEvaluador.NB_EVALUADOR;
                    ContraseñaProceso = oDesempenoEvaluador.CL_TOKEN;
                    //clEstatusProceso = oDesempenoEvaluador.CL_ESTATUS_CAPTURA;
                    clEstatusProceso = oDesempenoEvaluador.CL_ESTADO_PERIODO;
                    clEstadoEmpleado = oDesempenoEvaluador.CL_ESTADO_EMPLEADO;
                    fgCapturaMasiva  = oDesempenoEvaluador.FG_CAPTURA_MASIVA;
                    MensajeError     = "";
                    resultado        = true;
                }
                else
                {
                    MensajeError = "El periodo no existe.";
                    resultado    = false;
                }
                break;

            case "CUESTIONARIO":

                PeriodoDesempenoNegocio oDesempenos = new PeriodoDesempenoNegocio();
                SPE_OBTIENE_EO_PERIODO_EVALUADOR_DESEMPENO_Result oDesempenoEvaluadores = oDesempenos.ObtenerPeriodoEvaluadorDesempeno(pFL_EVALUADOR: FolioProceso);

                if (oDesempenoEvaluadores != null)
                {
                    IdProceso         = oDesempenoEvaluadores.ID_EVALUADOR;
                    IdPeriodo         = oDesempenoEvaluadores.ID_PERIODO;
                    NombreProceso     = oDesempenoEvaluadores.NB_PERIODO;
                    UsuarioProceso    = oDesempenoEvaluadores.NB_EVALUADOR;
                    ContraseñaProceso = oDesempenoEvaluadores.CL_TOKEN;
                    MensajeError      = "";
                    resultado         = true;
                }
                else
                {
                    MensajeError = "El periodo no existe.";
                    resultado    = false;
                }
                break;

            default:
                resultado    = false;
                MensajeError = "No se encontró el proceso especificado";
                break;
            }


            return(resultado);
        }