[ 1703195 ] Silently pass AD_Client_ID, AD_Org_ID and AD_User_ID to JasperReports!

This commit is contained in:
trifonnt 2007-04-18 19:41:24 +00:00
parent 07b5159755
commit bf5565ab54
1 changed files with 5 additions and 1 deletions

View File

@ -409,6 +409,10 @@ 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