CREATE TABLE [dbo].[ARChargeAccountTransactionReferences]
(
[ChargeAccountTransactionReferenceID] [int] NOT NULL IDENTITY(1, 1),
[ChargeAccountTransactionID] [int] NOT NULL,
[ReferenceNumber] [int] NOT NULL,
[ChargeType] [int] NOT NULL
) ON [PRIMARY]
GO
ALTER TABLE [dbo].[ARChargeAccountTransactionReferences] ADD CONSTRAINT [FK_ARChargeAccountTransactionReferences_ChargeAccountTransactionID_ARChargeAccountTransactions] FOREIGN KEY ([ChargeAccountTransactionID]) REFERENCES [dbo].[ARChargeAccountTransactions] ([ChargeAccountTransactionID])
GO