--------------------------------------------------------
--  DDL for Table TMS_CLIENT_INSTRUCTION
--------------------------------------------------------

  CREATE TABLE "CT_ET_TEMPLATES"."TMS_CLIENT_INSTRUCTION" 
   (	"A_KEY" NUMBER(38,0), 
	"A_WORKFLOW_HISTORY_KEY" NUMBER(38,0), 
	"ACCOUNT_1_COMMENT" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_1_CURRENCY" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_1_GROUP" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_1_NAME" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_1_NUMBER" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_1_PARENT_ACCOUNT" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_1_SECONDARY_NUMBER" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_1_TARGET_CLOSING_DATE" DATE, 
	"ACCOUNT_1_TYPE" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_2_COMMENT" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_2_CURRENCY" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_2_GROUP" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_2_NAME" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_2_NUMBER" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_2_PARENT_ACCOUNT" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_2_SECONDARY_NUMBER" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_2_TARGET_CLOSING_DATE" DATE, 
	"ACCOUNT_2_TYPE" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_3_COMMENT" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_3_CURRENCY" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_3_GROUP" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_3_NAME" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_3_NUMBER" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_3_PARENT_ACCOUNT" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_3_SECONDARY_NUMBER" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_3_TARGET_CLOSING_DATE" DATE, 
	"ACCOUNT_3_TYPE" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_4_COMMENT" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_4_CURRENCY" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_4_GROUP" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_4_NAME" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_4_NUMBER" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_4_PARENT_ACCOUNT" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_4_SECONDARY_NUMBER" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACCOUNT_4_TARGET_CLOSING_DATE" DATE, 
	"ACCOUNT_4_TYPE" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACTIVE_SINCE" DATE, 
	"ACTIVE_UNTIL" DATE, 
	"BANK_1" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"BANK_2" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"BANK_3" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"BANK_4" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"CLIENT_ID" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"CLIENT_NAME" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"CLIENT_UNIT_ID" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"COMMENT_" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"CURRENCY_ID" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"INSTRUCTION_NAME" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"KIND" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"NOT_RULE_CASHFLOW_CATEGORY" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"NOT_RULE_CF_SUBTYPE_ID" NUMBER(12,0), 
	"NOT_RULE_CF_TYPE_ID" NUMBER(12,0), 
	"NOT_RULE_COUNTERPARTY" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"NOT_RULE_COUNTERPARTY_GROUP" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"NOT_RULE_CPTY_MAIN_GROUP" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"NOT_RULE_CURRENCY" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"NOT_RULE_CURRENCY_2" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"NOT_RULE_ID" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"NOT_RULE_INSTRUMENT" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"NOT_RULE_INSTRUMENT_GROUP" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"NOT_RULE_NAME" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"NOT_RULE_NUMBER" NUMBER(12,0), 
	"NOT_RULE_OWNER" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"NOT_RULE_PORTFOLIO" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"NOT_RULE_TRANSACTION_KIND" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"NOT_RULE_TRANSACTION_SIGN" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"NOT_RULE_TRANSACTION_TYPE" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"PRIORITY" NUMBER(12,0), 
	"RULE_CASHFLOW_CATEGORY" VARCHAR2(100 CHAR) COLLATE "USING_NLS_COMP", 
	"RULE_CF_SUBTYPE_ID" NUMBER(12,0), 
	"RULE_CF_TYPE_ID" NUMBER(12,0), 
	"RULE_CF_TYPE_NAME" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"RULE_COUNTERPARTY" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"RULE_COUNTERPARTY_GROUP" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"RULE_CPTY_MAIN_GROUP" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"RULE_CURRENCY" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"RULE_CURRENCY_2" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"RULE_ID" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"RULE_INSTRUMENT" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"RULE_INSTRUMENT_GROUP" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"RULE_NAME" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"RULE_NUMBER" NUMBER(12,0), 
	"RULE_OWNER" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"RULE_PORTFOLIO" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"RULE_TRANSACTION_KIND" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"RULE_TRANSACTION_SIGN" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"RULE_TRANSACTION_TYPE" VARCHAR2(200 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" ;
