<?php



  if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');



  if(isset($_REQUEST['record']) && $_REQUEST['record'] != '') {

  

    global $sugar_version, $sugar_config, $current_user, $app_strings, $mod_strings;

    

    if(!isset($focus)) {

      require_once('modules/EcmInvoiceOutOlds/EcmInvoiceOutOld.php');

      $focus = new EcmInvoiceOutOld();

      $focus->retrieve($_REQUEST['record']);

      $focus->format_all_fields(); 
    
    
    }

      require_once('include/SubPanel/SubPanelTiles.php');
      $subpanel = new SubPanelTiles($focus, "EcmInvoiceOutOlds");
      echo $subpanel->display();    


  } 



?>