> 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.
>
> Si
>
> David E. Jones wrote:
>
>>
>> Si,
>>
>> I think that comment is correct and consistent with what is coded
>> in the edit party relationships page in the party manager.
>>
>> The problem is most likely that the seed data for the agent is
>> wrong... I think this has actually been brought up before, so
>> I'll fix it real quick...
>>
>> -David
>>
>>
>> On Dec 21, 2005, at 2:22 PM, Si Chen wrote:
>>
>>> Hi. I'm just trying to confirm the right way to set up party
>>> relationships in the system, because I think this comment in
>>> PartyTypeData.xml might be wrong:
>>>
>>> <!-- NOTE: The partyRelationshipName describes the TO party, ie
>>> A is a customer of B, so A is the partyTo and B is the partyFrom
>>> -->
>>> The existing seed data for PartyRelationship, however, show
>>> partyIdFrom = DemoCustAgent
>>> partyIdTo = DemoCustCompany
>>> partyRelationshipTypeId = AGENT
>>>
>>> when DemoCustAgent (partyIdFrom) is an AGENT of DemoCustCompany
>>> (partyIdTo)
>>>
>>> The seed data seems to be more intuitive anyway, but I just
>>> wanted to confirm. I can change the incorrect comment in the
>>> PartyTypeData.xml
>>>
>>> Thanks,
>>>
>>> Si
>>> _______________________________________________
>>> Dev mailing list
>>>
[hidden email]
>>>
http://lists.ofbiz.org/mailman/listinfo/dev>>
>>
>> ---------------------------------------------------------------------
>> ---
>>
>> _______________________________________________
>> Dev mailing list
>>
[hidden email]
>>
http://lists.ofbiz.org/mailman/listinfo/dev>>
> _______________________________________________
> Dev mailing list
>
[hidden email]
>
http://lists.ofbiz.org/mailman/listinfo/dev