Skip to content

dbo.ethWIPJobWeeklySnapshot ​

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

Columns ​

#ColumnTypeNullableFlagsDescription
1SnapshotWeekStartdatenoStart date (Sunday) of the calendar week this WIP snapshot row represents.
2SnapshotWeekEnddateyescomputedComputed end date of the snapshot week, 7 days after SnapshotWeekStart.
3PrimeJobIduniqueidentifiernoPrime Ecosystem job (primeJobs.id) this weekly WIP snapshot row was captured for.
4SupervisorIduniqueidentifiernoPrime Ecosystem user (primeUsers.id) of the job's supervisor at the time the snapshot was captured.
5SupervisorNamenvarchar(255)noFull name of the job's supervisor at the time the snapshot was captured.
6SupervisorTimezonenvarchar(100)yesTimezone of the supervisor's Prime Ecosystem user profile (used to derive State).
7Statevarchar(20)noAustralian state derived from the supervisor's timezone ('VIC', 'QLD', or 'Other').
8StatusIduniqueidentifieryesPrime Ecosystem job status (primeStatuses.id) recorded for the job at the time the snapshot was captured.
9CapturedAtdatetime2(0)noDate and time this snapshot row was written by the weekly capture process.

Indexes ​

NameTypeUniquePKKey columnsIncludedFilter
PK_ethWIPJobWeeklySnapshotCLUSTEREDyesyesSnapshotWeekStart, PrimeJobId
IX_ethWIPJobWeeklySnapshot_SupervisorNONCLUSTEREDSnapshotWeekStart, SupervisorId, StatePrimeJobId, SupervisorName, SupervisorTimezone

Relationships (inferred) ​

FromToConfidence
dbo.ethWIPJobHidden.JobIddbo.ethWIPJobWeeklySnapshot.PrimeJobIdhigh
dbo.ethWIPJobHistory.JobIddbo.ethWIPJobWeeklySnapshot.PrimeJobIdmedium
dbo.ethWIPJobWeeklySnapshot.PrimeJobIddbo.primeJobs.Idhigh
dbo.ethWIPJobWeeklySnapshot.StatusIddbo.primeStatuses.idhigh

Referenced by ​

Views: dbo.vWIPUpdateCurrentWeekSummary, dbo.vWIPUpdateDrilldownByWeek, dbo.vwWIPSkippedJobReasons

Procedures: dbo.spEthWIPCaptureJobWeeklySnapshot