From de38a50dc3d177d52e190c8da01a354e6bec3615 Mon Sep 17 00:00:00 2001
From: Sascha Schmidt <s.schmidt@adito.de>
Date: Wed, 27 Oct 2021 11:11:46 +0200
Subject: [PATCH] SQL-Builder (MR/CR)

---
 .../children/addsyncentry/onActionProcess.js               | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/entity/SearchSync_entity/entityfields/syncentrygroup/children/addsyncentry/onActionProcess.js b/entity/SearchSync_entity/entityfields/syncentrygroup/children/addsyncentry/onActionProcess.js
index ec26f78f70..793d49e1be 100644
--- a/entity/SearchSync_entity/entityfields/syncentrygroup/children/addsyncentry/onActionProcess.js
+++ b/entity/SearchSync_entity/entityfields/syncentrygroup/children/addsyncentry/onActionProcess.js
@@ -59,9 +59,10 @@ asysUsersData.forEach(function ([groupId, name, id, propvalClob])
     var syncsize = sqlSyncSizeString.cell();
 
     if(syncsize > maxSyncsize)
-    {                 
-        db.updateData("ASYS_USERS", ["PROPVAL_CLOB"], null, 
-            ["Search greater %0, sync. not possible"], newWhere("ASYS_USERS.ID", syncId).toString(), SqlUtils.getBinariesAlias());
+    {
+        newWhere("ASYS_USERS.ID", syncId, undefined, undefined, SqlUtils.getBinariesAlias()).updateFields({
+            "PROPVAL_CLOB": "Search greater %0, sync. not possible"
+        }, "ASYS_USERS");
     }
 });
 
-- 
GitLab