-- Create Table Statement for 'Billing Cycle'
DROP TABLE IF EXISTS `BILLING_CYCLE`;
CREATE TABLE `BILLING_CYCLE` (
	ID bigint(20) NOT NULL,
	REF_CODE varchar,
	CREATE_DATE datetime,
	IS_ACTIVE tinyint(1),
	DAY int(11),
	TIME_CYCLE_CL varchar,
	IS_AUTO tinyint(1),
	PREV_BILLING_DATE datetime,
	NEXT_BILLING_DATE datetime,
	MERCHANT_ACCOUNT_CODE int(11) NOT NULL,
	CLOSE_SALES_PERIOD int(11),
	PRIMARY KEY (ID)
) ENGINE=InnoDB;