Author: sichen
Date: Tue Jul 1 14:28:09 2008
New Revision: 673216
URL:
http://svn.apache.org/viewvc?rev=673216&view=revLog:
also make phone numbers the primary phone number
Modified:
ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml
Modified: ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml?rev=673216&r1=673215&r2=673216&view=diff==============================================================================
--- ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml (original)
+++ ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml Tue Jul 1 14:28:09 2008
@@ -332,6 +332,8 @@
<set from-field="tempMap.partyId" field="homePhonePurposeContext.partyId"/>
<set value="PHONE_HOME" field="homePhonePurposeContext.contactMechPurposeTypeId"/>
<call-service service-name="createPartyContactMechPurpose" in-map-name="homePhonePurposeContext"/>
+ <set value="PRIMARY_PHONE" field="homePhonePurposeContext.contactMechPurposeTypeId"/>
+ <call-service service-name="createPartyContactMechPurpose" in-map-name="homePhonePurposeContext"/>
</if-not-empty>
<!-- work phone -->