[ 1703195 ] Silently pass AD_Client_ID, AD_Org_ID and AD_User_ID to JasperReports!
This commit is contained in:
parent
07b5159755
commit
bf5565ab54
|
@ -408,7 +408,11 @@ public class ReportStarter implements ProcessCall {
|
||||||
}
|
}
|
||||||
|
|
||||||
params.put("RECORD_ID", new Integer( Record_ID));
|
params.put("RECORD_ID", new Integer( Record_ID));
|
||||||
|
|
||||||
|
// contribution from Ricardo (ralexsander)
|
||||||
|
// in iReports you can 'SELECT' AD_Client_ID, AD_Org_ID and AD_User_ID using only AD_PINSTANCE_ID
|
||||||
|
params.put("AD_PINSTANCE_ID", new Integer( AD_PInstance_ID));
|
||||||
|
|
||||||
Language currLang = Env.getLanguage(Env.getCtx());
|
Language currLang = Env.getLanguage(Env.getCtx());
|
||||||
params.put("CURRENT_LANG", currLang.getAD_Language());
|
params.put("CURRENT_LANG", currLang.getAD_Language());
|
||||||
// Resources
|
// Resources
|
||||||
|
|
Loading…
Reference in New Issue