Demo data Inconsistant PartyRelationship

Posted by BJ Freeman on
URL: http://ofbiz.116.s1.nabble.com/Demo-data-Inconsistant-PartyRelationship-tp3787366.html

https://demo-trunk.ofbiz.apache.org:8443/webtools/control/FindGeneric?entityName=PartyRelationship&find=true&VIEW_SIZE=50&VIEW_INDEX=0
some rows have partyIdFrom= Company
others have partyIdTo =Company

The Pattern in the data Model book is the subset is from and next layer
up is the To (vol i page 45).
So by this partyIdTo =Company would be correct.
In 2005 subject: right way to set up party relationship
 David stated this

David,

I just checked the Data Model and Resources Book, and they have it the
way our seed data is set up as well:

Volume 1, page 45 -
Relationship Type name = Customer relationship
From Party = ACME Company
From Role = Customer
To Party = ABC Subsidiary
To Role = Internal Organization

So I still think that the comment is the one that must be wrong.  I'll
take a look at the createPartyRelationship service and see if I find
anything there.