src-db/database/sourcedata/AD_PROCESS_PARA.xml
changeset 15931 2d1cb1bac6c0
parent 15930 6cae29b63eb4
child 15933 ba8c6725d75d
--- a/src-db/database/sourcedata/AD_PROCESS_PARA.xml	Wed Mar 21 10:15:41 2012 +0100
+++ b/src-db/database/sourcedata/AD_PROCESS_PARA.xml	Mon Mar 26 11:24:38 2012 +0200
@@ -3875,7 +3875,7 @@
 <!--1004400001-->  <FIELDLENGTH><![CDATA[30]]></FIELDLENGTH>
 <!--1004400001-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
 <!--1004400001-->  <ISRANGE><![CDATA[N]]></ISRANGE>
-<!--1004400001-->  <DEFAULTVALUE><![CDATA[@SQL=SELECT M_Requisition.C_Bpartner_Id FROM M_Requisition, (SELECT count(*) as SameBP FROM M_Requisition inner join M_requisitionLine ON M_Requisition.M_Requisition_id = M_requisitionLine.M_Requisition_id WHERE M_Requisition.c_bpartner_id = M_requisitionLine.c_bpartner_id AND M_Requisition.M_Requisition_id = @M_Requisition_ID@) SameBP,  (SELECT count(*) QtyLines FROM M_RequisitionLine WHERE M_RequisitionLine.M_Requisition_id=@M_Requisition_ID@) QtyLines  WHERE SameBP.SameBP = QtyLines.QtyLines AND M_Requisition.M_Requisition_id =@M_Requisition_ID@]]></DEFAULTVALUE>
+<!--1004400001-->  <DEFAULTVALUE><![CDATA[@SQL=SELECT M_Requisition.C_Bpartner_Id FROM M_Requisition, (SELECT count(*) as SameBP FROM M_Requisition inner join M_requisitionLine ON M_Requisition.M_Requisition_id = M_requisitionLine.M_Requisition_id WHERE M_Requisition.c_bpartner_id = M_requisitionLine.c_bpartner_id AND M_Requisition.M_Requisition_id = @M_Requisition_ID@) SameBP,  (SELECT count(*) as QtyLines FROM M_RequisitionLine WHERE M_RequisitionLine.M_Requisition_id=@M_Requisition_ID@) QtyLines  WHERE SameBP.SameBP = QtyLines.QtyLines AND M_Requisition.M_Requisition_id =@M_Requisition_ID@]]></DEFAULTVALUE>
 <!--1004400001-->  <AD_ELEMENT_ID><![CDATA[187]]></AD_ELEMENT_ID>
 <!--1004400001--></AD_PROCESS_PARA>
 
@@ -3897,7 +3897,7 @@
 <!--1004400002-->  <FIELDLENGTH><![CDATA[20]]></FIELDLENGTH>
 <!--1004400002-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
 <!--1004400002-->  <ISRANGE><![CDATA[N]]></ISRANGE>
-<!--1004400002-->  <DEFAULTVALUE><![CDATA[@SQL=SELECT M_Requisition.m_pricelist_id  FROM M_Requisition,       (SELECT count(*) as SamePL        FROM M_Requisition inner join M_requisitionLine ON M_Requisition.M_Requisition_id = M_requisitionLine.M_Requisition_id       WHERE M_Requisition.m_pricelist_id = M_requisitionLine.m_pricelist_id AND M_Requisition.M_Requisition_id = @M_Requisition_ID@) SamePL,        (SELECT count(*) QtyLines       FROM M_RequisitionLine       WHERE M_RequisitionLine.M_Requisition_id=@M_Requisition_ID@) QtyLines   WHERE SamePL.SamePL = QtyLines.QtyLines AND M_Requisition.M_Requisition_id =@M_Requisition_ID@]]></DEFAULTVALUE>
+<!--1004400002-->  <DEFAULTVALUE><![CDATA[@SQL=SELECT M_Requisition.m_pricelist_id  FROM M_Requisition,       (SELECT count(*) as SamePL        FROM M_Requisition inner join M_requisitionLine ON M_Requisition.M_Requisition_id = M_requisitionLine.M_Requisition_id       WHERE M_Requisition.m_pricelist_id = M_requisitionLine.m_pricelist_id AND M_Requisition.M_Requisition_id = @M_Requisition_ID@) SamePL,        (SELECT count(*) as QtyLines       FROM M_RequisitionLine       WHERE M_RequisitionLine.M_Requisition_id=@M_Requisition_ID@) QtyLines   WHERE SamePL.SamePL = QtyLines.QtyLines AND M_Requisition.M_Requisition_id =@M_Requisition_ID@]]></DEFAULTVALUE>
 <!--1004400002-->  <AD_ELEMENT_ID><![CDATA[449]]></AD_ELEMENT_ID>
 <!--1004400002--></AD_PROCESS_PARA>