Author: deepak
Date: Sun Jul 9 08:45:05 2017
New Revision: 1801353
URL:
http://svn.apache.org/viewvc?rev=1801353&view=revLog:
Fixed typo,
Thanks Renuka for reporting this issue.
Modified:
ofbiz/ofbiz-framework/trunk/applications/accounting/groovyScripts/agreement/AgreementServices.groovy
Modified: ofbiz/ofbiz-framework/trunk/applications/accounting/groovyScripts/agreement/AgreementServices.groovy
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/accounting/groovyScripts/agreement/AgreementServices.groovy?rev=1801353&r1=1801352&r2=1801353&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/accounting/groovyScripts/agreement/AgreementServices.groovy (original)
+++ ofbiz/ofbiz-framework/trunk/applications/accounting/groovyScripts/agreement/AgreementServices.groovy Sun Jul 9 08:45:05 2017
@@ -81,7 +81,7 @@ def copyAgreement() {
}
}
if (parameters.copyAgreementFacilities && parameters.copyAgreementFacilities == 'Y') {
- agreementTerms = agreement.getRelated('AgreementFacilityAppl', null, null, false)
+ agreementFacilityAppls = agreement.getRelated('AgreementFacilityAppl', null, null, false)
agreementFacilityAppls.each { agreementFacilityAppl ->
Map createAgreementFacilityApplInMap = dispatcher.getDispatchContext().makeValidContext('createAgreementFacilityAppl', 'IN', agreementFacilityAppl)
createAgreementFacilityApplInMap.agreementId = agreementIdTo