$product = $productManager -> getProduct($appliance -> getProduct());\r
$productAcronym = $applianceReferenceArray[0];\r
// VERSION\r
- $lastVersion = $changelogManager -> findLastVersion();\r
- $lastVersionDeclaration = $changelogManager -> findLastVersionDeclaration();\r
+ $lastVersion = $changelogManager -> findLastVersionForId($appliance -> getChangelog());\r
+ $lastVersionDeclaration = $changelogManager -> findLastVersionDeclarationForId($appliance -> getChangelog());\r
$lastVersionReference = $productAcronym.' '.$lastVersion -> getValue();\r
// CUSTOMER\r
$customerAPId = substr($applianceReferenceArray[1],0,-11);\r