svn commit: r1697651 - /ofbiz/branches/release13.07/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/GetInvoiceItemTypes.groovy

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1697651 - /ofbiz/branches/release13.07/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/GetInvoiceItemTypes.groovy

Deepak Dixit-5
Author: deepak
Date: Tue Aug 25 11:21:24 2015
New Revision: 1697651

URL: http://svn.apache.org/r1697651
Log:
(OFBIZ-6571) Passed parameter in correct sequence while doing EntityUtil.getRelated.

Modified:
    ofbiz/branches/release13.07/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/GetInvoiceItemTypes.groovy

Modified: ofbiz/branches/release13.07/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/GetInvoiceItemTypes.groovy
URL: http://svn.apache.org/viewvc/ofbiz/branches/release13.07/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/GetInvoiceItemTypes.groovy?rev=1697651&r1=1697650&r2=1697651&view=diff
==============================================================================
--- ofbiz/branches/release13.07/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/GetInvoiceItemTypes.groovy (original)
+++ ofbiz/branches/release13.07/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/GetInvoiceItemTypes.groovy Tue Aug 25 11:21:24 2015
@@ -75,7 +75,7 @@ if ("SALES_INVOICE".equals(invoice.invoi
     glAccountOrganizationAndClassList = delegator.findByAnd("GlAccountOrganizationAndClass", [organizationPartyId : invoice.partyId], null, false);
 } else {
     map = delegator.findByAnd("InvoiceItemTypeMap", [invoiceTypeId : invoice.invoiceTypeId], null, true);
-    invoiceItemTypes = EntityUtil.getRelated("InvoiceItemType", map, null, false);
+    invoiceItemTypes = EntityUtil.getRelated("InvoiceItemType", null, map, false);
 }
 context.invoiceItemTypes = invoiceItemTypes;