-- Create Table Statement for 'Charge Item'
DROP TABLE IF EXISTS `CHARGE_ITEM`;
CREATE TABLE `CHARGE_ITEM` (
	CHARGE_TRANSACTION_FK bigint(20),
	ID bigint(20) NOT NULL,
	MERCHANT_ACCOUNT_CODE int(11) NOT NULL,
	COMMODITY_CODE varchar,
	DESCRIPTION varchar,
	CODE varchar,
	QUANTITY int(11),
	UNIT_MEASURE varchar,
	UNIT_COST_AMOUNT int(11),
	TAX_AMOUNT int(11),
	TAX_RATE int(11),
	TAX_INDICATOR_CL varchar,
	TAX_CODE varchar,
	DISCOUNT_AMOUNT int(11),
	DISCOUNT_RATE int(11),
	TOTAL_AMOUNT int(11),
	CREDIT_INDICATOR tinyint(1),
	ITEM_NUMBER varchar,
	SPLIT_SCHEMA_FK bigint(20),
	STATUS_CL varchar,
	PROVIDER_ITEM_CODE varchar,
	PROVIDER_ITEM_CODE varchar,
	PROVIDER_ITEM_CODE varchar,
	CHARGE_TRANSACTION_FK bigint(20),
	CHARGE_TRANSACTION_FK bigint(20),
	MERCHANT_ACCOUNT_CODE int(11) NOT NULL,
	TOTAL_AMOUNT int(11),
	SPLIT_SCHEMA_FK bigint(20),
	STATUS_CL varchar,
	PRIMARY KEY (ID)
) ENGINE=InnoDB;