-- Create Table Statement for 'Client Capture Transaction'
DROP TABLE IF EXISTS `CLIENT_CAPTURE_TRANSACTION`;
CREATE TABLE `CLIENT_CAPTURE_TRANSACTION` (
	ID bigint(20) NOT NULL,
	MERCHANT_ACCOUNT_CODE int(11) NOT NULL,
	TRANSACTION_CODE varchar,
	AMOUNT varchar,
	RESPONSE_CODE varchar,
	RESPONSE_MESSAGE varchar,
	TRANSACTION_ID varchar NOT NULL,
	CAPTURED_AMOUNT int(11),
	ACCOUNT_ID varchar NOT NULL,
	ORIGINAL_TRANSACTION_CODE varchar,
	REMAINING_AMOUNT int(11),
	CYCLE_CODE bigint(20),
	BATCH_FK bigint(20),
	SUB_BATCH_FK bigint(20),
	RESPONSE_DATE datetime,
	CHARGE_TRANSACTION_FK bigint(20),
	CHARGE_TRANSACTION_FK bigint(20),
	CHARGE_TRANSACTION_FK bigint(20),
	PROVIDER_REFERENCE_NUMBER varchar,
	PROVIDER_REFERENCE_NUMBER varchar,
	PROVIDER_REFERENCE_NUMBER varchar,
	PRIMARY KEY (ID)
) ENGINE=InnoDB;