src-db/database/sourcedata/AD_REF_TABLE.xml
changeset 17588 a3f4acecdb1b
parent 17578 f2a6e4598a05
child 18766 8e775c18f204
child 18809 4647d3028192
--- a/src-db/database/sourcedata/AD_REF_TABLE.xml	Wed Aug 01 14:25:58 2012 +0200
+++ b/src-db/database/sourcedata/AD_REF_TABLE.xml	Wed Aug 01 14:40:49 2012 +0200
@@ -1151,7 +1151,7 @@
 <!--2F57E5B5EBF44E0A9D45492DECBD3CC1-->  <AD_KEY><![CDATA[800437]]></AD_KEY>
 <!--2F57E5B5EBF44E0A9D45492DECBD3CC1-->  <AD_DISPLAY><![CDATA[800445]]></AD_DISPLAY>
 <!--2F57E5B5EBF44E0A9D45492DECBD3CC1-->  <ISVALUEDISPLAYED><![CDATA[N]]></ISVALUEDISPLAYED>
-<!--2F57E5B5EBF44E0A9D45492DECBD3CC1-->  <ORDERBYCLAUSE><![CDATA[AD_Org_ID = @AD_Org_ID@ DESC]]></ORDERBYCLAUSE>
+<!--2F57E5B5EBF44E0A9D45492DECBD3CC1-->  <ORDERBYCLAUSE><![CDATA[Name, CASE WHEN (AD_Org_ID = @AD_Org_ID@) THEN 1 ELSE 0 END DESC]]></ORDERBYCLAUSE>
 <!--2F57E5B5EBF44E0A9D45492DECBD3CC1--></AD_REF_TABLE>
 
 <!--54AC2749F26440F3AEA33378858569E4--><AD_REF_TABLE>