Re: svn commit: r930321 - /ofbiz/trunk/applications/order/entitydef/entitymodel.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r930321 - /ofbiz/trunk/applications/order/entitydef/entitymodel.xml

Erwan de FERRIERES
Le 02/04/2010 18:47, [hidden email] a écrit :

> Author: doogie
> Date: Fri Apr  2 16:47:22 2010
> New Revision: 930321
>
> URL: http://svn.apache.org/viewvc?rev=930321&view=rev
> Log:
> Add OrderItem relation on OrderItemGroup.
>
> Modified:
>      ofbiz/trunk/applications/order/entitydef/entitymodel.xml
>
> Modified: ofbiz/trunk/applications/order/entitydef/entitymodel.xml
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/entitydef/entitymodel.xml?rev=930321&r1=930320&r2=930321&view=diff
> ==============================================================================
> --- ofbiz/trunk/applications/order/entitydef/entitymodel.xml (original)
> +++ ofbiz/trunk/applications/order/entitydef/entitymodel.xml Fri Apr  2 16:47:22 2010
> @@ -760,6 +760,10 @@ under the License.
>           <field name="groupName" type="name"></field>
>           <prim-key field="orderId"/>
>           <prim-key field="orderItemGroupSeqId"/>
> +<relation type="many" rel-entity-name="OrderItem">
> +<key-map field-name="orderId"/>
> +<key-map field-name="orderItemGroupSeqId"/>
> +</relation>
>           <relation type="one" fk-name="ORDERITMGRP_HDR" rel-entity-name="OrderHeader">
>               <key-map field-name="orderId"/>
>           </relation>
>
>
>

Why adding this relation as it is automatically created with this
relation in OrderItem entity ?
<relation type="one" fk-name="ORDER_ITEM_ITGRP"
rel-entity-name="OrderItemGroup">
<key-map field-name="orderId"/>
<key-map field-name="orderItemGroupSeqId"/>
</relation>



--
Erwan de FERRIERES
www.nereide.biz
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r930321 - /ofbiz/trunk/applications/order/entitydef/entitymodel.xml

Adam Heath-2
Erwan de FERRIERES wrote:

> Le 02/04/2010 18:47, [hidden email] a écrit :
>> Author: doogie
>> Date: Fri Apr  2 16:47:22 2010
>> New Revision: 930321
>>
>> URL: http://svn.apache.org/viewvc?rev=930321&view=rev
>> Log:
>> Add OrderItem relation on OrderItemGroup.
>>
>> Modified:
>>      ofbiz/trunk/applications/order/entitydef/entitymodel.xml
>>
>> Modified: ofbiz/trunk/applications/order/entitydef/entitymodel.xml
>> URL:
>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/entitydef/entitymodel.xml?rev=930321&r1=930320&r2=930321&view=diff
>>
>> ==============================================================================
>>
>> --- ofbiz/trunk/applications/order/entitydef/entitymodel.xml (original)
>> +++ ofbiz/trunk/applications/order/entitydef/entitymodel.xml Fri Apr
>> 2 16:47:22 2010
>> @@ -760,6 +760,10 @@ under the License.
>>           <field name="groupName" type="name"></field>
>>           <prim-key field="orderId"/>
>>           <prim-key field="orderItemGroupSeqId"/>
>> +<relation type="many" rel-entity-name="OrderItem">
>> +<key-map field-name="orderId"/>
>> +<key-map field-name="orderItemGroupSeqId"/>
>> +</relation>
>>           <relation type="one" fk-name="ORDERITMGRP_HDR"
>> rel-entity-name="OrderHeader">
>>               <key-map field-name="orderId"/>
>>           </relation>
>>
>>
>>
>
> Why adding this relation as it is automatically created with this
> relation in OrderItem entity ?
> <relation type="one" fk-name="ORDER_ITEM_ITGRP"
> rel-entity-name="OrderItemGroup">
> <key-map field-name="orderId"/>
> <key-map field-name="orderItemGroupSeqId"/>
> </relation>

