CREATE TABLE cst_interface_std_cost_details (
    EXTERNAL_SYSTEM_REFERENCE    VARCHAR2(960) ,
    EXPENSE_POOL_ID              NUMBER(18, 0) ,
    EXPENSE_POOL_CODE            VARCHAR2(120) ,
    LOAD_REQUEST_ID              NUMBER(18, 0) ,
    EXTERNAL_SYSTEM_REF_ID       VARCHAR2(120) ,
    LINE_NUMBER                  NUMBER(18, 0) ,
    COST_COMPONENT_SET_CODE      VARCHAR2(960) ,
    COST_COMPONENT_CODE          VARCHAR2(120) ,
    UNIT_COST                    NUMBER        ,
    OBJECT_VERSION_NUMBER        NUMBER(9, 0)      NOT NULL,
    REQUEST_ID                   NUMBER(18, 0) ,
    JOB_DEFINITION_NAME          VARCHAR2(400) ,
    JOB_DEFINITION_PACKAGE       VARCHAR2(3600),
    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) ,
    COST_ELEMENT_CODE            VARCHAR2(120) ,
    COST_ELEMENT_ID              NUMBER(18, 0) ,
    COST_ELEMENT_SET_CODE        VARCHAR2(120) ,
    EXPENSE_POOL_SET_CODE        VARCHAR2(120) ,
    EXTERNAL_SYSTEM_REFERENCE    VARCHAR2(960) ,
    EXTERNAL_SYSTEM_REF_ID       VARCHAR2(120) ,
    LINE_NUMBER                  NUMBER(18, 0) ,
    COST_COMPONENT_SET_CODE      VARCHAR2(960) ,
    COST_COMPONENT_CODE          VARCHAR2(120) ,
    UNIT_COST                    NUMBER        ,
    OBJECT_VERSION_NUMBER        NUMBER(9, 0)      NOT NULL,
    REQUEST_ID                   NUMBER(18, 0) ,
    JOB_DEFINITION_NAME          VARCHAR2(400) ,
    JOB_DEFINITION_PACKAGE       VARCHAR2(3600),
    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) ,
    LOAD_REQUEST_ID              NUMBER(18, 0) ,
    EXPENSE_POOL_ID              NUMBER(18, 0) ,
    EXPENSE_POOL_CODE            VARCHAR2(120) ,
    COST_ELEMENT_CODE            VARCHAR2(120) ,
    COST_ELEMENT_ID              NUMBER(18, 0) ,
    COST_ELEMENT_SET_CODE        VARCHAR2(120) ,
    EXPENSE_POOL_SET_CODE        VARCHAR2(120) ,
    CONSTRAINT pk_cst_interface_std_cost_details PRIMARY KEY (EXTERNAL_SYSTEM_REFERENCE, EXTERNAL_SYSTEM_REF_ID, LINE_NUMBER, EXTERNAL_SYSTEM_REFERENCE, EXTERNAL_SYSTEM_REF_ID, LINE_NUMBER)
);
