Tables [dbo].[PM00100]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
Row Count (~)0
Created4:57:08 PM Thursday, September 7, 2006
Last Modified11:13:37 AM Monday, August 19, 2013
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Cluster Primary Key PK_PM00100: VNDCLSIDVNDCLSIDchar(11)11
No
VNDCLDSCchar(31)31
No
DEFLTCLStinyint1
No
MXIAFVNDsmallint2
No
MXINVAMTnumeric(19,5)9
No
WRITEOFFsmallint2
No
CREDTLMTsmallint2
No
TEN99TYPEsmallint2
No
PTCSHACFsmallint2
No
MXWOFAMTnumeric(19,5)9
No
MINORDERnumeric(19,5)9
No
CRLMTDLRnumeric(19,5)9
No
PYMNTPRIchar(3)3
No
SHIPMTHDchar(15)15
No
PYMTRMIDchar(21)21
No
MINPYTYPsmallint2
No
MINPYDLRnumeric(19,5)9
No
MINPYPCTsmallint2
No
CURNCYIDchar(15)15
No
TAXSCHIDchar(15)15
No
KPCALHSTtinyint1
No
KGLDSTHStinyint1
No
KPERHISTtinyint1
No
KPTRXHSTtinyint1
No
TRDDISCTsmallint2
No
USERDEF1char(21)21
No
USERDEF2char(21)21
No
PMAPINDXint4
No
PMCSHIDXint4
No
PMDAVIDXint4
No
PMDTKIDXint4
No
PMFINIDXint4
No
PMMSCHIXint4
No
PMFRTIDXint4
No
PMTAXIDXint4
No
PMWRTIDXint4
No
PMPRCHIXint4
No
PMRTNGIXint4
No
PMTDSCIXint4
No
ACPURIDXint4
No
PURPVIDXint4
No
CHEKBKIDchar(15)15
No
Check Constraints CK_PM00100_MODIFDT : (datepart(hour,[MODIFDT])=(0) AND datepart(minute,[MODIFDT])=(0) AND datepart(second,[MODIFDT])=(0) AND datepart(millisecond,[MODIFDT])=(0))MODIFDTdatetime8
No
Check Constraints CK_PM00100_CREATDDT : (datepart(hour,[CREATDDT])=(0) AND datepart(minute,[CREATDDT])=(0) AND datepart(second,[CREATDDT])=(0) AND datepart(millisecond,[CREATDDT])=(0))CREATDDTdatetime8
No
RATETPIDchar(15)15
No
Revalue_Vendortinyint1
No
Post_Results_Tosmallint2
No
FREEONBOARDsmallint2
No
DISGRPERsmallint2
No
DUEGRPERsmallint2
No
DEX_ROW_IDint4
No
1 - 1
Indexes Indexes
NameColumnsUniqueFill Factor
Cluster Primary Key PK_PM00100: VNDCLSIDPK_PM00100VNDCLSID
Yes
80
Check Constraints Check Constraints
NameOn ColumnConstraint
CK_PM00100_CREATDDTCREATDDT(datepart(hour,[CREATDDT])=(0) AND datepart(minute,[CREATDDT])=(0) AND datepart(second,[CREATDDT])=(0) AND datepart(millisecond,[CREATDDT])=(0))
CK_PM00100_MODIFDTMODIFDT(datepart(hour,[MODIFDT])=(0) AND datepart(minute,[MODIFDT])=(0) AND datepart(second,[MODIFDT])=(0) AND datepart(millisecond,[MODIFDT])=(0))
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[PM00100]
(
[VNDCLSID] [char] (11) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[VNDCLDSC] [char] (31) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[DEFLTCLS] [tinyint] NOT NULL,
[MXIAFVND] [smallint] NOT NULL,
[MXINVAMT] [numeric] (19, 5) NOT NULL,
[WRITEOFF] [smallint] NOT NULL,
[CREDTLMT] [smallint] NOT NULL,
[TEN99TYPE] [smallint] NOT NULL,
[PTCSHACF] [smallint] NOT NULL,
[MXWOFAMT] [numeric] (19, 5) NOT NULL,
[MINORDER] [numeric] (19, 5) NOT NULL,
[CRLMTDLR] [numeric] (19, 5) NOT NULL,
[PYMNTPRI] [char] (3) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[SHIPMTHD] [char] (15) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[PYMTRMID] [char] (21) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[MINPYTYP] [smallint] NOT NULL,
[MINPYDLR] [numeric] (19, 5) NOT NULL,
[MINPYPCT] [smallint] NOT NULL,
[CURNCYID] [char] (15) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[TAXSCHID] [char] (15) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[KPCALHST] [tinyint] NOT NULL,
[KGLDSTHS] [tinyint] NOT NULL,
[KPERHIST] [tinyint] NOT NULL,
[KPTRXHST] [tinyint] NOT NULL,
[TRDDISCT] [smallint] NOT NULL,
[USERDEF1] [char] (21) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[USERDEF2] [char] (21) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[PMAPINDX] [int] NOT NULL,
[PMCSHIDX] [int] NOT NULL,
[PMDAVIDX] [int] NOT NULL,
[PMDTKIDX] [int] NOT NULL,
[PMFINIDX] [int] NOT NULL,
[PMMSCHIX] [int] NOT NULL,
[PMFRTIDX] [int] NOT NULL,
[PMTAXIDX] [int] NOT NULL,
[PMWRTIDX] [int] NOT NULL,
[PMPRCHIX] [int] NOT NULL,
[PMRTNGIX] [int] NOT NULL,
[PMTDSCIX] [int] NOT NULL,
[ACPURIDX] [int] NOT NULL,
[PURPVIDX] [int] NOT NULL,
[CHEKBKID] [char] (15) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[MODIFDT] [datetime] NOT NULL,
[CREATDDT] [datetime] NOT NULL,
[RATETPID] [char] (15) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Revalue_Vendor] [tinyint] NOT NULL,
[Post_Results_To] [smallint] NOT NULL,
[FREEONBOARD] [smallint] NOT NULL,
[DISGRPER] [smallint] NOT NULL,
[DUEGRPER] [smallint] NOT NULL,
[DEX_ROW_ID] [int] NOT NULL IDENTITY(1, 1)
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[PM00100] ADD CONSTRAINT [CK_PM00100_CREATDDT] CHECK ((datepart(hour,[CREATDDT])=(0) AND datepart(minute,[CREATDDT])=(0) AND datepart(second,[CREATDDT])=(0) AND datepart(millisecond,[CREATDDT])=(0)))
GO
ALTER TABLE [dbo].[PM00100] ADD CONSTRAINT [CK_PM00100_MODIFDT] CHECK ((datepart(hour,[MODIFDT])=(0) AND datepart(minute,[MODIFDT])=(0) AND datepart(second,[MODIFDT])=(0) AND datepart(millisecond,[MODIFDT])=(0)))
GO
ALTER TABLE [dbo].[PM00100] ADD CONSTRAINT [PK_PM00100] PRIMARY KEY CLUSTERED  ([VNDCLSID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
GRANT SELECT ON  [dbo].[PM00100] TO [MssExec]
GRANT INSERT ON  [dbo].[PM00100] TO [MssExec]
GRANT DELETE ON  [dbo].[PM00100] TO [MssExec]
GRANT UPDATE ON  [dbo].[PM00100] TO [MssExec]
GO
Uses