CREATE TABLE ja_cn_rule_headers (
    RULE_HEADER_ID           NUMBER(18, 0),
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)     NOT NULL,
    SET_ID                   NUMBER(18, 0)    NOT NULL,
    RULE_NAME                VARCHAR2(120)    NOT NULL,
    DESCRIPTION              VARCHAR2(160),
    SALES_LIST_FLAG          VARCHAR2(4)      NOT NULL,
    CURRENCY_CODE            VARCHAR2(60)     NOT NULL,
    INVOICE_TYPE             VARCHAR2(120)    NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)    NOT NULL,
    CREATION_DATE            TIMESTAMP(6)     NOT NULL,
    CREATED_BY               VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128),
    RULE_HEADER_ID           NUMBER(18, 0),
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)     NOT NULL,
    SET_ID                   NUMBER(18, 0)    NOT NULL,
    RULE_NAME                VARCHAR2(120)    NOT NULL,
    DESCRIPTION              VARCHAR2(160),
    SALES_LIST_FLAG          VARCHAR2(4)      NOT NULL,
    CURRENCY_CODE            VARCHAR2(60)     NOT NULL,
    INVOICE_TYPE             VARCHAR2(120)    NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)    NOT NULL,
    CREATION_DATE            TIMESTAMP(6)     NOT NULL,
    CREATED_BY               VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128),
    CONSTRAINT pk_ja_cn_rule_headers PRIMARY KEY (RULE_HEADER_ID, RULE_HEADER_ID)
);
