Author: erwan
Date: Mon Jul 11 19:35:13 2011
New Revision: 1145301
URL:
http://svn.apache.org/viewvc?rev=1145301&view=revLog:
When a workeffort has an associated SkillStandard, deleting it can result in a ForeignKey error
Modified:
ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml
Modified: ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml?rev=1145301&r1=1145300&r2=1145301&view=diff==============================================================================
--- ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml (original)
+++ ofbiz/trunk/applications/workeffort/script/org/ofbiz/workeffort/workeffort/WorkEffortSimpleServices.xml Mon Jul 11 19:35:13 2011
@@ -202,6 +202,7 @@ under the License.
<remove-related value-field="lookedUpValue" relation-name="RuntimeData"/>
<remove-related value-field="lookedUpValue" relation-name="WorkEffortPartyAssignment"/>
<remove-related value-field="lookedUpValue" relation-name="WorkEffortFixedAssetAssign"/>
+ <remove-related value-field="lookedUpValue" relation-name="WorkEffortSkillStandard"/>
<remove-related value-field="lookedUpValue" relation-name="WorkEffortStatus"/>
<!-- Delete actual main entity last -->