src-db/database/sourcedata/AD_REF_TABLE.xml
changeset 15005 74bf1e05bc72
parent 14984 683e0e1ac318
child 15018 1e56bb798552
--- a/src-db/database/sourcedata/AD_REF_TABLE.xml	Tue Oct 25 13:59:44 2011 +0200
+++ b/src-db/database/sourcedata/AD_REF_TABLE.xml	Thu Oct 27 17:52:41 2011 +0200
@@ -1280,7 +1280,7 @@
 <!--FF808181329203980132921324270015-->  <AD_KEY><![CDATA[801536]]></AD_KEY>
 <!--FF808181329203980132921324270015-->  <AD_DISPLAY><![CDATA[801546]]></AD_DISPLAY>
 <!--FF808181329203980132921324270015-->  <ISVALUEDISPLAYED><![CDATA[N]]></ISVALUEDISPLAYED>
-<!--FF808181329203980132921324270015-->  <WHERECLAUSE><![CDATA[MA_SequenceProduct.MA_Sequence_ID = @MA_Sequence_ID@ AND MA_SequenceProduct.Productiontype = '-']]></WHERECLAUSE>
+<!--FF808181329203980132921324270015-->  <WHERECLAUSE><![CDATA[MA_SequenceProduct.MA_Sequence_ID = @MA_Sequence_ID@ AND MA_SequenceProduct.Productiontype = '-'  AND MA_SequenceProduct.Line < TO_NUMBER(@Line@)]]></WHERECLAUSE>
 <!--FF808181329203980132921324270015--></AD_REF_TABLE>
 
 </data>