Skip to content

dbo.primeAllocations ​

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

Columns ​

#ColumnTypeNullableFlagsDescription
1IduniqueidentifiernoPrimary key / unique identifier for this record
2JobIduniqueidentifieryesForeign key to primeJobs
3AssignedContactIduniqueidentifieryesForeign key to primeContacts - the contact this record is assigned to
4AssignedIduniqueidentifieryesForeign key to primeUsers - the user this record is assigned to
5AllocationStatusIduniqueidentifieryesForeign key to primeAllocatonStatuses
6AllocationTypenvarchar(100)yesType/category of allocation
7AllocationNumbernvarchar(50)yesAllocation number/reference
8ObjectIduniqueidentifieryesIdentifier of the related object this record applies to
9ObjectTypenvarchar(100)yesType of the related object this record applies to (e.g. Job, Contact)
10Labelnvarchar(100)yesDisplay label
11Descriptionnvarchar(1000)yesFree-text description
12LimitmoneyyesMonetary limit value
13SiteAttendedbityesFlag indicating whether the site has been attended/visited
14CompletedbityesFlag indicating whether the item/task has been completed
15FirstCustomerContactAtdatetimeyesTimestamp of the first contact made with the customer
16CreatedAtdatetimeyesTimestamp the record was created
17CreatedBynvarchar(100)yesUser/system that created the record
18UpdatedAtdatetimeyesTimestamp the record was last updated
19UpdatedBynvarchar(100)yesUser/system that last updated the record
20VersionbigintyesOptimistic-concurrency row version number
21FilterTagsnvarchar(MAX)yesComma-separated display list of filter tags applied to this record
22FilterTagIdsnvarchar(MAX)yesComma-separated list of primeFilterTags identifiers applied to this record

Indexes ​

NameTypeUniquePKKey columnsIncludedFilter
PK__primeAll__3214EC07D09F9F0CCLUSTEREDyesyesId
nci_msft_1_primeAllocations_0AFCBCDD45B95E28EF6366A8336BA361NONCLUSTEREDJobId, AllocationStatusIdAllocationType

Relationships (inferred) ​

FromToConfidence
dbo.primeAccountsReceivableInvoicesItemAllocation.AllocationIddbo.primeAllocations.Idhigh
dbo.primeAllocations.AllocationStatusIddbo.primeAllocatonStatuses.idhigh
dbo.primeAllocations.AssignedContactIddbo.primeContacts.idmedium
dbo.primeAllocations.AssignedIddbo.primeUsers.idhigh
dbo.primeAllocations.JobIddbo.primeJobs.Idhigh
dbo.primeAllocations.JobIddbo.makesafePhoneCall.PrimeJobIDmedium

Referenced by ​

Views: dbo.vPrimeSalesinvoicesObjectivedb

Procedures: dbo.spEthAIPrimeGetJobHash, dbo.spEthAIPrimeUpsertJobSummaryQueue, dbo.spEthSyncQueueMissingObjects, dbo.spEthSyncQueueMissingObjectsByJobID, dbo.spMakesafeUpsertPhoneCallFromPrimeJob, dbo.spPrimeGetAllocationTypesByJobID, dbo.spPrimeGetAllocationTypesByPhoneCallID, dbo.spPrimeGetJobAllocations, dbo.spPrimeUpsertAllocation, dbo.spPrimeUpsertJob