IDEMPIERE-4244 Web Services Query : using User Org Access doesn't retrieve records

This commit is contained in:
Carlos Ruiz 2020-04-15 14:47:29 +02:00
parent d059ae50b0
commit ac5a3e7024
1 changed files with 1 additions and 1 deletions

View File

@ -1397,7 +1397,7 @@ public class ModelADServiceImpl extends AbstractService implements ModelADServic
new QName("queryData"));
int roleid = reqlogin.getRoleID();
MRole role = new MRole(ctx, roleid, null);
MRole role = MRole.get(ctx, roleid);
// start a trx
String trxName = localTrxName;