public override object Evaluate(PXCache cache, object item, Dictionary <Type, object> pars) { try { return(DeprCalcParameters.GetRecoveryEndDate(cache.Graph, (FABookBalance)item)); } catch (PXException ex) { throw new PXSetPropertyException(ex.Message, PXErrorLevel.Error); } catch { return(null); } }
public override object Evaluate(PXCache cache, object item, Dictionary <Type, object> pars) { try { return(PeriodIDAttribute.FormatForDisplay(DeprCalcParameters.GetRecoveryStartPeriod(cache.Graph, (FABookBalance)item))); } catch (PXException ex) { throw new PXSetPropertyException(ex.Message, PXErrorLevel.Error); } catch { return(null); } }