CREATE TABLE hwm_xfr_ready_rec_grp (
    XFR_READY_REC_GRP_ID     NUMBER(18, 0),
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)     NOT NULL,
    CALC_REC_GRP_ID          NUMBER(18, 0)    NOT NULL,
    CALC_REC_GRP_VERSION     NUMBER(9, 0)     NOT NULL,
    TM_REC_GRP_ID            NUMBER(18, 0)    NOT NULL,
    TM_REC_GRP_VERSION       NUMBER(9, 0)     NOT NULL,
    START_TIME               TIMESTAMP(6)     NOT NULL,
    STOP_TIME                TIMESTAMP(6)     NOT NULL,
    RESOURCE_ID              NUMBER(18, 0)    NOT NULL,
    SUBRESOURCE_ID           NUMBER(18, 0)    NOT NULL,
    TCSMRS_ID                NUMBER(18, 0)    NOT NULL,
    LDG_OR_BU_ID             NUMBER(18, 0)    NOT NULL,
    XFR_STATUS               NUMBER(2, 0)     NOT NULL,
    XFR_JOB                  NUMBER(18, 0),
    SOURCE                   NUMBER(1, 0)     NOT NULL,
    CREATION_DATE            TIMESTAMP(6)     NOT NULL,
    CREATED_BY               VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128),
    ENTERPRISE_ID            NUMBER(18, 0)    NOT NULL,
    GRP_REC_COUNT            NUMBER(5, 0) ,
    MARK_FOR_TRANSFER        NUMBER(18, 0),
    XFR_READY_REC_GRP_ID     NUMBER(18, 0),
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)     NOT NULL,
    CALC_REC_GRP_ID          NUMBER(18, 0)    NOT NULL,
    CALC_REC_GRP_VERSION     NUMBER(9, 0)     NOT NULL,
    TM_REC_GRP_ID            NUMBER(18, 0)    NOT NULL,
    TM_REC_GRP_VERSION       NUMBER(9, 0)     NOT NULL,
    START_TIME               TIMESTAMP(6)     NOT NULL,
    STOP_TIME                TIMESTAMP(6)     NOT NULL,
    RESOURCE_ID              NUMBER(18, 0)    NOT NULL,
    SUBRESOURCE_ID           NUMBER(18, 0)    NOT NULL,
    TCSMRS_ID                NUMBER(18, 0)    NOT NULL,
    LDG_OR_BU_ID             NUMBER(18, 0)    NOT NULL,
    XFR_STATUS               NUMBER(2, 0)     NOT NULL,
    XFR_JOB                  NUMBER(18, 0),
    SOURCE                   NUMBER(1, 0)     NOT NULL,
    CREATION_DATE            TIMESTAMP(6)     NOT NULL,
    CREATED_BY               VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)     NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)    NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128),
    ENTERPRISE_ID            NUMBER(18, 0)    NOT NULL,
    GRP_REC_COUNT            NUMBER(5, 0) ,
    MARK_FOR_TRANSFER        NUMBER(18, 0),
    CONSTRAINT pk_hwm_xfr_ready_rec_grp PRIMARY KEY (XFR_READY_REC_GRP_ID, XFR_READY_REC_GRP_ID)
);
