issue #0001659: Start Monitoring log InternalOrderId

This commit is contained in:
Arman KYOKCHAN 2013-07-17 12:10:48 +00:00
parent f245a2dda1
commit 338afb7711
2 changed files with 4 additions and 2 deletions

View File

@ -85,10 +85,12 @@ Class GiantControllerLib
} else {
$CommandeP->ActualEndDate = date('Y-m-d', strtotime('+6 month'));
}
$Commande->setMonitoring($CommandeP);
$rapport = new GiantRechercheController($Pays, $TestIndication);
$result = $rapport->GetStartMonitoring($CompanyId, $CategorieName, $EventType, $PreferredStartDate, $PreferredEndDate, $Version, $LanguageCode);
$CommandeP->InternalOrderId = $result->Order->InternalOrderId;
$Commande->setMonitoring($CommandeP);
return ($result);
}

View File

@ -40,7 +40,7 @@ Class Commandes
'TestIndication' => $parametres->TestIndication,
'ActualStartDate' => $parametres->ActualStartDate,
'ActualEndDate' => $parametres->ActualEndDate,
'InternalOrderId' => $parametres->InternalOrderId,
);
$commandes->insert($data);
}