CREATE TABLE cst_inv_txns_cpvu_gt (
    CST_INV_TRANSACTION_ID            NUMBER(18, 0)    NOT NULL,
    CST_INV_TRANSACTION_DTL_ID        NUMBER(18, 0),
    COST_ORG_ID                       NUMBER(18, 0)    NOT NULL,
    COST_BOOK_ID                      NUMBER(18, 0)    NOT NULL,
    INVENTORY_ITEM_ID                 NUMBER(18, 0)    NOT NULL,
    INVENTORY_ORG_ID                  NUMBER(18, 0)    NOT NULL,
    ITEM_COST_PROFILE_ID              NUMBER(18, 0),
    COST_PROFILE_ID                   NUMBER(18, 0),
    STATUS                            VARCHAR2(120),
    ERROR_CODE                        VARCHAR2(120),
    LOGICAL_FLAG                      VARCHAR2(4)  ,
    INTRANSIT_FLAG                    VARCHAR2(4)  ,
    QUANTITY                          NUMBER       ,
    UOM_CODE                          VARCHAR2(12) ,
    UOM_CONVERSION_FACTOR             NUMBER       ,
    LOT_NUMBER                        VARCHAR2(320),
    COST_BY_UOM_TYPE                  VARCHAR2(120),
    PRIMARY_QTY                       NUMBER       ,
    PRIMARY_UOM_CODE                  VARCHAR2(12) ,
    TRANSACTION_QTY                   NUMBER       ,
    TRANSACTION_UOM_CODE              VARCHAR2(12) ,
    SECONDARY_TRANSACTION_QTY         NUMBER       ,
    SECONDARY_TRANSACTION_UOM_CODE    VARCHAR2(12) ,
    COST_TRANSACTION_TYPE             VARCHAR2(40) ,
    ADDITIONAL_PROCESSING_CODE        VARCHAR2(960),
    USE_ITEM_COST_FLAG                VARCHAR2(4)  ,
    VAL_STRUCTURE_ID                  NUMBER(18, 0),
    STRUCTURE_INSTANCE_NUMBER         NUMBER(18, 0),
    VAL_UNIT_ID                       NUMBER(18, 0),
    VAL_UNIT_DETAIL_ID                NUMBER(18, 0),
    VAL_UNIT_COMBINATION_ID           NUMBER(18, 0),
    EXPENSE_TRANSACTION_FLAG          VARCHAR2(4)  ,
    TRANSFER_CST_INV_TXN_DTL_ID       NUMBER(18, 0),
    VU_STRUCTURE_COMPARE_FLAG         VARCHAR2(4)  ,
    TRANSFER_CST_INV_TXN_ID           NUMBER(18, 0),
    VU_COMPARE_STATUS                 VARCHAR2(4)  ,
    BASE_TXN_SOURCE_TYPE_ID           NUMBER(18, 0),
    BASE_TXN_ACTION_ID                NUMBER(18, 0),
    EXTERNAL_SYSTEM_REFERENCE         VARCHAR2(240),
    EXTERNAL_SYSTEM_REF_ID            VARCHAR2(120),
    TRANSFER_INVENTORY_ORG_ID         NUMBER(18, 0),
    WO_COST_ALLOCATION_BASIS          VARCHAR2(120),
    TRANSACTION_DATE                  TIMESTAMP(6) ,
    TRANSACTION_FLOW_TYPE             NUMBER(18, 0),
    PAC_XFR_CO_FLAG                   VARCHAR2(4)  ,
    PERIOD_NAME                       VARCHAR2(60) ,
    ORIGINAL_TO_SHIPMENT_TXN_ID       NUMBER(18, 0),
    CST_INV_TRANSACTION_ID            NUMBER(18, 0)    NOT NULL,
    CST_INV_TRANSACTION_DTL_ID        NUMBER(18, 0),
    COST_ORG_ID                       NUMBER(18, 0)    NOT NULL,
    COST_BOOK_ID                      NUMBER(18, 0)    NOT NULL,
    INVENTORY_ITEM_ID                 NUMBER(18, 0)    NOT NULL,
    INVENTORY_ORG_ID                  NUMBER(18, 0)    NOT NULL,
    ITEM_COST_PROFILE_ID              NUMBER(18, 0),
    COST_PROFILE_ID                   NUMBER(18, 0),
    STATUS                            VARCHAR2(120),
    ERROR_CODE                        VARCHAR2(120),
    LOGICAL_FLAG                      VARCHAR2(4)  ,
    INTRANSIT_FLAG                    VARCHAR2(4)  ,
    QUANTITY                          NUMBER       ,
    UOM_CODE                          VARCHAR2(12) ,
    UOM_CONVERSION_FACTOR             NUMBER       ,
    LOT_NUMBER                        VARCHAR2(320),
    COST_BY_UOM_TYPE                  VARCHAR2(120),
    PRIMARY_QTY                       NUMBER       ,
    PRIMARY_UOM_CODE                  VARCHAR2(12) ,
    TRANSACTION_QTY                   NUMBER       ,
    TRANSACTION_UOM_CODE              VARCHAR2(12) ,
    SECONDARY_TRANSACTION_QTY         NUMBER       ,
    SECONDARY_TRANSACTION_UOM_CODE    VARCHAR2(12) ,
    COST_TRANSACTION_TYPE             VARCHAR2(40) ,
    ADDITIONAL_PROCESSING_CODE        VARCHAR2(960),
    USE_ITEM_COST_FLAG                VARCHAR2(4)  ,
    VAL_STRUCTURE_ID                  NUMBER(18, 0),
    STRUCTURE_INSTANCE_NUMBER         NUMBER(18, 0),
    VAL_UNIT_ID                       NUMBER(18, 0),
    VAL_UNIT_DETAIL_ID                NUMBER(18, 0),
    VAL_UNIT_COMBINATION_ID           NUMBER(18, 0),
    EXPENSE_TRANSACTION_FLAG          VARCHAR2(4)  ,
    TRANSFER_CST_INV_TXN_DTL_ID       NUMBER(18, 0),
    VU_STRUCTURE_COMPARE_FLAG         VARCHAR2(4)  ,
    TRANSFER_CST_INV_TXN_ID           NUMBER(18, 0),
    VU_COMPARE_STATUS                 VARCHAR2(4)  ,
    BASE_TXN_SOURCE_TYPE_ID           NUMBER(18, 0),
    BASE_TXN_ACTION_ID                NUMBER(18, 0),
    EXTERNAL_SYSTEM_REFERENCE         VARCHAR2(240),
    EXTERNAL_SYSTEM_REF_ID            VARCHAR2(120),
    TRANSFER_INVENTORY_ORG_ID         NUMBER(18, 0),
    WO_COST_ALLOCATION_BASIS          VARCHAR2(120),
    TRANSACTION_DATE                  TIMESTAMP(6) ,
    TRANSACTION_FLOW_TYPE             NUMBER(18, 0),
    PAC_XFR_CO_FLAG                   VARCHAR2(4)  ,
    PERIOD_NAME                       VARCHAR2(60) ,
    ORIGINAL_TO_SHIPMENT_TXN_ID       NUMBER(18, 0)
);
