CREATE TABLE [dbo].[FactoringSetup]
(
[FactoringSetupID] [int] NOT NULL,
[ContraAccount] [varchar] (66) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[DueFromAccount] [varchar] (66) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[DateLastModified] [datetime] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[FactoringSetup] ADD CONSTRAINT [CK_FactoringSetupID] CHECK (([FactoringSetupID]=(1)))
GO
ALTER TABLE [dbo].[FactoringSetup] ADD CONSTRAINT [PK_FactoringSetup] PRIMARY KEY NONCLUSTERED ([FactoringSetupID]) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[FactoringSetup] TO [MssExec]
GRANT INSERT ON [dbo].[FactoringSetup] TO [MssExec]
GRANT DELETE ON [dbo].[FactoringSetup] TO [MssExec]
GRANT UPDATE ON [dbo].[FactoringSetup] TO [MssExec]
GO