CREATE TABLE msc_bm_alloc_scenarios (
    SCENARIO_ID              NUMBER(18, 0) ,
    NAME                     VARCHAR2(320) ,
    DESCRIPTION              VARCHAR2(960) ,
    OWNED_BY                 VARCHAR2(256) ,
    START_DATE               DATE          ,
    NUM_OF_BUCKETS           NUMBER(9, 0)  ,
    INVENTORY_ITEM_ID        NUMBER        ,
    ITEM_IDS                 VARCHAR2(4000),
    ORGANIZATION_ID          NUMBER        ,
    ALLOC_MEASURES           VARCHAR2(4000),
    ATTRIBUTE_VALUE_IDS      VARCHAR2(4000),
    METRIC_MEASURES          VARCHAR2(4000),
    INCLUDE_CHILD_LEVEL      NUMBER(1, 0)  ,
    DEFAULT_FLAG             NUMBER(1, 0)  ,
    WORKAREA_TYPE            NUMBER(2, 0)  ,
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)      NOT NULL,
    CREATED_BY               VARCHAR2(256)     NOT NULL,
    CREATION_DATE            TIMESTAMP(6)      NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)     NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)      NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128) ,
    ORGANIZATION_ID_LIST     VARCHAR2(4000),
    SCENARIO_ID              NUMBER(18, 0) ,
    NAME                     VARCHAR2(320) ,
    DESCRIPTION              VARCHAR2(960) ,
    OWNED_BY                 VARCHAR2(256) ,
    START_DATE               DATE          ,
    NUM_OF_BUCKETS           NUMBER(9, 0)  ,
    INVENTORY_ITEM_ID        NUMBER        ,
    ITEM_IDS                 VARCHAR2(4000),
    ORGANIZATION_ID          NUMBER        ,
    ALLOC_MEASURES           VARCHAR2(4000),
    ATTRIBUTE_VALUE_IDS      VARCHAR2(4000),
    DEFAULT_FLAG             NUMBER(1, 0)  ,
    OBJECT_VERSION_NUMBER    NUMBER(9, 0)      NOT NULL,
    CREATED_BY               VARCHAR2(256)     NOT NULL,
    CREATION_DATE            TIMESTAMP(6)      NOT NULL,
    LAST_UPDATED_BY          VARCHAR2(256)     NOT NULL,
    LAST_UPDATE_DATE         TIMESTAMP(6)      NOT NULL,
    LAST_UPDATE_LOGIN        VARCHAR2(128) ,
    METRIC_MEASURES          VARCHAR2(4000),
    INCLUDE_CHILD_LEVEL      NUMBER(1, 0)  ,
    WORKAREA_TYPE            NUMBER(2, 0)  ,
    ORGANIZATION_ID_LIST     VARCHAR2(4000),
    CONSTRAINT pk_msc_bm_alloc_scenarios PRIMARY KEY (SCENARIO_ID, SCENARIO_ID)
);
