You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mo...@apache.org on 2009/04/20 17:23:24 UTC

svn commit: r766728 - /ofbiz/branches/release09.04/applications/marketing/script/org/ofbiz/sfa/lead/LeadServices.xml

Author: mor
Date: Mon Apr 20 15:23:23 2009
New Revision: 766728

URL: http://svn.apache.org/viewvc?rev=766728&view=rev
Log:
Applied fix from trunk for revision: 766642

Modified:
    ofbiz/branches/release09.04/applications/marketing/script/org/ofbiz/sfa/lead/LeadServices.xml

Modified: ofbiz/branches/release09.04/applications/marketing/script/org/ofbiz/sfa/lead/LeadServices.xml
URL: http://svn.apache.org/viewvc/ofbiz/branches/release09.04/applications/marketing/script/org/ofbiz/sfa/lead/LeadServices.xml?rev=766728&r1=766727&r2=766728&view=diff
==============================================================================
--- ofbiz/branches/release09.04/applications/marketing/script/org/ofbiz/sfa/lead/LeadServices.xml (original)
+++ ofbiz/branches/release09.04/applications/marketing/script/org/ofbiz/sfa/lead/LeadServices.xml Mon Apr 20 15:23:23 2009
@@ -53,36 +53,6 @@
                     <result-to-result result-name="contactMechId" service-result-name="contactMechId"/>
                 </call-service>
             </if-not-empty>
-            <if-not-empty field="parameters.address1">
-                <call-map-processor in-map-name="parameters" out-map-name="postalAddressCtx">
-                    <simple-map-processor name="postalAddress">
-                        <process field="address1">
-                            <copy/>
-                        </process>
-                        <process field="address2">
-                            <copy/>
-                        </process>
-                        <process field="city">
-                            <copy/>
-                        </process>
-                        <process field="stateProvinceGeoId">
-                            <copy/>
-                        </process>
-                        <process field="countryGeoId">
-                            <copy/>
-                        </process>
-                        <process field="postalCode">
-                            <copy/>
-                        </process>
-                    </simple-map-processor>
-                </call-map-processor>
-                <check-errors/>
-                <set field="postalAddressCtx.partyId" from-field="partyId"/>
-                <set field="postalAddressCtx.contactMechPurposeTypeId" value="PRIMARY_LOCATION"/>
-                <call-service service-name="createPartyPostalAddress" in-map-name="postalAddressCtx">
-                    <result-to-field result-name="contactMechId" field="postalContactMechId"/>
-                </call-service>
-            </if-not-empty>
         </else>
         </if-compare>