diff --git a/posterita/src/main/org/posterita/businesslogic/POSClientManager.java b/posterita/src/main/org/posterita/businesslogic/POSClientManager.java index dfa89425e4..d86a67a7d7 100644 --- a/posterita/src/main/org/posterita/businesslogic/POSClientManager.java +++ b/posterita/src/main/org/posterita/businesslogic/POSClientManager.java @@ -260,7 +260,7 @@ public class POSClientManager extends ClientManager UDIU_Menu udiMenu = (UDIU_Menu)posMFactory.get(nCtx, key); MRoleMenu roleMenu = new MRoleMenu(ctx, 0, trxName); roleMenu.setAD_Role_ID(role.get_ID()); - roleMenu.setU_Menu_ID(udiMenu.getID()); + roleMenu.setU_WebMenu_ID(udiMenu.getID()); UDIU_RoleMenu udiRoleMenu = new UDIU_RoleMenu(roleMenu); udiRoleMenu.save(); } diff --git a/posterita/src/main/org/posterita/businesslogic/RoleManager.java b/posterita/src/main/org/posterita/businesslogic/RoleManager.java index 0630e7e0c2..ce8962db7a 100644 --- a/posterita/src/main/org/posterita/businesslogic/RoleManager.java +++ b/posterita/src/main/org/posterita/businesslogic/RoleManager.java @@ -406,7 +406,7 @@ public class RoleManager { MRoleMenu roleMenu = new MRoleMenu(ctx, 0, trxName); roleMenu.setAD_Role_ID(role.get_ID()); - roleMenu.setU_Menu_ID(menuId[i]); + roleMenu.setU_WebMenu_ID(menuId[i]); UDIU_RoleMenu udiRoleMenu = new UDIU_RoleMenu(roleMenu); udiRoleMenu.save(); } @@ -417,7 +417,7 @@ public class RoleManager { MRoleMenu roleMenu = new MRoleMenu(ctx, 0, trxName); roleMenu.setAD_Role_ID(role.get_ID()); - roleMenu.setU_Menu_ID(defMenuIds[i]); + roleMenu.setU_WebMenu_ID(defMenuIds[i]); UDIU_RoleMenu udiRoleMenu = new UDIU_RoleMenu(roleMenu); udiRoleMenu.save(); } diff --git a/posterita/src/main/org/posterita/businesslogic/RoleMenuManager.java b/posterita/src/main/org/posterita/businesslogic/RoleMenuManager.java index 26873e89e8..09640c58df 100644 --- a/posterita/src/main/org/posterita/businesslogic/RoleMenuManager.java +++ b/posterita/src/main/org/posterita/businesslogic/RoleMenuManager.java @@ -51,7 +51,7 @@ public class RoleMenuManager roleMenu = new MRoleMenu(ctx, 0, trxName); roleMenu.setAD_Role_ID(roleId); - roleMenu.setU_Menu_ID(menuId); + roleMenu.setU_WebMenu_ID(menuId); UDIU_RoleMenu udiRoleMenu = new UDIU_RoleMenu(roleMenu); udiRoleMenu.save();