FR [3123850] - Add continuosly needed parameters to Jasper Starter

https://sourceforge.net/tracker/?func=detail&aid=3123850&group_id=176962&atid=879335
This commit is contained in:
Carlos Ruiz 2011-03-25 19:42:20 -05:00
parent aebc2c85ca
commit dc793644f5
1 changed files with 6 additions and 1 deletions

View File

@ -427,6 +427,11 @@ public class ReportStarter implements ProcessCall, ClientProcess
// 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));
// FR [3123850] - Add continuosly needed parameters to Jasper Starter - Carlos Ruiz - GlobalQSS
params.put("AD_CLIENT_ID", new Integer( Env.getAD_Client_ID(Env.getCtx())));
params.put("AD_ROLE_ID", new Integer( Env.getAD_Role_ID(Env.getCtx())));
params.put("AD_USER_ID", new Integer( Env.getAD_User_ID(Env.getCtx())));
Language currLang = Env.getLanguage(Env.getCtx());
String printerName = null;
MPrintFormat printFormat = null;