Appearance
dbo.ethKpiResultsActiveAll
Info Generated by
scripts/Generate-DataDictionary.ps1- do not edit by hand. Edit descriptions inschemas/tables/dbo.ethKpiResultsActiveAll.jsonand regenerate.
Columns
| # | Column | Type | Nullable | Flags | Description |
|---|---|---|---|---|---|
| 1 | JobId | uniqueidentifier | no | ID of the job this KPI result row relates to (links to the Prime Ecosystem job). | |
| 2 | JobNumber | nvarchar(50) | no | Human-readable job number for the job. | |
| 3 | PrimeUrl | nvarchar(255) | yes | Direct URL to the job's record in the Prime Ecosystem web application. | |
| 4 | AuthorisedTotalIncludingTax | decimal(18,2) | yes | Total authorised job value including tax. | |
| 5 | AddressState | nvarchar(50) | yes | Australian state/territory of the job address. | |
| 6 | FullAddress | nvarchar(500) | yes | Full formatted street address of the job. | |
| 7 | StatusName | nvarchar(100) | no | Name of the job's current Prime Ecosystem status. | |
| 8 | KpiResultFromDate | datetime | yes | Start date/time of the period this KPI measurement covers. | |
| 9 | KpiResultChurn | int | yes | Count of how many times this KPI measurement has been recalculated/reset (churn count) for the job. | |
| 10 | SpanDurationHours | int | yes | Elapsed wall-clock hours spanned between the KPI measurement's from and to dates. | |
| 11 | SumDurationHours | int | yes | Total accumulated hours counted towards the KPI (e.g. excluding paused/non-business time). | |
| 12 | KPICalcMethod | tinyint | yes | Code identifying which calculation method was used to compute this KPI (e.g. span vs summed duration). | |
| 13 | HoursKPI | int | yes | Target number of hours allowed for this KPI to be considered met. | |
| 14 | ActualDurationHours | int | yes | Actual measured duration in hours used to assess the KPI. | |
| 15 | KpiMet | bit | no | Flag indicating whether the KPI target was met for this job. | |
| 16 | Sort | int | yes | Sort order used to order KPI result rows for display. | |
| 17 | Supervisor | nvarchar(200) | yes | Name of the supervisor responsible for the job at the time of measurement. | |
| 18 | Assigned | nvarchar(200) | yes | Name of the person the job is currently assigned to. | |
| 19 | CaseManager | nvarchar(200) | yes | Name of the case manager responsible for the job. | |
| 20 | Estimator | nvarchar(200) | yes | Name of the estimator assigned to the job. | |
| 21 | Role | nvarchar(200) | yes | Name of the role responsible for meeting this KPI. | |
| 22 | Manager | nvarchar(200) | yes | Name of the manager responsible for oversight of this KPI/job. | |
| 23 | KpiResultFromDateFY | varchar(25) | no | computed | Computed Australian financial year (e.g. '2024/2025') that the KPI's from-date falls within. |
| 24 | SpanDurationDescription | varchar(32) | yes | computed | Human-readable description of SpanDurationHours (e.g. '2 Days 3 Hours'). |
| 25 | SumDurationDescription | varchar(32) | yes | computed | Human-readable description of SumDurationHours (e.g. '2 Days 3 Hours'). |
| 26 | HoursKPIDescription | varchar(32) | yes | computed | Human-readable description of the HoursKPI target duration (e.g. '2 Days 3 Hours'). |
| 27 | ActualDurationDescription | varchar(32) | yes | computed | Human-readable description of ActualDurationHours (e.g. '2 Days 3 Hours'). |
| 28 | ActualDuationDays | decimal(18,2) | yes | computed | Actual measured duration converted to (fractional) days. |
| 29 | MeasureJobTag | nvarchar(50) | yes | Job tag used to segment/scope which KPI measure applies to this job (e.g. Field/Desktop/Complex). | |
| 30 | MeasureFromJobValue | money | yes | Lower bound of job value used to determine which KPI measure/threshold applies. | |
| 31 | MeasureToJobValue | money | yes | Upper bound of job value used to determine which KPI measure/threshold applies. | |
| 32 | MeasureSummary | nvarchar(4000) | yes | computed | Human-readable summary describing the job tag and value range this KPI measure applies to. |
| 33 | CatastropheCode | nvarchar(200) | yes | Catastrophe event code the job is linked to, if the job relates to a declared catastrophe. | |
| 35 | MeasureJobType | varchar(7) | no | computed | Computed classification of the job (Field, Desktop, or Blank) derived from MeasureJobTag. |
| 36 | ManagerResponsibleList | varchar(83) | no | computed | Computed comma-delimited list of manager role titles responsible for this KPI/job type. |
| 37 | InstructingClient | nvarchar(255) | yes | Name of the client/insurer who instructed the job. |
Referenced by
Procedures: dbo.spEthKpiResultsActiveAll

