Author: ashish
Date: Sat Apr 25 03:50:23 2009
New Revision: 768468

URL: http://svn.apache.org/viewvc?rev=768468&view=rev
Log:
Changed "from-field" attribute to "value". (Hard coded value is provided)

Modified:
    
ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/lead/LeadServices.xml

Modified: 
ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/lead/LeadServices.xml
URL: 
http://svn.apache.org/viewvc/ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/lead/LeadServices.xml?rev=768468&r1=768467&r2=768468&view=diff
==============================================================================
--- 
ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/lead/LeadServices.xml 
(original)
+++ 
ofbiz/trunk/applications/marketing/script/org/ofbiz/sfa/lead/LeadServices.xml 
Sat Apr 25 03:50:23 2009
@@ -156,10 +156,10 @@
 
         <!-- create new relationship -->
         <set field="partyRelationshipCtx.partyIdFrom" 
from-field="partyGroupId"/>
-        <set field="partyRelationshipCtx.roleTypeIdFrom" from-field="ACCOUNT"/>
+        <set field="partyRelationshipCtx.roleTypeIdFrom" value="ACCOUNT"/>
         <set field="partyRelationshipCtx.partyIdTo" 
from-field="parameters.partyId"/>
-        <set field="partyRelationshipCtx.roleTypeIdTo" from-field="CONTACT"/>
-        <set field="partyRelationshipCtx.partyRelationshipTypeId" 
from-field="EMPLOYMENT"/>
+        <set field="partyRelationshipCtx.roleTypeIdTo" value="CONTACT"/>
+        <set field="partyRelationshipCtx.partyRelationshipTypeId" 
value="EMPLOYMENT"/>
         <call-service service-name="createPartyRelationship" 
in-map-name="partyRelationshipCtx"/>
 
         <set field="updatePartyCtx.partyId" from-field="parameters.partyId"/>


Reply via email to