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

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@695281 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jacques Le Roux
2008-09-14 20:12:49 +00:00
parent d1edaab759
commit 303fa56074
@@ -311,7 +311,7 @@ under the License.
<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 -->