Let me check when I get back to work.  Might end up removing this commit.

Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r930321 - /ofbiz/trunk/applications/order/entitydef/entitymodel.xml

Scott Gray-2
On 6/04/2010, at 7:48 AM, Adam Heath wrote:

> Erwan de FERRIERES wrote:
>> Le 02/04/2010 18:47, [hidden email] a écrit :
>>> Author: doogie
>>> Date: Fri Apr  2 16:47:22 2010
>>> New Revision: 930321
>>>
>>> URL: http://svn.apache.org/viewvc?rev=930321&view=rev
>>> Log:
>>> Add OrderItem relation on OrderItemGroup.
>>>
>>> Modified:
>>>     ofbiz/trunk/applications/order/entitydef/entitymodel.xml
>>>
>>> Modified: ofbiz/trunk/applications/order/entitydef/entitymodel.xml
>>> URL:
>>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/entitydef/entitymodel.xml?rev=930321&r1=930320&r2=930321&view=diff
>>>
>>> ==============================================================================
>>>
>>> --- ofbiz/trunk/applications/order/entitydef/entitymodel.xml (original)
>>> +++ ofbiz/trunk/applications/order/entitydef/entitymodel.xml Fri Apr
>>> 2 16:47:22 2010
>>> @@ -760,6 +760,10 @@ under the License.
>>>          <field name="groupName" type="name"></field>
>>>          <prim-key field="orderId"/>
>>>          <prim-key field="orderItemGroupSeqId"/>
>>> +<relation type="many" rel-entity-name="OrderItem">
>>> +<key-map field-name="orderId"/>
>>> +<key-map field-name="orderItemGroupSeqId"/>
>>> +</relation>
>>>          <relation type="one" fk-name="ORDERITMGRP_HDR"
>>> rel-entity-name="OrderHeader">
>>>              <key-map field-name="orderId"/>
>>>          </relation>
>>>
>>>
>>>
>>
>> Why adding this relation as it is automatically created with this
>> relation in OrderItem entity ?
>> <relation type="one" fk-name="ORDER_ITEM_ITGRP"
>> rel-entity-name="OrderItemGroup">
>> <key-map field-name="orderId"/>
>> <key-map field-name="orderItemGroupSeqId"/>
>> </relation>
>
> Let me check when I get back to work.  Might end up removing this commit.
[        ModelReader.java:386:INFO ] Entity [org.ofbiz.order.order:OrderItemGroup] already has identical relationship to entity [OrderItem] title []; would auto-create: type [many] and fields [orderId,orderItemGroupSeqId]



smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r930321 - /ofbiz/trunk/applications/order/entitydef/entitymodel.xml

Scott Gray-2
On 8/04/2010, at 3:26 PM, Scott Gray wrote:

> On 6/04/2010, at 7:48 AM, Adam Heath wrote:
>
>> Erwan de FERRIERES wrote:
>>> Le 02/04/2010 18:47, [hidden email] a écrit :
>>>> Author: doogie
>>>> Date: Fri Apr  2 16:47:22 2010
>>>> New Revision: 930321
>>>>
>>>> URL: http://svn.apache.org/viewvc?rev=930321&view=rev
>>>> Log:
>>>> Add OrderItem relation on OrderItemGroup.
>>>>
>>>> Modified:
>>>>    ofbiz/trunk/applications/order/entitydef/entitymodel.xml
>>>>
>>>> Modified: ofbiz/trunk/applications/order/entitydef/entitymodel.xml
>>>> URL:
>>>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/entitydef/entitymodel.xml?rev=930321&r1=930320&r2=930321&view=diff
>>>>
>>>> ==============================================================================
>>>>
>>>> --- ofbiz/trunk/applications/order/entitydef/entitymodel.xml (original)
>>>> +++ ofbiz/trunk/applications/order/entitydef/entitymodel.xml Fri Apr
>>>> 2 16:47:22 2010
>>>> @@ -760,6 +760,10 @@ under the License.
>>>>         <field name="groupName" type="name"></field>
>>>>         <prim-key field="orderId"/>
>>>>         <prim-key field="orderItemGroupSeqId"/>
>>>> +<relation type="many" rel-entity-name="OrderItem">
>>>> +<key-map field-name="orderId"/>
>>>> +<key-map field-name="orderItemGroupSeqId"/>
>>>> +</relation>
>>>>         <relation type="one" fk-name="ORDERITMGRP_HDR"
>>>> rel-entity-name="OrderHeader">
>>>>             <key-map field-name="orderId"/>
>>>>         </relation>
>>>>
>>>>
>>>>
>>>
>>> Why adding this relation as it is automatically created with this
>>> relation in OrderItem entity ?
>>> <relation type="one" fk-name="ORDER_ITEM_ITGRP"
>>> rel-entity-name="OrderItemGroup">
>>> <key-map field-name="orderId"/>
>>> <key-map field-name="orderItemGroupSeqId"/>
>>> </relation>
>>
>> Let me check when I get back to work.  Might end up removing this commit.
Are you on an extended holiday?

