-- Create Table Statement for 'CC Westpac Batch Transaction'
DROP TABLE IF EXISTS `CC_WESTPAC_BATCH_TRANSACTION`;
CREATE TABLE `CC_WESTPAC_BATCH_TRANSACTION` (
	ID bigint(20) NOT NULL,
	MERCHANT_ACCOUNT_CODE int(11) NOT NULL,
	AMOUNT varchar,
	CUSTOMER_NUMBER varchar,
	CUSTOMER_ACCOUNT_NAME varchar,
	TRANSACTION_NUMBER varchar,
	CAPTURE_TRANSACTION_NUMBER varchar,
	AUTHORIZATION_ID varchar,
	ELECTRONIC_COMMERCE_INDICATOR varchar,
	ORIGINATING_SYSTEM_CODE varchar,
	RECEIPT_NUMBER varchar,
	SUMMARY_CODE varchar,
	RESPONSE_CODE varchar,
	RESPONSE_DESCRIPTION varchar,
	CARD_SCHEME varchar,
	CHARGE_TRANSACTION_FK bigint(20),
	CC_WESTPAC_BATCH_FK bigint(20),
	CC_WESTPAC_BATCH_FK bigint(20),
	CHARGE_TRANSACTION_FK bigint(20),
	CC_WESTPAC_BATCH_FK bigint(20),
	CHARGE_TRANSACTION_FK bigint(20),
	PRIMARY KEY (ID)
) ENGINE=InnoDB;