Related to issue 33650: code review improvements
authorVíctor Martínez Romanos <victor.martinez@openbravo.com>
Thu, 26 Apr 2018 16:25:58 +0200
changeset 33891 a96849b0f373
parent 33890 a527992e0215
child 33892 7c01d27cda0f
Related to issue 33650: code review improvements
Removed new reference Organization Selector for Persist Information and use instead existing Organization Simple Selector
src-db/database/sourcedata/AD_COLUMN.xml
src-db/database/sourcedata/AD_REFERENCE.xml
src-db/database/sourcedata/OBUISEL_SELECTOR.xml
--- a/src-db/database/sourcedata/AD_COLUMN.xml	Fri Apr 27 07:58:20 2018 +0530
+++ b/src-db/database/sourcedata/AD_COLUMN.xml	Thu Apr 26 16:25:58 2018 +0200
@@ -258586,7 +258586,7 @@
 <!--3244C11EC50745D092859E2545903F63-->  <COLUMNNAME><![CDATA[AD_Calendarowner_Org_ID]]></COLUMNNAME>
 <!--3244C11EC50745D092859E2545903F63-->  <AD_TABLE_ID><![CDATA[155]]></AD_TABLE_ID>
 <!--3244C11EC50745D092859E2545903F63-->  <AD_REFERENCE_ID><![CDATA[95E2A8B50A254B2AAE6774B8C2F28120]]></AD_REFERENCE_ID>
-<!--3244C11EC50745D092859E2545903F63-->  <AD_REFERENCE_VALUE_ID><![CDATA[61CACA7F5C61466BB42C391BBD6156A0]]></AD_REFERENCE_VALUE_ID>
+<!--3244C11EC50745D092859E2545903F63-->  <AD_REFERENCE_VALUE_ID><![CDATA[100A788331734AE8BCC87BA0AC9E3406]]></AD_REFERENCE_VALUE_ID>
 <!--3244C11EC50745D092859E2545903F63-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
 <!--3244C11EC50745D092859E2545903F63-->  <ISKEY><![CDATA[N]]></ISKEY>
 <!--3244C11EC50745D092859E2545903F63-->  <ISPARENT><![CDATA[N]]></ISPARENT>
@@ -260244,7 +260244,7 @@
 <!--37569B3F7BE447F3ACB229779A6E95EB-->  <COLUMNNAME><![CDATA[AD_Businessunit_Org_ID]]></COLUMNNAME>
 <!--37569B3F7BE447F3ACB229779A6E95EB-->  <AD_TABLE_ID><![CDATA[155]]></AD_TABLE_ID>
 <!--37569B3F7BE447F3ACB229779A6E95EB-->  <AD_REFERENCE_ID><![CDATA[95E2A8B50A254B2AAE6774B8C2F28120]]></AD_REFERENCE_ID>
-<!--37569B3F7BE447F3ACB229779A6E95EB-->  <AD_REFERENCE_VALUE_ID><![CDATA[61CACA7F5C61466BB42C391BBD6156A0]]></AD_REFERENCE_VALUE_ID>
+<!--37569B3F7BE447F3ACB229779A6E95EB-->  <AD_REFERENCE_VALUE_ID><![CDATA[100A788331734AE8BCC87BA0AC9E3406]]></AD_REFERENCE_VALUE_ID>
 <!--37569B3F7BE447F3ACB229779A6E95EB-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
 <!--37569B3F7BE447F3ACB229779A6E95EB-->  <ISKEY><![CDATA[N]]></ISKEY>
 <!--37569B3F7BE447F3ACB229779A6E95EB-->  <ISPARENT><![CDATA[N]]></ISPARENT>
@@ -334332,7 +334332,7 @@
 <!--9883DA921CEC4A71A2F76D0DDD4813F2-->  <COLUMNNAME><![CDATA[AD_Legalentity_Org_ID]]></COLUMNNAME>
 <!--9883DA921CEC4A71A2F76D0DDD4813F2-->  <AD_TABLE_ID><![CDATA[155]]></AD_TABLE_ID>
 <!--9883DA921CEC4A71A2F76D0DDD4813F2-->  <AD_REFERENCE_ID><![CDATA[95E2A8B50A254B2AAE6774B8C2F28120]]></AD_REFERENCE_ID>
