You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ja...@apache.org on 2008/06/13 13:43:05 UTC

svn commit: r667487 - /ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/CreateApplicationList.groovy

Author: jacopoc
Date: Fri Jun 13 04:43:05 2008
New Revision: 667487

URL: http://svn.apache.org/viewvc?rev=667487&view=rev
Log:
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;



Re: svn commit: r667487 - /ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/CreateApplicationList.groovy

Posted by Scott Gray <le...@gmail.com>.
Sorry and thanks to you both

Regards
Scott

2008/6/13 <ja...@apache.org>:

> Author: jacopoc
> Date: Fri Jun 13 04:43:05 2008
> New Revision: 667487
>
> URL: http://svn.apache.org/viewvc?rev=667487&view=rev
> Log:
> 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;
>
>
>