Author: jacopoc
Date: Fri Jun 13 04:43:05 2008
New Revision: 667487
URL:
http://svn.apache.org/viewvc?rev=667487&view=revLog:
Fix for error happening after convertion to Groovy: thanks to Ashish Vijaywargiya for the solution.
Modified:
ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/CreateApplicationList.groovy
Modified: ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/CreateApplicationList.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/CreateApplicationList.groovy?rev=667487&r1=667486&r2=667487&view=diff==============================================================================
--- ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/CreateApplicationList.groovy (original)
+++ ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/CreateApplicationList.groovy Fri Jun 13 04:43:05 2008
@@ -33,7 +33,7 @@
invoiceApplications = []; // to pass back to the screen with payment applications added
// retrieve related applications with null itemnumber
-invoiceAppls = invoice.getRelated("PaymentApplication", [invoiceItemSeqId : null]);
+invoiceAppls = invoice.getRelated("PaymentApplication", [invoiceItemSeqId : null], null);
invoiceAppls.each { invoiceAppl ->
itemmap = [:];
itemmap.invoiceId = invoiceAppl.invoiceId;