-- Create Table Statement for 'Note'
DROP TABLE IF EXISTS `NOTE`;
CREATE TABLE `NOTE` (
	ID bigint(20) NOT NULL,
	REF_CODE varchar,
	CREATOR_CODE varchar,
	CREATE_DATE datetime,
	DESCRIPTION varchar,
	MERCHANT_ACCOUNT_CODE int(11) NOT NULL,
	COLLECTOR_ACCOUNT_CODE int(11),
	NOTE_CODE_FK bigint(20),
	CUSTOMER_ACCOUNT_FK bigint(20),
	PRIMARY KEY (ID)
) ENGINE=InnoDB;