You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Jacques Le Roux <ja...@les7arts.com> on 2017/05/06 12:56:00 UTC

Re: entitymodel.xml oddity

Hi,

I just spotted this email by chance. I agree with Ron that it's a weird name for a FK.

I suggest we fix the typo to PARTY_ID_PRODUCT, no worries (it's not used OOTB)?

Thanks

Jacques


Le 13/01/2015 à 22:03, Ron Wheeler a écrit :
>   In the entitymodel.xml in 13.07.01 I found this entity description with
>     <relation type="one" fk-name="PARTY_ID_PRODICT" rel-entity-name="Party">
>
> "PARTY_ID_PRODICT" is an odd looking name.  I am not sure if this is an error or a word that I have never seen before.
>
>
>   <entity entity-name="PartyIdentification"
>             package-name="org.ofbiz.party.party"
>             title="Party Identification Entity">
>       <field name="partyId" type="id-ne"></field>
>       <field name="partyIdentificationTypeId" type="id-ne"></field>
>       <field name="idValue" type="id-long"></field>
>       <prim-key field="partyId"/>
>       <prim-key field="partyIdentificationTypeId"/>
>       <relation type="one" fk-name="PARTY_ID_TYPE" rel-entity-name="PartyIdentificationType">
>         <key-map field-name="partyIdentificationTypeId"/>
>       </relation>
>       <relation type="one" fk-name="PARTY_ID_PRODICT" rel-entity-name="Party">
>         <key-map field-name="partyId"/>
>       </relation>
>       <index name="PARTY_ID_VALIDX" unique="false">
>           <index-field name="idValue"/>
>       </index>
>     </entity>
>