-- Create Table Statement for 'EFT Westpac Batch Transaction'
DROP TABLE IF EXISTS `EFT_WESTPAC_BATCH_TRANSACTION`;
CREATE TABLE `EFT_WESTPAC_BATCH_TRANSACTION` (
ID bigint(20) NOT NULL,
MERCHANT_ACCOUNT_CODE int(11) NOT NULL,
INDICATOR varchar,
TRANSACTION_CODE varchar,
AMOUNT varchar,
TITLE varchar,
LODGEMENT_REFERENCE varchar,
REMITTER_NAME varchar,
WITHHOLDING_TAX varchar,
CHARGE_TRANSACTION_FK bigint(20),
EFT_WESTPAC_BATCH_FK bigint(20),
CUSTOMER_NAME varchar,
RETURN_CODE varchar,
STATUS_INDICATOR_DISB varchar,
STATUS_INDICATOR_EXC varchar,
ERROR_NARRATIVE varchar,
EFT_WESTPAC_BATCH_FK bigint(20),
CHARGE_TRANSACTION_FK bigint(20),
EFT_WESTPAC_BATCH_FK bigint(20),
CHARGE_TRANSACTION_FK bigint(20),
PRIMARY KEY (ID)
) ENGINE=InnoDB;