Skip to content

dbo.primeScheduleItem ​

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

Columns ​

#ColumnTypeNullableFlagsDescription
1ScheduleItemIduniqueidentifiernoForeign key to primeScheduleItem
2ScheduleIduniqueidentifiernoForeign key to primeSchedule
3Labelnvarchar(255)yesDisplay label
4Descriptionnvarchar(MAX)yesFree-text description
5ObjectTypenvarchar(100)yesType of the related object this record applies to (e.g. Job, Contact)
6ObjectIduniqueidentifieryesIdentifier of the related object this record applies to
7StartDatedateyesStart date of this record/job
8EndDatedateyesEnd date of this record/job
9StartTimetime(0)yesStart time of the appointment/slot
10EndTimetime(0)yesEnd time of the appointment/slot
11AssignedIduniqueidentifieryesForeign key to primeUsers - the user this record is assigned to
12VisiblebitnoFlag indicating whether this record is visible
13VersionbigintyesOptimistic-concurrency row version number

Indexes ​

NameTypeUniquePKKey columnsIncludedFilter
PK__primeSch__DBAE6C8399187F02CLUSTEREDyesyesScheduleItemId
IX_primeScheduleItem_ScheduleIdNONCLUSTEREDScheduleId
IX_primeScheduleItem_ObjectIdNONCLUSTEREDObjectId
IX_primeScheduleItem_AssignedIdNONCLUSTEREDAssignedId
IX_primeScheduleItem_StartDate_EndDateNONCLUSTEREDStartDate, EndDate

Relationships (inferred) ​

FromToConfidence
dbo.primeScheduleItem.ObjectIddbo.primeWorkOrders.idhigh
dbo.primeSchedule.ScheduleIddbo.primeScheduleItem.ScheduleIdhigh
dbo.primeWorkOrderItems.workorderiddbo.primeScheduleItem.ObjectIdhigh

Referenced by ​

Procedures: dbo.spPrimeGetWIPUpdatesWorksCompleted, dbo.spPrimeGetWIPUpdatesWorksInProgress, dbo.spPrimeGetWIPUpdatesWorksUpcoming, dbo.spPrimeUpsertScheduleItem