fixed bug 20107: Incorrect warehouse list in Create Purchase Order process
authorAsier Lostalé <asier.lostale@openbravo.com>
Mon, 02 Apr 2012 12:54:15 +0200
changeset 16018 65b0dd5d72c7
parent 16017 b81eeaf0df63
child 16019 963e08f35b32
fixed bug 20107: Incorrect warehouse list in Create Purchase Order process
src-db/database/sourcedata/AD_PROCESS_PARA.xml
src-db/database/sourcedata/AD_VAL_RULE.xml
--- a/src-db/database/sourcedata/AD_PROCESS_PARA.xml	Thu Mar 29 12:59:52 2012 +0200
+++ b/src-db/database/sourcedata/AD_PROCESS_PARA.xml	Mon Apr 02 12:54:15 2012 +0200
@@ -3933,6 +3933,7 @@
 <!--1004400004-->  <AD_PROCESS_ID><![CDATA[1004400000]]></AD_PROCESS_ID>
 <!--1004400004-->  <SEQNO><![CDATA[12]]></SEQNO>
 <!--1004400004-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--1004400004-->  <AD_VAL_RULE_ID><![CDATA[A3DCDE5EDD4A4403AC205B131F10F84D]]></AD_VAL_RULE_ID>
 <!--1004400004-->  <COLUMNNAME><![CDATA[M_Warehouse_ID]]></COLUMNNAME>
 <!--1004400004-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
 <!--1004400004-->  <FIELDLENGTH><![CDATA[20]]></FIELDLENGTH>
--- a/src-db/database/sourcedata/AD_VAL_RULE.xml	Thu Mar 29 12:59:52 2012 +0200
+++ b/src-db/database/sourcedata/AD_VAL_RULE.xml	Mon Apr 02 12:54:15 2012 +0200
@@ -1577,6 +1577,17 @@
 <!--A010900931E241E9AF9126EE0754BD24-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--A010900931E241E9AF9126EE0754BD24--></AD_VAL_RULE>
 
+<!--A3DCDE5EDD4A4403AC205B131F10F84D--><AD_VAL_RULE>
+<!--A3DCDE5EDD4A4403AC205B131F10F84D-->  <AD_VAL_RULE_ID><![CDATA[A3DCDE5EDD4A4403AC205B131F10F84D]]></AD_VAL_RULE_ID>
+<!--A3DCDE5EDD4A4403AC205B131F10F84D-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--A3DCDE5EDD4A4403AC205B131F10F84D-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--A3DCDE5EDD4A4403AC205B131F10F84D-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--A3DCDE5EDD4A4403AC205B131F10F84D-->  <NAME><![CDATA[Warehouse in current org tree]]></NAME>
+<!--A3DCDE5EDD4A4403AC205B131F10F84D-->  <TYPE><![CDATA[S]]></TYPE>
+<!--A3DCDE5EDD4A4403AC205B131F10F84D-->  <CODE><![CDATA[AD_ISORGINCLUDED(M_Warehouse.AD_Org_ID, @AD_Org_ID@, M_Warehouse.ad_client_id)<>-1]]></CODE>
+<!--A3DCDE5EDD4A4403AC205B131F10F84D-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--A3DCDE5EDD4A4403AC205B131F10F84D--></AD_VAL_RULE>
+
 <!--AC836223DC6B4F0D905B087F2BAA5A75--><AD_VAL_RULE>
 <!--AC836223DC6B4F0D905B087F2BAA5A75-->  <AD_VAL_RULE_ID><![CDATA[AC836223DC6B4F0D905B087F2BAA5A75]]></AD_VAL_RULE_ID>
 <!--AC836223DC6B4F0D905B087F2BAA5A75-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>