-- Create Table Statement for 'System Error Log'
DROP TABLE IF EXISTS `IAPP_SYSTEM_ERROR_LOG`;
CREATE TABLE `IAPP_SYSTEM_ERROR_LOG` (
	ID bigint(20) NOT NULL,
	MERCHANT_ACCOUNT_CODE int(11),
	CREATE_DATE datetime,
	ERROR_CODE varchar,
	ERROR_MESSAGE varchar,
	ERROR_CL varchar,
	ANALYSIS_POLICY_CL varchar,
	FAILURE_CODE varchar,
	FAILURE_MESSAGE varchar,
	FAILED_REQUEST_TYPE varchar,
	PROCESSOR varchar,
	CAUSE varchar,
	HINT varchar,
	LEVEL varchar,
	FORMAT varchar,
	VALUE varchar,
	FIELD varchar,
	TRANSACTION_CODE varchar,
	REFERENCE_NUMBER varchar,
	SERVER_NODE_CODE varchar,
	SERVER_NODE_NAME varchar,
	EXCEPTION_DATA varchar,
	EXCEPTION_DATA varchar,
	EXCEPTION_DATA varchar,
	EVENT_ID varchar,
	EVENT_ID varchar,
	TERMINAL_CODE varchar,
	USER_NAME varchar,
	TERMINAL_CODE varchar,
	USER_NAME varchar,
	EVENT_ID varchar,
	TERMINAL_CODE varchar,
	USER_NAME varchar,
	ROOT_CAUSE varchar,
	JOB_NAME varchar,
	OBJECT_CL varchar,
	OBJECT_CODE bigint(20),
	PRIMARY KEY (ID)
) ENGINE=InnoDB;