diff --git a/entity/Offeritem_entity/entityfields/quantity/onValueChange.js b/entity/Offeritem_entity/entityfields/quantity/onValueChange.js
index 3e3d47e47f449955f79e2011a16541b2832627ed..d633387f8c728ebe8f364759d469ad4863ae74de 100644
--- a/entity/Offeritem_entity/entityfields/quantity/onValueChange.js
+++ b/entity/Offeritem_entity/entityfields/quantity/onValueChange.js
@@ -26,9 +26,9 @@ if(pId != "" && vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW)
     var partsListObject = oiUtils.insertPartsList(pId, vars.get("$field.OFFERITEMID"), curr, contactid, language, quantity, true, vars.get("$field.OFFER_ID"), sumUpTop);
     neon.setFieldValue("$field.itemInsertStatements", JSON.stringify(partsListObject["partsList"]));
     
-    if(sumUpTop)//only sum-up this price if there is no valid Price
+    if((sumUpTop && partsListObject["topProductInfo"]))//only sum-up this price if there is no valid Price
     {
-    neon.setFieldValue("$field.PRICE", partsListObject["topProductInfo"]["price"]);
-    neon.setFieldValue("$field.VAT", partsListObject["topProductInfo"]["vat"]);
+        neon.setFieldValue("$field.PRICE", partsListObject["topProductInfo"]["price"]);
+        neon.setFieldValue("$field.VAT", partsListObject["topProductInfo"]["vat"]);
     }
 }