Tables [dbo].[SCProposalEquipmentMiscChargeCycleCharges]
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created12:59:22 AM Thursday, March 21, 2019
Last Modified1:15:08 AM Thursday, March 21, 2019
KeyNameData TypeMax Length (Bytes)Allow NullsIdentityDefault
Cluster Primary Key PK__SCPropos__814F61436DC294CC: BillingEquipmentMiscChargeCycleChargeIDBillingEquipmentMiscChargeCycleChargeIDint4
False
1 - 1
ProposalIDint4
False
ContractDetailIDint4
False
Foreign Keys FK_SCProposalEquipmentMiscChargeCycleCharges_BillingEquipmentMiscChargeID_SCProposalEquipmentMiscCharges: [dbo].[SCProposalEquipmentMiscCharges].BillingEquipmentMiscChargeIDBillingEquipmentMiscChargeIDint4
False
BillingEquipmentIDint4
False
CycleChargeDetailIDint4
False
FromDatedatetime8
False
ToDatedatetime8
False
Quantitydecimal(18,6)9
False
Ratedecimal(18,6)9
False
Amountmoney8
False
NonAdjustedAmountmoney8
False
CreatorIDvarchar(8)8
True
CreateDatedatetime8
False
(getdate())
UpdatorIDvarchar(8)8
True
LastUpdatedatetime8
False
(getdate())
KeyNameKey ColumnsUniqueFill Factor
Cluster Primary Key PK__SCPropos__814F61436DC294CC: BillingEquipmentMiscChargeCycleChargeIDPK__SCPropos__814F61436DC294CCBillingEquipmentMiscChargeCycleChargeID
True
80
NameColumns
FK_SCProposalEquipmentMiscChargeCycleCharges_BillingEquipmentMiscChargeID_SCProposalEquipmentMiscChargesBillingEquipmentMiscChargeID->[dbo].[SCProposalEquipmentMiscCharges].[BillingEquipmentMiscChargeID]
CREATE TABLE [dbo].[SCProposalEquipmentMiscChargeCycleCharges]
(
[BillingEquipmentMiscChargeCycleChargeID] [int] NOT NULL IDENTITY(1, 1),
[ProposalID] [int] NOT NULL,
[ContractDetailID] [int] NOT NULL,
[BillingEquipmentMiscChargeID] [int] NOT NULL,
[BillingEquipmentID] [int] NOT NULL,
[CycleChargeDetailID] [int] NOT NULL,
[FromDate] [datetime] NOT NULL,
[ToDate] [datetime] NOT NULL,
[Quantity] [decimal] (18, 6) NOT NULL,
[Rate] [decimal] (18, 6) NOT NULL,
[Amount] [money] NOT NULL,
[NonAdjustedAmount] [money] NOT NULL,
[CreatorID] [varchar] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[CreateDate] [datetime] NOT NULL CONSTRAINT [DF_SCProposalEquipmentMiscChargeCycleCharges_CreateDate] DEFAULT (getdate()),
[UpdatorID] [varchar] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[LastUpdate] [datetime] NOT NULL CONSTRAINT [DF_SCProposalEquipmentMiscChargeCycleCharges_LastUpdate] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SCProposalEquipmentMiscChargeCycleCharges] ADD CONSTRAINT [PK__SCPropos__814F61436DC294CC] PRIMARY KEY CLUSTERED  ([BillingEquipmentMiscChargeCycleChargeID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[SCProposalEquipmentMiscChargeCycleCharges] ADD CONSTRAINT [FK_SCProposalEquipmentMiscChargeCycleCharges_BillingEquipmentMiscChargeID_SCProposalEquipmentMiscCharges] FOREIGN KEY ([BillingEquipmentMiscChargeID]) REFERENCES [dbo].[SCProposalEquipmentMiscCharges] ([BillingEquipmentMiscChargeID])
GO