Author: jonesde
Date: Thu Nov 8 11:41:29 2007
New Revision: 593272
URL:
http://svn.apache.org/viewvc?rev=593272&view=revLog:
Removed some redundant and unnecessary constraints in OrderItemPriceInfo
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=593272&r1=593271&r2=593272&view=diff==============================================================================
--- ofbiz/trunk/applications/order/entitydef/entitymodel.xml (original)
+++ ofbiz/trunk/applications/order/entitydef/entitymodel.xml Thu Nov 8 11:41:29 2007
@@ -695,19 +695,19 @@
<field name="orderItemPriceInfoId" type="id-ne"></field>
<field name="orderId" type="id-ne"></field>
<field name="orderItemSeqId" type="id-ne"></field>
- <field name="productPriceRuleId" type="id-ne"></field>
- <field name="productPriceActionSeqId" type="id-ne"></field>
+ <field name="productPriceRuleId" type="id"></field>
+ <field name="productPriceActionSeqId" type="id"></field>
<field name="modifyAmount" type="floating-point"></field>
<field name="description" type="description"></field>
<prim-key field="orderItemPriceInfoId"/>
- <relation type="one" fk-name="ORDER_OIPI_OHDR" rel-entity-name="OrderHeader">
+ <relation type="one-nofk" rel-entity-name="OrderHeader">
<key-map field-name="orderId"/>
</relation>
<relation type="one" fk-name="ORDER_OIPI_OITM" rel-entity-name="OrderItem">
<key-map field-name="orderId"/>
<key-map field-name="orderItemSeqId"/>
</relation>
- <relation type="one" fk-name="ORDER_OIPI_PRPR" rel-entity-name="ProductPriceRule">
+ <relation type="one-nofk" rel-entity-name="ProductPriceRule">
<key-map field-name="productPriceRuleId"/>
</relation>
<relation type="one" fk-name="ORDER_OIPI_PRAI" rel-entity-name="ProductPriceAction">