Attached Files | bugfix.diff [^] (1,970 bytes) 2009-11-22 16:27 [Show Content] [Hide Content]Index: src/org/openbravo/erpCommon/ad_reports/GeneralAccountingReports.java
===================================================================
--- src/org/openbravo/erpCommon/ad_reports/GeneralAccountingReports.java (revision 14966)
+++ src/org/openbravo/erpCommon/ad_reports/GeneralAccountingReports.java (revision 14967)
@@ -60,6 +60,7 @@
String strLevel = vars.getGlobalVariable("inpLevel", "GeneralAccountingReports|level", "");
printPageDataSheet(response, vars, strAgno, strAgnoRef, strDateFrom, strDateTo, strDateFromRef, strDateToRef, strAsDateTo, strAsDateToRef, strElementValue, strConImporte, strOrg, strLevel, strConCodigo, strcAcctSchemaId);
} else if (vars.commandIn("FIND")) {
+ String strcAcctSchemaId = vars.getGlobalVariable("inpcAcctSchemaId", "ReportGeneralLedger|cAcctSchemaId", "");
String strAgno = vars.getRequiredGlobalVariable("inpAgno", "GeneralAccountingReports|agno");
String strAgnoRef = vars.getRequiredGlobalVariable("inpAgnoRef", "GeneralAccountingReports|agnoRef");
String strDateFrom = vars.getRequestGlobalVariable("inpDateFrom", "GeneralAccountingReports|dateFrom");
@@ -73,7 +74,7 @@
String strConCodigo = vars.getRequestGlobalVariable("inpConCodigo", "GeneralAccountingReports|conCodigo");
String strOrg = vars.getRequestGlobalVariable("inpOrganizacion", "GeneralAccountingReports|organizacion");
String strLevel = vars.getRequestGlobalVariable("inpLevel", "GeneralAccountingReports|level");
- printPagePDF(response, vars, strAgno, strAgnoRef, strDateFrom, strDateTo, strDateFromRef, strDateToRef, strAsDateTo, strAsDateToRef, strElementValue, strConImporte, strOrg, strLevel, strConCodigo, "");
+ printPagePDF(response, vars, strAgno, strAgnoRef, strDateFrom, strDateTo, strDateFromRef, strDateToRef, strAsDateTo, strAsDateToRef, strElementValue, strConImporte, strOrg, strLevel, strConCodigo, strcAcctSchemaId);
} else pageError(response);
}
|