Skip to content

dbo.primeLockedEstimateCategories ​

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

Columns ​

#ColumnTypeNullableFlagsDescription
1CategoryIDuniqueidentifiernoForeign key to the related estimate category
2EstimateIDuniqueidentifiernoForeign key to the related estimate
3typenvarchar(50)yesCategory/type classification of this record
4labelnvarchar(255)yesDisplay label
5descriptionnvarchar(MAX)yesFree-text description
6materialMargindecimal(10,6)yesMargin percentage applied to material cost
7labourMargindecimal(10,6)yesMargin percentage applied to labour cost

Indexes ​

NameTypeUniquePKKey columnsIncludedFilter
PK__primeLoc__19093A2B041C5BCCCLUSTEREDyesyesCategoryID
nci_msft_1_primeLockedEstimateCategories_79D1F169E6DA1292EF71686B3589B8C6NONCLUSTEREDEstimateID
IX_primeLockedEstimateCategories_EstimateIDNONCLUSTEREDEstimateIDCategoryID

Relationships (inferred) ​

FromToConfidence
dbo.primeLockedEstimateCategories.CategoryIDdbo.primeLockedEstimateCategoryItems.CategoryIDhigh
dbo.primeLockedEstimates.EstimateIDdbo.primeLockedEstimateCategories.EstimateIDhigh

Referenced by ​

Procedures: dbo.spEndataEstimateUploads, dbo.spPrimeBuildLockedEstimatesThisYear, dbo.spPrimeUpsertLockedEstimate, dbo.spPrimeUpsertLockedEstimateCategory