/*Recupero-Simulador-->Se agrego pq lo uitliza ABM_Novedades_Recupero*/ #region CuotaSocial_TraeXCuil public static string Novedad_CuotaSocial_TraeXCuil(long id_Beneficiario, long id_Prestador, out string valor) { valor = string.Empty; try { WSNovedad.NovedadWS oServicio = new WSNovedad.NovedadWS(); oServicio.Url = ConfigurationManager.AppSettings[oServicio.GetType().ToString()]; oServicio.Credentials = System.Net.CredentialCache.DefaultCredentials; WSNovedad.CuotaSocial oCuotaSocial = oServicio.CuotaSocial_TraeXCuil(id_Beneficiario, id_Prestador); if (oCuotaSocial != null) { if (!string.IsNullOrEmpty(oCuotaSocial.Error)) { valor = oCuotaSocial.Error; } else { valor = oCuotaSocial.Valor.ToString(); } } return(valor); } catch (Exception ex) { log.Error(string.Format("ERROR Ejecución:{0}->{1} - Error:{2}->{3}", DateTime.Now, System.Reflection.MethodBase.GetCurrentMethod(), ex.Source, ex.Message)); throw ex; } }