From 624aa9ea9a642bea2c4ba574dcfdc1ef9952461f Mon Sep 17 00:00:00 2001 From: Johannes Goderbauer <j.goderbauer@adito.de> Date: Tue, 4 Feb 2020 12:25:05 +0000 Subject: [PATCH] Orderitem: grantUpdateProcess used non existant field. --- entity/Orderitem_entity/grantUpdateProcess.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entity/Orderitem_entity/grantUpdateProcess.js b/entity/Orderitem_entity/grantUpdateProcess.js index 966985d262..ef6350e40d 100644 --- a/entity/Orderitem_entity/grantUpdateProcess.js +++ b/entity/Orderitem_entity/grantUpdateProcess.js @@ -6,7 +6,7 @@ import("Order_lib"); var itemcount = newSelect("count(*)") .from("SALESORDERITEM") - .whereIfSet("SALESORDERITEM.SALESORDER_ID", "$field.SALESORDERID") + .whereIfSet("SALESORDERITEM.SALESORDER_ID", "$field.SALESORDER_ID") .cell(true, "0"); if (vars.get("$field.OrderStatus") == undefined){ -- GitLab