Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Boolean isQueue = false;
- if( isQueue ){
- JSONObject output = reportServerProvider.requestDownloadAsync(SalesHumanTask.DOWNLOAD_INQUIRY_SALES_XLS_JETT,
- reportName,
- fileName, "Report Inquiry Sales",
- input);
- JSONObject result = JSONObjectUtil.getResult(output);
- if( ServiceResult.isOk(output) ){
- reportServerProvider.goToResultPage(
- result,
- FacesContext.getCurrentInstance() );
- } else{
- MessageHelper.displayError(result);
- }
- } else {
- reportServerProvider.requestDownloadSync(SalesHumanTask.DOWNLOAD_INQUIRY_SALES_XLS_JETT,
- reportName,
- fileName, "Report Inquiry Sales",
- input,
- FacesContext.getCurrentInstance());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement