-- Create Table Statement for 'First Data Processing Cost'
DROP TABLE IF EXISTS `FIRST_DATA_PROCESSING_COST`;
CREATE TABLE `FIRST_DATA_PROCESSING_COST` (
	ID bigint(20) NOT NULL,
	MERCHANT_ACCOUNT_CODE int(11) NOT NULL,
	HIERARCHY_ID varchar,
	HIERARCHY_LEVEL_NO varchar,
	LOCATION_ID varchar,
	LOCATION_DBA_NAME varchar,
	STORE_NUMBER varchar,
	EXTERNAL_ID varchar,
	BATCH_DATE varchar,
	PROCESS_CURRENCY_CODE varchar,
	CARD_TYPE varchar,
	TRANSACTION_TYPE varchar,
	INTERCHANGE_RATE_CODE varchar,
	INTERCHANGE_RATE_DESCRIPTION varchar,
	TRANSACTION_COUNT varchar,
	PROCESSED_TRANSACTION_AMOUNT_SIGN varchar,
	PROCESSED_TRANSACTION_AMOUNT varchar,
	INTERCHANGE_EXPENSE_SIGN varchar,
	INTERCHANGE_EXPENSE varchar,
	NET_AMOUNT_SIGN varchar,
	NET_AMOUNT varchar,
	RATE varchar,
	SALES_PERCENT_BY_AMOUNT varchar,
	SALES_PERCENT_BY_COUNT varchar,
	SUBMITTED_CURRENCY_CODE varchar,
	SUBMITTED_TRANSACTION_AMOUNT_SIGN varchar,
	SUBMITTED_TRANSACTION_AMOUNT varchar,
	FUNDED_DATE varchar,
	PROCESSED_DATE varchar,
	CURRENCY_CODE varchar,
	DDA_NUMBER_MASKED varchar,
	ABA_NUMBER_MASKED varchar,
	ADJUSTMENT_DATE varchar,
	ADJUSTMENT_DESCRIPTION varchar,
	ADJUSTMENT_AMOUNT_SIGN varchar,
	ADJUSTMENT_AMOUNT varchar,
	ADJUSTMENT_TYPE varchar,
	INVOICE_DATE varchar,
	ADJUSTMENT_INVOICE_NUMBER varchar,
	BATCH_NUMBER varchar,
	CARD_NUMBER_MASKED varchar,
	BANK_REFERENCE_NUMBER varchar,
	SDS_REFERENCE_NUMBER varchar,
	SPECIAL_REFERENCE1 varchar,
	NEW_ADJUSTMENT_DESCRIPTION varchar,
	UNIT_AMOUNT varchar,
	SUBMIT_DATE varchar,
	ADJUSTMENT_CODE varchar,
	FIRST_DATA_PROCESSING_COST_BATCH_FK bigint(20),
	PRIMARY KEY (ID)
) ENGINE=InnoDB;