Author: deepak
Date: Sun Jul 9 09:13:10 2017
New Revision: 1801358
URL:
http://svn.apache.org/viewvc?rev=1801358&view=revLog:
Fixed: Manually applied fix from trunk r#1801357
Log:
Fixed: The copyAgreement service fails (OFBIZ-9143)
Thanks Jacques and Renuka for your contribution.
Modified:
ofbiz/branches/release16.11/applications/accounting/minilang/agreement/AgreementServices.xml
Modified: ofbiz/branches/release16.11/applications/accounting/minilang/agreement/AgreementServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/branches/release16.11/applications/accounting/minilang/agreement/AgreementServices.xml?rev=1801358&r1=1801357&r2=1801358&view=diff==============================================================================
--- ofbiz/branches/release16.11/applications/accounting/minilang/agreement/AgreementServices.xml (original)
+++ ofbiz/branches/release16.11/applications/accounting/minilang/agreement/AgreementServices.xml Sun Jul 9 09:13:10 2017
@@ -57,6 +57,7 @@ under the License.
<clear-field field="createAgreementTermInMap"/>
<set-service-fields service-name="createAgreementTerm" map="agreementTerm" to-map="createAgreementTermInMap"/>
<set from-field="agreementIdTo" field="createAgreementTermInMap.agreementId"/>
+ <set field="createAgreementTermInMap.agreementTermId" from-field="nullField"/>
<call-service service-name="createAgreementTerm" in-map-name="createAgreementTermInMap"/>
</iterate>
</if-compare>