Fixes issue 21855: wrong warehouses proposed in 'create purchase orders'
authorIoritz Cia <ioritz.cia@openbravo.com>
Tue, 09 Oct 2012 12:21:31 +0200
changeset 18182 5487f2ec72cf
parent 18181 d455c8114a2c
child 18183 dd07b90a28d2
Fixes issue 21855: wrong warehouses proposed in 'create purchase orders'
popup in Purchasing plan window.
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	Tue Oct 09 09:46:11 2012 +0200
+++ b/src-db/database/sourcedata/AD_PROCESS_PARA.xml	Tue Oct 09 12:21:31 2012 +0200
@@ -3632,6 +3632,7 @@
 <!--800053-->  <AD_PROCESS_ID><![CDATA[800163]]></AD_PROCESS_ID>
 <!--800053-->  <SEQNO><![CDATA[10]]></SEQNO>
 <!--800053-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--800053-->  <AD_VAL_RULE_ID><![CDATA[71188F0005494DA08311B4FFB2C5A993]]></AD_VAL_RULE_ID>
 <!--800053-->  <COLUMNNAME><![CDATA[M_Warehouse_ID]]></COLUMNNAME>
 <!--800053-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
 <!--800053-->  <FIELDLENGTH><![CDATA[10]]></FIELDLENGTH>
--- a/src-db/database/sourcedata/AD_VAL_RULE.xml	Tue Oct 09 09:46:11 2012 +0200
+++ b/src-db/database/sourcedata/AD_VAL_RULE.xml	Tue Oct 09 12:21:31 2012 +0200
@@ -1531,6 +1531,18 @@
 <!--6ECC8AD47BD34F9790D844D5CB5EC9B6-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--6ECC8AD47BD34F9790D844D5CB5EC9B6--></AD_VAL_RULE>
 
+<!--71188F0005494DA08311B4FFB2C5A993--><AD_VAL_RULE>
+<!--71188F0005494DA08311B4FFB2C5A993-->  <AD_VAL_RULE_ID><![CDATA[71188F0005494DA08311B4FFB2C5A993]]></AD_VAL_RULE_ID>
+<!--71188F0005494DA08311B4FFB2C5A993-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--71188F0005494DA08311B4FFB2C5A993-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--71188F0005494DA08311B4FFB2C5A993-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--71188F0005494DA08311B4FFB2C5A993-->  <NAME><![CDATA[AD_Org child orgs any table]]></NAME>
+<!--71188F0005494DA08311B4FFB2C5A993-->  <DESCRIPTION><![CDATA[Filters the rows to show only those in that belong to child organizations of the organization of the record.]]></DESCRIPTION>
+<!--71188F0005494DA08311B4FFB2C5A993-->  <TYPE><![CDATA[S]]></TYPE>
+<!--71188F0005494DA08311B4FFB2C5A993-->  <CODE><![CDATA[AD_ISORGINCLUDED(ad_org_id, @AD_ORG_ID@, ad_client_id)<>-1]]></CODE>
+<!--71188F0005494DA08311B4FFB2C5A993-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--71188F0005494DA08311B4FFB2C5A993--></AD_VAL_RULE>
+
 <!--7736D1EBBD04477FB4419BC562328CC7--><AD_VAL_RULE>
 <!--7736D1EBBD04477FB4419BC562328CC7-->  <AD_VAL_RULE_ID><![CDATA[7736D1EBBD04477FB4419BC562328CC7]]></AD_VAL_RULE_ID>
 <!--7736D1EBBD04477FB4419BC562328CC7-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>