Tables [dbo].[AdvancePostingInformation]
Properties
PropertyValue
CollationSQL_Latin1_General_CP1_CI_AS
HeapYes
Row Count (~)2741
Created5:00:22 PM Monday, April 21, 2008
Last Modified10:37:48 AM Monday, March 30, 2015
Columns
NameData TypeMax Length (Bytes)Allow NullsIdentity
Primary Key PK_AdvancePostingInformation: AdvancePostingInformationIDAdvancePostingInformationIDint4
No
1 - 1
Foreign Keys FK_AdvancePostingInformation_Advance: [dbo].[Advance].AdvanceFIDIndexes IX_AdvancePostingInformation_AdvanceFID: AdvanceFIDAdvanceFIDint4
No
PostedDatedatetime8
No
Foreign Keys FK_AdvancePostingInformation_PostedBySysUserFID: [dbo].[Sysuser].PostedBySysuserFIDIndexes IX_AdvancePostingInformation_PostedBySysuserFID: PostedBySysuserFIDPostedBySysuserFIDint4
No
DocDatedatetime8
No
JournalDatedatetime8
No
DocumentNumbervarchar(21)21
Yes
Indexes Indexes
NameColumnsUniqueFill Factor
Primary Key PK_AdvancePostingInformation: AdvancePostingInformationIDPK_AdvancePostingInformationAdvancePostingInformationID
Yes
80
IX_AdvancePostingInformation_AdvanceFIDAdvanceFID
Yes
80
IX_AdvancePostingInformation_PostedBySysuserFIDPostedBySysuserFID
Foreign Keys Foreign Keys
NameColumns
FK_AdvancePostingInformation_AdvanceAdvanceFID->[dbo].[Advance].[PriKey]
FK_AdvancePostingInformation_PostedBySysUserFIDPostedBySysuserFID->[dbo].[Sysuser].[SysUserID]
Permissions
TypeActionOwning Principal
GrantDeleteMssExec
GrantInsertMssExec
GrantSelectMssExec
GrantUpdateMssExec
SQL Script
CREATE TABLE [dbo].[AdvancePostingInformation]
(
[AdvancePostingInformationID] [int] NOT NULL IDENTITY(1, 1),
[AdvanceFID] [int] NOT NULL,
[PostedDate] [datetime] NOT NULL,
[PostedBySysuserFID] [int] NOT NULL,
[DocDate] [datetime] NOT NULL,
[JournalDate] [datetime] NOT NULL,
[DocumentNumber] [varchar] (21) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AdvancePostingInformation] ADD CONSTRAINT [PK_AdvancePostingInformation] PRIMARY KEY NONCLUSTERED  ([AdvancePostingInformationID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
CREATE UNIQUE NONCLUSTERED INDEX [IX_AdvancePostingInformation_AdvanceFID] ON [dbo].[AdvancePostingInformation] ([AdvanceFID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
CREATE NONCLUSTERED INDEX [IX_AdvancePostingInformation_PostedBySysuserFID] ON [dbo].[AdvancePostingInformation] ([PostedBySysuserFID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AdvancePostingInformation] ADD CONSTRAINT [FK_AdvancePostingInformation_Advance] FOREIGN KEY ([AdvanceFID]) REFERENCES [dbo].[Advance] ([PriKey])
GO
ALTER TABLE [dbo].[AdvancePostingInformation] ADD CONSTRAINT [FK_AdvancePostingInformation_PostedBySysUserFID] FOREIGN KEY ([PostedBySysuserFID]) REFERENCES [dbo].[Sysuser] ([SysUserID])
GO
GRANT SELECT ON  [dbo].[AdvancePostingInformation] TO [MssExec]
GRANT INSERT ON  [dbo].[AdvancePostingInformation] TO [MssExec]
GRANT DELETE ON  [dbo].[AdvancePostingInformation] TO [MssExec]
GRANT UPDATE ON  [dbo].[AdvancePostingInformation] TO [MssExec]
GO
Uses