-<!--9883DA921CEC4A71A2F76D0DDD4813F2-->  <AD_REFERENCE_VALUE_ID><![CDATA[61CACA7F5C61466BB42C391BBD6156A0]]></AD_REFERENCE_VALUE_ID>
+<!--9883DA921CEC4A71A2F76D0DDD4813F2-->  <AD_REFERENCE_VALUE_ID><![CDATA[100A788331734AE8BCC87BA0AC9E3406]]></AD_REFERENCE_VALUE_ID>
 <!--9883DA921CEC4A71A2F76D0DDD4813F2-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
 <!--9883DA921CEC4A71A2F76D0DDD4813F2-->  <ISKEY><![CDATA[N]]></ISKEY>
 <!--9883DA921CEC4A71A2F76D0DDD4813F2-->  <ISPARENT><![CDATA[N]]></ISPARENT>
@@ -382295,7 +382295,7 @@
 <!--F93CEC78B36548BABBBAB704B9CE9866-->  <COLUMNNAME><![CDATA[AD_Periodcontrolallowed_Org_ID]]></COLUMNNAME>
 <!--F93CEC78B36548BABBBAB704B9CE9866-->  <AD_TABLE_ID><![CDATA[155]]></AD_TABLE_ID>
 <!--F93CEC78B36548BABBBAB704B9CE9866-->  <AD_REFERENCE_ID><![CDATA[95E2A8B50A254B2AAE6774B8C2F28120]]></AD_REFERENCE_ID>
-<!--F93CEC78B36548BABBBAB704B9CE9866-->  <AD_REFERENCE_VALUE_ID><![CDATA[61CACA7F5C61466BB42C391BBD6156A0]]></AD_REFERENCE_VALUE_ID>
+<!--F93CEC78B36548BABBBAB704B9CE9866-->  <AD_REFERENCE_VALUE_ID><![CDATA[100A788331734AE8BCC87BA0AC9E3406]]></AD_REFERENCE_VALUE_ID>
 <!--F93CEC78B36548BABBBAB704B9CE9866-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
 <!--F93CEC78B36548BABBBAB704B9CE9866-->  <ISKEY><![CDATA[N]]></ISKEY>
 <!--F93CEC78B36548BABBBAB704B9CE9866-->  <ISPARENT><![CDATA[N]]></ISPARENT>
--- a/src-db/database/sourcedata/AD_REFERENCE.xml	Fri Apr 27 07:58:20 2018 +0530
+++ b/src-db/database/sourcedata/AD_REFERENCE.xml	Thu Apr 26 16:25:58 2018 +0200
@@ -5400,20 +5400,6 @@
 <!--60E231391A7348DDA7171E780F62EF99-->  <ISVALUEDISPLAYED><![CDATA[N]]></ISVALUEDISPLAYED>
 <!--60E231391A7348DDA7171E780F62EF99--></AD_REFERENCE>
 
-<!--61CACA7F5C61466BB42C391BBD6156A0--><AD_REFERENCE>
-<!--61CACA7F5C61466BB42C391BBD6156A0-->  <AD_REFERENCE_ID><![CDATA[61CACA7F5C61466BB42C391BBD6156A0]]></AD_REFERENCE_ID>
-<!--61CACA7F5C61466BB42C391BBD6156A0-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--61CACA7F5C61466BB42C391BBD6156A0-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--61CACA7F5C61466BB42C391BBD6156A0-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--61CACA7F5C61466BB42C391BBD6156A0-->  <NAME><![CDATA[Organization Selector for Persist Information]]></NAME>
-<!--61CACA7F5C61466BB42C391BBD6156A0-->  <DESCRIPTION><![CDATA[Organization Selector for Persist Information]]></DESCRIPTION>
-<!--61CACA7F5C61466BB42C391BBD6156A0-->  <HELP><![CDATA[Organization Selector for Persist Information]]></HELP>
-<!--61CACA7F5C61466BB42C391BBD6156A0-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--61CACA7F5C61466BB42C391BBD6156A0-->  <ISBASEREFERENCE><![CDATA[N]]></ISBASEREFERENCE>
-<!--61CACA7F5C61466BB42C391BBD6156A0-->  <PARENTREFERENCE_ID><![CDATA[95E2A8B50A254B2AAE6774B8C2F28120]]></PARENTREFERENCE_ID>
-<!--61CACA7F5C61466BB42C391BBD6156A0-->  <ISVALUEDISPLAYED><![CDATA[N]]></ISVALUEDISPLAYED>
-<!--61CACA7F5C61466BB42C391BBD6156A0--></AD_REFERENCE>
-
 <!--64522A2F925244F282036B827E8FA3D0--><AD_REFERENCE>
 <!--64522A2F925244F282036B827E8FA3D0-->  <AD_REFERENCE_ID><![CDATA[64522A2F925244F282036B827E8FA3D0]]></AD_REFERENCE_ID>
 <!--64522A2F925244F282036B827E8FA3D0-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/OBUISEL_SELECTOR.xml	Fri Apr 27 07:58:20 2018 +0530
