Tables [dbo].[APQVoucherAPTaxDetails]
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created12:55:50 AM Thursday, March 21, 2019
Last Modified1:01:05 AM Thursday, March 21, 2019
KeyNameData TypeMax Length (Bytes)Allow NullsDefault
Cluster Primary Key PK_APQVoucherAPTaxDetails: QVoucherID\DetailID\VoucherTaxDetailID\ApplicationReceivablePayableDistIDQVoucherIDint4
False
Cluster Primary Key PK_APQVoucherAPTaxDetails: QVoucherID\DetailID\VoucherTaxDetailID\ApplicationReceivablePayableDistIDDetailIDint4
False
Cluster Primary Key PK_APQVoucherAPTaxDetails: QVoucherID\DetailID\VoucherTaxDetailID\ApplicationReceivablePayableDistIDVoucherTaxDetailIDint4
False
Cluster Primary Key PK_APQVoucherAPTaxDetails: QVoucherID\DetailID\VoucherTaxDetailID\ApplicationReceivablePayableDistIDApplicationReceivablePayableDistIDint4
False
VoucheredAmountmoney8
False
((0))
VoucheredDistApplicationAmountmoney8
False
((0))
DistApplicationAmountmoney8
False
((0))
Amountmoney8
False
((0))
DistTaxedAmountmoney8
False
((0))
DistNonTaxedAmountmoney8
False
((0))
TaxExemptCodeIDint4
True
CreatorIDchar(8)8
False
UpdatorIDchar(8)8
False
CreateDatedatetime8
False
(getdate())
LastUpdatedatetime8
False
(getdate())
KeyNameKey ColumnsUnique
Cluster Primary Key PK_APQVoucherAPTaxDetails: QVoucherID\DetailID\VoucherTaxDetailID\ApplicationReceivablePayableDistIDPK_APQVoucherAPTaxDetailsQVoucherID, DetailID, VoucherTaxDetailID, ApplicationReceivablePayableDistID
True
CREATE TABLE [dbo].[APQVoucherAPTaxDetails]
(
[QVoucherID] [int] NOT NULL,
[DetailID] [int] NOT NULL,
[VoucherTaxDetailID] [int] NOT NULL,
[ApplicationReceivablePayableDistID] [int] NOT NULL,
[VoucheredAmount] [money] NOT NULL CONSTRAINT [DF_APQVoucherAPTaxDetails_VoucheredAmount] DEFAULT ((0)),
[VoucheredDistApplicationAmount] [money] NOT NULL CONSTRAINT [DF_APQVoucherAPTaxDetails_VoucheredDistApplicationAmount] DEFAULT ((0)),
[DistApplicationAmount] [money] NOT NULL CONSTRAINT [DF_APQVoucherAPTaxDetails_DistApplicationAmount] DEFAULT ((0)),
[Amount] [money] NOT NULL CONSTRAINT [DF_APQVoucherAPTaxDetails_Amount] DEFAULT ((0)),
[DistTaxedAmount] [money] NOT NULL CONSTRAINT [DF_APQVoucherAPTaxDetails_DistTaxedAmount] DEFAULT ((0)),
[DistNonTaxedAmount] [money] NOT NULL CONSTRAINT [DF_APQVoucherAPTaxDetails_DistNonTaxedAmount] DEFAULT ((0)),
[TaxExemptCodeID] [int] NULL,
[CreatorID] [char] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[UpdatorID] [char] (8) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[CreateDate] [datetime] NOT NULL CONSTRAINT [DF_APQVoucherAPTaxDetails_CreateDate] DEFAULT (getdate()),
[LastUpdate] [datetime] NOT NULL CONSTRAINT [DF_APQVoucherAPTaxDetails_LastUpdate] DEFAULT (getdate())
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[APQVoucherAPTaxDetails] ADD CONSTRAINT [PK_APQVoucherAPTaxDetails] PRIMARY KEY CLUSTERED  ([QVoucherID], [DetailID], [VoucherTaxDetailID], [ApplicationReceivablePayableDistID]) ON [PRIMARY]
GO
  • [dbo].[v_APTaxUtilityDetails]