boolean hasPrevious = !(data == null || data.length == 0 || initRecordNumber <= 1);
boolean hasNext = !(data == null || data.length == 0 || data.length < intRecordRange);
ToolBar toolbar = new ToolBar(this, vars.getLanguage(), "ReportGeneralLedgerJournalDetail", false, "", "",
"", false, "ad_reports", strReplaceWith, false, true);
toolbar.prepareRelationBarTemplate(hasPrevious, hasNext);
xmlDocument = xmlEngine.readXmlTemplate(
"org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournalDetail").createXmlDocument();
xmlDocument.setParameter("toolbar", toolbar.toString());
try {
WindowTabs tabs = new WindowTabs(this, vars,