Author: jleroux
Date: Sat Sep 28 12:08:11 2019
New Revision: 1867665
URL:
http://svn.apache.org/viewvc?rev=1867665&view=revLog:
Improved: Foreign Key relation is missing for dataSourceId in SalesOpportunity
entity
(OFBIZ-11218)
I see no reason to no have it as it's in all other cases.
Thanks: reported by Rajesh Mallah, improved with a patch from Devanshu Vyas.
Modified:
ofbiz/ofbiz-framework/trunk/applications/datamodel/entitydef/marketing-entitymodel.xml
Modified: ofbiz/ofbiz-framework/trunk/applications/datamodel/entitydef/marketing-entitymodel.xml
URL:
http://svn.apache.org/viewvc/ofbiz/ofbiz-framework/trunk/applications/datamodel/entitydef/marketing-entitymodel.xml?rev=1867665&r1=1867664&r2=1867665&view=diff==============================================================================
--- ofbiz/ofbiz-framework/trunk/applications/datamodel/entitydef/marketing-entitymodel.xml (original)
+++ ofbiz/ofbiz-framework/trunk/applications/datamodel/entitydef/marketing-entitymodel.xml Sat Sep 28 12:08:11 2019
@@ -691,6 +691,9 @@ under the License.
<relation fk-name="SLSOPP_USRLGN" rel-entity-name="UserLogin" type="one">
<key-map field-name="createdByUserLogin" rel-field-name="userLoginId"/>
</relation>
+ <relation type="one" fk-name="SLSOPP_DTSRC" rel-entity-name="DataSource">
+ <key-map field-name="dataSourceId"/>
+ </relation>
</entity>
<entity entity-name="SalesOpportunityHistory"