[dbo].[ReductionTemplateRateLookup]
CREATE TABLE [dbo].[ReductionTemplateRateLookup]
(
[ReductionTemplateRateLookupID] [int] NOT NULL IDENTITY(1, 1),
[Description] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[ReductionTemplateRateLookupBasisFID] [int] NOT NULL,
[ReductionTypeFID] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ReductionTemplateRateLookup] ADD CONSTRAINT [PK_ReductionTemplateRateLookup] PRIMARY KEY NONCLUSTERED ([ReductionTemplateRateLookupID]) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ReductionTemplateRateLookup] ADD CONSTRAINT [FK_ReductionTemplateRateLookup_ReductionTemplateRateLookupBasis] FOREIGN KEY ([ReductionTemplateRateLookupBasisFID]) REFERENCES [dbo].[ReductionTemplateRateLookupBasis] ([ReductionTemplateRateLookupBasisID])
GO
ALTER TABLE [dbo].[ReductionTemplateRateLookup] ADD CONSTRAINT [FK_ReductionTemplateRateLookup_ReductionType] FOREIGN KEY ([ReductionTypeFID]) REFERENCES [dbo].[ReductionType] ([ReductionTypeID])
GO
GRANT SELECT ON [dbo].[ReductionTemplateRateLookup] TO [MssExec]
GRANT INSERT ON [dbo].[ReductionTemplateRateLookup] TO [MssExec]
GRANT DELETE ON [dbo].[ReductionTemplateRateLookup] TO [MssExec]
GRANT UPDATE ON [dbo].[ReductionTemplateRateLookup] TO [MssExec]
GO