SELECT
  origin_system AS origin_system,
  version AS version,
  voseas AS voseas,
  iter AS iter,
  oseas AS oseas,
  omon AS omon,
  odate AS odate,
  oday AS oday,
  om AS om,
  oy AS oy,
  oytd AS oytd,
  rseas AS rseas,
  rmon AS rmon,
  rdate AS rdate,
  rday AS rday,
  rm AS rm,
  ry AS ry,
  rytd AS rytd,
  sseas AS sseas,
  smon AS smon,
  sdate AS sdate,
  sday AS sday,
  sm AS sm,
  sy AS sy,
  sytd AS sytd,
  sseas_e AS sseas_e,
  smon_e AS smon_e,
  pseas AS pseas,
  pmon AS pmon,
  pdate AS pdate,
  pday AS pday,
  pm AS pm,
  py AS py,
  pytd AS pytd,
  ostatus AS ostatus,
  flag_s AS flag_s,
  flag_o AS flag_o,
  ordnum AS ordnum,
  ordline AS ordline,
  invnum AS invnum,
  invline AS invline,
  quoten AS quoten,
  quotel AS quotel,
  ordquote AS ordquote,
  bill_dba AS bill_dba,
  bill_cust AS bill_cust,
  bill_class AS bill_class,
  bill_ctry AS bill_ctry,
  bill_prov AS bill_prov,
  bill_post AS bill_post,
  ship_dba AS ship_dba,
  ship_cust AS ship_cust,
  ship_class AS ship_class,
  dest_ctry AS dest_ctry,
  dest_prov AS dest_prov,
  dest_post AS dest_post,
  chan AS chan,
  chansub AS chansub,
  chanretail AS chanretail,
  chanwide AS chanwide,
  customer AS customer,
  customer_tier AS customer_tier,
  dsm AS dsm,
  csr AS csr,
  director AS director,
  quota_rep AS quota_rep,
  default_rep AS default_rep,
  retail_rep AS retail_rep,
  inside_rep AS inside_rep,
  keyaccount_rep AS keyaccount_rep,
  geo AS geo,
  nursery_region AS nursery_region,
  greenhouse_region AS greenhouse_region,
  general_region AS general_region,
  promo AS promo,
  glec AS glec,
  segm AS segm,
  fs_line AS fs_line,
  plnt AS plnt,
  part AS part,
  partd AS partd,
  stlc AS stlc,
  stlcd AS stlcd,
  partgroup AS partgroup,
  partgroupd AS partgroupd,
  pricegroup AS pricegroup,
  product AS product,
  listg AS listg,
  biggroup AS biggroup,
  leadtime AS leadtime,
  colc AS colc,
  colcd AS colcd,
  colgrp AS colgrp,
  coltierd AS coltierd,
  sizc AS sizc,
  uomp AS uomp,
  suffix AS suffix,
  suffixd AS suffixd,
  accs_ps AS accs_ps,
  brnd AS brnd,
  programd AS programd,
  program AS program,
  cgbrand AS cgbrand,
  v0dataseg AS v0dataseg,
  dataseg AS dataseg,
  majgd AS majgd,
  mingd AS mingd,
  majsd AS majsd,
  minsd AS minsd,
  assc AS assc,
  clss AS clss,
  plcd AS plcd,
  c_currency AS c_currency,
  c_rate AS c_rate,
  r_currency AS r_currency,
  r_rate AS r_rate,
  unit AS unit,
  qty AS qty,
  qtyord AS qtyord,
  pltq AS pltq,
  pallets AS pallets,
  pounds AS pounds,
  sales_usd AS sales_usd,
  sales_local AS sales_local,
  quoted_usd AS quoted_usd,
  target_usd AS target_usd,
  list_usd AS list_usd,
  stdcost_usd AS stdcost_usd,
  stdcost_loc AS stdcost_loc,
  stdcost_cur_usd AS stdcost_cur_usd,
  stdcost_cur_loc AS stdcost_cur_loc,
  stdcost_curm_usd AS stdcost_curm_usd,
  stdcost_curl_usd AS stdcost_curl_usd,
  stdcost_curv_usd AS stdcost_curv_usd,
  stdcost_curf_usd AS stdcost_curf_usd,
  stdcost_fut_usd AS stdcost_fut_usd,
  stdcost_fut_loc AS stdcost_fut_loc,
  stdcost_futm_usd AS stdcost_futm_usd,
  stdcost_futl_usd AS stdcost_futl_usd,
  stdcost_futv_usd AS stdcost_futv_usd,
  stdcost_futf_usd AS stdcost_futf_usd,
  margin_hist_usd AS margin_hist_usd,
  calc_status AS calc_status,
  flag AS flag,
  pricing AS pricing,
  pending_rep AS pending_rep,
  pending_director AS pending_director,
  channel_new AS channel_new,
  segment_new AS segment_new
FROM rlarp.osm_aop