+++ b/src-db/database/sourcedata/OBUISEL_SELECTOR.xml	Thu Apr 26 16:25:58 2018 +0200
@@ -201,24 +201,6 @@
 <!--26FA611719154B5E808140E04BD58AB0-->  <CUSTOM_QUERY><![CDATA[N]]></CUSTOM_QUERY>
 <!--26FA611719154B5E808140E04BD58AB0--></OBUISEL_SELECTOR>
 
-<!--2B9E5CB801824F6DA7D2A16812DF861D--><OBUISEL_SELECTOR>
-<!--2B9E5CB801824F6DA7D2A16812DF861D-->  <OBUISEL_SELECTOR_ID><![CDATA[2B9E5CB801824F6DA7D2A16812DF861D]]></OBUISEL_SELECTOR_ID>
-<!--2B9E5CB801824F6DA7D2A16812DF861D-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--2B9E5CB801824F6DA7D2A16812DF861D-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--2B9E5CB801824F6DA7D2A16812DF861D-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--2B9E5CB801824F6DA7D2A16812DF861D-->  <NAME><![CDATA[Organization Selector for Persist Information]]></NAME>
-<!--2B9E5CB801824F6DA7D2A16812DF861D-->  <DESCRIPTION><![CDATA[Organization Selector for Persist Information]]></DESCRIPTION>
-<!--2B9E5CB801824F6DA7D2A16812DF861D-->  <HELP><![CDATA[Organization Selector for Persist Information]]></HELP>
-<!--2B9E5CB801824F6DA7D2A16812DF861D-->  <AD_REFERENCE_ID><![CDATA[61CACA7F5C61466BB42C391BBD6156A0]]></AD_REFERENCE_ID>
-<!--2B9E5CB801824F6DA7D2A16812DF861D-->  <AD_TABLE_ID><![CDATA[155]]></AD_TABLE_ID>
-<!--2B9E5CB801824F6DA7D2A16812DF861D-->  <WHERECLAUSE><![CDATA[AD_ISORGINCLUDED(e.id, @inpadOrgId@,e.client.id)<>-1]]></WHERECLAUSE>
-<!--2B9E5CB801824F6DA7D2A16812DF861D-->  <OBCLKER_TEMPLATE_ID><![CDATA[9314DE8599AD44E7BFC4CC50699042AB]]></OBCLKER_TEMPLATE_ID>
-<!--2B9E5CB801824F6DA7D2A16812DF861D-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--2B9E5CB801824F6DA7D2A16812DF861D-->  <SUGGESTIONTEXTMATCHSTYLE><![CDATA[startsWith]]></SUGGESTIONTEXTMATCHSTYLE>
-<!--2B9E5CB801824F6DA7D2A16812DF861D-->  <POPUPTEXTMATCHSTYLE><![CDATA[startsWith]]></POPUPTEXTMATCHSTYLE>
-<!--2B9E5CB801824F6DA7D2A16812DF861D-->  <CUSTOM_QUERY><![CDATA[N]]></CUSTOM_QUERY>
-<!--2B9E5CB801824F6DA7D2A16812DF861D--></OBUISEL_SELECTOR>
-
 <!--2E64F551C7C4470C80C29DBA24B34A5F--><OBUISEL_SELECTOR>
 <!--2E64F551C7C4470C80C29DBA24B34A5F-->  <OBUISEL_SELECTOR_ID><![CDATA[2E64F551C7C4470C80C29DBA24B34A5F]]></OBUISEL_SELECTOR_ID>
 <!--2E64F551C7C4470C80C29DBA24B34A5F-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>