$sp_orders = $class_pp->updateDesignPriority($design_id, $prio, $session_userinfo['username']);
     break;
 case 'MAKENEWDESIGN':
     $sp_orders = $class_pp->setDesigntoMakeorBuy($design_id, $session_userinfo['username']);
     break;
 case 'CANCELDESIGN':
     $sp_orders = $class_pp->setDesigntoCancel($design_id, $session_userinfo['username']);
     break;
 case 'TODO':
     $sp_orders = $class_pp->setDesigntoTodo($design_id, $session_userinfo['username']);
     break;
 case 'OPENQUESTION1':
     $sp_orders = $class_pp->setDesigntoQuestion1($design_id, $session_userinfo['username']);
     break;
 case 'OPENQUESTION2':
     $sp_orders = $class_pp->setDesigntoQuestion2($design_id, $session_userinfo['username']);
     break;
 case 'REWORK':
     $sp_orders = $class_pp->setDesigntoRework($design_id, $session_userinfo['username']);
     break;
 case 'MAKESAMPLING':
     $sp_orders = $class_pp->setDesigntoSampling($design_id, $session_userinfo['username']);
     break;
 case 'UPDATESOURCING':
     $sp_orders = $class_pp->updateDesignSourcing($design_id, $supp_id, $session_userinfo['username']);
     break;
 case 'UPDATEWAXING':
     $sp_orders = $class_pp->updateDesignWaxing($design_id, $supp_id, $session_userinfo['username']);
     break;
 case 'UPDATECASTING':
     $sp_orders = $class_pp->updateDesignCasting($design_id, $supp_id, $session_userinfo['username']);