CREATE TABLE bm_cm_trans_rule (
    ID               NUMBER(18, 0) ,
    COMPANY_ID       NUMBER(18, 0)     NOT NULL,
    PROCESS_ID       NUMBER(18, 0)     NOT NULL,
    STEP_ID          NUMBER(18, 0)     NOT NULL,
    PP_ID            NUMBER(18, 0)     NOT NULL,
    NEXT_STEP_ID     NUMBER(18, 0)     NOT NULL,
    RULE_META_ID     NUMBER(18, 0)     NOT NULL,
    ACTION_ID        NUMBER(18, 0)     NOT NULL,
    NAME             VARCHAR2(512) ,
    TYPE_            NUMBER(5, 0)      NOT NULL,
    ORDER_NUMBER     NUMBER(5, 0)      NOT NULL,
    DESCRIPTION      VARCHAR2(1020),
    DATE_ADDED       DATE              NOT NULL,
    DATE_MODIFIED    DATE          ,
    GUID             VARCHAR2(1020)    NOT NULL,
    ID               NUMBER(18, 0) ,
    COMPANY_ID       NUMBER(18, 0)     NOT NULL,
    PROCESS_ID       NUMBER(18, 0)     NOT NULL,
    STEP_ID          NUMBER(18, 0)     NOT NULL,
    PP_ID            NUMBER(18, 0)     NOT NULL,
    NEXT_STEP_ID     NUMBER(18, 0)     NOT NULL,
    RULE_META_ID     NUMBER(18, 0)     NOT NULL,
    ACTION_ID        NUMBER(18, 0)     NOT NULL,
    NAME             VARCHAR2(512) ,
    TYPE_            NUMBER(5, 0)      NOT NULL,
    ORDER_NUMBER     NUMBER(5, 0)      NOT NULL,
    DESCRIPTION      VARCHAR2(1020),
    DATE_ADDED       DATE              NOT NULL,
    DATE_MODIFIED    DATE          ,
    GUID             VARCHAR2(1020)    NOT NULL,
    CONSTRAINT pk_bm_cm_trans_rule PRIMARY KEY (ID, ID)
);
