--------------------------------------------------------
--  DDL for Table TMS_ACM_ENTRY_STATE_LEDGER_GROUP
--------------------------------------------------------

  CREATE TABLE "CT_ET_TEMPLATES"."TMS_ACM_ENTRY_STATE_LEDGER_GROUP" 
   (	"A_KEY" NUMBER(38,0), 
	"A_WORKFLOW_HISTORY_KEY" NUMBER(38,0), 
	"ACMACCOUNT1_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMPLCATEGORY_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMACCOUNT1_NAME" VARCHAR2(170 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_ACCOUNT_ID" NUMBER(19,0), 
	"ACCOUNTINGTREATMENT_NAME" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMMAPPINGACTION_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_ADJ_DISCHARGE_DATE" DATE, 
	"ACMENTRY_AGGREGATION_ID" NUMBER(19,0), 
	"ACMGROUPINGRULE1_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMGROUPINGRULE1_ID" NUMBER(19,0), 
	"ACMSIGN1_NAME" VARCHAR2(100 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_BANK_ID" VARCHAR2(20 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_BANK_ACCOUNT" VARCHAR2(35 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_BANK_ACCOUNT_CCY_ID" VARCHAR2(20 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_ACCOUNT_HOLDER_ID" VARCHAR2(20 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_ACC_HOLDER_CODE" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_ACC_HOLDER_GROUP_ID" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_BATCH_ID" NUMBER(19,0), 
	"ACMENTRY_BOOK_VALUE" NUMBER(19,4), 
	"ACMENTRY_BOOKING_AMOUNT" NUMBER(19,4), 
	"ACMENTRY_BOOKING_CURRENCY_ID" VARCHAR2(4 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_BOOKING_DATE" DATE, 
	"ACMBOOKKEEPINGTYPE_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_PARAM_0" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_CMMSE_ID" NUMBER(19,0), 
	"ACMENTRY_CMM_GROUP_ID" NUMBER(10,0), 
	"ACMENTRY_CMM_PAYMENT_METHOD_ID" VARCHAR2(15 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_CMM_RECONCILIATION_ID" NUMBER(19,0), 
	"ACMCMMSTATE_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"CTB_CATEGORY" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_CTB_PREVIOUS_DATE" DATE, 
	"ACMENTRY_CTB_SEQUENCE_ID" NUMBER(19,0), 
	"ACMCTBTYPERULE_ID_USER" VARCHAR2(60 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMREVCANCELSTATE2_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_C_PAYMENT_DATE" DATE, 
	"ACMENTRY_FIGURE_ID" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMLEDGER_CHART_ID" NUMBER(19,0), 
	"ACMENTRY_CLASSIFICATION_ID" VARCHAR2(20 CHAR) COLLATE "USING_NLS_COMP", 
	"CLIENT_UNIT_RELATION_ID" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_CONTINUATION_NUMBER" NUMBER(19,0), 
	"ACMCOSTCENTER_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMHEDGECOSTCAT_ID_USER" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_COUNTERPARTY_ID" VARCHAR2(20 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_COUNTERPARTY_CODE" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_COUNTERPARTY_GROUP_ID" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMCPTYRELATION_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_COUNTERPARTY_UNIT_ID" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_CCY_AMOUNT" NUMBER(19,4), 
	"ACMENTRY_CCY_BOOKING_AMOUNT" NUMBER(19,4), 
	"ACMENTRY_CCY_GROUP_ID" NUMBER(19,0), 
	"ACMENTRY_CCY_RESULT" NUMBER(19,4), 
	"CCY_GROUPING_RULE" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_CCY_GROUPING_RULE_ID" NUMBER(19,0), 
	"CCY_POSITION" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"CCY_STATE" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMDRCR_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_DATE_BASIS" VARCHAR2(200 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_DEAL_PRICE" NUMBER(28,10), 
	"ACMENTRY_DEAL_RATE" NUMBER(28,10), 
	"ACMENTRY_DESCRIPTION" VARCHAR2(150 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_AMOUNT" NUMBER(19,4), 
	"ACMENTRY_CURRENCY_ID" VARCHAR2(4 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMACCOUNT1_ERP_ACCOUNT" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_PARAM_1" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_ID" NUMBER(19,0), 
	"ACMENTRYTYPE_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMVOUCHERTYPE2_ID_USER" VARCHAR2(64 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_EVENT_DATE" DATE, 
	"ACMENTRY_EVENT_ID" NUMBER(19,0), 
	"ACMEVENTTYPE_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_EXPORT_ID" NUMBER(19,0), 
	"ACMENTRY_FACILITY_ID" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_FAC_REP_GROUP" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_FIGURE_AMOUNT" NUMBER(28,4), 
	"ACMENTRY_FIGURE_BOOKING_AMOUNT" NUMBER(28,4), 
	"ACMENTRY_FLAGS" VARCHAR2(150 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_FLAGS_2" VARCHAR2(150 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_FX_RATE" NUMBER(28,10), 
	"ACMSIGN2_NAME" VARCHAR2(100 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMGROUPINGRULE2_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMGROUPINGRULE2_ID" NUMBER(19,0), 
	"ACMENTRY_HEDGE_BOOK_EFF_BAL" NUMBER(19,4), 
	"ACMENTRY_HEDGE_BOOK_INEFF_BAL" NUMBER(19,4), 
	"HEDGEDEDESIGNATIONTYPE_NAME" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_HEDGE_DESIGN_PERCENT" NUMBER(19,4), 
	"ACMENTRY_HEDGE_DOC_EFF_BAL" NUMBER(19,4), 
	"ACMENTRY_HEDGE_DOC_INEFF_BAL" NUMBER(19,4), 
	"ACMHEDGEEFFCAT_ID_USER" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_HEDGE_EFF_PERCENT" NUMBER(28,10), 
	"ACMHEDGEQUALIFCAT_ID_USER" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMHEDGELEGCAT_ID_USER" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_HEDGE_RISK" VARCHAR2(20 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_HEDGE_STRATEGY_CODE" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_HEDGE_ID" NUMBER(10,0), 
	"ACMENTRY_HEDGE_TEST_METHOD" VARCHAR2(20 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_HEDGE_TYPE" VARCHAR2(20 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_INSTRUMENT_ID" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"UMPATHNODE_UPATH" VARCHAR2(100 CHAR) COLLATE "USING_NLS_COMP", 
	"UMPATHNODE_ID" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_ISSUER_ID" VARCHAR2(20 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_ISSUER_GROUP_ID" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_ISSUER_UNIT_ID" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMLEDGER_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_LEDGER_ID" NUMBER(19,0), 
	"ACMENTRY_LEG_ID" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_LEG_GROUP" NUMBER(10,0), 
	"ACMENTRY_LOAD_ID" NUMBER(19,0), 
	"ACMENTRY_LOGICAL_REFERENCE_ID" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_MAPPING_DESCRIPTION" VARCHAR2(150 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMMAPPINGRULE_ID_USER" VARCHAR2(60 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMMAPPINGRULE_ID" NUMBER(19,0), 
	"ACMENTRY_MATCH_ID" NUMBER(19,0), 
	"ACMENTRY_MODIFICATION_TIME" DATE, 
	"ACMENTRY_N_OPTION_DATE" DATE, 
	"ACMENTRY_NOMINAL_AMOUNT" NUMBER(19,4), 
	"ACMENTRY_ONE_TIME_CPTY_ID" VARCHAR2(20 CHAR) COLLATE "USING_NLS_COMP", 
	"OPTION_SIGN" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRYORIGIN_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRYORIGINENTITY_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRYORIGINGROUP_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_ORIGINAL_AMOUNT" NUMBER(19,4), 
	"ACMENTRY_ORIG_BOOKING_AMOUNT" NUMBER(19,4), 
	"ORIGINAL_TIME_BAND" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRYSTATE2_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_OWNER_UNIT_ID" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_PACKAGE_MAP_ID" NUMBER(10,0), 
	"ACMENTRY_PACKAGE_TYPE_ID" 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_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_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_PARENT_ID" NUMBER(19,0), 
	"ACMENTRY_PASE_ID" NUMBER(19,0), 
	"ACMPERIOD_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_PORTFOLIO_ID" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_PRE_VOUCHER_ID" NUMBER(10,0), 
	"ACMENTRY_PARAM_16" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMPROJECT_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_REFERENCE_DATE" DATE, 
	"ACMENTRY_NUMBER" NUMBER(19,0), 
	"REPCCY" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"REPORTCCYAMOUNT" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"REPORT_OWNER_UNIT_GROUP_ID" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMVOUCHER_REQ_BOOKING_DATE" DATE, 
	"ACMVOUCHER_REVERSAL_BUNDLE_ID" NUMBER(19,0), 
	"ACMENTRY_REVERSE_EVENT_ID" NUMBER(19,0), 
	"ACMREVCANCELSTATE1_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMVOUCHER_REV_VOUCHER_ID" NUMBER(19,0), 
	"ACMACCOUNT2_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_SECONDARY_ACCOUNT_ID" NUMBER(19,0), 
	"ACMENTRY_SOURCE_REFERENCE" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMSPECIALTREATMENT_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMREBOOKINGTYPE_ID_USER" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRYSTATE1_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_STATUS" NUMBER(10,0), 
	"ACMENTRY_TAG" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_T_CURRENCY_ID" VARCHAR2(4 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_T_CURRENCY_2_ID" VARCHAR2(4 CHAR) COLLATE "USING_NLS_COMP", 
	"TRANSACTIONKIND_NAME" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_T_MATURITY_DATE" DATE, 
	"ACMENTRY_T_OPENING_DATE" DATE, 
	"ACMENTRY_PARAM_3" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_PARAM_4" VARCHAR2(50 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMTRANSACTIONSIGN_NAME" VARCHAR2(100 CHAR) COLLATE "USING_NLS_COMP", 
	"TRANSACTIONTYPE_NAME" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_T_VALUE_DATE" DATE, 
	"ACMVOUCHER_BUNDLE_ID" NUMBER(19,0), 
	"VALUATIONHIERARCHY_NAME" VARCHAR2(255 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMCMMVIEWTYPE_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMVOUCHER_BOOKING_DATE" DATE, 
	"ACMVOUCHER_FLAGS" VARCHAR2(150 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMVOUCHER_MODIFICATION_TIME" DATE, 
	"ACMVOUCHER_VOUCHER_NUMBER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMVOUCHER_POSTING_DATE" DATE, 
	"ACMREVCANCELSTATE3_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMVOUCHERSTATE_ID_USER" VARCHAR2(30 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_VOUCHER_ID" NUMBER(19,0), 
	"ACMVOUCHERTYPE_ID_USER" VARCHAR2(64 CHAR) COLLATE "USING_NLS_COMP", 
	"ACMENTRY_PARAM_2" VARCHAR2(50 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" ;
