Tables [dbo].[SCBillingSupplyCoverageCodeItemExceptions]
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_SCBillingSupplyCoverageCodeItemExceptions: SupplyCoverageCodeID\ItemIDForeign Keys FK_SCBillingSupplyCoverageCodeItemExceptions_SupplyCoverageCodeID_SCBillingSupplyCoverageCodes: [dbo].[SCBillingSupplyCoverageCodes].SupplyCoverageCodeIDSupplyCoverageCodeIDint4
False
Cluster Primary Key PK_SCBillingSupplyCoverageCodeItemExceptions: SupplyCoverageCodeID\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_SCBillingSupplyCoverageCodeItemExceptions: SupplyCoverageCodeID\ItemIDPK_SCBillingSupplyCoverageCodeItemExceptionsSupplyCoverageCodeID, ItemID
True
80
NameColumns
FK_SCBillingSupplyCoverageCodeItemExceptions_SupplyCoverageCodeID_SCBillingSupplyCoverageCodesSupplyCoverageCodeID->[dbo].[SCBillingSupplyCoverageCodes].[SupplyCoverageCodeID]
CREATE TABLE [dbo].[SCBillingSupplyCoverageCodeItemExceptions]
(
[SupplyCoverageCodeID] [int] NOT NULL,
[ItemID] [int] NOT NULL,
[ModelID] [int] NULL,
[IsAllowed] [bit] NOT NULL CONSTRAINT [DF_SCBillingSupplyCoverageCodeItemExceptions_IsAllowed] DEFAULT ((1)),
[IsCovered] [bit] NOT NULL CONSTRAINT [DF_SCBillingSupplyCoverageCodeItemExceptions_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].[SCBillingSupplyCoverageCodeItemExceptions] ADD CONSTRAINT [PK_SCBillingSupplyCoverageCodeItemExceptions] PRIMARY KEY CLUSTERED  ([SupplyCoverageCodeID], [ItemID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SCBillingSupplyCoverageCodeItemExceptions] ADD CONSTRAINT [FK_SCBillingSupplyCoverageCodeItemExceptions_SupplyCoverageCodeID_SCBillingSupplyCoverageCodes] FOREIGN KEY ([SupplyCoverageCodeID]) REFERENCES [dbo].[SCBillingSupplyCoverageCodes] ([SupplyCoverageCodeID])
GO
  • [dbo].[v_ICItemsCoveredByBillCodeView]