Author: jonesde
Date: Fri Mar 18 02:35:03 2011
New Revision: 1082800
URL:
http://svn.apache.org/viewvc?rev=1082800&view=revLog:
Added fk from ShipmentCostEstimate to ProductStoreShipmentMeth, is missing allowing ProductStoreShipmentMeth records to be deleted therefore breaking ShipmentCostEstimates
Modified:
ofbiz/trunk/applications/product/entitydef/entitymodel_shipment.xml
Modified: ofbiz/trunk/applications/product/entitydef/entitymodel_shipment.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/product/entitydef/entitymodel_shipment.xml?rev=1082800&r1=1082799&r2=1082800&view=diff==============================================================================
--- ofbiz/trunk/applications/product/entitydef/entitymodel_shipment.xml (original)
+++ ofbiz/trunk/applications/product/entitydef/entitymodel_shipment.xml Fri Mar 18 02:35:03 2011
@@ -767,6 +767,9 @@ under the License.
<key-map field-name="carrierPartyId" rel-field-name="partyId"/>
<key-map field-name="carrierRoleTypeId" rel-field-name="roleTypeId"/>
</relation>
+ <relation type="one" fk-name="SHPMNT_PS_SH_METH" rel-entity-name="ProductStoreShipmentMeth">
+ <key-map field-name="productStoreShipMethId"/>
+ </relation>
<relation type="one" fk-name="SHPMNT_CE_PARTY" rel-entity-name="Party">
<key-map field-name="partyId"/>
</relation>