public Nullable<double> GetPlanValue( Indicator indicator, Nullable<DateTime> date, User user )
Get the indicator plan value
Syntax
public Nullable<double> GetPlanValue( Indicator indicator, Nullable<DateTime> date, User user )
Parameters
- indicator
- Type: Indicator
Indicator. Object. Access path: PublicAPI.KPI.Indicator
- date
- Type: System Nullable DateTime
Date; if not specified, the current time is used
- user
- Type: User
User, if specified, then get the personal value. Object. Access path: PublicAPI.Portal.Security.User
Return Value
Type: Nullable DoubleIndicator Value over a period
Examples
//indicator - indicator, IIndicator type object //planValue - Get the list of personal indicator responsibles var planValue = PublicAPI.KPI.Indicator.GetPrevValue(indicator); //date - date; if not specified, the current time is used var planValue = PublicAPI.KPI.Indicator.GetPrevValue(indicator, date); //user - User, if specified, then get the personal value var planValue = PublicAPI.KPI.Indicator.GetPrevValue(indicator, date, user);
See Also