You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by ha...@apache.org on 2010/02/12 07:37:47 UTC
svn commit: r909258 -
/ofbiz/trunk/applications/commonext/script/org/ofbiz/setup/SetupEvents.xml
Author: hansbak
Date: Fri Feb 12 06:37:47 2010
New Revision: 909258
URL: http://svn.apache.org/viewvc?rev=909258&view=rev
Log:
id in facility contactmech was not generated new, could create duplicattion
Modified:
ofbiz/trunk/applications/commonext/script/org/ofbiz/setup/SetupEvents.xml
Modified: ofbiz/trunk/applications/commonext/script/org/ofbiz/setup/SetupEvents.xml
URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/commonext/script/org/ofbiz/setup/SetupEvents.xml?rev=909258&r1=909257&r2=909258&view=diff
==============================================================================
--- ofbiz/trunk/applications/commonext/script/org/ofbiz/setup/SetupEvents.xml (original)
+++ ofbiz/trunk/applications/commonext/script/org/ofbiz/setup/SetupEvents.xml Fri Feb 12 06:37:47 2010
@@ -382,6 +382,7 @@
<field-map field-name="partyId" from-field="parameters.partyId"/>
</entity-and>
<first-from-list entry="partyPostalAddress" list="listPartyPostalAddress"/>
+ <sequenced-id sequence-name="ContactMech" field="partyPostalAddress.contactMechId"/>
<set-service-fields service-name="createPostalAddress" map="partyPostalAddress" to-map="addressContext"/>
<call-service service-name="createPostalAddress" in-map-name="addressContext">
<result-to-field result-name="contactMechId" field="contactMechId"/>