--------------------------------------------------------
--  DDL for Table TMS_ACM_CURRENCY_FLOW
--------------------------------------------------------

  CREATE TABLE "CT_ET_TEMPLATES"."TMS_ACM_CURRENCY_FLOW" 
   (	"A_KEY" NUMBER(38,0), 
	"A_WORKFLOW_HISTORY_KEY" NUMBER(38,0), 
	"ACCOUNTINGTREATMENT_NAME" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMBOOKKEEPINGTYPE_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMCMMSTATE_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMCMMVIEWTYPE_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMCPTYRELATION_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMCURRENCYENTRYSTATE_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMCURRENCYPOSITION_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_ACCOUNT_HOLDER_ID" VARCHAR2(20 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_BANK_ACCOUNT" VARCHAR2(35 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_BANK_ACCOUNT_CCY_ID" VARCHAR2(4 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_BANK_ID" VARCHAR2(20 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_BOOK_VALUE" NUMBER(19,4), 
	"ACMENTRY_BOOKING_CURRENCY_ID" VARCHAR2(4 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_C_PAYMENT_DATE" DATE, 
	"ACMENTRY_CCY_AMOUNT" NUMBER(19,4), 
	"ACMENTRY_CCY_BOOKING_AMOUNT" NUMBER(19,4), 
	"ACMENTRY_CCY_GROUP_ID" NUMBER(12,0), 
	"ACMENTRY_CCY_RESULT" NUMBER(19,4), 
	"ACMENTRY_CLASSIFICATION_ID" VARCHAR2(20 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_CMM_GROUP_ID" NUMBER(12,0), 
	"ACMENTRY_CMM_PAYMENT_METHOD_ID" VARCHAR2(15 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_CMM_RECONCILIATION_ID" NUMBER(12,0), 
	"ACMENTRY_COUNTERPARTY_CODE" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_COUNTERPARTY_GROUP_ID" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_COUNTERPARTY_ID" VARCHAR2(20 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_CURRENCY_ID" VARCHAR2(4 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_DATE_BASIS" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_DEAL_PRICE" BINARY_DOUBLE, 
	"ACMENTRY_DEAL_RATE" BINARY_DOUBLE, 
	"ACMENTRY_DESCRIPTION" VARCHAR2(150 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_EVENT_DATE" DATE, 
	"ACMENTRY_EVENT_ID" NUMBER(12,0), 
	"ACMENTRY_FIGURE_ID" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_FX_RATE" BINARY_DOUBLE, 
	"ACMENTRY_ID" NUMBER(12,0), 
	"ACMENTRY_INSTRUMENT_ID" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_ISSUER_GROUP_ID" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_ISSUER_ID" VARCHAR2(20 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_LEG_GROUP" NUMBER(12,0), 
	"ACMENTRY_LEG_ID" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_LOAD_ID" NUMBER(12,0), 
	"ACMENTRY_NOMINAL_AMOUNT" NUMBER(19,4), 
	"ACMENTRY_NUMBER_" NUMBER(12,0), 
	"ACMENTRY_ONE_TIME_COUNTERPARTY_ID" VARCHAR2(20 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_PACKAGE_MAP_ID" NUMBER(12,0), 
	"ACMENTRY_PACKAGE_TYPE_ID" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_PARAM_0" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_PARAM_1" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_PARAM_10" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_PARAM_11" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_PARAM_12" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_PARAM_13" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_PARAM_14" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_PARAM_15" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_PARAM_16" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_PARAM_17" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_PARAM_18" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_PARAM_19" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_PARAM_2" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_PARAM_3" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_PARAM_4" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_PARAM_5" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_PARAM_6" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_PARAM_7" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_PARAM_8" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_PARAM_9" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_PORTFOLIO_ID" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_REVERSE_EVENT_ID" NUMBER(12,0), 
	"ACMENTRY_SOURCE_REFERENCE" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_T_CURRENCY_2_ID" VARCHAR2(4 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_T_CURRENCY_ID" VARCHAR2(4 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_T_MATURITY_DATE" DATE, 
	"ACMENTRY_T_OPENING_DATE" DATE, 
	"ACMENTRY_T_VALUE_DATE" DATE, 
	"ACMENTRYORIGIN_ID_USER" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRYORIGINENTITY_ID_USER" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRYORIGINGROUP_ID_USER" VARCHAR2(10 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRYTYPE_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMEVENTTYPE_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMGROUPINGRULE_ID" NUMBER(12,0), 
	"ACMGROUPINGRULE_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMLEDGER_ID" NUMBER(12,0), 
	"ACMLEDGER_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMMAPPINGRULE_ID" NUMBER(12,0), 
	"ACMMAPPINGRULE_ID_USER" VARCHAR2(60 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMPERIOD_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMPERIODORDERNUMBER_NUMBER" NUMBER(12,0), 
	"ACMPLCATEGORY_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMTRANSACTIONSIGN_NAME" VARCHAR2(100 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMVOUCHER_BOOKING_DATE" DATE, 
	"ACMVOUCHER_ID" NUMBER(12,0), 
	"ACMVOUCHER_POSTING_DATE" DATE, 
	"ACMVOUCHER_VOUCHER_NUMBER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"TRANSACTIONKIND_NAME" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"TRANSACTIONTYPE_NAME" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"UMPATHNODE_ID" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"UMPATHNODE_UPATH" VARCHAR2(100 CHAR) COLLATE "USING_NLS_COMP"
   )  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" ;
