--------------------------------------------------------
--  DDL for Table W_ODS_TMS_ECBINSTRUMENTBONDCASHFLOW
--------------------------------------------------------

  CREATE TABLE "CT_ET_TEMPLATES"."W_ODS_TMS_ECBINSTRUMENTBONDCASHFLOW" 
   (	"A_KEY" NUMBER(38,0), 
	"A_WORKFLOW_HISTORY_KEY" NUMBER(38,0), 
	"ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"TYPE_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"DOMAIN_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"FLAGS" NUMBER(12,0), 
	"NAME" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"LAYOUT_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"ACTIVE_SINCE" DATE, 
	"ACTIVE_UNTIL" DATE, 
	"BUY_LABEL" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"SELL_LABEL" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"PATH_ID" NUMBER(12,0), 
	"RESULT_TYPE_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"TEMPLATE_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"INSTRUMENT_GROUP" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"UMI_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"CURRENCY_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"ISSUER_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"SETTLEMENT_FLAGS" NUMBER(12,0), 
	"AMOUNT_ROUNDING" BINARY_DOUBLE, 
	"ACCRUED_INTEREST" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"MINIMUM_PRICE_DENOM" NUMBER(12,0), 
	"DEFAULT_PRICE_DENOM" NUMBER(12,0), 
	"SIGN_ID" NUMBER(12,0), 
	"COUPON_RATE" BINARY_DOUBLE, 
	"ISSUER_UNIT_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"KEY_ID" NUMBER(12,0), 
	"CASHFLOW_TYPE_ID" NUMBER(12,0), 
	"SUBTYPE_ID" NUMBER(12,0), 
	"CATEGORY_ID" NUMBER(12,0), 
	"VALUE_DATE" DATE, 
	"DATE_BASIS" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"FIXING_PRICE" BINARY_DOUBLE, 
	"KINDS" NUMBER(12,0), 
	"CF_FLAGS" NUMBER(12,0), 
	"CF_FLAGS_2" NUMBER(12,0), 
	"CF_KEEP_FLAGS" NUMBER(12,0), 
	"REFERENCE_ID" NUMBER(12,0), 
	"REFEREE_ID" NUMBER(12,0), 
	"AMOUNT" BINARY_DOUBLE, 
	"ACTUAL_CURRENCY_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"ACTUAL_FX_RATE" BINARY_DOUBLE, 
	"ACTUAL_AMOUNT" BINARY_DOUBLE, 
	"SUBCATEGORY_ID" NUMBER(12,0), 
	"SIGN" NUMBER(12,0), 
	"SINCE_WHEN" DATE, 
	"UNTIL_WHEN" DATE, 
	"PAYMENT_DATE" DATE, 
	"REALIZE_DATE" DATE, 
	"ORIGIN_ID" NUMBER(12,0), 
	"ORIGIN_VALUE" BINARY_DOUBLE, 
	"EX_DATE" DATE, 
	"REFERENCE_DATE" DATE, 
	"SPREAD" BINARY_DOUBLE, 
	"CASHFLOW_GROUP" NUMBER(12,0), 
	"ACCRUAL_DATE_BASIS" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"FIXING_RATE_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"FIXING_PERIOD_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"FIXING_PERIOD_2_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"FIXING_PARAM" BINARY_DOUBLE, 
	"FIXING_SUBSCENARIO_ID" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"FIXING_DATE" DATE, 
	"FIXING_FROM" DATE, 
	"FIXING_TO" DATE, 
	"FIXING_PRICE_2" BINARY_DOUBLE, 
	"FIXING_QUOTE" BINARY_DOUBLE, 
	"FIXING_TYPE" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"FIXING_DIVIDER" BINARY_DOUBLE, 
	"FIXING_CAP" BINARY_DOUBLE, 
	"FIXING_FLOOR" BINARY_DOUBLE, 
	"EXPRESSION" VARCHAR2(512 CHAR) COLLATE "USING_NLS_COMP", 
	"FREEZE_DATE" DATE, 
	"EFFECTIVE_FIXING_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" ;
