
[dbo].[XLedgerItemCodeMapAccountType]
CREATE TABLE [dbo].[XLedgerItemCodeMapAccountType]
(
[XLedgerItemCodeMapAccountTypeId] [int] NOT NULL IDENTITY(1, 1),
[MappingType] [varchar] (16) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XLedgerItemCodeMapAccountType] ADD CONSTRAINT [PK_XLedgerItemCodeMapAccountType] PRIMARY KEY NONCLUSTERED ([XLedgerItemCodeMapAccountTypeId]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[XLedgerItemCodeMapAccountType] ADD CONSTRAINT [IX_XLedgerItemCodeMapAccountType_MappingType] UNIQUE CLUSTERED ([MappingType]) ON [PRIMARY]
GO
GRANT SELECT ON [dbo].[XLedgerItemCodeMapAccountType] TO [MssExec]
GRANT INSERT ON [dbo].[XLedgerItemCodeMapAccountType] TO [MssExec]
GRANT DELETE ON [dbo].[XLedgerItemCodeMapAccountType] TO [MssExec]
GRANT UPDATE ON [dbo].[XLedgerItemCodeMapAccountType] TO [MssExec]
GO