CREATE TABLE cst_qpp_trade_service_reply_gt (
    TRANSACTION_TYPE_ID            NUMBER(18, 0),
    TRANSACTION_ID                 NUMBER(18, 0),
    SOURCE_DOCUMENT_ID             VARCHAR2(120),
    SOURCE_DOCUMENT_TYPE_CODE      VARCHAR2(120),
    SOURCE_DOCUMENT_SYSTEM_CODE    VARCHAR2(120),
    TRANSACTION_DATE               DATE         ,
    FROM_ORG_ID                    NUMBER(18, 0),
    TO_ORG_ID                      NUMBER(18, 0),
    INVENTORY_ITEM_ID              NUMBER(18, 0),
    RMA_SOURCE_DOCUMENT_ID         VARCHAR2(120),
    STATUS                         VARCHAR2(120),
    TRADE_AGREEMENT_PTR_ID         NUMBER(18, 0),
    SUCCESSOR_BUSINESS_UNIT_ID     NUMBER(18, 0),
    SUCCESSOR_INVENTORY_ORG_ID     NUMBER(18, 0),
    CST_INV_TRANSACTION_ID         NUMBER(18, 0),
    TRANSACTION_TYPE_ID            NUMBER(18, 0),
    TRANSACTION_ID                 NUMBER(18, 0),
    SOURCE_DOCUMENT_ID             VARCHAR2(120),
    SOURCE_DOCUMENT_TYPE_CODE      VARCHAR2(120),
    SOURCE_DOCUMENT_SYSTEM_CODE    VARCHAR2(120),
    TRANSACTION_DATE               DATE         ,
    FROM_ORG_ID                    NUMBER(18, 0),
    TO_ORG_ID                      NUMBER(18, 0),
    INVENTORY_ITEM_ID              NUMBER(18, 0),
    RMA_SOURCE_DOCUMENT_ID         VARCHAR2(120),
    STATUS                         VARCHAR2(120),
    TRADE_AGREEMENT_PTR_ID         NUMBER(18, 0),
    SUCCESSOR_BUSINESS_UNIT_ID     NUMBER(18, 0),
    SUCCESSOR_INVENTORY_ORG_ID     NUMBER(18, 0),
    CST_INV_TRANSACTION_ID         NUMBER(18, 0),
    CONSTRAINT pk_cst_qpp_trade_service_reply_gt PRIMARY KEY (TRANSACTION_TYPE_ID, SOURCE_DOCUMENT_SYSTEM_CODE, CST_INV_TRANSACTION_ID, TRANSACTION_TYPE_ID, SOURCE_DOCUMENT_SYSTEM_CODE, CST_INV_TRANSACTION_ID)
);
