
[dbo].[InternationalCustomsAgent]
CREATE TABLE [dbo].[InternationalCustomsAgent]
(
[InternationalCustomsAgentID] [int] NOT NULL IDENTITY(1, 1),
[Name] [varchar] (64) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL,
[Contact] [varchar] (30) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[VendorID] [varchar] (15) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[EMail] [varchar] (128) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
[AccountingVendorFid] [int] NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[InternationalCustomsAgent] ADD CONSTRAINT [PK_InternationalCustomsAgent] PRIMARY KEY CLUSTERED ([InternationalCustomsAgentID]) WITH (FILLFACTOR=80) ON [PRIMARY]
GO
ALTER TABLE [dbo].[InternationalCustomsAgent] ADD CONSTRAINT [FK_InternationalCustomsAgent_AccountingVendor] FOREIGN KEY ([AccountingVendorFid]) REFERENCES [dbo].[AccountingVendor] ([AccountingVendorId])
GO
GRANT SELECT ON [dbo].[InternationalCustomsAgent] TO [MssExec]
GRANT INSERT ON [dbo].[InternationalCustomsAgent] TO [MssExec]
GRANT DELETE ON [dbo].[InternationalCustomsAgent] TO [MssExec]
GRANT UPDATE ON [dbo].[InternationalCustomsAgent] TO [MssExec]
GO