IDEMPIERE-5597 : 2pack updating root level menu items failling. (#1696)

This commit is contained in:
Deepak Pansheriya 2023-03-03 07:57:11 +05:30 committed by GitHub
parent 6a66903ec6
commit 2888276a0e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ public class MenuElementHandler extends AbstractElementHandler {
int AD_Tree_ID = getDefaultMenuTreeId();
final String sql1 = "SELECT COUNT(Parent_ID) FROM AD_TREENODEMM WHERE AD_Tree_ID=? AND Node_ID=?";
final String sql1 = "SELECT COUNT(Node_ID) FROM AD_TREENODEMM WHERE AD_Tree_ID=? AND Node_ID=?";
int countRecords = DB.getSQLValueEx(getTrxName(ctx), sql1, AD_Tree_ID, mMenu.getAD_Menu_ID());
if (countRecords > 0) {
int oldseqNo = 0;