You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2008/09/14 22:12:49 UTC

svn commit: r695281 - /ofbiz/trunk/applications/ecommerce/script/org/ofbiz/ecommerce/customer/CustomerEvents.xml

Author: jleroux
Date: Sun Sep 14 13:12:49 2008
New Revision: 695281

URL: http://svn.apache.org/viewvc?rev=695281&view=rev
Log:
A fix in the relationship creation committed in r695268 : should be DISTRIBUTION_CHANNEL and not CUSTOMER_REL
Note that we could also reverse the relationship using CUSTOMER_REL partyRelationshipTypeId but in this case we will have to use a hack (user system) for the creation permission and to revert this hack after its use in the CreatePartyRelationship service

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=695281&r1=695280&r2=695281&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 Sun Sep 14 13:12:49 2008
@@ -311,7 +311,7 @@
         <set field="partyRelationshipCtx.partyIdTo" value="admin"/>
         <set field="partyRelationshipCtx.roleTypeIdTo" value="SALES_REP"/>
         <set field="partyRelationshipCtx.roleTypeIdFrom" value="CUSTOMER"/>
-        <set field="partyRelationshipCtx.partyRelationshipTypeId" value="CUSTOMER_REL"/>
+        <set field="partyRelationshipCtx.partyRelationshipTypeId" value="DISTRIBUTION_CHANNEL"/>
         <call-service service-name="createPartyRelationship" in-map-name="partyRelationshipCtx"/>
 
         <!-- shipping address -->