Skip to content

dbo.ethKpiMeasures_Deprecated ​

Info Generated by scripts/Generate-DataDictionary.ps1 - do not edit by hand. Edit descriptions in schemas/tables/dbo.ethKpiMeasures_Deprecated.json and regenerate.

Columns ​

#ColumnTypeNullableFlagsDescription
1IDintnoidentitySurrogate primary key identifying this deprecated KPI measure definition.
2StatusNamevarchar(100)noThe job status this KPI measure/target applied to.
3DaysKPIintyesThe target number of days a job should spend in this status before breaching the KPI.
4SupervisorTypevarchar(50)noRestricts this KPI measure to jobs whose supervisor is of this type/role, in this earlier version of the KPI subsystem (superseded by JobTag/JobFilterTagID in the current ethKpiMeasures table).
5FromDatedatenoThe start date from which this KPI measure definition was effective.
6ToDatedatenoThe end date until which this KPI measure definition was effective.
7FromJobValuemoneyyesThe lower bound of the job value range this KPI measure applied to.
8ToJobValuemoneyyesThe upper bound of the job value range this KPI measure applied to.
9SortintnoThe display/priority order used when selecting between multiple matching KPI measures for a job.
10DateModifieddatetimenoThe date and time this KPI measure definition was last modified.
11KPICalcMethodtinyintyesA code selecting how elapsed time is calculated against the KPI target: 0 measures continuous elapsed time since the job entered the status, other values measure cumulative summed duration across repeat instances of the status.

Indexes ​

NameTypeUniquePKKey columnsIncludedFilter
IX_ethKpiMeasures_StatusType_FromDateNONCLUSTEREDStatusName, SupervisorType, FromDateDaysKPI, FromJobValue, KPICalcMethod, Sort, ToDate, ToJobValue
IX_ethKpiMeasures_StatusType_ToDateNONCLUSTEREDStatusName, SupervisorType, ToDateDaysKPI, FromDate, FromJobValue, KPICalcMethod, Sort, ToJobValue
IX_ethKpiMeasures_StatusType_FromJobValueNONCLUSTEREDStatusName, SupervisorType, FromJobValueDaysKPI, FromDate, KPICalcMethod, Sort, ToDate, ToJobValue
IX_ethKpiMeasures_Status_SupervisorNONCLUSTEREDStatusName, SupervisorTypeDaysKPI, FromDate, FromJobValue, KPICalcMethod, Sort, ToDate, ToJobValue