Tables [dbo].[SCBillingPartsCoverageCodeItemExceptions]
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created12:55:47 AM Thursday, March 21, 2019
Last Modified1:14:44 AM Thursday, March 21, 2019
KeyNameData TypeMax Length (Bytes)Allow NullsDefault
Cluster Primary Key PK_SCBillingPartsCoverageCodeItemExceptions: PartsCoverageCodeID\ItemIDForeign Keys FK_SCBillingPartsCoverageCodeItemExceptions_PartsCoverageCodeID_SCBillingPartsCoverageCodes: [dbo].[SCBillingPartsCoverageCodes].PartsCoverageCodeIDPartsCoverageCodeIDint4
False
Cluster Primary Key PK_SCBillingPartsCoverageCodeItemExceptions: PartsCoverageCodeID\ItemIDItemIDint4
False
ModelIDint4
True
IsAllowedbit1
False
((1))
IsCoveredbit1
False
((0))
CreatorIDchar(8)8
False
CreateDatedatetime8
False
UpdatorIDchar(8)8
False
LastUpdatedatetime8
False
TimeStamptimestamp8
True
KeyNameKey ColumnsUniqueFill Factor
Cluster Primary Key PK_SCBillingPartsCoverageCodeItemExceptions: PartsCoverageCodeID\ItemIDPK_SCBillingPartsCoverageCodeItemExceptionsPartsCoverageCodeID, ItemID
True
80
NameColumns
FK_SCBillingPartsCoverageCodeItemExceptions_PartsCoverageCodeID_SCBillingPartsCoverageCodesPartsCoverageCodeID->[dbo].[SCBillingPartsCoverageCodes].[PartsCoverageCodeID]
CREATE TABLE [dbo].[SCBillingPartsCoverageCodeItemExceptions]
(
[PartsCoverageCodeID] [int] NOT NULL,
[ItemID] [int] NOT NULL,
[ModelID] [int] NULL,
[IsAllowed] [bit] NOT NULL CONSTRAINT [DF_SCBillingPartsCoverageCodeItemExceptions_IsAllowed] DEFAULT ((1)),
[IsCovered] [bit] NOT NULL CONSTRAINT [DF_SCBillingPartsCoverageCodeItemExceptions_IsCovered] DEFAULT ((0)),
[CreatorID] [char] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[CreateDate] [datetime] NOT NULL,
[UpdatorID] [char] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[LastUpdate] [datetime] NOT NULL,
[TimeStamp] [timestamp] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SCBillingPartsCoverageCodeItemExceptions] ADD CONSTRAINT [PK_SCBillingPartsCoverageCodeItemExceptions] PRIMARY KEY CLUSTERED  ([PartsCoverageCodeID], [ItemID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SCBillingPartsCoverageCodeItemExceptions] ADD CONSTRAINT [FK_SCBillingPartsCoverageCodeItemExceptions_PartsCoverageCodeID_SCBillingPartsCoverageCodes] FOREIGN KEY ([PartsCoverageCodeID]) REFERENCES [dbo].[SCBillingPartsCoverageCodes] ([PartsCoverageCodeID])
GO
  • [dbo].[v_ICItemsCoveredByBillCodeView]