svn commit: r1813608 - /ofbiz/ofbiz-framework/trunk/applications/accounting/groovyScripts/rate/RateServices.groovy

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

svn commit: r1813608 - /ofbiz/ofbiz-framework/trunk/applications/accounting/groovyScripts/rate/RateServices.groovy

akashjain
Author: akashjain
Date: Sat Oct 28 11:11:19 2017
New Revision: 1813608

URL: http://svn.apache.org/viewvc?rev=1813608&view=rev
Log:
Fixed: Issue while removing RateAmount Record, applied patch from jira issue (OFBIZ-9904)

Thanks, Parakh Maheshwari and Suraj Khurana for your contribution.

Modified:
    ofbiz/ofbiz-framework/trunk/applications/accounting/groovyScripts/rate/RateServices.groovy

Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/groovyScripts/rate/RateServices.groovy
URL: http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/accounting/groovyScripts/rate/RateServices.groovy?rev=1813608&r1=1813607&r2=1813608&view=diff
==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/accounting/groovyScripts/rate/RateServices.groovy (original)
+++ ofbiz/ofbiz-framework/trunk/applications/accounting/groovyScripts/rate/RateServices.groovy Sat Oct 28 11:11:19 2017
@@ -119,6 +119,7 @@ def expirePartyRate() {
         lookedUpValue.store()
 
         //expire related rate amount
+        parameters.fromDate = parameters.rateAmountFromDate;
         result = run service: 'expireRateAmount', with: parameters
         if (ServiceUtil.isError(result)) return result
     }