--------------------------------------------------------
--  DDL for Table W_ODS_TMS_INSTRUMENTBONDCASHFLOW
--------------------------------------------------------

  CREATE TABLE "CT_ET_TEMPLATES"."W_ODS_TMS_INSTRUMENTBONDCASHFLOW" 
   (	"A_KEY" NUMBER(38,0), 
	"A_WORKFLOW_HISTORY_KEY" NUMBER(38,0), 
	"ACCRUAL_DATE_BASIS" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"ACTIVE_SINCE" DATE, 
	"ACTIVE_UNTIL" DATE, 
	"ACTUAL_AMOUNT" BINARY_DOUBLE, 
	"ACTUAL_CURRENCY_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"ACTUAL_FX_RATE" BINARY_DOUBLE, 
	"AMOUNT" BINARY_DOUBLE, 
	"AMOUNT_ROUNDING" BINARY_DOUBLE, 
	"CASHFLOW_GROUP" NUMBER(12,0), 
	"CATEGORY_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"CF_FLAGS" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"CF_FLAGS_2" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"CF_KEEP_FLAGS" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"CURRENCY_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"DATE_BASIS" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"EFFECTIVE_FIXING_DATE" DATE, 
	"EX_DATE" DATE, 
	"EXPRESSION" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"FIXING_CAP" BINARY_DOUBLE, 
	"FIXING_DATE" DATE, 
	"FIXING_DIVIDER" BINARY_DOUBLE, 
	"FIXING_FLOOR" BINARY_DOUBLE, 
	"FIXING_FROM" DATE, 
	"FIXING_PARAM" BINARY_DOUBLE, 
	"FIXING_PERIOD_2_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"FIXING_PERIOD_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"FIXING_PRICE" BINARY_DOUBLE, 
	"FIXING_PRICE_2" BINARY_DOUBLE, 
	"FIXING_PROCESSING_DATE" DATE, 
	"FIXING_QUOTE" BINARY_DOUBLE, 
	"FIXING_RATE_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"FIXING_SUBSCENARIO_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"FIXING_TO" DATE, 
	"FIXING_TYPE" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"FLAGS" NUMBER(12,0), 
	"FREEZE_DATE" DATE, 
	"INSTRUMENT_ACCRUED_INTEREST" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"INSTRUMENT_ACTIVE_SINCE" DATE, 
	"INSTRUMENT_ACTIVE_UNTIL" DATE, 
	"INSTRUMENT_AMOUNT_ROUNDING" BINARY_DOUBLE, 
	"INSTRUMENT_BUY_LABEL" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"INSTRUMENT_COUPON_RATE" BINARY_DOUBLE, 
	"INSTRUMENT_CURRENCY_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"INSTRUMENT_DEFAULT_PRICE_DENOM" NUMBER(12,0), 
	"INSTRUMENT_DOMAIN_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"INSTRUMENT_FLAGS" NUMBER(12,0), 
	"INSTRUMENT_GROUP" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"INSTRUMENT_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"INSTRUMENT_ISSUER_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"INSTRUMENT_ISSUER_UNIT_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"INSTRUMENT_LAYOUT_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"INSTRUMENT_MINIMUM_PRICE_DENOM" NUMBER(12,0), 
	"INSTRUMENT_NAME" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"INSTRUMENT_RESULT_TYPE_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"INSTRUMENT_SELL_LABEL" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"INSTRUMENT_SETTLEMENT_FLAGS" NUMBER(12,0), 
	"INSTRUMENT_SIGN_ID" NUMBER(12,0), 
	"INSTRUMENT_TEMPLATE_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"INSTRUMENT_TYPE_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"KEY_ID" NUMBER(12,0), 
	"KINDS" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"ORIGIN_ID" NUMBER(12,0), 
	"ORIGIN_VALUE" BINARY_DOUBLE, 
	"PAYMENT_DATE" DATE, 
	"REALIZE_DATE" DATE, 
	"REFEREE_ID" NUMBER(12,0), 
	"REFERENCE_DATE" DATE, 
	"REFERENCE_ID" NUMBER(12,0), 
	"SIGN" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"SINCE_WHEN" DATE, 
	"SPREAD" BINARY_DOUBLE, 
	"SUBCATEGORY_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"SUBTYPE_ID" NUMBER(12,0), 
	"TYPE_ID" NUMBER(12,0), 
	"TYPE_NAME" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"UMI_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"UNTIL_WHEN" DATE, 
	"VALUE_DATE" DATE
   )  DEFAULT COLLATION "USING_NLS_COMP" SEGMENT CREATION DEFERRED 
  PCTFREE 10 PCTUSED 40 INITRANS 10 MAXTRANS 255 
 COLUMN STORE COMPRESS FOR QUERY HIGH ROW LEVEL LOCKING LOGGING
  TABLESPACE "DATA" ;
