CREATE TABLE [dbo].[AccountingVendor]
(
[AccountingVendorId] [int] NOT NULL IDENTITY(1, 1),
[Name] [nvarchar] (256) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Code] [nvarchar] (256) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[Deleted] [bit] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[AccountingVendor] ADD CONSTRAINT [PK_AccountingVendor] PRIMARY KEY CLUSTERED ([AccountingVendorId]) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[AccountingVendor] TO [MssExec]
GRANT INSERT ON [dbo].[AccountingVendor] TO [MssExec]
GRANT DELETE ON [dbo].[AccountingVendor] TO [MssExec]
GRANT UPDATE ON [dbo].[AccountingVendor] TO [MssExec]
GO