IDEMPIERE-3136:update jasper report

add more good standard parameter
This commit is contained in:
hieplq 2017-05-14 20:46:18 +07:00
parent 333458f8c1
commit e4e86b59f6
1 changed files with 8 additions and 0 deletions

View File

@ -558,6 +558,14 @@ public class ReportStarter implements ProcessCall, ClientProcess
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())));
params.put("AD_CLIENT_NAME", Env.getContext(Env.getCtx(), "#AD_Client_Name"));
params.put("AD_ROLE_NAME", Env.getContext(Env.getCtx(), "#AD_Role_Name"));
params.put("AD_USER_NAME", Env.getContext(Env.getCtx(), "#AD_User_Name"));
params.put("AD_ORG_NAME", Env.getContext(Env.getCtx(), "#AD_Org_Name"));
params.put("BASE_DIR", reportPath);
//params.put("HeaderLogo", reportPath);
//params.put("LoginLogo", reportPath);
Language currLang = Env.getLanguage(Env.getCtx());
String printerName = null;
MPrintFormat printFormat = null;