BRANCH 4.1-21:
  added spt.table.get_panel() to get the view_panel of this table.. It returns null if none exists.
  adjusted the order code and show_retired code so that embedded table can show the retired items