CREATE TABLE cst_wo_osp_costs_i_gt (
    WO_OSP_COST_ID                NUMBER(18, 0) ,
    TRANSACTION_ID                NUMBER(18, 0)     NOT NULL,
    COST_ORG_ID                   NUMBER(18, 0)     NOT NULL,
    COST_BOOK_ID                  NUMBER(18, 0)     NOT NULL,
    INVENTORY_ITEM_ID             NUMBER(18, 0)     NOT NULL,
    VAL_UNIT_ID                   NUMBER(18, 0) ,
    EFF_DATE                      TIMESTAMP(6)      NOT NULL,
    COST_DATE                     TIMESTAMP(6)      NOT NULL,
    COST_ELEMENT_ID               NUMBER(18, 0)     NOT NULL,
    EXPENSE_POOL_ID               NUMBER(18, 0)     NOT NULL,
    TRANSACTION_COST_ID           NUMBER(18, 0)     NOT NULL,
    BASE_TXN_TYPE_ID              NUMBER(18, 0)     NOT NULL,
    COST_SOURCE                   VARCHAR2(120) ,
    COST_REFERENCE                VARCHAR2(400) ,
    COST_TRANSACTION_TYPE         VARCHAR2(120)     NOT NULL,
    ADDITIONAL_PROCESSING_CODE    VARCHAR2(80)  ,
    ABSORPTION_TYPE               VARCHAR2(120) ,
    QUANTITY                      NUMBER            NOT NULL,
    PERIOD_NAME                   VARCHAR2(60)  ,
    UOM_CODE                      VARCHAR2(12)      NOT NULL,
    UNIT_COST                     NUMBER            NOT NULL,
    CURRENCY_CODE                 VARCHAR2(60)      NOT NULL,
    POSTED_FLAG                   VARCHAR2(16)  ,
    DISTRIBUTION_ID               NUMBER(18, 0) ,
    STD_COST_ID                   NUMBER(18, 0) ,
    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) ,
    REQUEST_ID                    NUMBER(18, 0) ,
    JOB_DEFINITION_NAME           VARCHAR2(400) ,
    JOB_DEFINITION_PACKAGE        VARCHAR2(3600),
    WO_OSP_COST_ID                NUMBER(18, 0) ,
    TRANSACTION_ID                NUMBER(18, 0)     NOT NULL,
    COST_ORG_ID                   NUMBER(18, 0)     NOT NULL,
    COST_BOOK_ID                  NUMBER(18, 0)     NOT NULL,
    INVENTORY_ITEM_ID             NUMBER(18, 0)     NOT NULL,
    VAL_UNIT_ID                   NUMBER(18, 0) ,
    EFF_DATE                      TIMESTAMP(6)      NOT NULL,
    COST_DATE                     TIMESTAMP(6)      NOT NULL,
    COST_ELEMENT_ID               NUMBER(18, 0)     NOT NULL,
    EXPENSE_POOL_ID               NUMBER(18, 0)     NOT NULL,
    TRANSACTION_COST_ID           NUMBER(18, 0)     NOT NULL,
    BASE_TXN_TYPE_ID              NUMBER(18, 0)     NOT NULL,
    COST_SOURCE                   VARCHAR2(120) ,
    COST_REFERENCE                VARCHAR2(400) ,
    COST_TRANSACTION_TYPE         VARCHAR2(120)     NOT NULL,
    ADDITIONAL_PROCESSING_CODE    VARCHAR2(80)  ,
    ABSORPTION_TYPE               VARCHAR2(120) ,
    QUANTITY                      NUMBER            NOT NULL,
    PERIOD_NAME                   VARCHAR2(60)  ,
    UOM_CODE                      VARCHAR2(12)      NOT NULL,
    UNIT_COST                     NUMBER            NOT NULL,
    CURRENCY_CODE                 VARCHAR2(60)      NOT NULL,
    POSTED_FLAG                   VARCHAR2(16)  ,
    DISTRIBUTION_ID               NUMBER(18, 0) ,
    STD_COST_ID                   NUMBER(18, 0) ,
    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) ,
    REQUEST_ID                    NUMBER(18, 0) ,
    JOB_DEFINITION_NAME           VARCHAR2(400) ,
    JOB_DEFINITION_PACKAGE        VARCHAR2(3600),
    CONSTRAINT pk_cst_wo_osp_costs_i_gt PRIMARY KEY (WO_OSP_COST_ID, WO_OSP_COST_ID)
);
