$ObjStage->SetMethodesConception(ProtectApos($ValMethodesConception));
 $ObjStage->SetMethodesProgrammation(ProtectApos($ValMethodesProgrammation));
 $ObjStage->SetMethodesControleQL(ProtectApos($ValMethodesControleQL));
 $ObjStage->SetMethodesGestionProjet(ProtectApos($ValMethodesGestionProjet));
 $ObjStage->SetSujet(ProtectApos($ValSujet));
 $ObjStage->SetIsNatureTacheProgr($ValIsNatureTacheProgr);
 $ObjStage->SetIsNatureStageAnalyse($ValIsNatureStageAnalyse);
 $ObjStage->SetIsIntegrationProjetGlobal($ValIsIntegrationProjetGlobal);
 $ObjStage->SetIsIntegrationEntiteIndependante($ValIsIntegrationEntiteIndependante);
 $ObjStage->SetRemarquesGenerales(ProtectApos($ValRemarquesGenerales));
 $ObjStage->SetNbPersCentreInfo($ValNbPersCentreInfo);
 $ObjStage->SetAreOldStagiaires($ValAreOldStagiaires);
 $ObjStage->SetNbStagesProposes($ValNbStagesProposes);
 $ObjStage->SetNbStagesRestant($ValNbStagesProposes);
 $ObjStage->SetNbPersonnesService($ValNbPersonnesService);
 $ObjStage->SetIsStagiaireSeul($ValIsStagiaireSeul);
 $ObjStage->SetIndemnitesMensuellesStage($ValIndemnitesMensuellesStage);
 $ObjStage->SetIndemnitesRepas(ProtectApos($ValIndemnitesRepas));
 $ObjStage->SetIndemnitesTransport(ProtectApos($ValIndemnitesTransport));
 $ObjStage->SetIsEmbauchePossible($ValIsEmbauchePossible);
 $ObjStage->SetAdr1Stage(ProtectApos($ValAdr1Stage));
 $ObjStage->SetAdr2Stage(ProtectApos($ValAdr2Stage));
 $ObjStage->SetCPStage($ValCPStage);
 $ObjStage->SetVilleStage(ProtectApos($ValVilleStage));
 $ObjStage->SetFK_Tuteur($ValFK_Tuteur);
 if ($IdentPK == 0 || $SaveAsNew) {
     $ObjStage->Insert();
 } else {
     $ObjStage->Update();
 }
 $StepStage = 'MAJTabOK';