示例#1
0
 public static Persona ObtenerNovedades(Persona _persona, enum_TipoEstadoNovedad estado)
 {
     try
     {
         return(NovedadDato.ObtenerNovedades(_persona, estado));
     }
     catch (Exception err)
     {
         log.Error(string.Format("{0} - Error:{1}->{2}", System.Reflection.MethodBase.GetCurrentMethod().Name, err.Source, err.Message));
         return(null);
     }
 }
示例#2
0
 public static Novedad CambiarEstado(Novedad _novedad, enum_TipoEstadoNovedad _idEstadoDestino, long _idProducto, decimal _montoSolicitado)
 {
     try
     {
         if (log.IsDebugEnabled)
         {
             log.DebugFormat("Voy a cambiar el estado de la novedad({0})", _novedad.IdNovedad);
         }
         return(NovedadDato.CambiarEstado(_novedad, _idEstadoDestino, _idProducto, _montoSolicitado));
     }
     catch (Exception err)
     {
         log.Error(string.Format("{0} - Error:{1}->{2}", System.Reflection.MethodBase.GetCurrentMethod().Name, err.Source, err.Message));
         return(null);
     }
 }
示例#3
0
 public Novedad(long idNovedad, long cuil, string nombre, long idProducto, decimal importeTotal, string primerMensual, int cantidad_cuotas,
                decimal importe, DateTime fecha, Turno turno, enum_TipoEstadoNovedad _estado, int _versionMutuo, bool _imposibilidadFirma)
 {
     this.IdNovedad          = idNovedad;
     this.IdProducto         = idProducto;
     this.ImporteTotal       = importeTotal;
     this.PrimerMensual      = primerMensual;
     this.Cantidad_Cuotas    = cantidad_cuotas;
     this.Importe            = importe;
     this.FechaNovedad       = fecha;
     this.Turno              = turno;
     this.Estado             = _estado;
     this.Cuil               = cuil;
     this.Nombre             = nombre;
     this.VersionMutuo       = _versionMutuo;
     this.ImposibilidadFirma = _imposibilidadFirma;
 }
示例#4
0
 public Novedad(long idNovedad, long cuil, string nombre, decimal importeTotal, int cantidad_cuotas, enum_TipoEstadoNovedad _estado, DateTime _fecha, string _codConceptoLiq)
 {
     this.IdNovedad       = idNovedad;
     this.ImporteTotal    = importeTotal;
     this.Cantidad_Cuotas = cantidad_cuotas;
     this.Estado          = _estado;
     this.Cuil            = cuil;
     this.Nombre          = nombre;
     this.FechaNovedad    = _fecha;
     this.CodConceptoLiq  = _codConceptoLiq;
 }