create table ct_et_templates.w_ODS_TMS_BALANCE (
  a_key number(38, 0),
  a_workflow_history_key number(38, 0),
  number_ number(12, 0),
  id number(12, 0),
  date_ date,
  amount number(19,4),
  accrued_interest_percent binary_double,
  client_id varchar2(255 char),
  client_unit_id varchar2(255 char),
  bank_id varchar2(255 char),
  bank_unit_id varchar2(255 char),
  account_id varchar2(255 char),
  currency_id varchar2(255 char),
  cp_client_id varchar2(255 char),
  cp_client_unit_id varchar2(255 char),
  type varchar2(255 char),
  order_number number(12, 0),
  flags varchar2(255 char),
  name varchar2(255 char),
  portfolio_id varchar2(255 char),
  instrument_id varchar2(255 char),
  instrument_group varchar2(255 char),
  state_id varchar2(255 char),
  payment_id number(12, 0),
  payment_date date,
  payment_currency_id varchar2(255 char),
  payment_amount number(19,4),
  fx_spot_rate binary_double,
  affect_number number(12, 0),
  payment_client_id varchar2(255 char),
  payment_client_unit_id varchar2(255 char),
  credit_client_id varchar2(255 char),
  param_0 varchar2(255 char),
  param_1 varchar2(255 char),
  param_2 varchar2(255 char),
  param_3 varchar2(255 char),
  param_4 varchar2(255 char),
  param_5 varchar2(255 char),
  param_6 varchar2(255 char),
  param_7 varchar2(255 char),
  param_8 varchar2(255 char),
  param_9 varchar2(255 char),
  param_10 varchar2(255 char),
  param_11 varchar2(255 char),
  param_12 varchar2(255 char),
  param_13 varchar2(255 char),
  param_14 varchar2(255 char),
  param_15 varchar2(255 char),
  param_16 varchar2(255 char),
  param_17 varchar2(255 char),
  param_18 varchar2(255 char),
  param_19 varchar2(255 char)
)
