Re: Party Types
Posted by
Nicolas Malin-2 on
URL: http://ofbiz.116.s1.nabble.com/Party-Types-tp4762533p4762552.html
Hi Emad,
PARTY_GROUP and PERSON are root type for other.
If you identify a party as CORPORATION by relation is a PARTY_GROUP.
on demo data you have this :
<PartyType description="Legal Organization" hasTable="N"
parentTypeId="PARTY_GROUP" partyTypeId="LEGAL_ORGANIZATION"/>
<PartyType description="Corpration" hasTable="N"
parentTypeId="LEGAL_ORGANIZATION" partyTypeId="CORPORATION"/>
So you can read as a corporation is a specialization of a legal organization that is a specialization of a party group.
This help to qualify a party with force this nature.
Nicolas
On 07/12/2020 19:35, Emad Radwan wrote:
> Hi There,
>
> While navigating from the party search grid to the Party Profile there is a logic that checks if the party is in PartyAndGroup or PartyAndPerson view entities to decide the party type and decide the relevant details., That's all fine and understood, also the demo data has all parties in the party grid assigned either Party Group or Person. My question is, why we have other values in the seeded party types table like the following? In other words, if I assign something like 'Legal Organization' as party type, is there other logic path to handle it as it's not a party group or a person and as I understand each party can be assigned one party type only!
>
> Appreciate if you shed some light,
>
> Regards,
>
> Emad.
>
> AUTOMATED_AGENT CORPORATION
> FAMILY GOVERNMENT_AGENCY INFORMAL_GROUP LEGAL_ORGANIZATION PARTY_GROUP PERSON
> TEAM