src-db/database/sourcedata/AD_PROCESS_PARA.xml
changeset 17176 17190dee420e
parent 17023 ca2426da7a03
parent 15933 ba8c6725d75d
child 17178 466650da02f2
--- a/src-db/database/sourcedata/AD_PROCESS_PARA.xml	Wed Apr 04 10:29:00 2012 +0200
+++ b/src-db/database/sourcedata/AD_PROCESS_PARA.xml	Tue Apr 24 13:42:45 2012 +0200
@@ -5,16 +5,14 @@
 <!--123-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
 <!--123-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--123-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--123-->  <NAME><![CDATA[Search Key]]></NAME>
-<!--123-->  <DESCRIPTION><![CDATA[A fast method for finding a particular record.]]></DESCRIPTION>
-<!--123-->  <HELP><![CDATA[A search key allows for a fast method of finding a particular record. If you leave the search key empty, the system automatically creates a numeric number originating from a document sequence defined in the  "Document Sequence" window. The sequence naming convention follows a rule "DocumentNo_TableName", where TableName is the actual name of the database table (e.g. C_Order).
-
-Usually, company's internal identifiers for various records (products, customers, etc) are stored here.]]></HELP>
+<!--123-->  <NAME><![CDATA[Product Search Key]]></NAME>
+<!--123-->  <DESCRIPTION><![CDATA[A fast method for finding a particular product.]]></DESCRIPTION>
+<!--123-->  <HELP><![CDATA[A product search key allows for a fast method of finding a particular product. ]]></HELP>
 <!--123-->  <AD_PROCESS_ID><![CDATA[105]]></AD_PROCESS_ID>
 <!--123-->  <SEQNO><![CDATA[10]]></SEQNO>
 <!--123-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
 <!--123-->  <COLUMNNAME><![CDATA[ProductValue]]></COLUMNNAME>
-<!--123-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--123-->  <ISCENTRALLYMAINTAINED><![CDATA[N]]></ISCENTRALLYMAINTAINED>
 <!--123-->  <FIELDLENGTH><![CDATA[15]]></FIELDLENGTH>
 <!--123-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
 <!--123-->  <ISRANGE><![CDATA[N]]></ISRANGE>
@@ -3856,6 +3854,7 @@
 <!--1004400000-->  <FIELDLENGTH><![CDATA[10]]></FIELDLENGTH>
 <!--1004400000-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
 <!--1004400000-->  <ISRANGE><![CDATA[N]]></ISRANGE>
+<!--1004400000-->  <DEFAULTVALUE><![CDATA[@#Date@]]></DEFAULTVALUE>
 <!--1004400000-->  <AD_ELEMENT_ID><![CDATA[268]]></AD_ELEMENT_ID>
 <!--1004400000--></AD_PROCESS_PARA>
 
@@ -3876,6 +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(*) 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,6 +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(*) 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>
 
@@ -3909,14 +3910,15 @@
 <!--1004400003-->  <DESCRIPTION><![CDATA[Organizational entity within client]]></DESCRIPTION>
 <!--1004400003-->  <HELP><![CDATA[An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.]]></HELP>
 <!--1004400003-->  <AD_PROCESS_ID><![CDATA[1004400000]]></AD_PROCESS_ID>
-<!--1004400003-->  <SEQNO><![CDATA[40]]></SEQNO>
+<!--1004400003-->  <SEQNO><![CDATA[11]]></SEQNO>
 <!--1004400003-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
-<!--1004400003-->  <AD_VAL_RULE_ID><![CDATA[130]]></AD_VAL_RULE_ID>
+<!--1004400003-->  <AD_VAL_RULE_ID><![CDATA[FDC45D1AE2404B8384D14DB6DED90DCF]]></AD_VAL_RULE_ID>
 <!--1004400003-->  <COLUMNNAME><![CDATA[AD_Org_ID]]></COLUMNNAME>
 <!--1004400003-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
 <!--1004400003-->  <FIELDLENGTH><![CDATA[20]]></FIELDLENGTH>
 <!--1004400003-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
 <!--1004400003-->  <ISRANGE><![CDATA[N]]></ISRANGE>
+<!--1004400003-->  <DEFAULTVALUE><![CDATA[@AD_Org_ID@]]></DEFAULTVALUE>
 <!--1004400003-->  <AD_ELEMENT_ID><![CDATA[113]]></AD_ELEMENT_ID>
 <!--1004400003--></AD_PROCESS_PARA>
 
@@ -3929,7 +3931,7 @@
 <!--1004400004-->  <DESCRIPTION><![CDATA[The location where products arrive to or are sent from.]]></DESCRIPTION>
 <!--1004400004-->  <HELP><![CDATA[The Warehouse identifies a unique Warehouse where products are stored or Services are provided.]]></HELP>
 <!--1004400004-->  <AD_PROCESS_ID><![CDATA[1004400000]]></AD_PROCESS_ID>
-<!--1004400004-->  <SEQNO><![CDATA[50]]></SEQNO>
+<!--1004400004-->  <SEQNO><![CDATA[12]]></SEQNO>
 <!--1004400004-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
 <!--1004400004-->  <COLUMNNAME><![CDATA[M_Warehouse_ID]]></COLUMNNAME>
 <!--1004400004-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
@@ -3959,6 +3961,26 @@
 <!--0324F423A8F74D9A9B91F7FF0DBD25CF-->  <AD_ELEMENT_ID><![CDATA[1143]]></AD_ELEMENT_ID>
 <!--0324F423A8F74D9A9B91F7FF0DBD25CF--></AD_PROCESS_PARA>
 
+<!--04E33DC0F96740A799476B208528157F--><AD_PROCESS_PARA>
+<!--04E33DC0F96740A799476B208528157F-->  <AD_PROCESS_PARA_ID><![CDATA[04E33DC0F96740A799476B208528157F]]></AD_PROCESS_PARA_ID>
+<!--04E33DC0F96740A799476B208528157F-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--04E33DC0F96740A799476B208528157F-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--04E33DC0F96740A799476B208528157F-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--04E33DC0F96740A799476B208528157F-->  <NAME><![CDATA[Incremental]]></NAME>
+<!--04E33DC0F96740A799476B208528157F-->  <DESCRIPTION><![CDATA[Calculate Average Costs incrementally]]></DESCRIPTION>
+<!--04E33DC0F96740A799476B208528157F-->  <HELP><![CDATA[When this value is not checked, already calculated costs are removed and recalculated again. If checked, existent costs are preserved and new ones are added.]]></HELP>
+<!--04E33DC0F96740A799476B208528157F-->  <AD_PROCESS_ID><![CDATA[800085]]></AD_PROCESS_ID>
+<!--04E33DC0F96740A799476B208528157F-->  <SEQNO><![CDATA[10]]></SEQNO>
+<!--04E33DC0F96740A799476B208528157F-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--04E33DC0F96740A799476B208528157F-->  <COLUMNNAME><![CDATA[IsIncremental]]></COLUMNNAME>
+<!--04E33DC0F96740A799476B208528157F-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--04E33DC0F96740A799476B208528157F-->  <FIELDLENGTH><![CDATA[10]]></FIELDLENGTH>
+<!--04E33DC0F96740A799476B208528157F-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--04E33DC0F96740A799476B208528157F-->  <ISRANGE><![CDATA[N]]></ISRANGE>
+<!--04E33DC0F96740A799476B208528157F-->  <DEFAULTVALUE><![CDATA[N]]></DEFAULTVALUE>
+<!--04E33DC0F96740A799476B208528157F-->  <AD_ELEMENT_ID><![CDATA[2E2C9A366AD843778A3FE4A6360A16DC]]></AD_ELEMENT_ID>
+<!--04E33DC0F96740A799476B208528157F--></AD_PROCESS_PARA>
+
 <!--0A83F9207E2A49C99E275A6EE7340989--><AD_PROCESS_PARA>
 <!--0A83F9207E2A49C99E275A6EE7340989-->  <AD_PROCESS_PARA_ID><![CDATA[0A83F9207E2A49C99E275A6EE7340989]]></AD_PROCESS_PARA_ID>
 <!--0A83F9207E2A49C99E275A6EE7340989-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>