private List <GS_GetPlanificacionDetalleByIdPlanResult> CierreContableByPlan_Cargar(int idEmpresa, int codigoUsuario, string idPlanificacion)
        {
            PlanificacionWCFClient objCierreByPlanWCF = new PlanificacionWCFClient();

            try
            {
                List <GS_GetPlanificacionDetalleByIdPlanResult> lstCierreByPlan = objCierreByPlanWCF.GetPlanificacionDetalleByIdPlan(idEmpresa, codigoUsuario, idPlanificacion).ToList();

                ViewState["lstCierreByPlan"] = JsonHelper.JsonSerializer(lstCierreByPlan);
                return(lstCierreByPlan);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }
        private void CierreContableByPlan_Cargar(int idEmpresa, int codigoUsuario, string idPlanificacion)
        {
            PlanificacionWCFClient objCierreByPlanWCF = new PlanificacionWCFClient();

            try
            {
                List <GS_GetPlanificacionDetalleByIdPlanResult> lstCierreByPlan = objCierreByPlanWCF.GetPlanificacionDetalleByIdPlan(idEmpresa, codigoUsuario, idPlanificacion).ToList();
                grdCierreContable.DataSource = lstCierreByPlan;
                grdCierreContable.DataBind();

                ViewState["lstCierreByPlan"] = JsonHelper.JsonSerializer(lstCierreByPlan);
                ViewState["idEmpresa"]       = idEmpresa;
                ViewState["codigoUsuario"]   = codigoUsuario;
            }
            catch (Exception ex)
            {
                lblMensaje.Text     = ex.Message;
                lblMensaje.CssClass = "mensajeError";
            }
        }