CREATE TABLE cst_rcl_rec_writeoff_costs (
    REC_WRITEOFF_COST_ID      NUMBER(18, 0) ,
    COST_REC_TXN_ID           NUMBER(18, 0)     NOT NULL,
    CST_TRANSACTION_ID        NUMBER(18, 0)     NOT NULL,
    REC_TRXN_ID               NUMBER(18, 0)     NOT NULL,
    DEP_TRXN_ID               NUMBER(18, 0)     NOT NULL,
    CST_WRITEOFF_COST_ID      NUMBER(18, 0)     NOT NULL,
    QUANTITY                  NUMBER        ,
    DISTRIBUTION_ID           NUMBER(18, 0) ,
    POSTED_FLAG               VARCHAR2(20)  ,
    COST_ORG_ID               NUMBER(18, 0) ,
    COST_BOOK_ID              NUMBER(18, 0) ,
    TRANSACTION_DATE          TIMESTAMP(6)      NOT NULL,
    EFF_DATE                  TIMESTAMP(6)      NOT NULL,
    UNIT_COST                 NUMBER        ,
    CURRENCY_CODE             VARCHAR2(120) ,
    UOM_CODE                  VARCHAR2(100) ,
    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),
    REC_WRITEOFF_COST_ID      NUMBER(18, 0) ,
    COST_REC_TXN_ID           NUMBER(18, 0)     NOT NULL,
    CST_TRANSACTION_ID        NUMBER(18, 0)     NOT NULL,
    REC_TRXN_ID               NUMBER(18, 0)     NOT NULL,
    DEP_TRXN_ID               NUMBER(18, 0)     NOT NULL,
    CST_WRITEOFF_COST_ID      NUMBER(18, 0)     NOT NULL,
    QUANTITY                  NUMBER        ,
    DISTRIBUTION_ID           NUMBER(18, 0) ,
    POSTED_FLAG               VARCHAR2(20)  ,
    COST_ORG_ID               NUMBER(18, 0) ,
    COST_BOOK_ID              NUMBER(18, 0) ,
    TRANSACTION_DATE          TIMESTAMP(6)      NOT NULL,
    EFF_DATE                  TIMESTAMP(6)      NOT NULL,
    UNIT_COST                 NUMBER        ,
    CURRENCY_CODE             VARCHAR2(120) ,
    UOM_CODE                  VARCHAR2(100) ,
    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_rcl_rec_writeoff_costs PRIMARY KEY (REC_WRITEOFF_COST_ID, REC_WRITEOFF_COST_ID)
);
