-- Create Table Statement for 'CC Elavon Batch Transaction'
DROP TABLE IF EXISTS `CC_ELAVON_BATCH_TRANSACTION`;
CREATE TABLE `CC_ELAVON_BATCH_TRANSACTION` (
	ID bigint(20) NOT NULL,
	MERCHANT_ACCOUNT_CODE int(11) NOT NULL,
	TRANSACTION_CODE varchar,
	AMOUNT varchar,
	USER_DATA varchar,
	AVS_ADDRESS varchar,
	AVS_ZIP_CODE varchar,
	FORMAT_DATA varchar,
	REPLY_CODE varchar,
	AUTH_CODE varchar,
	AUTH_SOURCE_CODE varchar,
	TRANSACTION_DATE varchar,
	TRANSACTION_TIME varchar,
	AVS_RESULT varchar,
	EXPANDED_REPLY varchar,
	CC_ELAVON_BATCH_FK bigint(20),
	PRODUCT_CODE varchar,
	ORIGINAL_AUTHORIZED_AMOUNT varchar,
	SWIPED_INDICATOR varchar,
	ACI varchar,
	VISA_TRANSACTION_ID varchar,
	VISA_VALIDATION_CODE varchar,
	CAT_VALUE varchar,
	CVV2_RESPONSE varchar,
	ALP_VALUE varchar,
	MSDI varchar,
	CHARGE_TRANSACTION_FK bigint(20),
	CC_ELAVON_BATCH_FK bigint(20),
	CHARGE_TRANSACTION_FK bigint(20),
	CC_ELAVON_BATCH_FK bigint(20),
	CHARGE_TRANSACTION_FK bigint(20),
	ORIGINAL_TRANSACTION_ID varchar,
	ORIGINAL_TRANSACTION_ID varchar,
	ORIGINAL_TRANSACTION_ID varchar,
	PRIMARY KEY (ID)
) ENGINE=InnoDB;