Fix [1844737] - Incorect AD_Client_ID for *Access records
https://sourceforge.net/tracker/?func=detail&atid=879332&aid=1844737&group_id=176962
This commit is contained in:
parent
f9e57a6412
commit
f3f310ce9d
|
@ -71,7 +71,8 @@ public class MFormAccess extends X_AD_Form_Access
|
|||
public MFormAccess (MForm parent, int AD_Role_ID)
|
||||
{
|
||||
super (parent.getCtx(), 0, parent.get_TrxName());
|
||||
setClientOrg(parent);
|
||||
MRole role = MRole.get(parent.getCtx(), AD_Role_ID);
|
||||
setClientOrg(role);
|
||||
setAD_Form_ID(parent.getAD_Form_ID());
|
||||
setAD_Role_ID (AD_Role_ID);
|
||||
} // MFormAccess
|
||||
|
|
|
@ -74,7 +74,8 @@ public class MProcessAccess extends X_AD_Process_Access
|
|||
public MProcessAccess (MProcess parent, int AD_Role_ID)
|
||||
{
|
||||
super (parent.getCtx(), 0, parent.get_TrxName());
|
||||
setClientOrg(parent);
|
||||
MRole role = MRole.get(parent.getCtx(), AD_Role_ID);
|
||||
setClientOrg(role);
|
||||
setAD_Process_ID (parent.getAD_Process_ID());
|
||||
setAD_Role_ID (AD_Role_ID);
|
||||
} // MProcessAccess
|
||||
|
|
|
@ -72,7 +72,8 @@ public class MWindowAccess extends X_AD_Window_Access
|
|||
public MWindowAccess (MWindow parent, int AD_Role_ID)
|
||||
{
|
||||
super (parent.getCtx(), 0, parent.get_TrxName());
|
||||
setClientOrg(parent);
|
||||
MRole role = MRole.get(parent.getCtx(), AD_Role_ID);
|
||||
setClientOrg(role);
|
||||
setAD_Window_ID(parent.getAD_Window_ID());
|
||||
setAD_Role_ID (AD_Role_ID);
|
||||
} // MWindowAccess
|
||||
|
|
|
@ -19,6 +19,7 @@ package org.compiere.wf;
|
|||
import java.sql.ResultSet;
|
||||
import java.util.Properties;
|
||||
|
||||
import org.compiere.model.MRole;
|
||||
import org.compiere.model.X_AD_Workflow_Access;
|
||||
|
||||
|
||||
|
@ -74,7 +75,8 @@ public class MWorkflowAccess extends X_AD_Workflow_Access
|
|||
public MWorkflowAccess (MWorkflow parent, int AD_Role_ID)
|
||||
{
|
||||
super (parent.getCtx(), 0, parent.get_TrxName());
|
||||
setClientOrg(parent);
|
||||
MRole role = MRole.get(parent.getCtx(), AD_Role_ID);
|
||||
setClientOrg(role);
|
||||
setAD_Workflow_ID(parent.getAD_Workflow_ID());
|
||||
setAD_Role_ID (AD_Role_ID);
|
||||
} // MWorkflowAccess
|
||||
|
|
Loading…
Reference in New Issue