jsDisablePreviousNext += "disableToolBarButton('linkButtonNext');";
jsDisablePreviousNext += "}";
xmlDocument.setParameter("jsDisablePreviousNext", jsDisablePreviousNext);
}
try {
ComboTableData comboTableData = new ComboTableData(vars, this, "LIST", "",
"C_DocType DocBaseType", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
"ReportGeneralLedgerJournal"), Utility.getContext(this, vars, "#User_Client",
"ReportGeneralLedgerJournal"), 0);
Utility.fillSQLParameters(this, vars, null, comboTableData, "ReportGeneralLedgerJournal",
strDocument);
xmlDocument.setData("reportDocument", "liststructure", comboTableData.select(false));
comboTableData = null;
} catch (Exception ex) {
throw new ServletException(ex);
}
xmlDocument.setParameter("toolbar", toolbar.toString());
try {
WindowTabs tabs = new WindowTabs(this, vars,
"org.openbravo.erpCommon.ad_reports.ReportGeneralLedgerJournal");
xmlDocument.setParameter("parentTabContainer", tabs.parentTabs());
xmlDocument.setParameter("mainTabContainer", tabs.mainTabs());
xmlDocument.setParameter("childTabContainer", tabs.childTabs());
xmlDocument.setParameter("theme", vars.getTheme());
NavigationBar nav = new NavigationBar(this, vars.getLanguage(),
"ReportGeneralLedgerJournal.html", classInfo.id, classInfo.type, strReplaceWith, tabs
.breadcrumb());
xmlDocument.setParameter("navigationBar", nav.toString());
LeftTabsBar lBar = new LeftTabsBar(this, vars.getLanguage(),
"ReportGeneralLedgerJournal.html", strReplaceWith);
xmlDocument.setParameter("leftTabs", lBar.manualTemplate());
} catch (Exception ex) {
throw new ServletException(ex);
}
{
OBError myMessage = vars.getMessage("ReportGeneralLedgerJournal");
vars.removeMessage("ReportGeneralLedgerJournal");
if (myMessage != null) {
xmlDocument.setParameter("messageType", myMessage.getType());
xmlDocument.setParameter("messageTitle", myMessage.getTitle());
xmlDocument.setParameter("messageMessage", myMessage.getMessage());
}
}
xmlDocument.setParameter("calendar", vars.getLanguage().substring(0, 2));
xmlDocument.setParameter("document", strDocument);
xmlDocument.setParameter("cAcctschemaId", strcAcctSchemaId);
try {
ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR", "AD_ORG_ID", "",
"", Utility.getContext(this, vars, "#AccessibleOrgTree", "ReportGeneralLedgerJournal"),
Utility.getContext(this, vars, "#User_Client", "ReportGeneralLedgerJournal"), '*');
comboTableData.fillParameters(null, "ReportGeneralLedgerJournal", "");
xmlDocument.setData("reportAD_ORGID", "liststructure", comboTableData.select(false));
} catch (Exception ex) {
throw new ServletException(ex);
}
xmlDocument.setData("reportC_ACCTSCHEMA_ID", "liststructure", AccountingSchemaMiscData