Hi, Folks,
>
> I looked at applications\order\entitydef\entitymode.xml file.
> there is an entry entity-name="OrderContactMech" as the following:  it has
> relationship with  rel-entity-name="ContactMech".
> But i could not find there is ContactMech entity-name defined in this file.
> Could tell me where i can find "ContactMech.
>
> thank you!
>
> chwang
>
>
>
>  <entity entity-name="OrderContactMech"
>             package-name="org.ofbiz.order.order"
>             never-cache="true"
>             title="Order Contact Mechanism Entity">
>       <field name="orderId" type="id-ne"></field>
>       <field name="contactMechPurposeTypeId" type="id-ne"></field>
>       <field name="contactMechId" type="id-ne"></field>
>       <prim-key field="orderId"/>
>       <prim-key field="contactMechPurposeTypeId"/>
>       <prim-key field="contactMechId"/>
>       <relation type="one" fk-name="ORDER_CMECH_HDR"
> rel-entity-name="OrderHeader">
>         <key-map field-name="orderId"/>
>       </relation>
>       <relation type="one" fk-name="ORDER_CMECH_CM"
> rel-entity-name="ContactMech">
>         <key-map field-name="contactMechId"/>
>       </relation>
>       <relation type="one" fk-name="ORDER_CMECH_CMPT"
> rel-entity-name="ContactMechPurposeType">
>         <key-map field-name="contactMechPurposeTypeId"/>
>       </relation>
>     </entity>
>

Reply via email to