From 600bd1aabd915b08c66f8f0de967d4edadf5c8fb Mon Sep 17 00:00:00 2001
From: Mohamed Mansour <m.mansour@adito.de>
Date: Wed, 14 Aug 2019 10:46:57 +0200
Subject: [PATCH] Deleted unnecessary parameter.

---
 entity/Order_entity/Order_entity.aod              |  4 ----
 .../entityfields/countitems_param/valueProcess.js | 15 ---------------
 2 files changed, 19 deletions(-)
 delete mode 100644 entity/Order_entity/entityfields/countitems_param/valueProcess.js

diff --git a/entity/Order_entity/Order_entity.aod b/entity/Order_entity/Order_entity.aod
index e05c1f0edb..ad594ffba2 100644
--- a/entity/Order_entity/Order_entity.aod
+++ b/entity/Order_entity/Order_entity.aod
@@ -873,10 +873,6 @@
         <element>PROCESS_SETVALUE</element>
       </onValueChangeTypes>
     </entityField>
-    <entityParameter>
-      <name>Countitems_param</name>
-      <valueProcess>%aditoprj%/entity/Order_entity/entityfields/countitems_param/valueProcess.js</valueProcess>
-    </entityParameter>
     <entityParameter>
       <name>OrderCode_param</name>
       <expose v="true" />
diff --git a/entity/Order_entity/entityfields/countitems_param/valueProcess.js b/entity/Order_entity/entityfields/countitems_param/valueProcess.js
deleted file mode 100644
index fc714e95d0..0000000000
--- a/entity/Order_entity/entityfields/countitems_param/valueProcess.js
+++ /dev/null
@@ -1,15 +0,0 @@
-//import("system.result");
-//import("system.vars");
-//import("system.neon");
-//import("system.entities");
-//
-////var loadingConfig = entities.createConfigForLoadingConsumerRows().consumer("Orderitems");
-////var count = entities.getRowCount(loadingConfig);
-//
-//var conf = entities.createConfigForLoadingRows()
-//                   .entity("Orderitem_entity")
-//                   .provider("Orderitems")
-//                   .addParameter("ContactId_param", vars.get("$field.CONTACT_ID"));
-//                   
-//var count=entities.getRowCount(conf);                  
-//result.string(count);
-- 
GitLab