[ 
https://issues.apache.org/jira/browse/OFBIZ-1955?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jacques Le Roux closed OFBIZ-1955.
----------------------------------

       Resolution: Fixed
    Fix Version/s: SVN trunk

There was a problem with your patch : you tried to relate a store and a client. 
This is not possible as a store is not a party. So I modified your patch to 
relate the client to the sales representative of the store. In OFBiz OOTB, it's 
the admin with SALES_REP role (respectively partyIdTo and roleTypeIdTo in 
createPartyRelationship).

Your modified patch is in trunk revision: 695268  

Thanks for your work

> Create a party relationship between a new customer and the product store in 
> the eCommerce application
> -----------------------------------------------------------------------------------------------------
>
>                 Key: OFBIZ-1955
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1955
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ecommerce
>    Affects Versions: SVN trunk, Release Branch 4.0
>            Reporter: Patrick Antivackis
>            Assignee: Jacques Le Roux
>            Priority: Trivial
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-1955.patch
>
>
> When a new user is creating its own account in an eCommerce application, a 
> CUSTOMER profile is created to this new user, but no relationship is made 
> between this new user and the product store.
> The enclosed patch will create a relationshop of type CUSTOMER_REL between 
> the user (partyIdFrom) with the profile CUSTOMER (roleTypeIdFrom) and the 
> data store (partyIdTo) with profile _NA_ (roleTypeIdTo) 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to