Search Results for

    Show / Hide Table of Contents

    Class RankDetail

    This is used to show an associate's progress towards a specific rank.

    Inheritance
    System.Object
    RankDetail
    Namespace: DirectScale.Disco.Extension
    Assembly: DirectScale.Disco.Extension.Abstractions.dll
    Syntax
    public class RankDetail : Object

    Constructors

    RankDetail()

    Declaration
    public RankDetail()

    Properties

    ConditionId

    The name of the condition defined in the xml template.

    Declaration
    public string ConditionId { get; set; }
    Property Value
    Type Description
    System.String

    Description

    The text description of the rank.

    Declaration
    public string Description { get; set; }
    Property Value
    Type Description
    System.String

    IsBool

    If this is true, most of the other properties don't mean anything. The condition will be something simple like "Are they the associate type 2?", which won't have a meaningful minimum value and percent complete.

    Declaration
    public bool IsBool { get; set; }
    Property Value
    Type Description
    System.Boolean
    Remarks

    If true, Value should be equal to MeetsCondition's int representation (1: true, 0: false).

    IsGvCondition

    Indicates if this requirement is for the group volume.

    Declaration
    public bool IsGvCondition { get; set; }
    Property Value
    Type Description
    System.Boolean

    Max

    The maximum they can have and still achieve the rank (volume, orders, etc).

    Declaration
    public double Max { get; set; }
    Property Value
    Type Description
    System.Double
    Remarks

    Often the value here is -1 to indicate there is no maximum value.

    MaxPerLeg

    If there is a limit to how much from each leg to the associate's Value, this indicates that limit. Otherwise, this will be -1.

    Declaration
    public float MaxPerLeg { get; set; }
    Property Value
    Type Description
    System.Single

    MeetsCondition

    Indicates if the associate has met the condition or not.

    Declaration
    public bool MeetsCondition { get; set; }
    Property Value
    Type Description
    System.Boolean

    Min

    The minimum they need to meet this condition (volume, orders, etc).

    Declaration
    public double Min { get; set; }
    Property Value
    Type Description
    System.Double

    PercentComplete

    Indicates how close the associate is to meeting this condition. Usually this is Value divided by Min.

    Declaration
    public double PercentComplete { get; set; }
    Property Value
    Type Description
    System.Double

    RankId

    The rank being described.

    Declaration
    public int RankId { get; set; }
    Property Value
    Type Description
    System.Int32

    RankRuleId

    The name of the rule defined in the xml template..

    Declaration
    public string RankRuleId { get; set; }
    Property Value
    Type Description
    System.String

    Tree

    The tree used for this condition.

    Declaration
    public TreeType Tree { get; set; }
    Property Value
    Type Description
    TreeType

    Value

    The value the associate actually obtained.

    Declaration
    public double Value { get; set; }
    Property Value
    Type Description
    System.Double
    In This Article
    Back to top Copyright © 2022 DirectScale
    Generated by DocFX