public function getTotalVolumeByIdRestockEntry($idRestockEntry)
 {
     $restockEntry = $this->restockEntries->getByPK($idRestockEntry);
     $product = $this->products->getByPK($restockEntry->getIdProduct());
     $cartons = $this->getTotalCartonsByIdRestockEntry($restockEntry->getIdRestockEntry());
     if ($cartons > 0) {
         $volume = ceil($cartons / $product->getMcParts()) * $product->getVolume();
     } else {
         $volume = 0;
     }
     return $volume;
 }
 public function getSettedImportUSDByIdRestockEntry($idRestockEntry)
 {
     $restockEntry = $this->restockEntries->getByPK($idRestockEntry);
     $totalCartonParts = $this->totalCartons[$idRestockEntry];
     $product = $this->products->getByPK($restockEntry->getIdProduct());
     $minTargetPrice = $this->getMinTargetPriceUSDByIdProduct($restockEntry->getIdProduct());
     return $totalCartonParts * $minTargetPrice;
 }