>
> [        ModelReader.java:386:INFO ] Entity [org.ofbiz.order.order:OrderItemGroup] already has identical relationship to entity [OrderItem] title []; would auto-create: type [many] and fields [orderId,orderItemGroupSeqId]
>
>


smime.p7s (3K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r930321 - /ofbiz/trunk/applications/order/entitydef/entitymodel.xml

Adam Heath-2
Scott Gray wrote:

> On 8/04/2010, at 3:26 PM, Scott Gray wrote:
>
>> On 6/04/2010, at 7:48 AM, Adam Heath wrote:
>>
>>> Erwan de FERRIERES wrote:
>>>> Le 02/04/2010 18:47, [hidden email] a écrit :
>>>>> Author: doogie
>>>>> Date: Fri Apr  2 16:47:22 2010
>>>>> New Revision: 930321
>>>>>
>>>>> URL: http://svn.apache.org/viewvc?rev=930321&view=rev
>>>>> Log:
>>>>> Add OrderItem relation on OrderItemGroup.
>>>>>
>>>>> Modified:
>>>>>    ofbiz/trunk/applications/order/entitydef/entitymodel.xml
>>>>>
>>>>> Modified: ofbiz/trunk/applications/order/entitydef/entitymodel.xml
>>>>> URL:
>>>>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/order/entitydef/entitymodel.xml?rev=930321&r1=930320&r2=930321&view=diff
>>>>>
>>>>> ==============================================================================
>>>>>
>>>>> --- ofbiz/trunk/applications/order/entitydef/entitymodel.xml (original)
>>>>> +++ ofbiz/trunk/applications/order/entitydef/entitymodel.xml Fri Apr
>>>>> 2 16:47:22 2010
>>>>> @@ -760,6 +760,10 @@ under the License.
>>>>>         <field name="groupName" type="name"></field>
>>>>>         <prim-key field="orderId"/>
>>>>>         <prim-key field="orderItemGroupSeqId"/>
>>>>> +<relation type="many" rel-entity-name="OrderItem">
>>>>> +<key-map field-name="orderId"/>
>>>>> +<key-map field-name="orderItemGroupSeqId"/>
>>>>> +</relation>
>>>>>         <relation type="one" fk-name="ORDERITMGRP_HDR"
>>>>> rel-entity-name="OrderHeader">
>>>>>             <key-map field-name="orderId"/>
>>>>>         </relation>
>>>>>
>>>>>
>>>>>
>>>> Why adding this relation as it is automatically created with this
>>>> relation in OrderItem entity ?
>>>> <relation type="one" fk-name="ORDER_ITEM_ITGRP"
>>>> rel-entity-name="OrderItemGroup">
>>>> <key-map field-name="orderId"/>
>>>> <key-map field-name="orderItemGroupSeqId"/>
>>>> </relation>
>>> Let me check when I get back to work.  Might end up removing this commit.
>
> Are you on an extended holiday?

No, thanks for reminding me.  It's still on my list.