Skip to content

dbo.primeExportsEndataScopeImport_stage ​

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

Columns ​

#ColumnTypeNullableFlagsDescription
1JobNumbervarchar(20)yesHuman-readable job number/reference used in Prime Ecosystem
2ClientReferencevarchar(20)yesReference number/code supplied by the client (e.g. insurer claim number)
3EstimateLabelvarchar(50)yesDisplay label/name of the estimate
4Categoryvarchar(50)yesScope category imported from Endata
5Tradevarchar(100)yesTrade/skill category (e.g. Plumbing, Electrical, Carpentry)
6Descriptionvarchar(1000)yesFree-text description
7Wvarchar(1)yesWidth dimension imported from Endata scope
8Lvarchar(1)yesLength dimension imported from Endata scope
9Hvarchar(1)yesHeight dimension imported from Endata scope
10MaterialQtyintyesQuantity of materials
11MaterialRatedecimal(10,2)yesUnit rate/price for materials
12LabourQtyintyesQuantity of labour (hours/units)
13TotalSelldecimal(10,2)yesTotal sell (billed) amount
14GSTdecimal(10,2)yesGoods and Services Tax amount
15RowHashbinary(20)yesHash of the row content, used to detect changes
16isStalebityesFlag indicating the record is stale and needs refreshing

Indexes ​

NameTypeUniquePKKey columnsIncludedFilter
nci_msft_1_primeExportsEndataScopeImport_stage_BEE8C5928399E27DDB6EC9D0AF2DFD5DNONCLUSTEREDJobNumber, Category, ClientReference, EstimateLabel, TradeDescription, GST, H, isStale, L, LabourQty, MaterialQty, MaterialRate, RowHash, TotalSell, W

Relationships (inferred) ​

FromToConfidence
dbo.primeExportsEndataScopeImport.Categorydbo.primeExportsEndataScopeImport_stage.Categoryhigh
dbo.primeExportsEndataScopeImport.ClientReferencedbo.primeExportsEndataScopeImport_stage.ClientReferencehigh
dbo.primeExportsEndataScopeImport.Descriptiondbo.primeExportsEndataScopeImport_stage.Descriptionmedium
dbo.primeExportsEndataScopeImport.EstimateLabeldbo.primeExportsEndataScopeImport_stage.EstimateLabelhigh
dbo.primeExportsEndataScopeImport.GSTdbo.primeExportsEndataScopeImport_stage.GSTmedium
dbo.primeExportsEndataScopeImport.Hdbo.primeExportsEndataScopeImport_stage.Hmedium
dbo.primeExportsEndataScopeImport.JobNumberdbo.primeExportsEndataScopeImport_stage.JobNumberhigh
dbo.primeExportsEndataScopeImport.Ldbo.primeExportsEndataScopeImport_stage.Lmedium
dbo.primeExportsEndataScopeImport.LabourQtydbo.primeExportsEndataScopeImport_stage.LabourQtymedium
dbo.primeExportsEndataScopeImport.MaterialQtydbo.primeExportsEndataScopeImport_stage.MaterialQtymedium
dbo.primeExportsEndataScopeImport.MaterialRatedbo.primeExportsEndataScopeImport_stage.MaterialRatemedium
dbo.primeExportsEndataScopeImport.TotalSelldbo.primeExportsEndataScopeImport_stage.TotalSellmedium
dbo.primeExportsEndataScopeImport.Tradedbo.primeExportsEndataScopeImport_stage.Tradehigh
dbo.primeExportsEndataScopeImport.Wdbo.primeExportsEndataScopeImport_stage.Wmedium

Referenced by ​

Procedures: dbo.spPrimeScope_MarkOriginStale_FromStage, dbo.spPrimeScope_MergeCSV_ToStage, dbo.spPrimeScope_UpsertStageRowToOrigin, dbo.spSyncPrimeExportsEndataScopeImport, dbo.spUpsertPrimeScopeImportV2