Author: deepak
Date: Tue Aug 25 10:48:58 2015
New Revision: 1697647

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

Modified:
    
ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/GetAccountOrganizationAndClass.groovy

Modified: 
ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/GetAccountOrganizationAndClass.groovy
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/GetAccountOrganizationAndClass.groovy?rev=1697647&r1=1697646&r2=1697647&view=diff
==============================================================================
--- 
ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/GetAccountOrganizationAndClass.groovy
 (original)
+++ 
ofbiz/trunk/applications/accounting/webapp/accounting/WEB-INF/actions/invoice/GetAccountOrganizationAndClass.groovy
 Tue Aug 25 10:48:58 2015
@@ -73,7 +73,7 @@ if ("SALES_INVOICE".equals(invoice.invoi
     glAccountOrganizationAndClassList = 
from("GlAccountOrganizationAndClass").where('organizationPartyId', 
invoice.partyId).queryList();
 } else {
     map = from("InvoiceItemTypeMap").where('invoiceTypeId', 
invoice.invoiceTypeId).cache(true).queryList();
-    invoiceItemTypes = EntityUtil.getRelated("InvoiceItemType", map, null, 
false);
+    invoiceItemTypes = EntityUtil.getRelated("InvoiceItemType", null, map, 
false);
 }
 context.invoiceItemTypes = invoiceItemTypes;
 


Reply via email to