Skip to content

dbo.ethKpiMeasures ​

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

Columns ​

#ColumnTypeNullableFlagsDescription
1IDintnoidentitySurrogate primary key identifying this KPI measure definition.
2StatusNamevarchar(100)noThe job status this KPI measure/target applies to.
3DaysKPIintyesThe target number of days a job should spend in this status before breaching the KPI.
4JobTagvarchar(50)yesOptional job tag used to restrict this KPI measure to jobs carrying a matching tag.
5FromDatedatenoThe start date from which this KPI measure definition is effective.
6ToDatedatenoThe end date until which this KPI measure definition is effective.
7FromJobValuemoneyyesThe lower bound of the job value (authorised total including tax) range this KPI measure applies to.
8ToJobValuemoneyyesThe upper bound of the job value (authorised total including tax) range this KPI measure applies to.
9KPICalcMethodtinyintyesA 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.
10SortintnoThe display/priority order used when selecting between multiple matching KPI measures for a job.
11CreatedAtdatetimenoThe date and time this KPI measure definition was created.
12HoursKPIintyesThe target number of hours a job should spend in this status before breaching the KPI.
13KpiDurationDescriptionvarchar(32)yescomputedComputed human-readable rendering of HoursKPI as a duration string (e.g. '2 Days 4 Hours' or 'None').
14JobFilterTagIDuniqueidentifieryesOptional foreign key to a Prime Ecosystem job filter tag; when set, restricts this KPI measure to jobs carrying that filter tag.

Relationships (inferred) ​

FromToConfidence
dbo.ethKpiMeasures.StatusNamedbo.ethKpiJobInstance.StatusNamemedium
dbo.ethKpiMeasures.StatusNamedbo.ethKpiJobSummary.StatusNamehigh
dbo.primeJobFilterTags.FilterTagIddbo.ethKpiMeasures.JobFilterTagIDhigh

Referenced by ​

Views: dbo.vEthKpiResults_Deprecated, dbo.vEthKpiResultsActive_Deprecated, dbo.vEthKpiResultsClosed_Deprecated

Procedures: dbo.spEthKpiResultsActive, dbo.spEthKpiResultsActiveAll, dbo.spEthKpiResultsbyJobId