[Managerial Accounting] Merged with pi changeset 18756:47aa2660c919
authorMikel Irurita <mikel.irurita@openbravo.com>
Tue, 27 Nov 2012 18:03:28 +0100
changeset 18931 27df55a6dfa9
parent 18930 bc3878a2e11b (current diff)
parent 18757 47aa2660c919 (diff)
child 18932 ce58de697d5d
[Managerial Accounting] Merged with pi changeset 18756:47aa2660c919
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_ELEMENT.xml
modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_VAL_RULE.xml
modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_AddPayment.java
src-db/database/model/functions/C_ORDER_POST1.xml
src-db/database/model/functions/M_INOUT_CREATE.xml
src-db/database/model/functions/M_INOUT_POST.xml
src-db/database/model/tables/C_ORDER.xml
src-db/database/model/tables/C_ORDERLINE.xml
src-db/database/model/tables/M_INOUTLINE.xml
src-db/database/sourcedata/AD_COLUMN.xml
src-db/database/sourcedata/AD_ELEMENT.xml
src-db/database/sourcedata/AD_FIELD.xml
src-db/database/sourcedata/AD_MENU.xml
src-db/database/sourcedata/AD_MESSAGE.xml
src-db/database/sourcedata/AD_MODEL_OBJECT.xml
src-db/database/sourcedata/AD_PROCESS.xml
src-db/database/sourcedata/AD_REFERENCE.xml
src-db/database/sourcedata/AD_REF_LIST.xml
src-db/database/sourcedata/AD_TAB.xml
src-db/database/sourcedata/AD_TABLE.xml
src-db/database/sourcedata/AD_TREENODE.xml
src-db/database/sourcedata/AD_VAL_RULE.xml
src-db/database/sourcedata/AD_WINDOW.xml
src-db/database/sourcedata/OBUISEL_SELECTOR.xml
src-db/database/sourcedata/OBUISEL_SELECTOR_FIELD.xml
--- a/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_ELEMENT.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_ELEMENT.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -72,6 +72,20 @@
 <!--4AC57284C5C745EB9087C105222EDF02-->  <ISGLOSSARY><![CDATA[N]]></ISGLOSSARY>
 <!--4AC57284C5C745EB9087C105222EDF02--></AD_ELEMENT>
 
+<!--519F3CD67106443CBF25694F1BB6E92B--><AD_ELEMENT>
+<!--519F3CD67106443CBF25694F1BB6E92B-->  <AD_ELEMENT_ID><![CDATA[519F3CD67106443CBF25694F1BB6E92B]]></AD_ELEMENT_ID>
+<!--519F3CD67106443CBF25694F1BB6E92B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--519F3CD67106443CBF25694F1BB6E92B-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--519F3CD67106443CBF25694F1BB6E92B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--519F3CD67106443CBF25694F1BB6E92B-->  <COLUMNNAME><![CDATA[Matchreference]]></COLUMNNAME>
+<!--519F3CD67106443CBF25694F1BB6E92B-->  <NAME><![CDATA[Match Reference]]></NAME>
+<!--519F3CD67106443CBF25694F1BB6E92B-->  <PRINTNAME><![CDATA[Match Reference]]></PRINTNAME>
+<!--519F3CD67106443CBF25694F1BB6E92B-->  <DESCRIPTION><![CDATA[Algorithm tries to match reference]]></DESCRIPTION>
+<!--519F3CD67106443CBF25694F1BB6E92B-->  <HELP><![CDATA[The algorithm will try to match using reference.]]></HELP>
+<!--519F3CD67106443CBF25694F1BB6E92B-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--519F3CD67106443CBF25694F1BB6E92B-->  <ISGLOSSARY><![CDATA[N]]></ISGLOSSARY>
+<!--519F3CD67106443CBF25694F1BB6E92B--></AD_ELEMENT>
+
 <!--56CC0941477A4250AD07527AE15FAC61--><AD_ELEMENT>
 <!--56CC0941477A4250AD07527AE15FAC61-->  <AD_ELEMENT_ID><![CDATA[56CC0941477A4250AD07527AE15FAC61]]></AD_ELEMENT_ID>
 <!--56CC0941477A4250AD07527AE15FAC61-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -469,6 +483,20 @@
 <!--A28B183E6A9B34C0E040007F010067F9-->  <ISGLOSSARY><![CDATA[N]]></ISGLOSSARY>
 <!--A28B183E6A9B34C0E040007F010067F9--></AD_ELEMENT>
 
+<!--A2966FBA8749447F88BEEC89117C6915--><AD_ELEMENT>
+<!--A2966FBA8749447F88BEEC89117C6915-->  <AD_ELEMENT_ID><![CDATA[A2966FBA8749447F88BEEC89117C6915]]></AD_ELEMENT_ID>
+<!--A2966FBA8749447F88BEEC89117C6915-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--A2966FBA8749447F88BEEC89117C6915-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--A2966FBA8749447F88BEEC89117C6915-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--A2966FBA8749447F88BEEC89117C6915-->  <COLUMNNAME><![CDATA[Matchbpname]]></COLUMNNAME>
+<!--A2966FBA8749447F88BEEC89117C6915-->  <NAME><![CDATA[Match BP Name]]></NAME>
+<!--A2966FBA8749447F88BEEC89117C6915-->  <PRINTNAME><![CDATA[Match BP Name]]></PRINTNAME>
+<!--A2966FBA8749447F88BEEC89117C6915-->  <DESCRIPTION><![CDATA[Algorithm tries to mach business partner name]]></DESCRIPTION>
+<!--A2966FBA8749447F88BEEC89117C6915-->  <HELP><![CDATA[The algorithm will try to match using busines partner name.]]></HELP>
+<!--A2966FBA8749447F88BEEC89117C6915-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--A2966FBA8749447F88BEEC89117C6915-->  <ISGLOSSARY><![CDATA[N]]></ISGLOSSARY>
+<!--A2966FBA8749447F88BEEC89117C6915--></AD_ELEMENT>
+
 <!--A37C6F84AA423F50E040007F01006E35--><AD_ELEMENT>
 <!--A37C6F84AA423F50E040007F01006E35-->  <AD_ELEMENT_ID><![CDATA[A37C6F84AA423F50E040007F01006E35]]></AD_ELEMENT_ID>
 <!--A37C6F84AA423F50E040007F01006E35-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -651,6 +679,20 @@
 <!--DB85AA94D6DF4D7CB29CE7999B15F9C7-->  <ISGLOSSARY><![CDATA[N]]></ISGLOSSARY>
 <!--DB85AA94D6DF4D7CB29CE7999B15F9C7--></AD_ELEMENT>
 
+<!--DE92C5C14E9647D5B4E71F0C8E89E984--><AD_ELEMENT>
+<!--DE92C5C14E9647D5B4E71F0C8E89E984-->  <AD_ELEMENT_ID><![CDATA[DE92C5C14E9647D5B4E71F0C8E89E984]]></AD_ELEMENT_ID>
+<!--DE92C5C14E9647D5B4E71F0C8E89E984-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--DE92C5C14E9647D5B4E71F0C8E89E984-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--DE92C5C14E9647D5B4E71F0C8E89E984-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--DE92C5C14E9647D5B4E71F0C8E89E984-->  <COLUMNNAME><![CDATA[Matchtransactiondate]]></COLUMNNAME>
+<!--DE92C5C14E9647D5B4E71F0C8E89E984-->  <NAME><![CDATA[Match Transaction Date]]></NAME>
+<!--DE92C5C14E9647D5B4E71F0C8E89E984-->  <PRINTNAME><![CDATA[Match Transaction Date]]></PRINTNAME>
+<!--DE92C5C14E9647D5B4E71F0C8E89E984-->  <DESCRIPTION><![CDATA[Algorithm tries to match transaction date]]></DESCRIPTION>
+<!--DE92C5C14E9647D5B4E71F0C8E89E984-->  <HELP><![CDATA[The algorithm will try to match using transaction date.]]></HELP>
+<!--DE92C5C14E9647D5B4E71F0C8E89E984-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--DE92C5C14E9647D5B4E71F0C8E89E984-->  <ISGLOSSARY><![CDATA[N]]></ISGLOSSARY>
+<!--DE92C5C14E9647D5B4E71F0C8E89E984--></AD_ELEMENT>
+
 <!--EDB9CF491555465382F828F48291A0C0--><AD_ELEMENT>
 <!--EDB9CF491555465382F828F48291A0C0-->  <AD_ELEMENT_ID><![CDATA[EDB9CF491555465382F828F48291A0C0]]></AD_ELEMENT_ID>
 <!--EDB9CF491555465382F828F48291A0C0-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_FIELDGROUP.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_FIELDGROUP.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -9,6 +9,15 @@
 <!--8C3C34F7EFD04E11A3105EB74BC9999E-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
 <!--8C3C34F7EFD04E11A3105EB74BC9999E--></AD_FIELDGROUP>
 
+<!--ED0E74721EA74F36A471345649162E9A--><AD_FIELDGROUP>
+<!--ED0E74721EA74F36A471345649162E9A-->  <AD_FIELDGROUP_ID><![CDATA[ED0E74721EA74F36A471345649162E9A]]></AD_FIELDGROUP_ID>
+<!--ED0E74721EA74F36A471345649162E9A-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--ED0E74721EA74F36A471345649162E9A-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--ED0E74721EA74F36A471345649162E9A-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--ED0E74721EA74F36A471345649162E9A-->  <NAME><![CDATA[Settings]]></NAME>
+<!--ED0E74721EA74F36A471345649162E9A-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
+<!--ED0E74721EA74F36A471345649162E9A--></AD_FIELDGROUP>
+
 <!--F5CFE042E5F4469CA69E62A20BCF63FA--><AD_FIELDGROUP>
 <!--F5CFE042E5F4469CA69E62A20BCF63FA-->  <AD_FIELDGROUP_ID><![CDATA[F5CFE042E5F4469CA69E62A20BCF63FA]]></AD_FIELDGROUP_ID>
 <!--F5CFE042E5F4469CA69E62A20BCF63FA-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -6,7 +6,7 @@
 <!--A918E3331C404B889D69AA9BFAFB23AC-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--A918E3331C404B889D69AA9BFAFB23AC-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--A918E3331C404B889D69AA9BFAFB23AC-->  <NAME><![CDATA[Advanced Payables and Receivables Mngmt]]></NAME>
-<!--A918E3331C404B889D69AA9BFAFB23AC-->  <VERSION><![CDATA[3.0.18601]]></VERSION>
+<!--A918E3331C404B889D69AA9BFAFB23AC-->  <VERSION><![CDATA[3.0.18616]]></VERSION>
 <!--A918E3331C404B889D69AA9BFAFB23AC-->  <DESCRIPTION><![CDATA[Managing your finances with an ERP does not have to be difficult. Enjoy a radically improved user experience that combines the power of an enterprise grade financial application with the simplicity and ease of a web 2.0 personal accounting service.]]></DESCRIPTION>
 <!--A918E3331C404B889D69AA9BFAFB23AC-->  <HELP><![CDATA[Advanced Payables and Receivables Management simplifies and automates the business processes around the management of financial accounts, from the receipt and issue of payment, to the reconciliation of those events with bank statements.
 If you would like to help shape this module you are welcome to take part in the forum discussions or register feature requests or issues in the corresponding (Forum and Bug Tracking) sections in the Advanced Payables and Receivable project in the OB Forge.]]></HELP>
--- a/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.advpaymentmngt/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -7,7 +7,7 @@
 <!--89326AE95DAD449D85DFAB2C5B1C6683-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--89326AE95DAD449D85DFAB2C5B1C6683-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
 <!--89326AE95DAD449D85DFAB2C5B1C6683-->  <AD_DEPENDENT_MODULE_ID><![CDATA[5EB4F15C80684ACA904756BDC12ADBE5]]></AD_DEPENDENT_MODULE_ID>
-<!--89326AE95DAD449D85DFAB2C5B1C6683-->  <STARTVERSION><![CDATA[2.1.18601]]></STARTVERSION>
+<!--89326AE95DAD449D85DFAB2C5B1C6683-->  <STARTVERSION><![CDATA[2.1.18616]]></STARTVERSION>
 <!--89326AE95DAD449D85DFAB2C5B1C6683-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--89326AE95DAD449D85DFAB2C5B1C6683-->  <DEPENDANT_MODULE_NAME><![CDATA[User Interface Selector]]></DEPENDANT_MODULE_NAME>
 <!--89326AE95DAD449D85DFAB2C5B1C6683-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -21,7 +21,7 @@
 <!--B97FC854C6DD41E692161585645A900F-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--B97FC854C6DD41E692161585645A900F-->  <AD_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_MODULE_ID>
 <!--B97FC854C6DD41E692161585645A900F-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
-<!--B97FC854C6DD41E692161585645A900F-->  <STARTVERSION><![CDATA[3.0.18601]]></STARTVERSION>
+<!--B97FC854C6DD41E692161585645A900F-->  <STARTVERSION><![CDATA[3.0.18616]]></STARTVERSION>
 <!--B97FC854C6DD41E692161585645A900F-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--B97FC854C6DD41E692161585645A900F-->  <DEPENDANT_MODULE_NAME><![CDATA[core]]></DEPENDANT_MODULE_NAME>
 <!--B97FC854C6DD41E692161585645A900F-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/Reconciliation.java	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/Reconciliation.java	Tue Nov 27 18:03:28 2012 +0100
@@ -216,9 +216,12 @@
           return;
         }
 
+        boolean orgLegalWithAccounting = FIN_Utility.periodControlOpened(reconciliation.TABLE_NAME,
+            reconciliation.getId(), reconciliation.TABLE_NAME + "_ID", "LE");
         if (!FIN_Utility.isPeriodOpen(reconciliation.getClient().getId(),
             AcctServer.DOCTYPE_Reconciliation, reconciliation.getOrganization().getId(),
-            strStatementDate)) {
+            strStatementDate)
+            && orgLegalWithAccounting) {
           msg.setType("Error");
           msg.setTitle(Utility.messageBD(this, "Error", vars.getLanguage()));
           msg.setMessage(Utility.parseTranslation(this, vars, vars.getLanguage(),
@@ -229,17 +232,19 @@
           return;
         }
 
-        String identifier = linesInNotAvailablePeriod(reconciliation.getId());
-        if (!identifier.equalsIgnoreCase("")) {
-          msg.setType("Error");
-          msg.setTitle(Utility.messageBD(this, "Error", vars.getLanguage()));
-          msg.setMessage(String.format(
-              Utility.messageBD(this, "APRM_PeriodNotAvailableClearedItem", vars.getLanguage()),
-              identifier));
-          vars.setMessage(strTabId, msg);
-          msg = null;
-          printPageClosePopUpAndRefreshParent(response, vars);
-          return;
+        if (orgLegalWithAccounting) {
+          String identifier = linesInNotAvailablePeriod(reconciliation.getId());
+          if (!identifier.equalsIgnoreCase("")) {
+            msg.setType("Error");
+            msg.setTitle(Utility.messageBD(this, "Error", vars.getLanguage()));
+            msg.setMessage(String.format(
+                Utility.messageBD(this, "APRM_PeriodNotAvailableClearedItem", vars.getLanguage()),
+                identifier));
+            vars.setMessage(strTabId, msg);
+            msg = null;
+            printPageClosePopUpAndRefreshParent(response, vars);
+            return;
+          }
         }
 
         for (APRM_FinaccTransactionV finacctrxv : reconciliation.getAPRMFinaccTransactionVList()) {
--- a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/algorithm/StandardMatchingAlgorithm.java	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/algorithm/StandardMatchingAlgorithm.java	Tue Nov 27 18:03:28 2012 +0100
@@ -11,7 +11,7 @@
  * under the License.
  * The Original Code is Openbravo ERP.
  * The Initial Developer of the Original Code is Openbravo SLU
- * All portions are Copyright (C) 2010-2011 Openbravo SLU
+ * All portions are Copyright (C) 2010-2012 Openbravo SLU
  * All Rights Reserved.
  * Contributor(s):  ______________________________________.
  *************************************************************************
@@ -19,6 +19,7 @@
 
 package org.openbravo.advpaymentmngt.algorithm;
 
+import java.util.Date;
 import java.util.List;
 
 import javax.servlet.ServletException;
@@ -28,20 +29,39 @@
 import org.openbravo.advpaymentmngt.utility.FIN_MatchingAlgorithm;
 import org.openbravo.model.financialmgmt.payment.FIN_BankStatementLine;
 import org.openbravo.model.financialmgmt.payment.FIN_FinaccTransaction;
+import org.openbravo.model.financialmgmt.payment.MatchingAlgorithm;
 
 public class StandardMatchingAlgorithm implements FIN_MatchingAlgorithm {
 
   public FIN_MatchedTransaction match(FIN_BankStatementLine line,
       List<FIN_FinaccTransaction> excluded) throws ServletException {
-    List<FIN_FinaccTransaction> transactions = MatchTransactionDao.getMatchingFinancialTransaction(
-        line.getBankStatement().getAccount().getId(), line.getTransactionDate(),
-        line.getReferenceNo(), (line.getCramount().subtract(line.getDramount())),
-        line.getBpartnername(), excluded);
+
+    MatchingAlgorithm algorithm = line.getBankStatement().getAccount().getMatchingAlgorithm();
+
+    Date transactionDate = (algorithm.isMatchtransactiondate()) ? line.getTransactionDate() : null;
+    String reference = (algorithm.isMatchreference()) ? line.getReferenceNo() : "";
+
+    List<FIN_FinaccTransaction> transactions;
+    if (algorithm.isMatchbpname()) {
+      transactions = MatchTransactionDao.getMatchingFinancialTransaction(line.getBankStatement()
+          .getAccount().getId(), transactionDate, reference,
+          (line.getCramount().subtract(line.getDramount())), line.getBpartnername(), excluded);
+    } else {
+      transactions = MatchTransactionDao.getMatchingFinancialTransaction(line.getBankStatement()
+          .getAccount().getId(), transactionDate, reference,
+          (line.getCramount().subtract(line.getDramount())), excluded);
+    }
+
     if (!transactions.isEmpty())
       return new FIN_MatchedTransaction(transactions.get(0), FIN_MatchedTransaction.STRONG);
-    transactions = MatchTransactionDao.getMatchingFinancialTransaction(line.getBankStatement()
-        .getAccount().getId(), line.getTransactionDate(),
-        line.getCramount().subtract(line.getDramount()), excluded);
+    if (algorithm.isMatchtransactiondate()) {
+      transactions = MatchTransactionDao.getMatchingFinancialTransaction(line.getBankStatement()
+          .getAccount().getId(), line.getTransactionDate(),
+          line.getCramount().subtract(line.getDramount()), excluded);
+    } else {
+      transactions = MatchTransactionDao.getMatchingFinancialTransaction(line.getBankStatement()
+          .getAccount().getId(), line.getCramount().subtract(line.getDramount()), excluded);
+    }
     if (!transactions.isEmpty())
       return new FIN_MatchedTransaction(transactions.get(0), FIN_MatchedTransaction.WEAK);
 
--- a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/dao/MatchTransactionDao.java	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/dao/MatchTransactionDao.java	Tue Nov 27 18:03:28 2012 +0100
@@ -291,6 +291,54 @@
   }
 
   public static List<FIN_FinaccTransaction> getMatchingFinancialTransaction(
+      String strFinancialAccountId, Date transactionDate, String strReference, BigDecimal amount,
+      List<FIN_FinaccTransaction> excluded) {
+    final StringBuilder whereClause = new StringBuilder();
+    final List<Object> parameters = new ArrayList<Object>();
+    List<FIN_FinaccTransaction> result = null;
+    OBContext.setAdminMode();
+    try {
+      whereClause.append(" as ft ");
+      whereClause.append(" where ft.").append(FIN_FinaccTransaction.PROPERTY_ACCOUNT);
+      whereClause.append(".id = '").append(strFinancialAccountId).append("'");
+      whereClause.append("   and ft.").append(FIN_FinaccTransaction.PROPERTY_RECONCILIATION);
+      whereClause.append(" is null");
+      whereClause.append("   and ft.").append(FIN_FinaccTransaction.PROPERTY_STATUS);
+      whereClause.append(" <> 'RPPC' ");
+      whereClause.append("   and (ft.").append(FIN_FinaccTransaction.PROPERTY_DEPOSITAMOUNT);
+      whereClause.append(" - ").append(FIN_FinaccTransaction.PROPERTY_PAYMENTAMOUNT).append(")");
+      whereClause.append(" = ?");
+      parameters.add(amount);
+      if (transactionDate != null) {
+        whereClause.append("   and ft.").append(FIN_FinaccTransaction.PROPERTY_TRANSACTIONDATE);
+        whereClause.append(" = ?");
+        parameters.add(transactionDate);
+      }
+
+      if (!"".equals(strReference) && !"**".equals(strReference)) {
+        whereClause.append("   and (ft.").append(FIN_FinaccTransaction.PROPERTY_FINPAYMENT);
+        whereClause.append(".").append(FIN_Payment.PROPERTY_REFERENCENO);
+        whereClause.append(" = ?");
+        parameters.add(strReference);
+        whereClause.append("   or ft.").append(FIN_FinaccTransaction.PROPERTY_FINPAYMENT);
+        whereClause.append(".").append(FIN_Payment.PROPERTY_DOCUMENTNO);
+        whereClause.append(" = ?)");
+        parameters.add(strReference);
+      }
+
+      final OBQuery<FIN_FinaccTransaction> obData = OBDal.getInstance().createQuery(
+          FIN_FinaccTransaction.class, whereClause.toString());
+      obData.setParameters(parameters);
+
+      result = obData.list();
+      result.removeAll(excluded);
+    } finally {
+      OBContext.restorePreviousMode();
+    }
+    return result;
+  }
+
+  public static List<FIN_FinaccTransaction> getMatchingFinancialTransaction(
       String strFinancialAccountId, String strReference, BigDecimal amount, String strBpartner,
       List<FIN_FinaccTransaction> excluded) {
     return getMatchingFinancialTransaction(strFinancialAccountId, null, strReference, amount,
--- a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_PaymentProcess.java	Tue Nov 27 18:03:28 2012 +0100
@@ -104,9 +104,12 @@
           dao.createAPRMReadyPreference();
         }
 
+        boolean orgLegalWithAccounting = FIN_Utility.periodControlOpened(payment.TABLE_NAME,
+            payment.getId(), payment.TABLE_NAME + "_ID", "LE");
         if (!FIN_Utility.isPeriodOpen(payment.getClient().getId(), payment.getDocumentType()
             .getDocumentCategory(), payment.getOrganization().getId(), OBDateUtils
-            .formatDate(payment.getPaymentDate()))) {
+            .formatDate(payment.getPaymentDate()))
+            && orgLegalWithAccounting) {
           msg.setType("Error");
           msg.setTitle(Utility.messageBD(conProvider, "Error", language));
           msg.setMessage(Utility.parseTranslation(conProvider, vars, language,
--- a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_TransactionProcess.java	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/process/FIN_TransactionProcess.java	Tue Nov 27 18:03:28 2012 +0100
@@ -68,14 +68,18 @@
           // ***********************
           // Process Transaction
           // ***********************
+          boolean orgLegalWithAccounting = FIN_Utility.periodControlOpened(transaction.TABLE_NAME,
+              transaction.getId(), transaction.TABLE_NAME + "_ID", "LE");
           if (!FIN_Utility.isPeriodOpen(transaction.getClient().getId(),
               AcctServer.DOCTYPE_FinAccTransaction, transaction.getOrganization().getId(),
-              OBDateUtils.formatDate(transaction.getDateAcct()))) {
+              OBDateUtils.formatDate(transaction.getDateAcct()))
+              && orgLegalWithAccounting) {
             msg.setType("Error");
             msg.setTitle(Utility.messageBD(conProvider, "Error", language));
             msg.setMessage(Utility.parseTranslation(conProvider, vars, language,
                 "@PeriodNotAvailable@"));
             bundle.setResult(msg);
+            OBDal.getInstance().rollbackAndClose();
             return;
           }
           final FIN_FinancialAccount financialAccount = transaction.getAccount();
--- a/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_Utility.java	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/utility/FIN_Utility.java	Tue Nov 27 18:03:28 2012 +0100
@@ -1100,4 +1100,21 @@
       return true;
     }
   }
+
+  public static boolean periodControlOpened(String tableName, String recordId, String idColumnName,
+      String orgType) {
+    final Session session = OBDal.getInstance().getSession();
+
+    List<Object> parameters = new ArrayList<Object>();
+    parameters.add(tableName);
+    parameters.add(recordId);
+    parameters.add(idColumnName);
+    parameters.add(orgType);
+    Object result = CallStoredProcedure.getInstance().call("ad_get_doc_le_bu", parameters, null,
+        false, true);
+
+    Organization org = OBDal.getInstance().get(Organization.class, (String) result);
+
+    return org.getOrganizationType().isLegalEntityWithAccounting();
+  }
 }
--- a/modules/org.openbravo.base.weld/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.base.weld/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -6,7 +6,7 @@
 <!--C70732EA90A14EC0916078B85CC33D2D-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--C70732EA90A14EC0916078B85CC33D2D-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--C70732EA90A14EC0916078B85CC33D2D-->  <NAME><![CDATA[JBoss Weld]]></NAME>
-<!--C70732EA90A14EC0916078B85CC33D2D-->  <VERSION><![CDATA[1.1.18601]]></VERSION>
+<!--C70732EA90A14EC0916078B85CC33D2D-->  <VERSION><![CDATA[1.1.18616]]></VERSION>
 <!--C70732EA90A14EC0916078B85CC33D2D-->  <DESCRIPTION><![CDATA[JBoss Weld]]></DESCRIPTION>
 <!--C70732EA90A14EC0916078B85CC33D2D-->  <HELP><![CDATA[Provides the JBoss Weld framework: Java Contexts and Dependency Injection for the Java EE platform (CDI). For more information see http://seamframework.org/Weld]]></HELP>
 <!--C70732EA90A14EC0916078B85CC33D2D-->  <URL><![CDATA[http://forge.openbravo.com/projects/weld]]></URL>
--- a/modules/org.openbravo.base.weld/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.base.weld/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -7,7 +7,7 @@
 <!--8BDE81545C1A43EAAC4BA3C5ED754DC8-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--8BDE81545C1A43EAAC4BA3C5ED754DC8-->  <AD_MODULE_ID><![CDATA[C70732EA90A14EC0916078B85CC33D2D]]></AD_MODULE_ID>
 <!--8BDE81545C1A43EAAC4BA3C5ED754DC8-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
-<!--8BDE81545C1A43EAAC4BA3C5ED754DC8-->  <STARTVERSION><![CDATA[3.0.18601]]></STARTVERSION>
+<!--8BDE81545C1A43EAAC4BA3C5ED754DC8-->  <STARTVERSION><![CDATA[3.0.18616]]></STARTVERSION>
 <!--8BDE81545C1A43EAAC4BA3C5ED754DC8-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--8BDE81545C1A43EAAC4BA3C5ED754DC8-->  <DEPENDANT_MODULE_NAME><![CDATA[Core]]></DEPENDANT_MODULE_NAME>
 <!--8BDE81545C1A43EAAC4BA3C5ED754DC8-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MESSAGE.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MESSAGE.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -143,6 +143,17 @@
 <!--090A37D22ED3AFD5012ED3C5DE60001C-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
 <!--090A37D22ED3AFD5012ED3C5DE60001C--></AD_MESSAGE>
 
+<!--0BEB24CF954E410EAFE4EF198C38A902--><AD_MESSAGE>
+<!--0BEB24CF954E410EAFE4EF198C38A902-->  <AD_MESSAGE_ID><![CDATA[0BEB24CF954E410EAFE4EF198C38A902]]></AD_MESSAGE_ID>
+<!--0BEB24CF954E410EAFE4EF198C38A902-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--0BEB24CF954E410EAFE4EF198C38A902-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--0BEB24CF954E410EAFE4EF198C38A902-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--0BEB24CF954E410EAFE4EF198C38A902-->  <VALUE><![CDATA[OBUIAPP_Res_MoreThanOrderedQty]]></VALUE>
+<!--0BEB24CF954E410EAFE4EF198C38A902-->  <MSGTEXT><![CDATA[Total prereserved quantity exceeds the quantity in sales order line (%0) considering the already reserved quantity in other reservations (%1). Please enter a valid number.]]></MSGTEXT>
+<!--0BEB24CF954E410EAFE4EF198C38A902-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
+<!--0BEB24CF954E410EAFE4EF198C38A902-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
+<!--0BEB24CF954E410EAFE4EF198C38A902--></AD_MESSAGE>
+
 <!--0D2FEB9F4F39423BB5A5310891256558--><AD_MESSAGE>
 <!--0D2FEB9F4F39423BB5A5310891256558-->  <AD_MESSAGE_ID><![CDATA[0D2FEB9F4F39423BB5A5310891256558]]></AD_MESSAGE_ID>
 <!--0D2FEB9F4F39423BB5A5310891256558-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -209,6 +220,17 @@
 <!--1C8D1970AE9A46319D42430A0D0AAF09-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
 <!--1C8D1970AE9A46319D42430A0D0AAF09--></AD_MESSAGE>
 
+<!--1E1CAC55E447469293C57EF539B3BEEC--><AD_MESSAGE>
+<!--1E1CAC55E447469293C57EF539B3BEEC-->  <AD_MESSAGE_ID><![CDATA[1E1CAC55E447469293C57EF539B3BEEC]]></AD_MESSAGE_ID>
+<!--1E1CAC55E447469293C57EF539B3BEEC-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--1E1CAC55E447469293C57EF539B3BEEC-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--1E1CAC55E447469293C57EF539B3BEEC-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--1E1CAC55E447469293C57EF539B3BEEC-->  <VALUE><![CDATA[OBUIAPP_Res_MoreThanReservationQty]]></VALUE>
+<!--1E1CAC55E447469293C57EF539B3BEEC-->  <MSGTEXT><![CDATA[Total reserved quantity exceeds the reservation quantity. The sum of all reserved quantities must be equal or lower than %0.]]></MSGTEXT>
+<!--1E1CAC55E447469293C57EF539B3BEEC-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
+<!--1E1CAC55E447469293C57EF539B3BEEC-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
+<!--1E1CAC55E447469293C57EF539B3BEEC--></AD_MESSAGE>
+
 <!--2052DF26669F4864B295C17502F53E38--><AD_MESSAGE>
 <!--2052DF26669F4864B295C17502F53E38-->  <AD_MESSAGE_ID><![CDATA[2052DF26669F4864B295C17502F53E38]]></AD_MESSAGE_ID>
 <!--2052DF26669F4864B295C17502F53E38-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -409,6 +431,17 @@
 <!--52FC93FB2DEC4C168D14E65195F97752-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
 <!--52FC93FB2DEC4C168D14E65195F97752--></AD_MESSAGE>
 
+<!--597897349BE0452C89E43E27D94A175D--><AD_MESSAGE>
+<!--597897349BE0452C89E43E27D94A175D-->  <AD_MESSAGE_ID><![CDATA[597897349BE0452C89E43E27D94A175D]]></AD_MESSAGE_ID>
+<!--597897349BE0452C89E43E27D94A175D-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--597897349BE0452C89E43E27D94A175D-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--597897349BE0452C89E43E27D94A175D-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--597897349BE0452C89E43E27D94A175D-->  <VALUE><![CDATA[OBUIAPP_Res_LessThanReleased]]></VALUE>
+<!--597897349BE0452C89E43E27D94A175D-->  <MSGTEXT><![CDATA[Reserved quantity is lower than the released quantity. Enter a valid number equal or higher than %0.]]></MSGTEXT>
+<!--597897349BE0452C89E43E27D94A175D-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
+<!--597897349BE0452C89E43E27D94A175D-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
+<!--597897349BE0452C89E43E27D94A175D--></AD_MESSAGE>
+
 <!--5B1FB06A4EBA4654A9A93695434C72AE--><AD_MESSAGE>
 <!--5B1FB06A4EBA4654A9A93695434C72AE-->  <AD_MESSAGE_ID><![CDATA[5B1FB06A4EBA4654A9A93695434C72AE]]></AD_MESSAGE_ID>
 <!--5B1FB06A4EBA4654A9A93695434C72AE-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -896,6 +929,17 @@
 <!--B8C1706AB7C34C0EA750048CD68E314A-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
 <!--B8C1706AB7C34C0EA750048CD68E314A--></AD_MESSAGE>
 
+<!--C415C626CAE14E35A7F05C42F11DA114--><AD_MESSAGE>
+<!--C415C626CAE14E35A7F05C42F11DA114-->  <AD_MESSAGE_ID><![CDATA[C415C626CAE14E35A7F05C42F11DA114]]></AD_MESSAGE_ID>
+<!--C415C626CAE14E35A7F05C42F11DA114-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--C415C626CAE14E35A7F05C42F11DA114-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--C415C626CAE14E35A7F05C42F11DA114-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--C415C626CAE14E35A7F05C42F11DA114-->  <VALUE><![CDATA[OBUIAPP_Res_MoreThanPendingQty]]></VALUE>
+<!--C415C626CAE14E35A7F05C42F11DA114-->  <MSGTEXT><![CDATA[Total prereserved quantity exceeds the pending to receipt quantity. The sum of all prereserved quantities must be equal or lower than %0.]]></MSGTEXT>
+<!--C415C626CAE14E35A7F05C42F11DA114-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
+<!--C415C626CAE14E35A7F05C42F11DA114-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
+<!--C415C626CAE14E35A7F05C42F11DA114--></AD_MESSAGE>
+
 <!--C525E9A7101B4920A8A652DD94B97AFE--><AD_MESSAGE>
 <!--C525E9A7101B4920A8A652DD94B97AFE-->  <AD_MESSAGE_ID><![CDATA[C525E9A7101B4920A8A652DD94B97AFE]]></AD_MESSAGE_ID>
 <!--C525E9A7101B4920A8A652DD94B97AFE-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -973,6 +1017,17 @@
 <!--CE3E9A8711D54E719F02630BE8D5E2FB-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
 <!--CE3E9A8711D54E719F02630BE8D5E2FB--></AD_MESSAGE>
 
+<!--D109B6F7D8BF4F5C9D84463CD36BF434--><AD_MESSAGE>
+<!--D109B6F7D8BF4F5C9D84463CD36BF434-->  <AD_MESSAGE_ID><![CDATA[D109B6F7D8BF4F5C9D84463CD36BF434]]></AD_MESSAGE_ID>
+<!--D109B6F7D8BF4F5C9D84463CD36BF434-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--D109B6F7D8BF4F5C9D84463CD36BF434-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--D109B6F7D8BF4F5C9D84463CD36BF434-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--D109B6F7D8BF4F5C9D84463CD36BF434-->  <VALUE><![CDATA[OBUIAPP_Res_MoreQtyThanAvailable]]></VALUE>
+<!--D109B6F7D8BF4F5C9D84463CD36BF434-->  <MSGTEXT><![CDATA[Reserved quantity exceeds the available quantity (%0) considering the quantity reserved in other reservations (%1). Please, enter a valid number.]]></MSGTEXT>
+<!--D109B6F7D8BF4F5C9D84463CD36BF434-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
+<!--D109B6F7D8BF4F5C9D84463CD36BF434-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
+<!--D109B6F7D8BF4F5C9D84463CD36BF434--></AD_MESSAGE>
+
 <!--D514BC49ED374B7288B215D94DAC3177--><AD_MESSAGE>
 <!--D514BC49ED374B7288B215D94DAC3177-->  <AD_MESSAGE_ID><![CDATA[D514BC49ED374B7288B215D94DAC3177]]></AD_MESSAGE_ID>
 <!--D514BC49ED374B7288B215D94DAC3177-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -6,7 +6,7 @@
 <!--9BA0836A3CD74EE4AB48753A47211BCC-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--9BA0836A3CD74EE4AB48753A47211BCC-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--9BA0836A3CD74EE4AB48753A47211BCC-->  <NAME><![CDATA[User Interface Application]]></NAME>
-<!--9BA0836A3CD74EE4AB48753A47211BCC-->  <VERSION><![CDATA[2.1.18601]]></VERSION>
+<!--9BA0836A3CD74EE4AB48753A47211BCC-->  <VERSION><![CDATA[2.1.18616]]></VERSION>
 <!--9BA0836A3CD74EE4AB48753A47211BCC-->  <DESCRIPTION><![CDATA[Provides the main application components for the openbravo user interface]]></DESCRIPTION>
 <!--9BA0836A3CD74EE4AB48753A47211BCC-->  <HELP><![CDATA[Provides the main application components for the openbravo user interface. The main layout incorporates a navigation bar and a main view area.]]></HELP>
 <!--9BA0836A3CD74EE4AB48753A47211BCC-->  <URL><![CDATA[http://forge.openbravo.com/projects/clientapplication]]></URL>
--- a/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -7,7 +7,7 @@
 <!--15D7CE8D95D043189162DBABA54A1F61-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--15D7CE8D95D043189162DBABA54A1F61-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
 <!--15D7CE8D95D043189162DBABA54A1F61-->  <AD_DEPENDENT_MODULE_ID><![CDATA[A44B9BA75C354D8FB2E3F7D6EB6BFDC4]]></AD_DEPENDENT_MODULE_ID>
-<!--15D7CE8D95D043189162DBABA54A1F61-->  <STARTVERSION><![CDATA[2.1.18601]]></STARTVERSION>
+<!--15D7CE8D95D043189162DBABA54A1F61-->  <STARTVERSION><![CDATA[2.1.18616]]></STARTVERSION>
 <!--15D7CE8D95D043189162DBABA54A1F61-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--15D7CE8D95D043189162DBABA54A1F61-->  <DEPENDANT_MODULE_NAME><![CDATA[JSON Datasource]]></DEPENDANT_MODULE_NAME>
 <!--15D7CE8D95D043189162DBABA54A1F61-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -21,7 +21,7 @@
 <!--60A170212F36499D83B8AD38D01F46B3-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--60A170212F36499D83B8AD38D01F46B3-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
 <!--60A170212F36499D83B8AD38D01F46B3-->  <AD_DEPENDENT_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_DEPENDENT_MODULE_ID>
-<!--60A170212F36499D83B8AD38D01F46B3-->  <STARTVERSION><![CDATA[2.1.18601]]></STARTVERSION>
+<!--60A170212F36499D83B8AD38D01F46B3-->  <STARTVERSION><![CDATA[2.1.18616]]></STARTVERSION>
 <!--60A170212F36499D83B8AD38D01F46B3-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--60A170212F36499D83B8AD38D01F46B3-->  <DEPENDANT_MODULE_NAME><![CDATA[User Interface Client Kernel]]></DEPENDANT_MODULE_NAME>
 <!--60A170212F36499D83B8AD38D01F46B3-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -35,7 +35,7 @@
 <!--824D60CB352E4099B1D8C903CA139DAE-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--824D60CB352E4099B1D8C903CA139DAE-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
 <!--824D60CB352E4099B1D8C903CA139DAE-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
-<!--824D60CB352E4099B1D8C903CA139DAE-->  <STARTVERSION><![CDATA[3.0.18601]]></STARTVERSION>
+<!--824D60CB352E4099B1D8C903CA139DAE-->  <STARTVERSION><![CDATA[3.0.18616]]></STARTVERSION>
 <!--824D60CB352E4099B1D8C903CA139DAE-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--824D60CB352E4099B1D8C903CA139DAE-->  <DEPENDANT_MODULE_NAME><![CDATA[core]]></DEPENDANT_MODULE_NAME>
 <!--824D60CB352E4099B1D8C903CA139DAE-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -49,7 +49,7 @@
 <!--E8FD820AFE3D4FE08C02FC47769026AD-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--E8FD820AFE3D4FE08C02FC47769026AD-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
 <!--E8FD820AFE3D4FE08C02FC47769026AD-->  <AD_DEPENDENT_MODULE_ID><![CDATA[EC356CEE3D46416CA1EBEEB9AB82EDB9]]></AD_DEPENDENT_MODULE_ID>
-<!--E8FD820AFE3D4FE08C02FC47769026AD-->  <STARTVERSION><![CDATA[8.1.18601]]></STARTVERSION>
+<!--E8FD820AFE3D4FE08C02FC47769026AD-->  <STARTVERSION><![CDATA[8.1.18616]]></STARTVERSION>
 <!--E8FD820AFE3D4FE08C02FC47769026AD-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--E8FD820AFE3D4FE08C02FC47769026AD-->  <DEPENDANT_MODULE_NAME><![CDATA[Smartclient]]></DEPENDANT_MODULE_NAME>
 <!--E8FD820AFE3D4FE08C02FC47769026AD-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.client.application/src/org/openbravo/client/application/ApplicationComponentProvider.java	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.client.application/src/org/openbravo/client/application/ApplicationComponentProvider.java	Tue Nov 27 18:03:28 2012 +0100
@@ -269,6 +269,9 @@
     // Return Material
     globalResources.add(createStaticResource(
         "web/org.openbravo.client.application/js/return-material/ob-return-material.js", false));
+    // Reservations
+    globalResources.add(createStaticResource(
+        "web/org.openbravo.client.application/js/materialmgmt/ob-reservation.js", false));
 
     // Styling
     globalResources.add(createStyleSheetResource(
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-canvas.js	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-canvas.js	Tue Nov 27 18:03:28 2012 +0100
@@ -109,4 +109,31 @@
       this.setContents('-' + displayValue);
     }
   }
-});
\ No newline at end of file
+});
+
+isc.defineClass('OBAddPercentageSign', isc.Label);
+
+isc.OBAddPercentageSign.addProperties({
+  wrap: false,
+  height: 1,
+  width: 1,
+  overflow: 'visible',
+
+  setRecord: function (record) {
+    var fld = this.grid.getField(this.fieldName),
+        val = record[this.fieldName];
+    if (fld && fld.type && isc.SimpleType.getType(fld.type).normalDisplayFormatter) {
+      this.showValue(isc.SimpleType.getType(fld.type).normalDisplayFormatter(val), val);
+    } else {
+      this.showValue(String(record[this.fieldName]));
+    }
+  },
+
+  showValue: function (displayValue, dataValue, form, item) {
+    if (!displayValue) {
+      this.setContents('0 %');
+    } else {
+      this.setContents(displayValue + ' %');
+    }
+  }
+});
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/grid/ob-view-grid.js	Tue Nov 27 18:03:28 2012 +0100
@@ -3622,4 +3622,4 @@
     this.Super('showMember', arguments);
   }
 
-});
\ No newline at end of file
+});
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-window.js	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/main/ob-standard-window.js	Tue Nov 27 18:03:28 2012 +0100
@@ -1115,4 +1115,4 @@
     // If it is not found, return the header view
     return this.view;
   }
-});
\ No newline at end of file
+});
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/materialmgmt/ob-reservation.js	Tue Nov 27 18:03:28 2012 +0100
@@ -0,0 +1,107 @@
+/*
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+ * Version 1.1  with a permitted attribution clause; you may not  use this
+ * file except in compliance with the License. You  may  obtain  a copy of
+ * the License at http://www.openbravo.com/legal/license.html
+ * Software distributed under the License  is  distributed  on  an "AS IS"
+ * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+ * License for the specific  language  governing  rights  and  limitations
+ * under the License.
+ * The Original Code is Openbravo ERP.
+ * The Initial Developer of the Original Code is Openbravo SLU
+ * All portions are Copyright (C) 2012 Openbravo SLU
+ * All Rights Reserved.
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+ */
+
+OB.Reservation = OB.Reservation || {};
+
+/**
+ * Check that entered quantity to reserve is available in the selected record
+ * and that total reserved quantity is below the needed quantity
+ */
+OB.Reservation.QuantityValidate = function(item, validator, value, record) {
+  var availableQty = isc.isA.Number(record.availableQty) ? new BigDecimal(String(record.availableQty)) : BigDecimal.prototype.ZERO,
+      releasedQty = isc.isA.Number(record.released) ? new BigDecimal(String(record.released)) : BigDecimal.prototype.ZERO,
+      reservedinothersQty = isc.isA.Number(record.reservedinothers) ? new BigDecimal(String(record.reservedinothers)) : BigDecimal.prototype.ZERO,
+      quantity = null,
+      reservedQty = BigDecimal.prototype.ZERO,
+      totalQty = isc.isA.Number(record.reservationQuantity) ? new BigDecimal(String(record.reservationQuantity)) : BigDecimal.prototype.ZERO,
+      selectedRecords = item.grid.getSelectedRecords(),
+      selectedRecordsLength = selectedRecords.length,
+      editedRecord = null,
+      i;
+
+  if (!isc.isA.Number(value)) {
+    return false;
+  }
+  if (value === null || value < 0) {
+    return false;
+  }
+  quantity = new BigDecimal(String(value));
+  if (quantity.compareTo(availableQty.subtract(reservedinothersQty)) > 0) {
+    isc.warn(OB.I18N.getLabel('OBUIAPP_Res_MoreQtyThanAvailable', [record.availableQty, record.reservedinothers]));
+    return false;
+  }
+  if (quantity.compareTo(releasedQty) < 0) {
+    isc.warn(OB.I18N.getLabel('OBUIAPP_Res_LessThanReleased', [record.released]));
+    return false;
+  }
+  for (i = 0; i < selectedRecordsLength; i++) {
+    editedRecord = isc.addProperties({}, selectedRecords[i], item.grid.getEditedRecord(selectedRecords[i]));
+    if (isc.isA.Number(editedRecord.quantity)) {
+      reservedQty = reservedQty.add(new BigDecimal(String(editedRecord.quantity)));
+    }
+  }
+  if (reservedQty.compareTo(totalQty) > 0) {
+    isc.warn(OB.I18N.getLabel('OBUIAPP_Res_MoreThanReservationQty', [totalQty.toString()]));
+    return false;
+  }
+  // get reservation quantity and released quantity to check totals
+  return true;
+};
+
+OB.Reservation.PrereservationQuantityValidate = function(item, validator, value, record) {
+  var reservedQty = isc.isA.Number(record.reservedQty) ? new BigDecimal(String(record.reservedQty)) : BigDecimal.prototype.ZERO,
+      purchasedQty = isc.isA.Number(record.purchasedQty) ? new BigDecimal(String(record.purchasedQty)) : BigDecimal.prototype.ZERO,
+      receivedQty = isc.isA.Number(record.receivedQty) ? new BigDecimal(String(record.receivedQty)) : BigDecimal.prototype.ZERO,
+      pendingQty = purchasedQty.subtract(receivedQty),
+      orderedQuantity = isc.isA.Number(record.orderedQuantity) ? new BigDecimal(String(record.orderedQuantity)) : BigDecimal.prototype.ZERO,
+      deliveredQuantity = isc.isA.Number(record.deliveredQuantity) ? new BigDecimal(String(record.deliveredQuantity)) : BigDecimal.prototype.ZERO,
+      otherReservedQty = isc.isA.Number(record.otherReservedQty) ? new BigDecimal(String(record.otherReservedQty)) : BigDecimal.prototype.ZERO,
+      solTotalReserved = BigDecimal.prototype.ZERO,
+      totalQty = BigDecimal.prototype.ZERO,
+      selectedRecords = item.grid.getSelectedRecords(),
+      selectedRecordsLength = selectedRecords.length,
+      editedRecord = null,
+      i;
+
+
+  if (!isc.isA.Number(value)) {
+    return false;
+  }
+  if (value === null || value < 0) {
+    return false;
+  }
+  reservedQty = new BigDecimal(String(value));
+  solTotalReserved = reservedQty.add(otherReservedQty);
+  if (solTotalReserved.compareTo(orderedQuantity) > 0) {
+    isc.warn(OB.I18N.getLabel('OBUIAPP_Res_MoreThanOrderedQty', [record.orderedQuantity, record.otherReservedQty]));
+    return false;
+  }
+
+  for (i = 0; i < selectedRecordsLength; i++) {
+    editedRecord = isc.addProperties({}, selectedRecords[i], item.grid.getEditedRecord(selectedRecords[i]));
+    if (isc.isA.Number(editedRecord.reservedQty)) {
+      totalQty = totalQty.add(new BigDecimal(String(editedRecord.reservedQty)));
+    }
+  }
+  if (totalQty.compareTo(pendingQty) > 0 ) {
+    isc.warn(OB.I18N.getLabel('OBUIAPP_Res_MoreThanPendingQty', [solTotalReserved.toString()]));
+    return false;
+  }
+  return true;
+};
--- a/modules/org.openbravo.client.htmlwidget/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.client.htmlwidget/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -6,7 +6,7 @@
 <!--D393BE6F22BB44B7B728259B34FC795A-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--D393BE6F22BB44B7B728259B34FC795A-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--D393BE6F22BB44B7B728259B34FC795A-->  <NAME><![CDATA[HTML Widget]]></NAME>
-<!--D393BE6F22BB44B7B728259B34FC795A-->  <VERSION><![CDATA[1.0.18601]]></VERSION>
+<!--D393BE6F22BB44B7B728259B34FC795A-->  <VERSION><![CDATA[1.0.18616]]></VERSION>
 <!--D393BE6F22BB44B7B728259B34FC795A-->  <DESCRIPTION><![CDATA[Provides the HTML Widget superclass that allows to create widget classes that embed the html code.]]></DESCRIPTION>
 <!--D393BE6F22BB44B7B728259B34FC795A-->  <HELP><![CDATA[With this module you can define your own widget classes just setting up your own html code or the html code provided by third parties.]]></HELP>
 <!--D393BE6F22BB44B7B728259B34FC795A-->  <URL><![CDATA[http://forge.openbravo.com/projects/htmlwidget]]></URL>
--- a/modules/org.openbravo.client.htmlwidget/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.client.htmlwidget/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -7,7 +7,7 @@
 <!--DCE798FBC5B648F7A3C81A6941720A57-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--DCE798FBC5B648F7A3C81A6941720A57-->  <AD_MODULE_ID><![CDATA[D393BE6F22BB44B7B728259B34FC795A]]></AD_MODULE_ID>
 <!--DCE798FBC5B648F7A3C81A6941720A57-->  <AD_DEPENDENT_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_DEPENDENT_MODULE_ID>
-<!--DCE798FBC5B648F7A3C81A6941720A57-->  <STARTVERSION><![CDATA[2.1.18601]]></STARTVERSION>
+<!--DCE798FBC5B648F7A3C81A6941720A57-->  <STARTVERSION><![CDATA[2.1.18616]]></STARTVERSION>
 <!--DCE798FBC5B648F7A3C81A6941720A57-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--DCE798FBC5B648F7A3C81A6941720A57-->  <DEPENDANT_MODULE_NAME><![CDATA[My Openbravo Tab]]></DEPENDANT_MODULE_NAME>
 <!--DCE798FBC5B648F7A3C81A6941720A57-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -6,7 +6,7 @@
 <!--4B828F4D03264080AA1D2057B13F613C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--4B828F4D03264080AA1D2057B13F613C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--4B828F4D03264080AA1D2057B13F613C-->  <NAME><![CDATA[User Interface Client Kernel]]></NAME>
-<!--4B828F4D03264080AA1D2057B13F613C-->  <VERSION><![CDATA[2.1.18601]]></VERSION>
+<!--4B828F4D03264080AA1D2057B13F613C-->  <VERSION><![CDATA[2.1.18616]]></VERSION>
 <!--4B828F4D03264080AA1D2057B13F613C-->  <DESCRIPTION><![CDATA[Provides framework functionality for the Openbravo User Interface]]></DESCRIPTION>
 <!--4B828F4D03264080AA1D2057B13F613C-->  <HELP><![CDATA[The user interface client kernel is a generation framework for generating client (browser) components used in Openbravo. Its components are mainly used by other modules to provide customizable and extendable user interfaces.]]></HELP>
 <!--4B828F4D03264080AA1D2057B13F613C-->  <URL><![CDATA[http://forge.openbravo.com/projects/openbravoclientkernel]]></URL>
--- a/modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -7,7 +7,7 @@
 <!--26B041893E844A53AFA58BC326C4F0D7-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--26B041893E844A53AFA58BC326C4F0D7-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
 <!--26B041893E844A53AFA58BC326C4F0D7-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
-<!--26B041893E844A53AFA58BC326C4F0D7-->  <STARTVERSION><![CDATA[3.0.18601]]></STARTVERSION>
+<!--26B041893E844A53AFA58BC326C4F0D7-->  <STARTVERSION><![CDATA[3.0.18616]]></STARTVERSION>
 <!--26B041893E844A53AFA58BC326C4F0D7-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--26B041893E844A53AFA58BC326C4F0D7-->  <DEPENDANT_MODULE_NAME><![CDATA[core]]></DEPENDANT_MODULE_NAME>
 <!--26B041893E844A53AFA58BC326C4F0D7-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -21,7 +21,7 @@
 <!--3AB045DA35ED4CA58EF7EB5BF04CDE3F-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--3AB045DA35ED4CA58EF7EB5BF04CDE3F-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
 <!--3AB045DA35ED4CA58EF7EB5BF04CDE3F-->  <AD_DEPENDENT_MODULE_ID><![CDATA[C70732EA90A14EC0916078B85CC33D2D]]></AD_DEPENDENT_MODULE_ID>
-<!--3AB045DA35ED4CA58EF7EB5BF04CDE3F-->  <STARTVERSION><![CDATA[1.1.18601]]></STARTVERSION>
+<!--3AB045DA35ED4CA58EF7EB5BF04CDE3F-->  <STARTVERSION><![CDATA[1.1.18616]]></STARTVERSION>
 <!--3AB045DA35ED4CA58EF7EB5BF04CDE3F-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--3AB045DA35ED4CA58EF7EB5BF04CDE3F-->  <DEPENDANT_MODULE_NAME><![CDATA[JBoss Weld]]></DEPENDANT_MODULE_NAME>
 <!--3AB045DA35ED4CA58EF7EB5BF04CDE3F-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -35,7 +35,7 @@
 <!--D7BA4BB0844942C58DC46B9E23CF8E67-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--D7BA4BB0844942C58DC46B9E23CF8E67-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
 <!--D7BA4BB0844942C58DC46B9E23CF8E67-->  <AD_DEPENDENT_MODULE_ID><![CDATA[F8D1B3ECB3474E8DA5C216473C840DF1]]></AD_DEPENDENT_MODULE_ID>
-<!--D7BA4BB0844942C58DC46B9E23CF8E67-->  <STARTVERSION><![CDATA[2.0.18601]]></STARTVERSION>
+<!--D7BA4BB0844942C58DC46B9E23CF8E67-->  <STARTVERSION><![CDATA[2.0.18616]]></STARTVERSION>
 <!--D7BA4BB0844942C58DC46B9E23CF8E67-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--D7BA4BB0844942C58DC46B9E23CF8E67-->  <DEPENDANT_MODULE_NAME><![CDATA[JSON REST Webservice]]></DEPENDANT_MODULE_NAME>
 <!--D7BA4BB0844942C58DC46B9E23CF8E67-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -6,7 +6,7 @@
 <!--2758CD25B2704AF6BBAD10365FC82C06-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--2758CD25B2704AF6BBAD10365FC82C06-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--2758CD25B2704AF6BBAD10365FC82C06-->  <NAME><![CDATA[Workspace & Widgets]]></NAME>
-<!--2758CD25B2704AF6BBAD10365FC82C06-->  <VERSION><![CDATA[2.1.18601]]></VERSION>
+<!--2758CD25B2704AF6BBAD10365FC82C06-->  <VERSION><![CDATA[2.1.18616]]></VERSION>
 <!--2758CD25B2704AF6BBAD10365FC82C06-->  <DESCRIPTION><![CDATA[Workspace & Widgets]]></DESCRIPTION>
 <!--2758CD25B2704AF6BBAD10365FC82C06-->  <HELP><![CDATA[Provides the infrastructure of workspace tab (formerly My Openbravo)]]></HELP>
 <!--2758CD25B2704AF6BBAD10365FC82C06-->  <URL><![CDATA[http://forge.openbravo.com/projects/myopenbravo]]></URL>
--- a/modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -7,7 +7,7 @@
 <!--15F51F03882F444CAB6593B4566DC929-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--15F51F03882F444CAB6593B4566DC929-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
 <!--15F51F03882F444CAB6593B4566DC929-->  <AD_DEPENDENT_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_DEPENDENT_MODULE_ID>
-<!--15F51F03882F444CAB6593B4566DC929-->  <STARTVERSION><![CDATA[2.1.18601]]></STARTVERSION>
+<!--15F51F03882F444CAB6593B4566DC929-->  <STARTVERSION><![CDATA[2.1.18616]]></STARTVERSION>
 <!--15F51F03882F444CAB6593B4566DC929-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--15F51F03882F444CAB6593B4566DC929-->  <DEPENDANT_MODULE_NAME><![CDATA[User Interface Application]]></DEPENDANT_MODULE_NAME>
 <!--15F51F03882F444CAB6593B4566DC929-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -21,7 +21,7 @@
 <!--E71B28FC949D481D9F59C17D01E46EF9-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--E71B28FC949D481D9F59C17D01E46EF9-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
 <!--E71B28FC949D481D9F59C17D01E46EF9-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
-<!--E71B28FC949D481D9F59C17D01E46EF9-->  <STARTVERSION><![CDATA[3.0.18601]]></STARTVERSION>
+<!--E71B28FC949D481D9F59C17D01E46EF9-->  <STARTVERSION><![CDATA[3.0.18616]]></STARTVERSION>
 <!--E71B28FC949D481D9F59C17D01E46EF9-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--E71B28FC949D481D9F59C17D01E46EF9-->  <DEPENDANT_MODULE_NAME><![CDATA[Core]]></DEPENDANT_MODULE_NAME>
 <!--E71B28FC949D481D9F59C17D01E46EF9-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/ob-myopenbravo.js	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/ob-myopenbravo.js	Tue Nov 27 18:03:28 2012 +0100
@@ -1260,4 +1260,4 @@
     OB.MyOB.setUserMode();
     this.Super('closeClick', arguments);
   }
-});
\ No newline at end of file
+});
--- a/modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -6,7 +6,7 @@
 <!--0A060B2AF1974E8EAA8DB61388E9AECC-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--0A060B2AF1974E8EAA8DB61388E9AECC-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--0A060B2AF1974E8EAA8DB61388E9AECC-->  <NAME><![CDATA[Query/List Widget]]></NAME>
-<!--0A060B2AF1974E8EAA8DB61388E9AECC-->  <VERSION><![CDATA[1.0.18601]]></VERSION>
+<!--0A060B2AF1974E8EAA8DB61388E9AECC-->  <VERSION><![CDATA[1.0.18616]]></VERSION>
 <!--0A060B2AF1974E8EAA8DB61388E9AECC-->  <DESCRIPTION><![CDATA[Provides the Query/List superclass widget that allows to create widget classes that prints a grid of data based on a query.]]></DESCRIPTION>
 <!--0A060B2AF1974E8EAA8DB61388E9AECC-->  <HELP><![CDATA[With this module you can define your own widget classes that just with simple Application Dictionary shows a grid of data based on a HQL Query.]]></HELP>
 <!--0A060B2AF1974E8EAA8DB61388E9AECC-->  <URL><![CDATA[http://forge.openbravo.com/projects/querylistwidget]]></URL>
--- a/modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.client.querylist/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -7,7 +7,7 @@
 <!--26558497C31140BFAB067BA4BC47D799-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--26558497C31140BFAB067BA4BC47D799-->  <AD_MODULE_ID><![CDATA[0A060B2AF1974E8EAA8DB61388E9AECC]]></AD_MODULE_ID>
 <!--26558497C31140BFAB067BA4BC47D799-->  <AD_DEPENDENT_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_DEPENDENT_MODULE_ID>
-<!--26558497C31140BFAB067BA4BC47D799-->  <STARTVERSION><![CDATA[2.1.18601]]></STARTVERSION>
+<!--26558497C31140BFAB067BA4BC47D799-->  <STARTVERSION><![CDATA[2.1.18616]]></STARTVERSION>
 <!--26558497C31140BFAB067BA4BC47D799-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--26558497C31140BFAB067BA4BC47D799-->  <DEPENDANT_MODULE_NAME><![CDATA[My Openbravo Tab]]></DEPENDANT_MODULE_NAME>
 <!--26558497C31140BFAB067BA4BC47D799-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.client.widgets/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.client.widgets/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -6,7 +6,7 @@
 <!--FF8080812D842086012D844F3CC0003E-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--FF8080812D842086012D844F3CC0003E-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--FF8080812D842086012D844F3CC0003E-->  <NAME><![CDATA[Widgets Collection]]></NAME>
-<!--FF8080812D842086012D844F3CC0003E-->  <VERSION><![CDATA[0.0.18601]]></VERSION>
+<!--FF8080812D842086012D844F3CC0003E-->  <VERSION><![CDATA[0.0.18616]]></VERSION>
 <!--FF8080812D842086012D844F3CC0003E-->  <DESCRIPTION><![CDATA[Collection of Workspace Widgets]]></DESCRIPTION>
 <!--FF8080812D842086012D844F3CC0003E-->  <HELP><![CDATA[Collection of Workspace Widgets]]></HELP>
 <!--FF8080812D842086012D844F3CC0003E-->  <URL><![CDATA[http://forge.openbravo.com/projects/widgetscollection]]></URL>
--- a/modules/org.openbravo.client.widgets/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.client.widgets/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -7,7 +7,7 @@
 <!--FF8080812D842086012D845002070046-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--FF8080812D842086012D845002070046-->  <AD_MODULE_ID><![CDATA[FF8080812D842086012D844F3CC0003E]]></AD_MODULE_ID>
 <!--FF8080812D842086012D845002070046-->  <AD_DEPENDENT_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_DEPENDENT_MODULE_ID>
-<!--FF8080812D842086012D845002070046-->  <STARTVERSION><![CDATA[2.1.18601]]></STARTVERSION>
+<!--FF8080812D842086012D845002070046-->  <STARTVERSION><![CDATA[2.1.18616]]></STARTVERSION>
 <!--FF8080812D842086012D845002070046-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--FF8080812D842086012D845002070046-->  <DEPENDANT_MODULE_NAME><![CDATA[Workspace & Widgets]]></DEPENDANT_MODULE_NAME>
 <!--FF8080812D842086012D845002070046-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.financial.paymentreport/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.financial.paymentreport/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -6,7 +6,7 @@
 <!--2A5EE903D7974AC298C0504FBC4501A7-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--2A5EE903D7974AC298C0504FBC4501A7-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--2A5EE903D7974AC298C0504FBC4501A7-->  <NAME><![CDATA[Payment Report]]></NAME>
-<!--2A5EE903D7974AC298C0504FBC4501A7-->  <VERSION><![CDATA[3.0.18601]]></VERSION>
+<!--2A5EE903D7974AC298C0504FBC4501A7-->  <VERSION><![CDATA[3.0.18616]]></VERSION>
 <!--2A5EE903D7974AC298C0504FBC4501A7-->  <DESCRIPTION><![CDATA[Payment Report]]></DESCRIPTION>
 <!--2A5EE903D7974AC298C0504FBC4501A7-->  <URL><![CDATA[http://forge.openbravo.com/projects/paymentreport]]></URL>
 <!--2A5EE903D7974AC298C0504FBC4501A7-->  <TYPE><![CDATA[M]]></TYPE>
--- a/modules/org.openbravo.financial.paymentreport/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.financial.paymentreport/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -7,7 +7,7 @@
 <!--A3B449C4D5FE4D688CC58236FE33B802-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--A3B449C4D5FE4D688CC58236FE33B802-->  <AD_MODULE_ID><![CDATA[2A5EE903D7974AC298C0504FBC4501A7]]></AD_MODULE_ID>
 <!--A3B449C4D5FE4D688CC58236FE33B802-->  <AD_DEPENDENT_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_DEPENDENT_MODULE_ID>
-<!--A3B449C4D5FE4D688CC58236FE33B802-->  <STARTVERSION><![CDATA[3.0.18601]]></STARTVERSION>
+<!--A3B449C4D5FE4D688CC58236FE33B802-->  <STARTVERSION><![CDATA[3.0.18616]]></STARTVERSION>
 <!--A3B449C4D5FE4D688CC58236FE33B802-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--A3B449C4D5FE4D688CC58236FE33B802-->  <DEPENDANT_MODULE_NAME><![CDATA[Advanced Payables and Receivables Mngmt]]></DEPENDANT_MODULE_NAME>
 <!--A3B449C4D5FE4D688CC58236FE33B802-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.reports.ordersawaitingdelivery/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.reports.ordersawaitingdelivery/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -6,7 +6,7 @@
 <!--3A3A943684D64DEF9EC39F588A656848-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--3A3A943684D64DEF9EC39F588A656848-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--3A3A943684D64DEF9EC39F588A656848-->  <NAME><![CDATA[Orders Awaiting Delivery]]></NAME>
-<!--3A3A943684D64DEF9EC39F588A656848-->  <VERSION><![CDATA[1.1.18601]]></VERSION>
+<!--3A3A943684D64DEF9EC39F588A656848-->  <VERSION><![CDATA[1.1.18616]]></VERSION>
 <!--3A3A943684D64DEF9EC39F588A656848-->  <DESCRIPTION><![CDATA[Report displaying sales orders not shipped.]]></DESCRIPTION>
 <!--3A3A943684D64DEF9EC39F588A656848-->  <URL><![CDATA[http://forge.openbravo.com/projects/ordersawaitingdlivery]]></URL>
 <!--3A3A943684D64DEF9EC39F588A656848-->  <TYPE><![CDATA[M]]></TYPE>
--- a/modules/org.openbravo.reports.ordersawaitingdelivery/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.reports.ordersawaitingdelivery/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -7,7 +7,7 @@
 <!--64060E9EE9EC408BBFFD0CC2DE25C86F-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--64060E9EE9EC408BBFFD0CC2DE25C86F-->  <AD_MODULE_ID><![CDATA[3A3A943684D64DEF9EC39F588A656848]]></AD_MODULE_ID>
 <!--64060E9EE9EC408BBFFD0CC2DE25C86F-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
-<!--64060E9EE9EC408BBFFD0CC2DE25C86F-->  <STARTVERSION><![CDATA[3.0.18601]]></STARTVERSION>
+<!--64060E9EE9EC408BBFFD0CC2DE25C86F-->  <STARTVERSION><![CDATA[3.0.18616]]></STARTVERSION>
 <!--64060E9EE9EC408BBFFD0CC2DE25C86F-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--64060E9EE9EC408BBFFD0CC2DE25C86F-->  <DEPENDANT_MODULE_NAME><![CDATA[core]]></DEPENDANT_MODULE_NAME>
 <!--64060E9EE9EC408BBFFD0CC2DE25C86F-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -6,7 +6,7 @@
 <!--A44B9BA75C354D8FB2E3F7D6EB6BFDC4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--A44B9BA75C354D8FB2E3F7D6EB6BFDC4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--A44B9BA75C354D8FB2E3F7D6EB6BFDC4-->  <NAME><![CDATA[JSON Datasource]]></NAME>
-<!--A44B9BA75C354D8FB2E3F7D6EB6BFDC4-->  <VERSION><![CDATA[2.1.18601]]></VERSION>
+<!--A44B9BA75C354D8FB2E3F7D6EB6BFDC4-->  <VERSION><![CDATA[2.1.18616]]></VERSION>
 <!--A44B9BA75C354D8FB2E3F7D6EB6BFDC4-->  <DESCRIPTION><![CDATA[Provides data source CRUD functionality using JSON as the data format]]></DESCRIPTION>
 <!--A44B9BA75C354D8FB2E3F7D6EB6BFDC4-->  <HELP><![CDATA[This module implements the datasource concept. Datasources play a central role in Smartclient applications. The datasource module automatically creates a datasource for each Openbravo entity. In addition custom data source implementations can be defined.]]></HELP>
 <!--A44B9BA75C354D8FB2E3F7D6EB6BFDC4-->  <URL><![CDATA[http://forge.openbravo.com/projects/datasourceservice]]></URL>
--- a/modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.service.datasource/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -7,7 +7,7 @@
 <!--0BA071C783CC4984AC9C03BB7CAA87C7-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--0BA071C783CC4984AC9C03BB7CAA87C7-->  <AD_MODULE_ID><![CDATA[A44B9BA75C354D8FB2E3F7D6EB6BFDC4]]></AD_MODULE_ID>
 <!--0BA071C783CC4984AC9C03BB7CAA87C7-->  <AD_DEPENDENT_MODULE_ID><![CDATA[C70732EA90A14EC0916078B85CC33D2D]]></AD_DEPENDENT_MODULE_ID>
-<!--0BA071C783CC4984AC9C03BB7CAA87C7-->  <STARTVERSION><![CDATA[1.1.18601]]></STARTVERSION>
+<!--0BA071C783CC4984AC9C03BB7CAA87C7-->  <STARTVERSION><![CDATA[1.1.18616]]></STARTVERSION>
 <!--0BA071C783CC4984AC9C03BB7CAA87C7-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--0BA071C783CC4984AC9C03BB7CAA87C7-->  <DEPENDANT_MODULE_NAME><![CDATA[JBoss Weld]]></DEPENDANT_MODULE_NAME>
 <!--0BA071C783CC4984AC9C03BB7CAA87C7-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -21,7 +21,7 @@
 <!--3E531F0CD0A54130996F5AF3B6A2D01B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--3E531F0CD0A54130996F5AF3B6A2D01B-->  <AD_MODULE_ID><![CDATA[A44B9BA75C354D8FB2E3F7D6EB6BFDC4]]></AD_MODULE_ID>
 <!--3E531F0CD0A54130996F5AF3B6A2D01B-->  <AD_DEPENDENT_MODULE_ID><![CDATA[F8D1B3ECB3474E8DA5C216473C840DF1]]></AD_DEPENDENT_MODULE_ID>
-<!--3E531F0CD0A54130996F5AF3B6A2D01B-->  <STARTVERSION><![CDATA[2.0.18601]]></STARTVERSION>
+<!--3E531F0CD0A54130996F5AF3B6A2D01B-->  <STARTVERSION><![CDATA[2.0.18616]]></STARTVERSION>
 <!--3E531F0CD0A54130996F5AF3B6A2D01B-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--3E531F0CD0A54130996F5AF3B6A2D01B-->  <DEPENDANT_MODULE_NAME><![CDATA[JSON REST Webservice]]></DEPENDANT_MODULE_NAME>
 <!--3E531F0CD0A54130996F5AF3B6A2D01B-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -35,7 +35,7 @@
 <!--4FCE95802A854F7E8623AFF7C33D13EE-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--4FCE95802A854F7E8623AFF7C33D13EE-->  <AD_MODULE_ID><![CDATA[A44B9BA75C354D8FB2E3F7D6EB6BFDC4]]></AD_MODULE_ID>
 <!--4FCE95802A854F7E8623AFF7C33D13EE-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
-<!--4FCE95802A854F7E8623AFF7C33D13EE-->  <STARTVERSION><![CDATA[3.0.18601]]></STARTVERSION>
+<!--4FCE95802A854F7E8623AFF7C33D13EE-->  <STARTVERSION><![CDATA[3.0.18616]]></STARTVERSION>
 <!--4FCE95802A854F7E8623AFF7C33D13EE-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--4FCE95802A854F7E8623AFF7C33D13EE-->  <DEPENDANT_MODULE_NAME><![CDATA[core]]></DEPENDANT_MODULE_NAME>
 <!--4FCE95802A854F7E8623AFF7C33D13EE-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -49,7 +49,7 @@
 <!--54AF8B39C55E4E7496902893ECD82786-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--54AF8B39C55E4E7496902893ECD82786-->  <AD_MODULE_ID><![CDATA[A44B9BA75C354D8FB2E3F7D6EB6BFDC4]]></AD_MODULE_ID>
 <!--54AF8B39C55E4E7496902893ECD82786-->  <AD_DEPENDENT_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_DEPENDENT_MODULE_ID>
-<!--54AF8B39C55E4E7496902893ECD82786-->  <STARTVERSION><![CDATA[2.1.18601]]></STARTVERSION>
+<!--54AF8B39C55E4E7496902893ECD82786-->  <STARTVERSION><![CDATA[2.1.18616]]></STARTVERSION>
 <!--54AF8B39C55E4E7496902893ECD82786-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--54AF8B39C55E4E7496902893ECD82786-->  <DEPENDANT_MODULE_NAME><![CDATA[User Interface Client Kernel]]></DEPENDANT_MODULE_NAME>
 <!--54AF8B39C55E4E7496902893ECD82786-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -63,7 +63,7 @@
 <!--D03C56D8A4E14F45A5466350E05C631F-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--D03C56D8A4E14F45A5466350E05C631F-->  <AD_MODULE_ID><![CDATA[A44B9BA75C354D8FB2E3F7D6EB6BFDC4]]></AD_MODULE_ID>
 <!--D03C56D8A4E14F45A5466350E05C631F-->  <AD_DEPENDENT_MODULE_ID><![CDATA[EC356CEE3D46416CA1EBEEB9AB82EDB9]]></AD_DEPENDENT_MODULE_ID>
-<!--D03C56D8A4E14F45A5466350E05C631F-->  <STARTVERSION><![CDATA[8.1.18601]]></STARTVERSION>
+<!--D03C56D8A4E14F45A5466350E05C631F-->  <STARTVERSION><![CDATA[8.1.18616]]></STARTVERSION>
 <!--D03C56D8A4E14F45A5466350E05C631F-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--D03C56D8A4E14F45A5466350E05C631F-->  <DEPENDANT_MODULE_NAME><![CDATA[Smartclient]]></DEPENDANT_MODULE_NAME>
 <!--D03C56D8A4E14F45A5466350E05C631F-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -6,7 +6,7 @@
 <!--FF8080813129ADA401312CA1222A0005-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--FF8080813129ADA401312CA1222A0005-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--FF8080813129ADA401312CA1222A0005-->  <NAME><![CDATA[Integration with Google APIs]]></NAME>
-<!--FF8080813129ADA401312CA1222A0005-->  <VERSION><![CDATA[0.1.18601]]></VERSION>
+<!--FF8080813129ADA401312CA1222A0005-->  <VERSION><![CDATA[0.1.18616]]></VERSION>
 <!--FF8080813129ADA401312CA1222A0005-->  <DESCRIPTION><![CDATA[Integration with Google APIs]]></DESCRIPTION>
 <!--FF8080813129ADA401312CA1222A0005-->  <TYPE><![CDATA[M]]></TYPE>
 <!--FF8080813129ADA401312CA1222A0005-->  <LICENSE><![CDATA[Licensed under the Openbravo Public License Version 1.1.
--- a/modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.service.integration.google/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -7,7 +7,7 @@
 <!--FF8080813141B198013141BA0F7D0012-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--FF8080813141B198013141BA0F7D0012-->  <AD_MODULE_ID><![CDATA[FF8080813129ADA401312CA1222A0005]]></AD_MODULE_ID>
 <!--FF8080813141B198013141BA0F7D0012-->  <AD_DEPENDENT_MODULE_ID><![CDATA[FF8080813141B198013141B86DD70003]]></AD_DEPENDENT_MODULE_ID>
-<!--FF8080813141B198013141BA0F7D0012-->  <STARTVERSION><![CDATA[0.1.18601]]></STARTVERSION>
+<!--FF8080813141B198013141BA0F7D0012-->  <STARTVERSION><![CDATA[0.1.18616]]></STARTVERSION>
 <!--FF8080813141B198013141BA0F7D0012-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--FF8080813141B198013141BA0F7D0012-->  <DEPENDANT_MODULE_NAME><![CDATA[OpenID Service Integration]]></DEPENDANT_MODULE_NAME>
 <!--FF8080813141B198013141BA0F7D0012-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -21,7 +21,7 @@
 <!--FF8080813151AEE1013151C4ACE6001B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--FF8080813151AEE1013151C4ACE6001B-->  <AD_MODULE_ID><![CDATA[FF8080813129ADA401312CA1222A0005]]></AD_MODULE_ID>
 <!--FF8080813151AEE1013151C4ACE6001B-->  <AD_DEPENDENT_MODULE_ID><![CDATA[7E48CDD73B7E493A8BED4F7253E7C989]]></AD_DEPENDENT_MODULE_ID>
-<!--FF8080813151AEE1013151C4ACE6001B-->  <STARTVERSION><![CDATA[2.1.18601]]></STARTVERSION>
+<!--FF8080813151AEE1013151C4ACE6001B-->  <STARTVERSION><![CDATA[2.1.18616]]></STARTVERSION>
 <!--FF8080813151AEE1013151C4ACE6001B-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--FF8080813151AEE1013151C4ACE6001B-->  <DEPENDANT_MODULE_NAME><![CDATA[Openbravo 3.0 Framework]]></DEPENDANT_MODULE_NAME>
 <!--FF8080813151AEE1013151C4ACE6001B-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.service.integration.openid/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.service.integration.openid/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -6,7 +6,7 @@
 <!--FF8080813141B198013141B86DD70003-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--FF8080813141B198013141B86DD70003-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--FF8080813141B198013141B86DD70003-->  <NAME><![CDATA[OpenID Service Integration]]></NAME>
-<!--FF8080813141B198013141B86DD70003-->  <VERSION><![CDATA[0.1.18601]]></VERSION>
+<!--FF8080813141B198013141B86DD70003-->  <VERSION><![CDATA[0.1.18616]]></VERSION>
 <!--FF8080813141B198013141B86DD70003-->  <DESCRIPTION><![CDATA[OpenID Service Integration]]></DESCRIPTION>
 <!--FF8080813141B198013141B86DD70003-->  <TYPE><![CDATA[M]]></TYPE>
 <!--FF8080813141B198013141B86DD70003-->  <LICENSE><![CDATA[Licensed under the Openbravo Public License Version 1.1.
--- a/modules/org.openbravo.service.integration.openid/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.service.integration.openid/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -7,7 +7,7 @@
 <!--FF8080813141B198013141B8B21B0006-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--FF8080813141B198013141B8B21B0006-->  <AD_MODULE_ID><![CDATA[FF8080813141B198013141B86DD70003]]></AD_MODULE_ID>
 <!--FF8080813141B198013141B8B21B0006-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
-<!--FF8080813141B198013141B8B21B0006-->  <STARTVERSION><![CDATA[3.0.18601]]></STARTVERSION>
+<!--FF8080813141B198013141B8B21B0006-->  <STARTVERSION><![CDATA[3.0.18616]]></STARTVERSION>
 <!--FF8080813141B198013141B8B21B0006-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--FF8080813141B198013141B8B21B0006-->  <DEPENDANT_MODULE_NAME><![CDATA[Core]]></DEPENDANT_MODULE_NAME>
 <!--FF8080813141B198013141B8B21B0006-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.service.json/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.service.json/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -6,7 +6,7 @@
 <!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <NAME><![CDATA[JSON REST Webservice]]></NAME>
-<!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <VERSION><![CDATA[2.0.18601]]></VERSION>
+<!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <VERSION><![CDATA[2.0.18616]]></VERSION>
 <!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <DESCRIPTION><![CDATA[Provides a JSON REST webservice for CRUD service requests]]></DESCRIPTION>
 <!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <HELP><![CDATA[Provides a JSON REST webservice for CRUD service requests. Both the servlet implementation (receiving HTTP REST requests in JSON) as the backend processing are provided.]]></HELP>
 <!--F8D1B3ECB3474E8DA5C216473C840DF1-->  <URL><![CDATA[http://forge.openbravo.com/projects/openbravojsonrest]]></URL>
--- a/modules/org.openbravo.service.json/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.service.json/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -7,7 +7,7 @@
 <!--9E3E7B42DB16405FB794496D309D7044-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--9E3E7B42DB16405FB794496D309D7044-->  <AD_MODULE_ID><![CDATA[F8D1B3ECB3474E8DA5C216473C840DF1]]></AD_MODULE_ID>
 <!--9E3E7B42DB16405FB794496D309D7044-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
-<!--9E3E7B42DB16405FB794496D309D7044-->  <STARTVERSION><![CDATA[3.0.18601]]></STARTVERSION>
+<!--9E3E7B42DB16405FB794496D309D7044-->  <STARTVERSION><![CDATA[3.0.18616]]></STARTVERSION>
 <!--9E3E7B42DB16405FB794496D309D7044-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--9E3E7B42DB16405FB794496D309D7044-->  <DEPENDANT_MODULE_NAME><![CDATA[core]]></DEPENDANT_MODULE_NAME>
 <!--9E3E7B42DB16405FB794496D309D7044-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -6,7 +6,7 @@
 <!--5EB4F15C80684ACA904756BDC12ADBE5-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--5EB4F15C80684ACA904756BDC12ADBE5-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--5EB4F15C80684ACA904756BDC12ADBE5-->  <NAME><![CDATA[User Interface Selector]]></NAME>
-<!--5EB4F15C80684ACA904756BDC12ADBE5-->  <VERSION><![CDATA[2.1.18601]]></VERSION>
+<!--5EB4F15C80684ACA904756BDC12ADBE5-->  <VERSION><![CDATA[2.1.18616]]></VERSION>
 <!--5EB4F15C80684ACA904756BDC12ADBE5-->  <DESCRIPTION><![CDATA[Provides a selector with a suggestion box and popup grid window]]></DESCRIPTION>
 <!--5EB4F15C80684ACA904756BDC12ADBE5-->  <HELP><![CDATA[The Openbravo selector provides new selector functionality which is used inside of existing Openbravo forms. The selector is mainly used for supporting foreign key references in the user interface. The selector combines both suggestion box behavior with a popup grid.]]></HELP>
 <!--5EB4F15C80684ACA904756BDC12ADBE5-->  <URL><![CDATA[http://forge.openbravo.com/projects/selector]]></URL>
--- a/modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.userinterface.selector/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -7,7 +7,7 @@
 <!--38825CAED43941D38CA0C78DB04FCFA0-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--38825CAED43941D38CA0C78DB04FCFA0-->  <AD_MODULE_ID><![CDATA[5EB4F15C80684ACA904756BDC12ADBE5]]></AD_MODULE_ID>
 <!--38825CAED43941D38CA0C78DB04FCFA0-->  <AD_DEPENDENT_MODULE_ID><![CDATA[EC356CEE3D46416CA1EBEEB9AB82EDB9]]></AD_DEPENDENT_MODULE_ID>
-<!--38825CAED43941D38CA0C78DB04FCFA0-->  <STARTVERSION><![CDATA[8.1.18601]]></STARTVERSION>
+<!--38825CAED43941D38CA0C78DB04FCFA0-->  <STARTVERSION><![CDATA[8.1.18616]]></STARTVERSION>
 <!--38825CAED43941D38CA0C78DB04FCFA0-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--38825CAED43941D38CA0C78DB04FCFA0-->  <DEPENDANT_MODULE_NAME><![CDATA[Smartclient]]></DEPENDANT_MODULE_NAME>
 <!--38825CAED43941D38CA0C78DB04FCFA0-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -21,7 +21,7 @@
 <!--6DDE7B1A70174242AF82B5022FB89279-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--6DDE7B1A70174242AF82B5022FB89279-->  <AD_MODULE_ID><![CDATA[5EB4F15C80684ACA904756BDC12ADBE5]]></AD_MODULE_ID>
 <!--6DDE7B1A70174242AF82B5022FB89279-->  <AD_DEPENDENT_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_DEPENDENT_MODULE_ID>
-<!--6DDE7B1A70174242AF82B5022FB89279-->  <STARTVERSION><![CDATA[2.1.18601]]></STARTVERSION>
+<!--6DDE7B1A70174242AF82B5022FB89279-->  <STARTVERSION><![CDATA[2.1.18616]]></STARTVERSION>
 <!--6DDE7B1A70174242AF82B5022FB89279-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--6DDE7B1A70174242AF82B5022FB89279-->  <DEPENDANT_MODULE_NAME><![CDATA[User Interface Application]]></DEPENDANT_MODULE_NAME>
 <!--6DDE7B1A70174242AF82B5022FB89279-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -35,7 +35,7 @@
 <!--94F9CD2CB5EF4467A67475C786C984A7-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--94F9CD2CB5EF4467A67475C786C984A7-->  <AD_MODULE_ID><![CDATA[5EB4F15C80684ACA904756BDC12ADBE5]]></AD_MODULE_ID>
 <!--94F9CD2CB5EF4467A67475C786C984A7-->  <AD_DEPENDENT_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_DEPENDENT_MODULE_ID>
-<!--94F9CD2CB5EF4467A67475C786C984A7-->  <STARTVERSION><![CDATA[2.1.18601]]></STARTVERSION>
+<!--94F9CD2CB5EF4467A67475C786C984A7-->  <STARTVERSION><![CDATA[2.1.18616]]></STARTVERSION>
 <!--94F9CD2CB5EF4467A67475C786C984A7-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--94F9CD2CB5EF4467A67475C786C984A7-->  <DEPENDANT_MODULE_NAME><![CDATA[User Interface Client Kernel]]></DEPENDANT_MODULE_NAME>
 <!--94F9CD2CB5EF4467A67475C786C984A7-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -49,7 +49,7 @@
 <!--BCCB5A08EC0446DE8BCE191C6BC607A4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--BCCB5A08EC0446DE8BCE191C6BC607A4-->  <AD_MODULE_ID><![CDATA[5EB4F15C80684ACA904756BDC12ADBE5]]></AD_MODULE_ID>
 <!--BCCB5A08EC0446DE8BCE191C6BC607A4-->  <AD_DEPENDENT_MODULE_ID><![CDATA[C70732EA90A14EC0916078B85CC33D2D]]></AD_DEPENDENT_MODULE_ID>
-<!--BCCB5A08EC0446DE8BCE191C6BC607A4-->  <STARTVERSION><![CDATA[1.1.18601]]></STARTVERSION>
+<!--BCCB5A08EC0446DE8BCE191C6BC607A4-->  <STARTVERSION><![CDATA[1.1.18616]]></STARTVERSION>
 <!--BCCB5A08EC0446DE8BCE191C6BC607A4-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--BCCB5A08EC0446DE8BCE191C6BC607A4-->  <DEPENDANT_MODULE_NAME><![CDATA[JBoss Weld]]></DEPENDANT_MODULE_NAME>
 <!--BCCB5A08EC0446DE8BCE191C6BC607A4-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -63,7 +63,7 @@
 <!--C8DAC574B88649D08C9468521B343F12-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--C8DAC574B88649D08C9468521B343F12-->  <AD_MODULE_ID><![CDATA[5EB4F15C80684ACA904756BDC12ADBE5]]></AD_MODULE_ID>
 <!--C8DAC574B88649D08C9468521B343F12-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
-<!--C8DAC574B88649D08C9468521B343F12-->  <STARTVERSION><![CDATA[3.0.18601]]></STARTVERSION>
+<!--C8DAC574B88649D08C9468521B343F12-->  <STARTVERSION><![CDATA[3.0.18616]]></STARTVERSION>
 <!--C8DAC574B88649D08C9468521B343F12-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--C8DAC574B88649D08C9468521B343F12-->  <DEPENDANT_MODULE_NAME><![CDATA[core]]></DEPENDANT_MODULE_NAME>
 <!--C8DAC574B88649D08C9468521B343F12-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -77,7 +77,7 @@
 <!--F14EB17946BE4724A46F80CB1A47EC70-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--F14EB17946BE4724A46F80CB1A47EC70-->  <AD_MODULE_ID><![CDATA[5EB4F15C80684ACA904756BDC12ADBE5]]></AD_MODULE_ID>
 <!--F14EB17946BE4724A46F80CB1A47EC70-->  <AD_DEPENDENT_MODULE_ID><![CDATA[A44B9BA75C354D8FB2E3F7D6EB6BFDC4]]></AD_DEPENDENT_MODULE_ID>
-<!--F14EB17946BE4724A46F80CB1A47EC70-->  <STARTVERSION><![CDATA[2.1.18601]]></STARTVERSION>
+<!--F14EB17946BE4724A46F80CB1A47EC70-->  <STARTVERSION><![CDATA[2.1.18616]]></STARTVERSION>
 <!--F14EB17946BE4724A46F80CB1A47EC70-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--F14EB17946BE4724A46F80CB1A47EC70-->  <DEPENDANT_MODULE_NAME><![CDATA[JSON Datasource]]></DEPENDANT_MODULE_NAME>
 <!--F14EB17946BE4724A46F80CB1A47EC70-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.userinterface.skin.250to300Comp/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.userinterface.skin.250to300Comp/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -6,7 +6,7 @@
 <!--96998CBC42744B3DBEE28AC8095C9335-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--96998CBC42744B3DBEE28AC8095C9335-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--96998CBC42744B3DBEE28AC8095C9335-->  <NAME><![CDATA[2.50 to 3.00 Compatibility Skin]]></NAME>
-<!--96998CBC42744B3DBEE28AC8095C9335-->  <VERSION><![CDATA[2.0.18601]]></VERSION>
+<!--96998CBC42744B3DBEE28AC8095C9335-->  <VERSION><![CDATA[2.0.18616]]></VERSION>
 <!--96998CBC42744B3DBEE28AC8095C9335-->  <DESCRIPTION><![CDATA[Skin module to proper visualization of classic windows inside the MDI interface]]></DESCRIPTION>
 <!--96998CBC42744B3DBEE28AC8095C9335-->  <HELP><![CDATA[With this skin module the classic windows styles will display in a way more coherent with the new 3.00 styles]]></HELP>
 <!--96998CBC42744B3DBEE28AC8095C9335-->  <URL><![CDATA[www.openbravo.com]]></URL>
--- a/modules/org.openbravo.userinterface.skin.250to300Comp/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.userinterface.skin.250to300Comp/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -7,7 +7,7 @@
 <!--39BF75AD9AB3453698BF5DE29E727AA9-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--39BF75AD9AB3453698BF5DE29E727AA9-->  <AD_MODULE_ID><![CDATA[96998CBC42744B3DBEE28AC8095C9335]]></AD_MODULE_ID>
 <!--39BF75AD9AB3453698BF5DE29E727AA9-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
-<!--39BF75AD9AB3453698BF5DE29E727AA9-->  <STARTVERSION><![CDATA[3.0.18601]]></STARTVERSION>
+<!--39BF75AD9AB3453698BF5DE29E727AA9-->  <STARTVERSION><![CDATA[3.0.18616]]></STARTVERSION>
 <!--39BF75AD9AB3453698BF5DE29E727AA9-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--39BF75AD9AB3453698BF5DE29E727AA9-->  <DEPENDANT_MODULE_NAME><![CDATA[core]]></DEPENDANT_MODULE_NAME>
 <!--39BF75AD9AB3453698BF5DE29E727AA9-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.userinterface.smartclient/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.userinterface.smartclient/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -6,7 +6,7 @@
 <!--EC356CEE3D46416CA1EBEEB9AB82EDB9-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--EC356CEE3D46416CA1EBEEB9AB82EDB9-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--EC356CEE3D46416CA1EBEEB9AB82EDB9-->  <NAME><![CDATA[Smartclient]]></NAME>
-<!--EC356CEE3D46416CA1EBEEB9AB82EDB9-->  <VERSION><![CDATA[8.1.18601]]></VERSION>
+<!--EC356CEE3D46416CA1EBEEB9AB82EDB9-->  <VERSION><![CDATA[8.1.18616]]></VERSION>
 <!--EC356CEE3D46416CA1EBEEB9AB82EDB9-->  <DESCRIPTION><![CDATA[SmartClient libraries for use within Openbravo]]></DESCRIPTION>
 <!--EC356CEE3D46416CA1EBEEB9AB82EDB9-->  <HELP><![CDATA[This module contains the SmartClient libraries for usage by other modules. It also contains some simple test pages to validate that SmartClient is working correctly. Also contains generic Openbravo SmartClient components]]></HELP>
 <!--EC356CEE3D46416CA1EBEEB9AB82EDB9-->  <URL><![CDATA[http://forge.openbravo.com/projects/obsmartclient]]></URL>
--- a/modules/org.openbravo.userinterface.smartclient/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.userinterface.smartclient/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -7,7 +7,7 @@
 <!--086331E18477496B8AC74D2CFEBD1307-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--086331E18477496B8AC74D2CFEBD1307-->  <AD_MODULE_ID><![CDATA[EC356CEE3D46416CA1EBEEB9AB82EDB9]]></AD_MODULE_ID>
 <!--086331E18477496B8AC74D2CFEBD1307-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
-<!--086331E18477496B8AC74D2CFEBD1307-->  <STARTVERSION><![CDATA[3.0.18601]]></STARTVERSION>
+<!--086331E18477496B8AC74D2CFEBD1307-->  <STARTVERSION><![CDATA[3.0.18616]]></STARTVERSION>
 <!--086331E18477496B8AC74D2CFEBD1307-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--086331E18477496B8AC74D2CFEBD1307-->  <DEPENDANT_MODULE_NAME><![CDATA[core]]></DEPENDANT_MODULE_NAME>
 <!--086331E18477496B8AC74D2CFEBD1307-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -21,7 +21,7 @@
 <!--DC5D4EF450244482BD2B458DAA496333-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--DC5D4EF450244482BD2B458DAA496333-->  <AD_MODULE_ID><![CDATA[EC356CEE3D46416CA1EBEEB9AB82EDB9]]></AD_MODULE_ID>
 <!--DC5D4EF450244482BD2B458DAA496333-->  <AD_DEPENDENT_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_DEPENDENT_MODULE_ID>
-<!--DC5D4EF450244482BD2B458DAA496333-->  <STARTVERSION><![CDATA[2.1.18601]]></STARTVERSION>
+<!--DC5D4EF450244482BD2B458DAA496333-->  <STARTVERSION><![CDATA[2.1.18616]]></STARTVERSION>
 <!--DC5D4EF450244482BD2B458DAA496333-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--DC5D4EF450244482BD2B458DAA496333-->  <DEPENDANT_MODULE_NAME><![CDATA[User Interface Client Kernel]]></DEPENDANT_MODULE_NAME>
 <!--DC5D4EF450244482BD2B458DAA496333-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -35,7 +35,7 @@
 <!--F2AF15C0AF5540E393D96BE506E20648-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--F2AF15C0AF5540E393D96BE506E20648-->  <AD_MODULE_ID><![CDATA[EC356CEE3D46416CA1EBEEB9AB82EDB9]]></AD_MODULE_ID>
 <!--F2AF15C0AF5540E393D96BE506E20648-->  <AD_DEPENDENT_MODULE_ID><![CDATA[C70732EA90A14EC0916078B85CC33D2D]]></AD_DEPENDENT_MODULE_ID>
-<!--F2AF15C0AF5540E393D96BE506E20648-->  <STARTVERSION><![CDATA[1.1.18601]]></STARTVERSION>
+<!--F2AF15C0AF5540E393D96BE506E20648-->  <STARTVERSION><![CDATA[1.1.18616]]></STARTVERSION>
 <!--F2AF15C0AF5540E393D96BE506E20648-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--F2AF15C0AF5540E393D96BE506E20648-->  <DEPENDANT_MODULE_NAME><![CDATA[JBoss Weld]]></DEPENDANT_MODULE_NAME>
 <!--F2AF15C0AF5540E393D96BE506E20648-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.v3.datasets/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.v3.datasets/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -6,7 +6,7 @@
 <!--883B5872CA0548F9AF2BBBE7D2DDFA61-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--883B5872CA0548F9AF2BBBE7D2DDFA61-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--883B5872CA0548F9AF2BBBE7D2DDFA61-->  <NAME><![CDATA[Standard Roles]]></NAME>
-<!--883B5872CA0548F9AF2BBBE7D2DDFA61-->  <VERSION><![CDATA[3.0.18601]]></VERSION>
+<!--883B5872CA0548F9AF2BBBE7D2DDFA61-->  <VERSION><![CDATA[3.0.18616]]></VERSION>
 <!--883B5872CA0548F9AF2BBBE7D2DDFA61-->  <DESCRIPTION><![CDATA[Pre-configured collection of standard ERP roles]]></DESCRIPTION>
 <!--883B5872CA0548F9AF2BBBE7D2DDFA61-->  <HELP><![CDATA[This dataset contains the following roles with their access to corresponding Openbravo entities - windows, reports, actions.
 * Employee - Any person of the enterprise
--- a/modules/org.openbravo.v3.datasets/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.v3.datasets/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -7,7 +7,7 @@
 <!--148A000EE9A04A3CA653B1296A00B8E6-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--148A000EE9A04A3CA653B1296A00B8E6-->  <AD_MODULE_ID><![CDATA[883B5872CA0548F9AF2BBBE7D2DDFA61]]></AD_MODULE_ID>
 <!--148A000EE9A04A3CA653B1296A00B8E6-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
-<!--148A000EE9A04A3CA653B1296A00B8E6-->  <STARTVERSION><![CDATA[3.0.18601]]></STARTVERSION>
+<!--148A000EE9A04A3CA653B1296A00B8E6-->  <STARTVERSION><![CDATA[3.0.18616]]></STARTVERSION>
 <!--148A000EE9A04A3CA653B1296A00B8E6-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--148A000EE9A04A3CA653B1296A00B8E6-->  <DEPENDANT_MODULE_NAME><![CDATA[core]]></DEPENDANT_MODULE_NAME>
 <!--148A000EE9A04A3CA653B1296A00B8E6-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -21,7 +21,7 @@
 <!--30F966407A6F4E15965821BAEE34D25B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--30F966407A6F4E15965821BAEE34D25B-->  <AD_MODULE_ID><![CDATA[883B5872CA0548F9AF2BBBE7D2DDFA61]]></AD_MODULE_ID>
 <!--30F966407A6F4E15965821BAEE34D25B-->  <AD_DEPENDENT_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_DEPENDENT_MODULE_ID>
-<!--30F966407A6F4E15965821BAEE34D25B-->  <STARTVERSION><![CDATA[3.0.18601]]></STARTVERSION>
+<!--30F966407A6F4E15965821BAEE34D25B-->  <STARTVERSION><![CDATA[3.0.18616]]></STARTVERSION>
 <!--30F966407A6F4E15965821BAEE34D25B-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--30F966407A6F4E15965821BAEE34D25B-->  <DEPENDANT_MODULE_NAME><![CDATA[Advanced Payables and Receivables Mngmt]]></DEPENDANT_MODULE_NAME>
 <!--30F966407A6F4E15965821BAEE34D25B-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -35,7 +35,7 @@
 <!--F93CE30003B24F8F8886510B0065EECC-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--F93CE30003B24F8F8886510B0065EECC-->  <AD_MODULE_ID><![CDATA[883B5872CA0548F9AF2BBBE7D2DDFA61]]></AD_MODULE_ID>
 <!--F93CE30003B24F8F8886510B0065EECC-->  <AD_DEPENDENT_MODULE_ID><![CDATA[3A3A943684D64DEF9EC39F588A656848]]></AD_DEPENDENT_MODULE_ID>
-<!--F93CE30003B24F8F8886510B0065EECC-->  <STARTVERSION><![CDATA[1.1.18601]]></STARTVERSION>
+<!--F93CE30003B24F8F8886510B0065EECC-->  <STARTVERSION><![CDATA[1.1.18616]]></STARTVERSION>
 <!--F93CE30003B24F8F8886510B0065EECC-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--F93CE30003B24F8F8886510B0065EECC-->  <DEPENDANT_MODULE_NAME><![CDATA[Orders Awaiting Delivery]]></DEPENDANT_MODULE_NAME>
 <!--F93CE30003B24F8F8886510B0065EECC-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.v3.framework/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.v3.framework/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -6,7 +6,7 @@
 <!--7E48CDD73B7E493A8BED4F7253E7C989-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--7E48CDD73B7E493A8BED4F7253E7C989-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--7E48CDD73B7E493A8BED4F7253E7C989-->  <NAME><![CDATA[Openbravo 3.0 Framework]]></NAME>
-<!--7E48CDD73B7E493A8BED4F7253E7C989-->  <VERSION><![CDATA[2.1.18601]]></VERSION>
+<!--7E48CDD73B7E493A8BED4F7253E7C989-->  <VERSION><![CDATA[2.1.18616]]></VERSION>
 <!--7E48CDD73B7E493A8BED4F7253E7C989-->  <DESCRIPTION><![CDATA[Openbravo 3.0 Framework]]></DESCRIPTION>
 <!--7E48CDD73B7E493A8BED4F7253E7C989-->  <HELP><![CDATA[Contains all the components required to run the Openbravo 3.0 framework]]></HELP>
 <!--7E48CDD73B7E493A8BED4F7253E7C989-->  <URL><![CDATA[http://forge.openbravo.com/projects/openbravov30framework]]></URL>
--- a/modules/org.openbravo.v3.framework/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.v3.framework/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -7,7 +7,7 @@
 <!--01E1BCCEC9114DE0960538DF34E30E6F-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--01E1BCCEC9114DE0960538DF34E30E6F-->  <AD_MODULE_ID><![CDATA[7E48CDD73B7E493A8BED4F7253E7C989]]></AD_MODULE_ID>
 <!--01E1BCCEC9114DE0960538DF34E30E6F-->  <AD_DEPENDENT_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_DEPENDENT_MODULE_ID>
-<!--01E1BCCEC9114DE0960538DF34E30E6F-->  <STARTVERSION><![CDATA[2.1.18601]]></STARTVERSION>
+<!--01E1BCCEC9114DE0960538DF34E30E6F-->  <STARTVERSION><![CDATA[2.1.18616]]></STARTVERSION>
 <!--01E1BCCEC9114DE0960538DF34E30E6F-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--01E1BCCEC9114DE0960538DF34E30E6F-->  <DEPENDANT_MODULE_NAME><![CDATA[My Openbravo Tab]]></DEPENDANT_MODULE_NAME>
 <!--01E1BCCEC9114DE0960538DF34E30E6F-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -21,7 +21,7 @@
 <!--025B181F63CA47B48A920F6983242390-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--025B181F63CA47B48A920F6983242390-->  <AD_MODULE_ID><![CDATA[7E48CDD73B7E493A8BED4F7253E7C989]]></AD_MODULE_ID>
 <!--025B181F63CA47B48A920F6983242390-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
-<!--025B181F63CA47B48A920F6983242390-->  <STARTVERSION><![CDATA[3.0.18601]]></STARTVERSION>
+<!--025B181F63CA47B48A920F6983242390-->  <STARTVERSION><![CDATA[3.0.18616]]></STARTVERSION>
 <!--025B181F63CA47B48A920F6983242390-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--025B181F63CA47B48A920F6983242390-->  <DEPENDANT_MODULE_NAME><![CDATA[core]]></DEPENDANT_MODULE_NAME>
 <!--025B181F63CA47B48A920F6983242390-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -35,7 +35,7 @@
 <!--054B4FEAF919478AA3FF27098A46D1D6-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--054B4FEAF919478AA3FF27098A46D1D6-->  <AD_MODULE_ID><![CDATA[7E48CDD73B7E493A8BED4F7253E7C989]]></AD_MODULE_ID>
 <!--054B4FEAF919478AA3FF27098A46D1D6-->  <AD_DEPENDENT_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_DEPENDENT_MODULE_ID>
-<!--054B4FEAF919478AA3FF27098A46D1D6-->  <STARTVERSION><![CDATA[2.1.18601]]></STARTVERSION>
+<!--054B4FEAF919478AA3FF27098A46D1D6-->  <STARTVERSION><![CDATA[2.1.18616]]></STARTVERSION>
 <!--054B4FEAF919478AA3FF27098A46D1D6-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--054B4FEAF919478AA3FF27098A46D1D6-->  <DEPENDANT_MODULE_NAME><![CDATA[User Interface Application]]></DEPENDANT_MODULE_NAME>
 <!--054B4FEAF919478AA3FF27098A46D1D6-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -49,7 +49,7 @@
 <!--1FA6BAA6DC3A4434A6E62A0D1319A9D7-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--1FA6BAA6DC3A4434A6E62A0D1319A9D7-->  <AD_MODULE_ID><![CDATA[7E48CDD73B7E493A8BED4F7253E7C989]]></AD_MODULE_ID>
 <!--1FA6BAA6DC3A4434A6E62A0D1319A9D7-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0A060B2AF1974E8EAA8DB61388E9AECC]]></AD_DEPENDENT_MODULE_ID>
-<!--1FA6BAA6DC3A4434A6E62A0D1319A9D7-->  <STARTVERSION><![CDATA[1.0.18601]]></STARTVERSION>
+<!--1FA6BAA6DC3A4434A6E62A0D1319A9D7-->  <STARTVERSION><![CDATA[1.0.18616]]></STARTVERSION>
 <!--1FA6BAA6DC3A4434A6E62A0D1319A9D7-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--1FA6BAA6DC3A4434A6E62A0D1319A9D7-->  <DEPENDANT_MODULE_NAME><![CDATA[Query/List Widget]]></DEPENDANT_MODULE_NAME>
 <!--1FA6BAA6DC3A4434A6E62A0D1319A9D7-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -63,7 +63,7 @@
 <!--224754C3EF674C93B0D468F47BAAB824-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--224754C3EF674C93B0D468F47BAAB824-->  <AD_MODULE_ID><![CDATA[7E48CDD73B7E493A8BED4F7253E7C989]]></AD_MODULE_ID>
 <!--224754C3EF674C93B0D468F47BAAB824-->  <AD_DEPENDENT_MODULE_ID><![CDATA[5EB4F15C80684ACA904756BDC12ADBE5]]></AD_DEPENDENT_MODULE_ID>
-<!--224754C3EF674C93B0D468F47BAAB824-->  <STARTVERSION><![CDATA[2.1.18601]]></STARTVERSION>
+<!--224754C3EF674C93B0D468F47BAAB824-->  <STARTVERSION><![CDATA[2.1.18616]]></STARTVERSION>
 <!--224754C3EF674C93B0D468F47BAAB824-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--224754C3EF674C93B0D468F47BAAB824-->  <DEPENDANT_MODULE_NAME><![CDATA[User Interface Selector]]></DEPENDANT_MODULE_NAME>
 <!--224754C3EF674C93B0D468F47BAAB824-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -77,7 +77,7 @@
 <!--5B72D24032DD4879A950194139D961B6-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--5B72D24032DD4879A950194139D961B6-->  <AD_MODULE_ID><![CDATA[7E48CDD73B7E493A8BED4F7253E7C989]]></AD_MODULE_ID>
 <!--5B72D24032DD4879A950194139D961B6-->  <AD_DEPENDENT_MODULE_ID><![CDATA[A44B9BA75C354D8FB2E3F7D6EB6BFDC4]]></AD_DEPENDENT_MODULE_ID>
-<!--5B72D24032DD4879A950194139D961B6-->  <STARTVERSION><![CDATA[2.1.18601]]></STARTVERSION>
+<!--5B72D24032DD4879A950194139D961B6-->  <STARTVERSION><![CDATA[2.1.18616]]></STARTVERSION>
 <!--5B72D24032DD4879A950194139D961B6-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--5B72D24032DD4879A950194139D961B6-->  <DEPENDANT_MODULE_NAME><![CDATA[JSON Datasource]]></DEPENDANT_MODULE_NAME>
 <!--5B72D24032DD4879A950194139D961B6-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -91,7 +91,7 @@
 <!--8730CA6A4224439D82E0DD31B3806E36-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--8730CA6A4224439D82E0DD31B3806E36-->  <AD_MODULE_ID><![CDATA[7E48CDD73B7E493A8BED4F7253E7C989]]></AD_MODULE_ID>
 <!--8730CA6A4224439D82E0DD31B3806E36-->  <AD_DEPENDENT_MODULE_ID><![CDATA[D393BE6F22BB44B7B728259B34FC795A]]></AD_DEPENDENT_MODULE_ID>
-<!--8730CA6A4224439D82E0DD31B3806E36-->  <STARTVERSION><![CDATA[1.0.18601]]></STARTVERSION>
+<!--8730CA6A4224439D82E0DD31B3806E36-->  <STARTVERSION><![CDATA[1.0.18616]]></STARTVERSION>
 <!--8730CA6A4224439D82E0DD31B3806E36-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--8730CA6A4224439D82E0DD31B3806E36-->  <DEPENDANT_MODULE_NAME><![CDATA[HTML Widget]]></DEPENDANT_MODULE_NAME>
 <!--8730CA6A4224439D82E0DD31B3806E36-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -105,7 +105,7 @@
 <!--98C47FF058F8413B8A2B26036061446E-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--98C47FF058F8413B8A2B26036061446E-->  <AD_MODULE_ID><![CDATA[7E48CDD73B7E493A8BED4F7253E7C989]]></AD_MODULE_ID>
 <!--98C47FF058F8413B8A2B26036061446E-->  <AD_DEPENDENT_MODULE_ID><![CDATA[EC356CEE3D46416CA1EBEEB9AB82EDB9]]></AD_DEPENDENT_MODULE_ID>
-<!--98C47FF058F8413B8A2B26036061446E-->  <STARTVERSION><![CDATA[8.1.18601]]></STARTVERSION>
+<!--98C47FF058F8413B8A2B26036061446E-->  <STARTVERSION><![CDATA[8.1.18616]]></STARTVERSION>
 <!--98C47FF058F8413B8A2B26036061446E-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--98C47FF058F8413B8A2B26036061446E-->  <DEPENDANT_MODULE_NAME><![CDATA[Smartclient]]></DEPENDANT_MODULE_NAME>
 <!--98C47FF058F8413B8A2B26036061446E-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -119,7 +119,7 @@
 <!--A6D7BA917B3B4DEABD7CA1BA00B01E8A-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--A6D7BA917B3B4DEABD7CA1BA00B01E8A-->  <AD_MODULE_ID><![CDATA[7E48CDD73B7E493A8BED4F7253E7C989]]></AD_MODULE_ID>
 <!--A6D7BA917B3B4DEABD7CA1BA00B01E8A-->  <AD_DEPENDENT_MODULE_ID><![CDATA[96998CBC42744B3DBEE28AC8095C9335]]></AD_DEPENDENT_MODULE_ID>
-<!--A6D7BA917B3B4DEABD7CA1BA00B01E8A-->  <STARTVERSION><![CDATA[2.0.18601]]></STARTVERSION>
+<!--A6D7BA917B3B4DEABD7CA1BA00B01E8A-->  <STARTVERSION><![CDATA[2.0.18616]]></STARTVERSION>
 <!--A6D7BA917B3B4DEABD7CA1BA00B01E8A-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--A6D7BA917B3B4DEABD7CA1BA00B01E8A-->  <DEPENDANT_MODULE_NAME><![CDATA[2.50 to 3.00 Compatibility Skin]]></DEPENDANT_MODULE_NAME>
 <!--A6D7BA917B3B4DEABD7CA1BA00B01E8A-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -133,7 +133,7 @@
 <!--A9CB99330AF34944877F889DD8A0AB3C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--A9CB99330AF34944877F889DD8A0AB3C-->  <AD_MODULE_ID><![CDATA[7E48CDD73B7E493A8BED4F7253E7C989]]></AD_MODULE_ID>
 <!--A9CB99330AF34944877F889DD8A0AB3C-->  <AD_DEPENDENT_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_DEPENDENT_MODULE_ID>
-<!--A9CB99330AF34944877F889DD8A0AB3C-->  <STARTVERSION><![CDATA[2.1.18601]]></STARTVERSION>
+<!--A9CB99330AF34944877F889DD8A0AB3C-->  <STARTVERSION><![CDATA[2.1.18616]]></STARTVERSION>
 <!--A9CB99330AF34944877F889DD8A0AB3C-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--A9CB99330AF34944877F889DD8A0AB3C-->  <DEPENDANT_MODULE_NAME><![CDATA[User Interface Client Kernel]]></DEPENDANT_MODULE_NAME>
 <!--A9CB99330AF34944877F889DD8A0AB3C-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -147,7 +147,7 @@
 <!--E72A053A403C4A98A189C105B850ADB0-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--E72A053A403C4A98A189C105B850ADB0-->  <AD_MODULE_ID><![CDATA[7E48CDD73B7E493A8BED4F7253E7C989]]></AD_MODULE_ID>
 <!--E72A053A403C4A98A189C105B850ADB0-->  <AD_DEPENDENT_MODULE_ID><![CDATA[C70732EA90A14EC0916078B85CC33D2D]]></AD_DEPENDENT_MODULE_ID>
-<!--E72A053A403C4A98A189C105B850ADB0-->  <STARTVERSION><![CDATA[1.1.18601]]></STARTVERSION>
+<!--E72A053A403C4A98A189C105B850ADB0-->  <STARTVERSION><![CDATA[1.1.18616]]></STARTVERSION>
 <!--E72A053A403C4A98A189C105B850ADB0-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--E72A053A403C4A98A189C105B850ADB0-->  <DEPENDANT_MODULE_NAME><![CDATA[JBoss Weld]]></DEPENDANT_MODULE_NAME>
 <!--E72A053A403C4A98A189C105B850ADB0-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -161,7 +161,7 @@
 <!--F62443FC17DA4C0E84FBCA9F2E5B68C0-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--F62443FC17DA4C0E84FBCA9F2E5B68C0-->  <AD_MODULE_ID><![CDATA[7E48CDD73B7E493A8BED4F7253E7C989]]></AD_MODULE_ID>
 <!--F62443FC17DA4C0E84FBCA9F2E5B68C0-->  <AD_DEPENDENT_MODULE_ID><![CDATA[F8D1B3ECB3474E8DA5C216473C840DF1]]></AD_DEPENDENT_MODULE_ID>
-<!--F62443FC17DA4C0E84FBCA9F2E5B68C0-->  <STARTVERSION><![CDATA[2.0.18601]]></STARTVERSION>
+<!--F62443FC17DA4C0E84FBCA9F2E5B68C0-->  <STARTVERSION><![CDATA[2.0.18616]]></STARTVERSION>
 <!--F62443FC17DA4C0E84FBCA9F2E5B68C0-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--F62443FC17DA4C0E84FBCA9F2E5B68C0-->  <DEPENDANT_MODULE_NAME><![CDATA[JSON REST Webservice]]></DEPENDANT_MODULE_NAME>
 <!--F62443FC17DA4C0E84FBCA9F2E5B68C0-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- a/modules/org.openbravo.v3/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.v3/src-db/database/sourcedata/AD_MODULE.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -6,7 +6,7 @@
 <!--0138E7A89B5E4DC3932462252801FFBC-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--0138E7A89B5E4DC3932462252801FFBC-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--0138E7A89B5E4DC3932462252801FFBC-->  <NAME><![CDATA[Openbravo 3.0]]></NAME>
-<!--0138E7A89B5E4DC3932462252801FFBC-->  <VERSION><![CDATA[3.0.18601]]></VERSION>
+<!--0138E7A89B5E4DC3932462252801FFBC-->  <VERSION><![CDATA[3.0.18616]]></VERSION>
 <!--0138E7A89B5E4DC3932462252801FFBC-->  <DESCRIPTION><![CDATA[Openbravo 3.0 distribution template]]></DESCRIPTION>
 <!--0138E7A89B5E4DC3932462252801FFBC-->  <HELP><![CDATA[Openbravo 3.0 is a collection (distribution) of modules. This template is a container of all the modules and configuration changes that compose Openbravo 3.0.]]></HELP>
 <!--0138E7A89B5E4DC3932462252801FFBC-->  <URL><![CDATA[http://forge.openbravo.com/projects/vthree]]></URL>
--- a/modules/org.openbravo.v3/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/modules/org.openbravo.v3/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -7,7 +7,7 @@
 <!--4D11E3A70650475381139522373CD191-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--4D11E3A70650475381139522373CD191-->  <AD_MODULE_ID><![CDATA[0138E7A89B5E4DC3932462252801FFBC]]></AD_MODULE_ID>
 <!--4D11E3A70650475381139522373CD191-->  <AD_DEPENDENT_MODULE_ID><![CDATA[7E48CDD73B7E493A8BED4F7253E7C989]]></AD_DEPENDENT_MODULE_ID>
-<!--4D11E3A70650475381139522373CD191-->  <STARTVERSION><![CDATA[2.1.18601]]></STARTVERSION>
+<!--4D11E3A70650475381139522373CD191-->  <STARTVERSION><![CDATA[2.1.18616]]></STARTVERSION>
 <!--4D11E3A70650475381139522373CD191-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--4D11E3A70650475381139522373CD191-->  <DEPENDANT_MODULE_NAME><![CDATA[Openbravo 3.0 Framework]]></DEPENDANT_MODULE_NAME>
 <!--4D11E3A70650475381139522373CD191-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -21,7 +21,7 @@
 <!--52CE523C40634C47A99C6EBBD9C3125C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--52CE523C40634C47A99C6EBBD9C3125C-->  <AD_MODULE_ID><![CDATA[0138E7A89B5E4DC3932462252801FFBC]]></AD_MODULE_ID>
 <!--52CE523C40634C47A99C6EBBD9C3125C-->  <AD_DEPENDENT_MODULE_ID><![CDATA[2A5EE903D7974AC298C0504FBC4501A7]]></AD_DEPENDENT_MODULE_ID>
-<!--52CE523C40634C47A99C6EBBD9C3125C-->  <STARTVERSION><![CDATA[3.0.18601]]></STARTVERSION>
+<!--52CE523C40634C47A99C6EBBD9C3125C-->  <STARTVERSION><![CDATA[3.0.18616]]></STARTVERSION>
 <!--52CE523C40634C47A99C6EBBD9C3125C-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--52CE523C40634C47A99C6EBBD9C3125C-->  <DEPENDANT_MODULE_NAME><![CDATA[Payment Report]]></DEPENDANT_MODULE_NAME>
 <!--52CE523C40634C47A99C6EBBD9C3125C-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -35,7 +35,7 @@
 <!--60834727BB114764ACEF019F40A34562-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--60834727BB114764ACEF019F40A34562-->  <AD_MODULE_ID><![CDATA[0138E7A89B5E4DC3932462252801FFBC]]></AD_MODULE_ID>
 <!--60834727BB114764ACEF019F40A34562-->  <AD_DEPENDENT_MODULE_ID><![CDATA[3A3A943684D64DEF9EC39F588A656848]]></AD_DEPENDENT_MODULE_ID>
-<!--60834727BB114764ACEF019F40A34562-->  <STARTVERSION><![CDATA[1.1.18601]]></STARTVERSION>
+<!--60834727BB114764ACEF019F40A34562-->  <STARTVERSION><![CDATA[1.1.18616]]></STARTVERSION>
 <!--60834727BB114764ACEF019F40A34562-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--60834727BB114764ACEF019F40A34562-->  <DEPENDANT_MODULE_NAME><![CDATA[Orders Awaiting Delivery]]></DEPENDANT_MODULE_NAME>
 <!--60834727BB114764ACEF019F40A34562-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -49,7 +49,7 @@
 <!--8418885E97D643138B6D907671351E3D-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--8418885E97D643138B6D907671351E3D-->  <AD_MODULE_ID><![CDATA[0138E7A89B5E4DC3932462252801FFBC]]></AD_MODULE_ID>
 <!--8418885E97D643138B6D907671351E3D-->  <AD_DEPENDENT_MODULE_ID><![CDATA[883B5872CA0548F9AF2BBBE7D2DDFA61]]></AD_DEPENDENT_MODULE_ID>
-<!--8418885E97D643138B6D907671351E3D-->  <STARTVERSION><![CDATA[3.0.18601]]></STARTVERSION>
+<!--8418885E97D643138B6D907671351E3D-->  <STARTVERSION><![CDATA[3.0.18616]]></STARTVERSION>
 <!--8418885E97D643138B6D907671351E3D-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--8418885E97D643138B6D907671351E3D-->  <DEPENDANT_MODULE_NAME><![CDATA[Standard Roles]]></DEPENDANT_MODULE_NAME>
 <!--8418885E97D643138B6D907671351E3D-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -63,7 +63,7 @@
 <!--A32F3279B3374FC0A6CFEA2368BB7053-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--A32F3279B3374FC0A6CFEA2368BB7053-->  <AD_MODULE_ID><![CDATA[0138E7A89B5E4DC3932462252801FFBC]]></AD_MODULE_ID>
 <!--A32F3279B3374FC0A6CFEA2368BB7053-->  <AD_DEPENDENT_MODULE_ID><![CDATA[0]]></AD_DEPENDENT_MODULE_ID>
-<!--A32F3279B3374FC0A6CFEA2368BB7053-->  <STARTVERSION><![CDATA[3.0.18601]]></STARTVERSION>
+<!--A32F3279B3374FC0A6CFEA2368BB7053-->  <STARTVERSION><![CDATA[3.0.18616]]></STARTVERSION>
 <!--A32F3279B3374FC0A6CFEA2368BB7053-->  <ISINCLUDED><![CDATA[N]]></ISINCLUDED>
 <!--A32F3279B3374FC0A6CFEA2368BB7053-->  <DEPENDANT_MODULE_NAME><![CDATA[Core]]></DEPENDANT_MODULE_NAME>
 <!--A32F3279B3374FC0A6CFEA2368BB7053-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MINOR]]></DEPENDENCY_ENFORCEMENT>
@@ -77,7 +77,7 @@
 <!--ED06CE9F2AFD4092871D9E9494AF42DD-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--ED06CE9F2AFD4092871D9E9494AF42DD-->  <AD_MODULE_ID><![CDATA[0138E7A89B5E4DC3932462252801FFBC]]></AD_MODULE_ID>
 <!--ED06CE9F2AFD4092871D9E9494AF42DD-->  <AD_DEPENDENT_MODULE_ID><![CDATA[A918E3331C404B889D69AA9BFAFB23AC]]></AD_DEPENDENT_MODULE_ID>
-<!--ED06CE9F2AFD4092871D9E9494AF42DD-->  <STARTVERSION><![CDATA[3.0.18601]]></STARTVERSION>
+<!--ED06CE9F2AFD4092871D9E9494AF42DD-->  <STARTVERSION><![CDATA[3.0.18616]]></STARTVERSION>
 <!--ED06CE9F2AFD4092871D9E9494AF42DD-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--ED06CE9F2AFD4092871D9E9494AF42DD-->  <DEPENDANT_MODULE_NAME><![CDATA[Advanced Payables and Receivables Mngmt]]></DEPENDANT_MODULE_NAME>
 <!--ED06CE9F2AFD4092871D9E9494AF42DD-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -91,7 +91,7 @@
 <!--FF8080813189932B013189B45B59003A-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--FF8080813189932B013189B45B59003A-->  <AD_MODULE_ID><![CDATA[0138E7A89B5E4DC3932462252801FFBC]]></AD_MODULE_ID>
 <!--FF8080813189932B013189B45B59003A-->  <AD_DEPENDENT_MODULE_ID><![CDATA[FF8080813141B198013141B86DD70003]]></AD_DEPENDENT_MODULE_ID>
-<!--FF8080813189932B013189B45B59003A-->  <STARTVERSION><![CDATA[0.1.18601]]></STARTVERSION>
+<!--FF8080813189932B013189B45B59003A-->  <STARTVERSION><![CDATA[0.1.18616]]></STARTVERSION>
 <!--FF8080813189932B013189B45B59003A-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--FF8080813189932B013189B45B59003A-->  <DEPENDANT_MODULE_NAME><![CDATA[OpenID Service Integration]]></DEPENDANT_MODULE_NAME>
 <!--FF8080813189932B013189B45B59003A-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -105,7 +105,7 @@
 <!--FF8080813189932B013189B4C00F003D-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--FF8080813189932B013189B4C00F003D-->  <AD_MODULE_ID><![CDATA[0138E7A89B5E4DC3932462252801FFBC]]></AD_MODULE_ID>
 <!--FF8080813189932B013189B4C00F003D-->  <AD_DEPENDENT_MODULE_ID><![CDATA[FF8080813129ADA401312CA1222A0005]]></AD_DEPENDENT_MODULE_ID>
-<!--FF8080813189932B013189B4C00F003D-->  <STARTVERSION><![CDATA[0.1.18601]]></STARTVERSION>
+<!--FF8080813189932B013189B4C00F003D-->  <STARTVERSION><![CDATA[0.1.18616]]></STARTVERSION>
 <!--FF8080813189932B013189B4C00F003D-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--FF8080813189932B013189B4C00F003D-->  <DEPENDANT_MODULE_NAME><![CDATA[Integration with Google APIs]]></DEPENDANT_MODULE_NAME>
 <!--FF8080813189932B013189B4C00F003D-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
@@ -119,7 +119,7 @@
 <!--FF8081812E2F6F3C012E2F750109001C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--FF8081812E2F6F3C012E2F750109001C-->  <AD_MODULE_ID><![CDATA[0138E7A89B5E4DC3932462252801FFBC]]></AD_MODULE_ID>
 <!--FF8081812E2F6F3C012E2F750109001C-->  <AD_DEPENDENT_MODULE_ID><![CDATA[FF8080812D842086012D844F3CC0003E]]></AD_DEPENDENT_MODULE_ID>
-<!--FF8081812E2F6F3C012E2F750109001C-->  <STARTVERSION><![CDATA[0.0.18601]]></STARTVERSION>
+<!--FF8081812E2F6F3C012E2F750109001C-->  <STARTVERSION><![CDATA[0.0.18616]]></STARTVERSION>
 <!--FF8081812E2F6F3C012E2F750109001C-->  <ISINCLUDED><![CDATA[Y]]></ISINCLUDED>
 <!--FF8081812E2F6F3C012E2F750109001C-->  <DEPENDANT_MODULE_NAME><![CDATA[Widgets Collection]]></DEPENDANT_MODULE_NAME>
 <!--FF8081812E2F6F3C012E2F750109001C-->  <DEPENDENCY_ENFORCEMENT><![CDATA[MAJOR]]></DEPENDENCY_ENFORCEMENT>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-db/database/model/functions/C_GETINVOICESTATUSFROMSHIPMENT.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -0,0 +1,39 @@
+<?xml version="1.0"?>
+  <database name="FUNCTION C_GETINVOICESTATUSFROMSHIPMENT">
+    <function name="C_GETINVOICESTATUSFROMSHIPMENT" type="NUMERIC">
+      <parameter name="p_minoutid" type="VARCHAR" mode="in">
+        <default/>
+      </parameter>
+      <body><![CDATA[/*************************************************************************
+* The contents of this file are subject to the Openbravo  Public  License
+* Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+* Version 1.1  with a permitted attribution clause; you may not  use this
+* file except in compliance with the License. You  may  obtain  a copy of
+* the License at http://www.openbravo.com/legal/license.html
+* Software distributed under the License  is  distributed  on  an "AS IS"
+* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+* License for the specific  language  governing  rights  and  limitations
+* under the License.
+* The Original Code is Openbravo ERP.
+* The Initial Developer of the Original Code is Openbravo SLU
+* All portions are Copyright (C) 2012 Openbravo SLU
+* All Rights Reserved.
+* Contributor(s):  ______________________________________.
+************************************************************************/
+v_percent NUMBER:=0;
+BEGIN
+select case when min(a.suma) = 0 then 0 
+         else round(coalesce(sum(inv.qtyinvoiced), 0)/min(a.suma) * 100, 0) end INTO v_percent
+from m_inoutline minline 
+join c_invoiceline inv on minline.m_inoutline_id=inv.m_inoutline_id,
+ (select COALESCE(sum(g.movementqty), 0) as suma
+      from m_inoutline g where g.m_inout_id =p_minoutid) a
+where minline.m_inout_id=p_minoutid;
+If (v_percent is NULL) then
+v_percent:=0;
+END IF;
+RETURN v_percent;
+END C_GETINVOICESTATUSFROMSHIPMENT
+]]></body>
+    </function>
+  </database>
--- a/src-db/database/model/functions/C_ORDER_POST1.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/src-db/database/model/functions/C_ORDER_POST1.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -113,6 +113,7 @@
   v_line_gross_amount NUMBER;
   v_acctAmount NUMBER;
   v_reject_reason VARCHAR(32);
+  v_dummy VARCHAR2(2000);
   BEGIN
     IF (p_PInstance_ID IS NOT NULL) THEN
       --  Update AD_PInstance
@@ -192,31 +193,44 @@
     SELECT name INTO v_Org_Name FROM AD_ORG WHERE ad_org_id = v_Org_ID;
     DBMS_OUTPUT.PUT_LINE('DocAction=' || v_DocAction || ', DocStatus=' || v_DocStatus || ', DocType_ID=' || v_DocType_ID || ', DocTypeTarget_ID=' || v_DocTypeTarget_ID || ', DocSubTypeSO=' || v_DocSubTypeSO) ;
 
-		/** 
-		* Quotations
-		*/
-		IF (v_DocSubTypeSOTarget = 'OB'AND v_DocAction = 'RJ') THEN
-		  SELECT c_reject_reason_id
-		  INTO v_reject_reason
-		  FROM C_ORDER
-		  WHERE C_Order_ID=v_Record_ID;
-		  IF v_reject_reason IS NULL THEN
-		  	RAISE_APPLICATION_ERROR(-20000, '@NoRejectReason@') ;
-			END IF;
-			UPDATE C_ORDER
-        SET DocStatus='CJ',
-            DocAction='--',
-            Processed='Y',
-            Updated=now(),
-            UpdatedBy=v_User
-        WHERE C_Order_ID=v_Record_ID;
-				IF (p_PInstance_ID IS NOT NULL) THEN
-      		--  Update AD_PInstance
-      		DBMS_OUTPUT.PUT_LINE('Updating PInstance - Finished - ' || v_Message) ;
-      	 AD_UPDATE_PINSTANCE(p_PInstance_ID, NULL, 'N', v_Result, v_Message) ;
-    		END IF;
-    		RETURN;
-	  END IF;
+    /** 
+    * Quotations
+    */
+    IF (v_DocSubTypeSOTarget = 'OB'AND v_DocAction = 'RJ') THEN
+      SELECT c_reject_reason_id
+        INTO v_reject_reason
+      FROM C_ORDER
+      WHERE C_Order_ID=v_Record_ID;
+      IF (v_reject_reason IS NULL) THEN
+        RAISE_APPLICATION_ERROR(-20000, '@NoRejectReason@') ;
+      END IF;
+      UPDATE C_ORDER
+      SET DocStatus='CJ',
+          DocAction='--',
+          Processed='Y',
+          Updated=now(),
+          UpdatedBy=v_User
+      WHERE C_Order_ID=v_Record_ID;
+      IF (p_PInstance_ID IS NOT NULL) THEN
+      	--  Update AD_PInstance
+      	DBMS_OUTPUT.PUT_LINE('Updating PInstance - Finished - ' || v_Message) ;
+        AD_UPDATE_PINSTANCE(p_PInstance_ID, NULL, 'N', v_Result, v_Message) ;
+      END IF;
+      RETURN;
+    END IF;
+
+    /**
+    * Check if order has lines
+    */
+    IF (v_DocAction = 'CO') THEN
+      SELECT COUNT(*)
+        INTO v_Aux
+       FROM C_ORDERLINE
+       WHERE C_ORDER_ID = v_Record_ID;
+       IF v_Aux=0 THEN
+         RAISE_APPLICATION_ERROR(-20000, '@OrderWithoutLines@');
+       END IF;
+    END IF;
 
     /**
     * Order Closed, Voided or Reversed - No action possible
@@ -402,8 +416,24 @@
           WHERE c_orderline_id IN (select c_orderline_id
                                    from c_orderline
                                    where c_order_id = v_Record_id);
+        END;
+        /**
+        *  Manage Stock Reservations
+        */
+        SELECT COUNT(1) INTO v_count
+        FROM ad_preference
+        WHERE property = 'StockReservations';
+        IF (v_count > 1) THEN
+          v_dummy := AD_GET_PREFERENCE_VALUE('StockReservations', 'Y', v_client_id, v_org_id, NULL, NULL, NULL);
+        ELSIF (v_count = 1) THEN
+          UPDATE c_orderline
+          SET so_res_status = NULL
+          WHERE c_order_id = v_Record_id;
+          UPDATE c_order
+          SET so_res_status = NULL
+          WHERE c_order_id = v_record_id;
+        END IF;
 
-        END;
         --ADDED BY P.SAROBE but to be deprecated 26052007
         SELECT MAX(C_CASHLINE_ID)
           INTO v_CashLine_ID
@@ -1121,6 +1151,142 @@
       END IF; -- Reserve Inventory
 
      /**************************************************************************
+      * Stock Reservations management.
+      *************************************************************************/
+      SELECT COUNT(1) INTO v_count
+      FROM ad_preference
+      WHERE property = 'StockReservations';
+      IF (v_count > 0) THEN
+        IF (v_count > 1) THEN
+          v_dummy := AD_GET_PREFERENCE_VALUE('StockReservations', 'Y', v_client_id, v_org_id, NULL, NULL, NULL);
+        END IF;
+        DECLARE
+          v_reservation_id      VARCHAR2(32);
+          v_quantity            NUMBER;
+          v_reservedqty         NUMBER;
+          v_releasedqty         NUMBER;
+          v_allocated           NUMBER;
+          v_pendingtounreserve  NUMBER;
+          v_qtyaux              NUMBER;
+          v_res_status          M_RESERVATION.RES_STATUS%TYPE;
+          v_linecount           NUMBER;
+          v_creservedcount      NUMBER;
+          v_preservedcount      NUMBER;
+          
+          cur_res_stock         RECORD;
+        BEGIN
+          IF (v_issotrx = 'Y') THEN
+            FOR cur_orderline IN (
+                SELECT ol.c_orderline_id, ol.create_reservation, ol.qtyordered
+                FROM c_orderline ol
+                    JOIN m_product p ON ol.m_product_id = p.m_product_id
+                WHERE ol.c_order_id = v_record_id
+                  AND ol.qtyordered > 0
+                  AND p.isstocked = 'Y'
+                  AND p.producttype = 'I'
+            ) LOOP
+              SELECT count(*), max(m_reservation_id)
+                INTO v_aux, v_reservation_id
+              FROM m_reservation
+              WHERE c_orderline_id = cur_orderline.c_orderline_id;
+              -- Initialize so_res_status
+              UPDATE c_orderline
+              SET so_res_status = 'NR'
+              WHERE c_orderline_id = cur_orderline.c_orderline_id;
+              IF (v_aux > 1) THEN
+                RAISE_APPLICATION_ERROR(-20000, '@SOLineWithMoreThanOneOpenReservation@');
+              ELSIF (v_aux = 1) THEN
+                -- Update reservation when possible.
+                -- Read reservation.
+                SELECT r.quantity, r.reservedqty, r.releasedqty, r.res_status,
+                      COALESCE(SUM(CASE rs.isallocated WHEN 'Y' THEN rs.quantity - COALESCE(rs.releasedqty, 0) ELSE 0 END), 0)
+                  INTO v_quantity, v_reservedqty, v_releasedqty, v_res_status,
+                      v_allocated
+                FROM m_reservation r
+                    LEFT JOIN m_reservation_stock rs ON r.m_reservation_id = rs.m_reservation_id
+                WHERE r.m_reservation_id = v_reservation_id
+                GROUP BY r.quantity, r.reservedqty, r.releasedqty, r.res_status;
+                IF (v_quantity != cur_orderline.qtyordered) THEN
+                  IF (cur_orderline.qtyordered < v_allocated) THEN
+                    RAISE_APPLICATION_ERROR(-20000, '@ThereIsMoreAllocatedQtyThanOrdered@');
+                  END IF;
+                  IF (cur_orderline.qtyordered < v_releasedqty) THEN
+                    RAISE_APPLICATION_ERROR(-20000, '@CannotOrderLessThanReleasedQty@');
+                  END IF;
+                  IF (cur_orderline.qtyordered < v_reservedqty) THEN
+                    --Reservation quantity to decrease with more reserved quantity than new quantity, unreserve stock
+                    v_pendingtounreserve := v_reservedqty - cur_orderline.qtyordered;
+                    FOR cur_res_stock IN (
+                        SELECT m_reservation_stock_id, quantity - COALESCE(releasedqty, 0) AS reservedqty
+                        FROM m_reservation_stock
+                        WHERE m_reservation_id = v_reservation_id
+                        ORDER BY COALESCE(releasedqty, 0), quantity - COALESCE(releasedqty, 0)
+                    ) LOOP
+                      v_qtyaux := LEAST(v_pendingtounreserve, cur_res_stock.reservedqty);
+                      UPDATE m_reservation_stock
+                      SET quantity = quantity - v_qtyaux,
+                          updated = now(),
+                          updatedby = v_user
+                      WHERE m_reservation_stock_id = cur_res_stock.m_reservation_stock_id;
+                      v_reservedqty := v_reservedqty - v_qtyaux;
+                      v_pendingtounreserve := v_pendingtounreserve - v_qtyaux;
+                      IF (v_pendingtounreserve = 0) THEN
+                        EXIT;
+                      END IF;
+                    END LOOP;
+                    IF (v_pendingtounreserve > 0) THEN
+                      RAISE_APPLICATION_ERROR(-20000, '@CouldNotUnreserveNeededQty@');
+                    END IF;
+                    -- Delete reservation lines with quantity zero.
+                    DELETE FROM m_reservation_stock
+                    WHERE quantity = 0
+                      AND COALESCE(releasedqty, 0) = 0
+                      AND m_reservation_id = v_reservation_id;
+                  END IF;
+                  UPDATE m_reservation
+                  SET quantity = cur_orderline.qtyordered,
+                      updated = now(),
+                      updatedby = v_user
+                  WHERE m_reservation_id = v_reservation_id;
+                  IF (v_quantity < cur_orderline.qtyordered AND v_res_status = 'CO') THEN
+                    --Reservation processed with higher quantity. Try to reserve the new quantity.
+                    M_RESERVE_STOCK_AUTO(v_reservation_id, v_user, v_reservedqty);
+                  END IF;
+                END IF;
+                
+                IF (v_res_status <> 'DR') THEN
+                  -- Update so_res_status
+                  UPDATE c_orderline
+                  SET so_res_status = CASE WHEN cur_orderline.qtyordered = v_reservedqty THEN 'CR'
+                                           ELSE 'PR'
+                                      END
+                  WHERE c_orderline_id = cur_orderline.c_orderline_id;
+                END IF;
+              ELSIF (cur_orderline.create_reservation = 'CRP') THEN
+                M_CREATE_RESERVE_FROM_SOL(cur_orderline.c_orderline_id, 'Y', v_user, v_reservation_id);
+              ELSIF (cur_orderline.create_reservation = 'CR') THEN
+                M_CREATE_RESERVE_FROM_SOL(cur_orderline.c_orderline_id, 'N', v_user, v_reservation_id);
+              END IF;
+            END LOOP;
+            SELECT COUNT(*), SUM(CASE ol.so_res_status WHEN 'CR' THEN 1 ELSE 0 END), SUM(CASE ol.so_res_status WHEN 'PR' THEN 1 ELSE 0 END)
+              INTO v_linecount, v_creservedcount, v_preservedcount
+            FROM c_orderline ol
+                JOIN m_product p ON ol.m_product_id = p.m_product_id
+            WHERE ol.c_order_id = v_record_id
+              AND ol.qtyordered > 0
+              AND p.isstocked = 'Y'
+              AND p.producttype = 'I';
+            UPDATE c_order
+            SET so_res_status = CASE WHEN v_linecount = v_creservedcount THEN 'CR'
+                                     WHEN v_creservedcount + v_preservedcount > 0 THEN 'PR'
+                                     ELSE 'NR'
+                                END
+            WHERE c_order_id = v_record_id;
+          END IF;
+        END;
+      END IF;
+
+     /**************************************************************************
       * Calculate Taxes and Totals
       *************************************************************************/
       DECLARE
--- a/src-db/database/model/functions/MRP_PURCHASEPLAN.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/src-db/database/model/functions/MRP_PURCHASEPLAN.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -40,7 +40,7 @@
 * under the License.
 * The Original Code is Openbravo ERP.
 * The Initial Developer of the Original Code is Openbravo SLU
-* All portions are Copyright (C) 2001-2006 Openbravo SLU
+* All portions are Copyright (C) 2001-2012 Openbravo SLU
 * All Rights Reserved.
 * Contributor(s):  ______________________________________.
 ************************************************************************/
@@ -72,34 +72,32 @@
     v_ResultStr := 'Purchase mrp';
 
     FOR Cur_PlanProduct IN (
-        SELECT MRP_RUN_PURCHASELINE.M_PRODUCT_ID, M_PRODUCT.NAME AS PRODUCTNAME,
-          COALESCE(M_PRODUCT_PO.CAPACITY, M_PRODUCT_ORG.CAPACITY, M_PRODUCT.CAPACITY) AS CAPACITY,
-          COALESCE(M_PRODUCT_PO.DELIVERYTIME_PROMISED, M_PRODUCT_ORG.DELAYMIN, M_PRODUCT.DELAYMIN, 0) AS DELAYMIN,
-          COALESCE(M_PRODUCT_PO.QTYTYPE, M_PRODUCT_ORG.QTYTYPE, M_PRODUCT_ORG.QTYTYPE, 'E') AS qtytype,
-          COALESCE(M_PRODUCT_PO.ORDER_MIN, M_PRODUCT_ORG.QTYMIN, M_PRODUCT_ORG.QTYMIN, 0) AS qtymin,
-          COALESCE(M_PRODUCT_PO.QTYSTD, M_PRODUCT_ORG.QTYSTD, M_PRODUCT_ORG.QTYSTD, 1) AS qtystd,
-          M_PRODUCT_PO.C_BPARTNER_ID AS vendor_ID
-        FROM MRP_RUN_PURCHASELINE, M_PRODUCT_PO,
-             M_PRODUCT LEFT JOIN M_PRODUCT_ORG ON M_PRODUCT.M_PRODUCT_ID = M_PRODUCT_ORG.M_PRODUCT_ID,
-             (SELECT MAX(C_BPARTNER_ID) AS C_BPARTNER_ID, M_PRODUCT_ID
-              FROM M_PRODUCT_PO
-              WHERE ISCURRENTVENDOR = 'Y'
-                AND (p_Vendor_ID IS NULL OR M_PRODUCT_PO.C_BPARTNER_ID = p_Vendor_ID)
-                AND M_PRODUCT_PO.DISCONTINUED = 'N'
-              GROUP BY M_PRODUCT_ID) PRODUCT_PO --CASE WITH MORE THAN ONE DEFAULT VENDOR
-        WHERE MRP_RUN_PURCHASE_ID = p_Run_ID
-          AND M_PRODUCT.M_PRODUCT_ID = M_PRODUCT_PO.M_PRODUCT_ID
-          AND M_PRODUCT.M_PRODUCT_ID = MRP_RUN_PURCHASELINE.M_PRODUCT_ID
-          AND MRP_RUN_PURCHASELINE.AD_ORG_ID = M_PRODUCT_ORG.AD_ORG_ID
-          AND PRODUCT_PO.C_BPARTNER_ID = M_PRODUCT_PO.C_BPARTNER_ID
-          AND PRODUCT_PO.M_PRODUCT_ID = M_PRODUCT_PO.M_PRODUCT_ID
-          AND M_PRODUCT.ISPURCHASED = 'Y'
-      GROUP BY MRP_RUN_PURCHASELINE.M_PRODUCT_ID, M_PRODUCT.NAME, M_PRODUCT_PO.CAPACITY, M_PRODUCT_ORG.CAPACITY, M_PRODUCT.CAPACITY,
-        M_PRODUCT_PO.DELIVERYTIME_PROMISED, M_PRODUCT_ORG.DELAYMIN, M_PRODUCT.DELAYMIN,
-        M_PRODUCT_PO.QTYTYPE, M_PRODUCT_ORG.QTYTYPE, M_PRODUCT_ORG.QTYTYPE,
-        M_PRODUCT_PO.ORDER_MIN, M_PRODUCT_ORG.QTYMIN, M_PRODUCT_ORG.QTYMIN,
-        M_PRODUCT_PO.QTYSTD, M_PRODUCT_ORG.QTYSTD, M_PRODUCT_ORG.QTYSTD, M_PRODUCT_PO.C_BPARTNER_ID --CASE WITH MORE THAN ONE DEFAULT VENDOR
-      ) LOOP
+        SELECT rpl.m_product_id, p.name AS productname,
+            COALESCE(ppo.capacity, porg.capacity, p.capacity) AS capacity,
+            COALESCE(ppo.deliverytime_promised, porg.delaymin, p.delaymin, 0) AS delaymin,
+            COALESCE(ppo.qtytype, porg.qtytype, 'E') AS qtytype,
+            COALESCE(ppo.order_min, porg.qtymin,0) AS qtymin,
+            COALESCE(ppo.qtystd, porg.qtystd, 1) AS qtystd,
+            ppo.c_bpartner_id AS vendor_id
+        FROM mrp_run_purchaseline rpl
+              JOIN m_product p ON p.m_product_id = rpl.m_product_id AND p.ispurchased = 'Y'
+              JOIN m_product_org porg ON p.m_product_id = porg.m_product_id AND rpl.ad_org_id = porg.ad_org_id
+              JOIN (SELECT MAX(m_product_po_id) AS m_product_po_id, m_product_id
+                    FROM m_product_po
+                    WHERE iscurrentvendor = 'Y'
+                      AND (p_vendor_id IS NULL OR m_product_po.c_bpartner_id = p_vendor_id)
+                      AND m_product_po.discontinued = 'N'
+                    GROUP BY m_product_id
+                  ) maxppo ON maxppo.m_product_id = p.m_product_id --CASE WITH MORE THAN ONE DEFAULT VENDOR
+              LEFT JOIN m_product_po prefppo ON prefppo.discontinued = 'N' AND porg.m_product_po_id = prefppo.m_product_po_id
+              JOIN m_product_po ppo ON COALESCE(prefppo.m_product_po_id, maxppo.m_product_po_id) = ppo.m_product_po_id
+        WHERE mrp_run_purchase_id = p_run_id
+        GROUP BY rpl.m_product_id, p.name, ppo.capacity, porg.capacity, p.capacity,
+            ppo.deliverytime_promised, porg.delaymin, p.delaymin,
+            ppo.qtytype, porg.qtytype, 
+            ppo.order_min, porg.qtymin,
+            ppo.qtystd, porg.qtystd, ppo.c_bpartner_id --CASE WITH MORE THAN ONE DEFAULT VENDOR
+    ) LOOP
       v_stock := 0;
       v_neededqty_old := NULL;
       v_planneddate_old := NULL;
--- a/src-db/database/model/functions/MRP_RUN_INITIALIZE.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/src-db/database/model/functions/MRP_RUN_INITIALIZE.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -82,11 +82,12 @@
   FOR Cur_Product IN (SELECT p.m_product_id,
                       COALESCE(po.stockmin, p.stockmin, 0) AS stockmin,
                       COALESCE(po.mrp_planningmethod_id, p.mrp_planningmethod_id) AS mrp_planningmethod_id
-                      FROM m_product p LEFT JOIN m_product_org po ON p.m_product_id = po.m_product_id
-                                                                     AND po.ad_org_id = p_org_id
+                      FROM m_product p 
+                            JOIN m_product_org po ON p.m_product_id = po.m_product_id AND po.ad_org_id = p_org_id
                       WHERE (p_product_id IS NULL OR p.m_product_id = p_product_id)
                         AND (p_product_category_id IS NULL OR p.m_product_category_id = p_product_category_id)
                         AND (p_planner_id IS NULL OR COALESCE(po.mrp_planner_id, p.mrp_planner_id) = p_planner_id)
+                        AND po.mrp_planningmethod_id IS NOT NULL
                         AND AD_ISORGINCLUDED(p_org_id, p.ad_org_id, p_client_id) > -1
                         AND p.ad_client_id = p_client_id
                         AND ((p_production = 'Y' AND p.ispurchased = 'N') OR (p_production = 'N' AND p.ispurchased = 'Y'))
@@ -97,10 +98,12 @@
                                         FROM m_product_po
                                         WHERE m_product_po.m_product_id = p.m_product_id
                                           AND m_product_po.c_bpartner_id = p_vendor_id
-                                          AND m_product_po.iscurrentvendor = 'Y'
                                           AND m_product_po.isactive = 'Y'
-                                          AND m_product_po.discontinued = 'N'
-                                        )))
+                                          AND (m_product_po.iscurrentvendor = 'Y'
+                                               OR COALESCE(po.m_product_po_id, m_product_po_id) = m_product_po_id
+                                              )
+                                          AND m_product_po.discontinued = 'N')
+                             ))
                         AND (p_bpartner_id IS NULL
                              OR EXISTS (SELECT 1
                                         FROM c_order o, c_orderline ol
@@ -213,14 +216,9 @@
       END IF;
     END; -- End Call M_GET_STOCK
 
-    SELECT COALESCE(SUM(quantity),0) INTO v_QtyOnHand
+    SELECT COALESCE(SUM(sp.quantity),0) INTO v_QtyOnHand
     FROM m_stock_proposed sp
-        JOIN m_storage_detail sd ON sp.m_storage_detail_id = sd.m_storage_detail_id
-        JOIN m_locator l ON sd.m_locator_id = l.m_locator_id
-        JOIN m_warehouse w ON l.m_warehouse_id = w.m_warehouse_id
-    WHERE ad_pinstance_id = v_ad_pinstance_id
-      -- Only stock of warehouses in p_org_id and its childs.
-      AND AD_ISORGINCLUDED(w.ad_org_id, p_org_id, w.ad_client_id) <> -1;
+    WHERE sp.aD_pinstance_id = v_ad_pinstance_id;
 
     v_ResultStr := 'Inserting stock lines product: ' || Cur_Product.M_Product_ID;
     MRP_RUN_INSERTLINES(p_client_id, p_org_id, p_user_id, p_run, cur_product.m_product_id, (-1 * cur_product.stockmin), 0, NULL, 'MS', 'Y', NULL, NULL, NULL, NULL, NULL, p_planningdate, NULL, p_production, (CASE WHEN cur_product.stockmin > 0 THEN 'N' ELSE 'Y' END), NULL, v_aux_id);
@@ -231,7 +229,7 @@
         SELECT MRP_CHECK_PLANNINGMETHOD(cur_product.mrp_planningmethod_id,
                                         (CASE o.issotrx WHEN 'Y' THEN 'SO' ELSE 'PO' END),
                                         TO_NUMBER(COALESCE(ol.datepromised, ol.dateordered, o.dateordered) - p_planningdate), p_timehorizon) AS weighting,
-              (ol.qtyordered - COALESCE(ol.qtydelivered, 0) - COALESCE(matchpo.qty,0)) AS qty,
+              (ol.qtyordered - COALESCE(ol.qtydelivered, 0) - COALESCE(matchpo.qty,0) - COALESCE(preres.reservedqty, 0) - (COALESCE(res.reservedqty,0) - COALESCE(res.releasedqty, 0))) AS qty,
               ol.c_orderline_id, GREATEST(COALESCE(ol.datepromised, ol.dateordered, o.dateordered), p_planningdate) AS planningdate,
               COALESCE(ol.dateordered, o.dateordered) AS dateordered,
               o.issotrx
@@ -242,12 +240,25 @@
                         WHERE m_inoutline_id IS NOT NULL
                         GROUP BY c_orderline_id) matchpo ON ol.c_orderline_id = matchpo.c_orderline_id
               JOIN m_warehouse w ON ol.m_warehouse_id = w.m_warehouse_id
+              -- Sales order reservation
+              LEFT JOIN m_reservation res ON res.c_orderline_id = ol.c_orderline_id AND res.res_status NOT IN ('CL', 'DR')
+              -- Prereserved purchase orders
+              LEFT JOIN (
+                  SELECT rs.c_orderline_id, SUM(rs.quantity - COALESCE(rs.releasedqty, 0)) AS reservedqty
+                  FROM m_reservation r
+                      JOIN m_reservation_stock rs ON r.m_reservation_id = rs.m_reservation_id
+                  WHERE rs.c_orderline_id IS NOT NULL
+                    AND r.res_status NOT IN ('CL', 'DR')
+                  GROUP BY rs.c_orderline_id 
+              ) preres ON preres.c_orderline_id = ol.c_orderline_id
          WHERE o.processed = 'Y'
            AND ol.qtyordered <> (COALESCE(ol.qtydelivered,0) + COALESCE(matchpo.qty,0))
            AND ol.m_product_id = cur_product.m_product_id
            AND MRP_CHECK_PLANNINGMETHOD(cur_product.mrp_planningmethod_id,
                                        (CASE o.issotrx WHEN 'Y' THEN 'SO' ELSE 'PO' END),
                                        to_number(COALESCE(ol.datepromised, ol.dateordered, o.dateordered) - p_planningdate), p_timehorizon) <> -1
+           AND ((o.issotrx = 'N' AND ol.qtyordered - COALESCE(matchpo.qty,0) > COALESCE(preres.reservedqty, 0))
+               OR (o.issotrx = 'Y' AND ol.qtyordered - COALESCE(ol.qtydelivered, 0) > COALESCE(res.reservedqty,0) - COALESCE(res.releasedqty, 0)))
            AND AD_ISORGINCLUDED(o.ad_org_id, p_org_id, p_client_id) > -1
            -- Only orders of warehouses in p_org_id and its childs
            AND AD_ISORGINCLUDED(w.ad_org_id, p_org_id, p_client_id) > -1
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-db/database/model/functions/M_CREATE_RESERVE_FROM_SOL.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -0,0 +1,108 @@
+<?xml version="1.0"?>
+  <database name="FUNCTION M_CREATE_RESERVE_FROM_SOL">
+    <function name="M_CREATE_RESERVE_FROM_SOL" type="NULL">
+      <parameter name="p_orderline_id" type="VARCHAR" mode="in">
+        <default/>
+      </parameter>
+      <parameter name="p_process_reserve" type="CHAR" mode="in">
+        <default/>
+      </parameter>
+      <parameter name="p_user_id" type="VARCHAR" mode="in">
+        <default/>
+      </parameter>
+      <parameter name="p_reservation_id" type="VARCHAR" mode="out">
+        <default/>
+      </parameter>
+      <body><![CDATA[/*************************************************************************
+* The contents of this file are subject to the Openbravo  Public  License
+* Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+* Version 1.1  with a permitted attribution clause; you may not  use this
+* file except in compliance with the License. You  may  obtain  a copy of
+* the License at http://www.openbravo.com/legal/license.html
+* Software distributed under the License  is  distributed  on  an "AS IS"
+* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+* License for the specific  language  governing  rights  and  limitations
+* under the License.
+* The Original Code is Openbravo ERP.
+* The Initial Developer of the Original Code is Openbravo SLU
+* All portions are Copyright (C) 2012 Openbravo SLU
+* All Rights Reserved.
+* Contributor(s):  ______________________________________.
+************************************************************************/
+/*************
+* Procedure to create reservations for the given Sales Order Line.
+**************/
+  v_product_id        VARCHAR2(32);
+  v_uom_id            VARCHAR2(32);
+  v_client_id         VARCHAR2(32);
+  v_org_id            VARCHAR2(32);
+  v_qtyordered        NUMBER;
+  v_qtydelivered      NUMBER;
+  v_issotrx           CHAR(1);
+  v_reservation_id    VARCHAR2(32) := get_uuid();
+  v_attributesetinstance_id VARCHAR2(32);
+  v_res_stock_id      VARCHAR2(32);
+  
+  TYPE RECORD IS REF CURSOR;
+  cur_shipments       RECORD;
+
+BEGIN
+  SELECT ol.m_product_id, ol.c_uom_id, ol.qtyordered, ol.qtydelivered, o.issotrx,
+         ol.ad_client_id, ol.ad_org_id, ol.m_attributesetinstance_id
+    INTO v_product_id, v_uom_id, v_qtyordered, v_qtydelivered, v_issotrx,
+         v_client_id, v_org_id, v_attributesetinstance_id
+  FROM c_orderline ol JOIN c_order o ON ol.c_order_id = o.c_order_id
+  WHERE ol.c_orderline_id = p_orderline_id;
+
+  IF (v_issotrx = 'N') THEN
+    RAISE_APPLICATION_ERROR(-20000,'@cannotReservePurchaseOrder@');
+  END IF;
+  IF (v_qtyordered < 0) THEN
+    RAISE_APPLICATION_ERROR(-20000,'@cannotReserveNegativeOrders@');
+  END IF;
+  IF (v_qtyordered - v_qtydelivered <= 0) THEN
+    RAISE_APPLICATION_ERROR(-20000,'@cannotReserveDeliveredSalesOrderLine@');
+  END IF;
+
+  INSERT INTO m_reservation(
+    m_reservation_id, ad_client_id, ad_org_id, isactive,
+    created, createdby, updated, updatedby,
+    c_orderline_id,
+    m_product_id, c_uom_id, quantity, reservedqty, releasedqty,
+    res_status, res_process, m_attributesetinstance_id
+  ) VALUES (
+    v_reservation_id, v_client_id, v_org_id, 'Y',
+    now(), p_user_id, now(), p_user_id,
+    p_orderline_id,
+    v_product_id, v_uom_id, v_qtyordered, 0, v_qtydelivered,
+    'DR', 'CO', v_attributesetinstance_id
+  );
+  
+  FOR cur_shipments IN (
+      SELECT sd.m_storage_detail_id, iol.movementqty
+      FROM m_inoutline iol
+        JOIN m_inout io ON iol.m_inout_id = io.m_inout_id
+        JOIN m_storage_detail sd ON sd.m_product_id = iol.m_product_id
+                                    AND sd.c_uom_id = iol.c_uom_id
+                                    AND sd.m_product_uom_id IS NULL
+                                    AND sd.m_locator_id = iol.m_locator_id
+                                    AND COALESCE(sd.m_attributesetinstance_id, '0') = COALESCE(iol.m_attributesetinstance_id, '0')
+      WHERE iol.c_orderline_id = p_orderline_id
+        AND io.docstatus = 'CO'
+  ) LOOP
+    M_RESERVE_STOCK_MANUAL(v_reservation_id, 'SD', cur_shipments.m_storage_detail_id, cur_shipments.movementqty, p_user_id, v_res_stock_id);
+    UPDATE m_reservation_stock
+    SET releasedqty = COALESCE(releasedqty, 0) + cur_shipments.movementqty
+    WHERE m_reservation_stock_id = v_res_stock_id;
+  END LOOP;
+
+  IF (p_process_reserve = 'Y') THEN
+    M_RESERVATION_POST(null, v_reservation_id, 'PR', p_user_id);
+  END IF;
+
+  p_reservation_id := v_reservation_id;
+RETURN;
+END M_CREATE_RESERVE_FROM_SOL
+]]></body>
+    </function>
+  </database>
--- a/src-db/database/model/functions/M_GET_STOCK.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/src-db/database/model/functions/M_GET_STOCK.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -35,6 +35,7 @@
   Cur_Stock RECORD;
   Cur_MStock RECORD;
   cur_warehouse RECORD;
+  cur_allocated RECORD;
 
   -- Parameter Variables
   v_Quantity NUMBER(10);
@@ -54,6 +55,7 @@
   v_LineNo NUMBER;
   v_Count NUMBER:=1;
   v_ProcessID VARCHAR2(32) ;
+  v_Reservation_ID VARCHAR2(32);
   
 BEGIN
   --  Update AD_PInstance
@@ -119,12 +121,47 @@
     ELSIF (Cur_Parameter.ParameterName = 'ProcessID') THEN
       v_ProcessID:=Cur_Parameter.P_String;
       DBMS_OUTPUT.PUT_LINE(' ProcessID=' || v_ProcessID);
+    ELSIF (Cur_Parameter.ParameterName = 'M_Reservation_ID') THEN
+      v_reservation_id:=Cur_Parameter.P_String;
+      DBMS_OUTPUT.PUT_LINE(' M_Reservation_ID=' || v_reservation_id);
     ELSE
       DBMS_OUTPUT.PUT_LINE('*** Unknown Parameter=' || Cur_Parameter.ParameterName) ;
     END IF;
   END LOOP; -- Get Parameter
   DBMS_OUTPUT.PUT_LINE('  Record_ID=' || v_Record_ID) ;
 
+  IF (v_reservation_id IS NOT NULL) THEN
+    -- If a reservation is given first consume allocated stock.
+    FOR cur_allocated IN (
+        SELECT rs.quantity, rs.releasedqty, sd.m_storage_detail_id
+        FROM m_reservation_stock rs
+            JOIN m_reservation r ON rs.m_reservation_id = r.m_reservation_id
+            JOIN m_storage_detail sd ON sd.m_product_id = r.m_product_id
+                                        AND sd.c_uom_id = r.c_uom_id
+                                        AND sd.m_product_uom_id IS NULL
+                                        AND sd.m_locator_id = rs.m_locator_id
+                                        AND COALESCE(sd.m_attributesetinstance_id, '0') = COALESCE(rs.m_attributesetinstance_id, '0')
+        WHERE r.m_reservation_id = v_reservation_id
+          AND rs.isallocated = 'Y'
+          AND rs.quantity > 0
+          AND rs.quantity <> COALESCE(rs.releasedqty, 0)
+          AND rs.m_locator_id IS NOT NULL
+    ) LOOP
+      INSERT INTO m_stock_proposed (
+          m_stock_proposed_id, ad_client_id, ad_org_id, isactive, 
+          created , createdby, updated, updatedby,
+          ad_pinstance_id, priority, m_storage_detail_id, quantity, qtyorder,
+          isfinal
+      ) VALUES (
+          get_uuid(), v_ClientID, v_OrgID, 'Y',
+          now(), v_AD_User_ID, now(), v_AD_User_ID,
+          pinstance_id, v_Count, cur_allocated.m_storage_detail_id, cur_allocated.quantity - COALESCE(cur_allocated.releasedqty, 0), null,
+          'Y'
+      );
+      v_Count:=v_Count+1;
+    END LOOP;
+  END IF;
+
   -- Insert Values from Auxiliar STOCK
   FOR Cur_Stock IN (
       SELECT ms.m_storage_detail_id, COALESCE(ms.quantity, 0) AS qty, ms.qtyorder AS qtyorder, ms.UPDATED AS lastupdated
@@ -165,7 +202,8 @@
 
   -- Insert Values from Storage Detail
   FOR Cur_Stock  IN (
-      SELECT t.m_storage_detail_id, COALESCE(t.qtyonhand, 0) AS qty, t.qtyorderonhand AS qtyorder, l.priorityno, t.UPDATED AS lastupdated
+      SELECT t.m_storage_detail_id, COALESCE(t.qtyonhand - COALESCE(res.reservedqty, 0), 0) AS qty, t.qtyorderonhand AS qtyorder, l.priorityno, t.UPDATED AS lastupdated,
+      t.qtyonhand, COALESCE(res.reservedqty, 0) as reservedqty
       FROM m_storage_detail t 
           JOIN m_locator l ON t.m_locator_id=l.m_locator_id
           JOIN m_warehouse w ON l.m_warehouse_id = w.m_warehouse_id
@@ -173,6 +211,25 @@
           LEFT JOIN m_attributesetinstance asi ON t.m_attributesetinstance_id = asi.m_attributesetinstance_id
           LEFT JOIN m_product_uom pu ON t.m_product_uom_id = pu.m_product_uom_id
           LEFT JOIN c_uom u ON pu.c_uom_id = u.c_uom_id
+          LEFT JOIN m_reservation r ON r.m_reservation_id = v_reservation_id AND r.m_product_id = t.m_product_id AND r.c_uom_id = t.c_uom_id
+          LEFT JOIN (
+              SELECT r.m_product_id, r.c_uom_id, rs.m_locator_id, COALESCE(rs.m_attributesetinstance_id, '0') as m_attributesetinstance_id,
+                  SUM(rs.quantity - COALESCE(rs.releasedqty, 0)) AS reservedqty
+              FROM m_reservation r
+                  JOIN m_reservation_stock rs ON r.m_reservation_id = rs.m_reservation_id
+              WHERE r.m_product_id = v_productid
+                AND r.c_uom_id = COALESCE(v_uomid, r.c_uom_id)
+                AND rs.m_locator_id IS NOT NULL
+                AND rs.m_locator_id = COALESCE(v_locatorid, rs.m_locator_id)
+                AND COALESCE(rs.m_attributesetinstance_id, '0') = COALESCE(v_attributesetinstanceid, rs.m_attributesetinstance_id, '0')
+                AND r.res_status NOT IN ('CL', 'DR')
+                AND ((v_reservation_id IS NOT NULL AND rs.isallocated = 'Y')
+                    OR v_reservation_id IS NULL)
+              GROUP BY r.m_product_id, r.c_uom_id, rs.m_locator_id, COALESCE(rs.m_attributesetinstance_id, '0')
+            ) res ON t.m_product_id = res.m_product_id
+                      AND t.c_uom_id = res.c_uom_id
+                      AND COALESCE(t.m_attributesetinstance_id, '0') = res.m_attributesetinstance_id
+                      AND t.m_locator_id = res.m_locator_id
       WHERE t.m_product_id=v_productid
         AND COALESCE(t.c_uom_id, '-1') = COALESCE(v_uomid, t.c_uom_id, '-1')
         AND COALESCE(t.m_product_uom_id, '-1') = COALESCE(v_productuomid, t.m_product_uom_id, '-1')
@@ -181,20 +238,26 @@
         AND COALESCE(w.m_warehouse_id, '-1') = COALESCE(v_warehouseid, w.m_warehouse_id, '-1')
         AND ow.ad_org_id = v_orgid
         AND COALESCE(t.qtyonhand, 0)>0
+        AND t.qtyonhand - COALESCE(res.reservedqty, 0) > 0
+        AND w.m_warehouse_id = COALESCE(r.m_warehouse_id, w.m_warehouse_id)
+        AND l.m_locator_id = COALESCE(r.m_locator_id, l.m_locator_id)
+        AND asi.m_attributesetinstance_id = COALESCE(r.m_attributesetinstance_id, asi.m_attributesetinstance_id)
       ORDER BY CASE w.m_warehouse_id WHEN COALESCE(v_PriorityWarehouseID, '-1') THEN 0 ELSE 1 END, ow.priority, l.priorityno, asi.created, t.created
   ) LOOP
-    INSERT INTO m_stock_proposed (
-        m_stock_proposed_id, ad_client_id, ad_org_id, isactive, 
-        created , createdby, updated, updatedby,
-        ad_pinstance_id, priority, m_storage_detail_id, quantity, qtyorder,
-        isfinal
-    ) VALUES (
-        get_uuid(), v_ClientID, v_OrgID, 'Y',
-        now(), v_AD_User_ID, now(), v_AD_User_ID,
-        pinstance_id, v_Count, Cur_Stock.M_STORAGE_DETAIL_ID, Cur_Stock.Qty, Cur_Stock.QtyOrder,
-        'Y'
-    );
-    v_Count:=v_Count+1;
+    IF (cur_stock.qtyonhand > cur_stock.reservedqty) THEN
+      INSERT INTO m_stock_proposed (
+          m_stock_proposed_id, ad_client_id, ad_org_id, isactive, 
+          created , createdby, updated, updatedby,
+          ad_pinstance_id, priority, m_storage_detail_id, quantity, qtyorder,
+          isfinal
+      ) VALUES (
+          get_uuid(), v_ClientID, v_OrgID, 'Y',
+          now(), v_AD_User_ID, now(), v_AD_User_ID,
+          pinstance_id, v_Count, Cur_Stock.M_STORAGE_DETAIL_ID, Cur_Stock.Qty, Cur_Stock.QtyOrder,
+          'Y'
+      );
+      v_Count:=v_Count+1;
+    END IF;
   END LOOP;
 
   --M_Get_Stock - Finish Process Extension Point
--- a/src-db/database/model/functions/M_INOUT_CREATE.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/src-db/database/model/functions/M_INOUT_CREATE.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -60,7 +60,6 @@
   v_ResultStr VARCHAR2(2000):='';
   v_result NUMBER(1):=1;
   v_PostResult NUMBER;
-  v_stdPrecision NUMBER:=2;
   v_logLines NUMBER:=0;
   v_isWholeLog BOOLEAN := true;
   v_Message VARCHAR2(2000):='';
@@ -355,8 +354,7 @@
             --MODIFIED BY F.IRIAZABAL
             v_QtyOrder:=0;
             IF (ol.M_Product_UOM_ID IS NOT NULL) THEN
-              SELECT M_PRODUCT_UOM.C_UOM_ID, C_UOM.stdprecision
-                INTO v_ProductUOM, v_stdPrecision
+              SELECT M_PRODUCT_UOM.C_UOM_ID INTO v_ProductUOM
               FROM M_PRODUCT_UOM, C_UOM
               WHERE M_PRODUCT_UOM.C_UOM_ID=C_UOM.C_UOM_ID
                 AND M_Product_UOM_ID=ol.M_Product_UOM_ID;
@@ -405,6 +403,7 @@
                   v_pinstance_result AD_PInstance.result%TYPE;
                   v_pinstance_msg AD_PInstance.errormsg%TYPE;
                   v_warehouse_rule_id VARCHAR2(32);
+                  v_reservation_id VARCHAR2(32);
                 BEGIN
                   v_pinstance_id := get_uuid();
                   INSERT INTO ad_pinstance (
@@ -432,6 +431,21 @@
                   WHERE c_orderline_id = ol.c_orderline_id;
                   AD_PINSTANCE_PARA_INSERT(v_pinstance_id, '100', 'M_Warehouse_Rule_ID', v_warehouse_rule_id, null, null, null, null, null);
 
+                  SELECT count(*) INTO v_count
+                  FROM m_reservation
+                  WHERE res_status != 'CL'
+                    AND c_orderline_id = ol.c_orderline_id;
+                  IF (v_count > 0) THEN
+                    IF (v_count > 1) THEN
+                      RAISE_APPLICATION_ERROR(-20000, '@SOLineWithMoreThanOneOpenReservation@');
+                    END IF;
+                    SELECT MAX(m_reservation_id) INTO v_reservation_id
+                    FROM m_reservation
+                    WHERE res_status != 'CL'
+                      AND c_orderline_id = ol.c_orderline_id;
+                    AD_PINSTANCE_PARA_INSERT(v_pinstance_id, '110', 'M_Reservation_ID', v_reservation_id, null, null, null, null, null);
+                  END IF;
+
                   M_GET_STOCK(v_pinstance_ID, 'N');
                   -- Check result
                   SELECT result, errormsg
--- a/src-db/database/model/functions/M_INOUT_POST.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/src-db/database/model/functions/M_INOUT_POST.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -45,6 +45,7 @@
   -- Logistice
   v_ResultStr VARCHAR2(2000):='';
   v_Message VARCHAR2(2000):='';
+  v_Message_aux VARCHAR2(2000):='';
   v_Record_ID VARCHAR2(32);
   v_User VARCHAR2(32);
   v_PUser VARCHAR2(32);
@@ -92,6 +93,7 @@
     FINISH_PROCESS BOOLEAN:=false;
     v_Aux NUMBER;
     v_ProductName M_Product.name%TYPE;
+    v_reservation_id    VARCHAR2(32);
   BEGIN
     IF(p_PInstance_ID IS NOT NULL) THEN
       --  Update AD_PInstance
@@ -335,6 +337,109 @@
               AND ProductType='I';
             -- Create Transaction for stocked product
             IF(Cur_InOutLine.M_Product_ID IS NOT NULL AND v_IsStocked=1 AND Cur_InOutLine.IsDescription <> 'Y') THEN
+              IF (cur_inout.issotrx = 'Y' AND cur_inoutline.c_orderline_id IS NOT NULL AND v_qty < 0 AND cur_inoutline.canceled_inoutline_id IS NULL) THEN
+                -- Manage reservations.
+                SELECT count(*), max(m_reservation_id)
+                  INTO v_aux, v_reservation_id
+                FROM m_reservation
+                WHERE c_orderline_id = cur_inoutline.c_orderline_id;
+                IF (v_aux > 1) THEN
+                  RAISE_APPLICATION_ERROR(-20000, '@SOLineWithMoreThanOneOpenReservation@');
+                ELSIF (v_aux = 1) THEN
+                  M_RESERVATION_CONSUMPTION(v_reservation_id, cur_inoutline.m_locator_id, cur_inoutline.m_attributesetinstance_id, cur_inoutline.movementqty, v_user, v_result, v_message);
+                END IF;
+              ELSIF (cur_inout.issotrx = 'Y' AND cur_inoutline.c_orderline_id IS NOT NULL AND v_qty > 0 AND cur_inoutline.canceled_inoutline_id IS NOT NULL) THEN
+                -- Undo reservation
+                DECLARE
+                  cur_released_stock RECORD;
+                  v_qtyaux NUMBER;
+                  v_undoqty NUMBER;
+                BEGIN
+                  SELECT count(*), max(m_reservation_id)
+                    INTO v_aux, v_reservation_id
+                  FROM m_reservation
+                  WHERE c_orderline_id = cur_inoutline.c_orderline_id;
+                  IF (v_aux > 1) THEN
+                    RAISE_APPLICATION_ERROR(-20000, '@SOLineWithMoreThanOneOpenReservation@');
+                  ELSIF (v_aux = 1) THEN
+                    v_qtyaux := v_qty;
+                    FOR cur_released_stock IN (
+                        SELECT m_reservation_stock_id, quantity, releasedqty
+                        FROM m_reservation_stock
+                        WHERE m_locator_id = cur_inoutline.m_locator_id
+                          AND COALESCE(m_attributesetinstance_id, '0') = COALESCE(cur_inoutline.m_attributesetinstance_id, '0')
+                          AND m_reservation_id = v_reservation_id
+                          AND COALESCE(releasedqty, 0) > 0
+                        ORDER BY CASE isallocated WHEN 'N' THEN 0 ELSE 1 END
+                    ) LOOP
+                      v_undoqty := LEAST(v_qtyaux, cur_released_stock.releasedqty);
+                      UPDATE m_reservation_stock
+                      SET releasedqty = releasedqty - v_undoqty
+                      WHERE m_reservation_stock_id = cur_released_stock.m_reservation_stock_id;
+                      v_qtyaux := v_qtyaux - v_undoqty;
+                    END LOOP;
+                  END IF;
+                END;
+              ELSIF (cur_inout.issotrx = 'N') THEN
+                -- Manage pre-reserves
+                DECLARE
+                  cur_reserve_stock RECORD;
+                  v_pendingqty NUMBER;
+                  v_qtyaux NUMBER;
+                  v_res_stock_id VARCHAR2(32);
+                BEGIN
+                  v_pendingqty := v_qty;
+                  FOR cur_reserve_stock IN (
+                      SELECT rs.*
+                      FROM m_reservation_stock rs JOIN m_reservation r ON rs.m_reservation_id = r.m_reservation_id
+                      WHERE rs.c_orderline_id = cur_inoutline.c_orderline_id
+                        AND rs.quantity <> COALESCE(rs.releasedqty, 0)
+                        AND rs.m_locator_id IS NULL
+                        AND r.res_status != 'CL'
+                  ) LOOP
+                    v_qtyaux := LEAST(cur_reserve_stock.quantity - COALESCE(cur_reserve_stock.releasedqty, 0), v_pendingqty);
+                    -- Check if exists a reserved stock for the same orderline, attributes and locator in the reservation
+                    SELECT count(*), max(m_reservation_stock_id) INTO v_aux, v_res_stock_id
+                    FROM m_reservation_stock
+                      WHERE c_orderline_id = cur_inoutline.c_orderline_id
+                        AND m_locator_id = cur_inoutline.m_locator_id
+                        AND m_reservation_id = cur_reserve_stock.m_reservation_id
+                        AND isallocated = 'Y'
+                        AND COALESCE(m_attributesetinstance_id, '0') = COALESCE(Cur_InOutLine.M_AttributeSetInstance_ID, '0');
+                    -- UPDATE EXISTING PRERESERVED STOCK TO DECREASE RESERVED QTY
+                    UPDATE m_reservation_stock
+                    SET quantity = quantity - v_qtyaux
+                    WHERE m_reservation_stock_id = cur_reserve_stock.m_reservation_stock_id;
+                    -- INSERT OR UPDATE RESERVED STOCK BY SAME QUANTITY
+                    IF (v_aux > 0) THEN
+                      UPDATE m_reservation_stock
+                      SET quantity = quantity + v_qtyaux
+                      WHERE m_reservation_stock_id = v_res_stock_id;
+                    ELSE
+                      INSERT INTO m_reservation_stock(
+                        m_reservation_stock_id, ad_client_id, ad_org_id, isactive,
+                        created, createdby, updated, updatedby,
+                        m_reservation_id, m_attributesetinstance_id, m_locator_id, c_orderline_id,
+                        quantity, releasedqty, isallocated
+                      ) VALUES (
+                        get_uuid(), cur_reserve_stock.ad_client_id, cur_reserve_stock.ad_org_id, 'Y',
+                        now(), v_user, now(), v_user,
+                        cur_reserve_stock.m_reservation_id, cur_inoutline.m_attributesetinstance_id, cur_inoutline.m_locator_id, cur_inoutline.c_orderline_id,
+                        v_qtyaux, 0, 'Y'
+                      );
+                    END IF;
+                    v_pendingqty := v_pendingqty - v_qtyaux;
+                    IF (v_pendingqty <= 0) THEN
+                      EXIT;
+                    END IF;
+                  END LOOP;
+                  DELETE FROM m_reservation_stock
+                  WHERE c_orderline_id = cur_inoutline.c_orderline_id
+                    AND quantity = 0
+                    AND COALESCE(releasedqty, 0) = 0;
+                END;
+              END IF;
+              
               v_ResultStr:='CreateTransaction';
               Ad_Sequence_Next('M_Transaction', Cur_InOutLine.AD_Org_ID, v_NextNo) ;
               INSERT
@@ -487,7 +592,7 @@
             END;
           ELSE
             v_ResultStr:='Check delivery rule for sales orders';
-            v_Message:='';
+            v_Message_aux:='';
             v_orderid_old:='0';
             FOR Cur_Order IN 
               (SELECT c_order.deliveryrule, m_inoutline.line, c_order.c_order_id,
@@ -505,20 +610,20 @@
                ORDER BY c_order.c_order_id, c_orderline.line) LOOP
               --Order lines not completely delivered with delivery rule O or L
               IF (v_orderid_old <> cur_order.c_order_id OR cur_order.deliveryrule <> 'O' ) THEN
-                v_Message := COALESCE(v_Message,'') || '@Shipment@' || ' ' || cur_inout.documentno;
-                v_Message := v_Message || ' ' || '@line@' || ' ' || cur_order.line || ': ';
-                v_Message := v_Message || '@SalesOrderDocumentno@' || cur_order.documentno;
+                v_Message_aux := COALESCE(v_Message_aux,'') || '@Shipment@' || ' ' || cur_inout.documentno;
+                v_Message_aux := v_Message_aux || ' ' || '@line@' || ' ' || cur_order.line || ': ';
+                v_Message_aux := v_Message_aux || '@SalesOrderDocumentno@' || cur_order.documentno;
                 IF (cur_order.deliveryrule = 'O') THEN
-                  v_Message := v_Message || ' ' || '@notCompleteDeliveryRuleOrder@' || '<br>';
+                  v_Message_aux := v_Message_aux || ' ' || '@notCompleteDeliveryRuleOrder@' || '<br>';
                 ELSE
-                  v_Message := v_Message || ' ' || '@line@' || ' ' || cur_order.orderline;
-                  v_Message := v_Message || ' ' || '@notCompleteDeliveryRuleLine@' || '<br>';
+                  v_Message_aux := v_Message_aux || ' ' || '@line@' || ' ' || cur_order.orderline;
+                  v_Message_aux := v_Message_aux || ' ' || '@notCompleteDeliveryRuleLine@' || '<br>';
                 END IF;
               END IF;
               v_orderid_old := cur_order.c_order_id;
             END LOOP;
-            IF (v_Message IS NOT NULL AND v_Message <> '') THEN
-              RAISE_APPLICATION_ERROR(-20000, v_message);
+            IF (v_Message_aux IS NOT NULL AND v_Message_aux <> '') THEN
+              RAISE_APPLICATION_ERROR(-20000, v_Message_aux);
             END IF;
           END IF;
           -- Close Shipment
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-db/database/model/functions/M_RESERVATION_CONSUMPTION.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -0,0 +1,343 @@
+<?xml version="1.0"?>
+  <database name="FUNCTION M_RESERVATION_CONSUMPTION">
+    <function name="M_RESERVATION_CONSUMPTION" type="NULL">
+      <parameter name="p_reservation_id" type="VARCHAR" mode="in">
+        <default/>
+      </parameter>
+      <parameter name="p_locator_id" type="VARCHAR" mode="in">
+        <default/>
+      </parameter>
+      <parameter name="p_attributesetinstance_id" type="VARCHAR" mode="in">
+        <default/>
+      </parameter>
+      <parameter name="p_qty" type="NUMERIC" mode="in">
+        <default/>
+      </parameter>
+      <parameter name="p_user_id" type="VARCHAR" mode="in">
+        <default/>
+      </parameter>
+      <parameter name="p_result" type="NUMERIC" mode="out">
+        <default/>
+      </parameter>
+      <parameter name="p_message" type="VARCHAR" mode="out">
+        <default/>
+      </parameter>
+      <body><![CDATA[/*************************************************************************
+* The contents of this file are subject to the Openbravo  Public  License
+* Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+* Version 1.1  with a permitted attribution clause; you may not  use this
+* file except in compliance with the License. You  may  obtain  a copy of
+* the License at http://www.openbravo.com/legal/license.html
+* Software distributed under the License  is  distributed  on  an "AS IS"
+* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+* License for the specific  language  governing  rights  and  limitations
+* under the License.
+* The Original Code is Openbravo ERP.
+* The Initial Developer of the Original Code is Openbravo SLU
+* All portions are Copyright (C) 2012 Openbravo SLU
+* All Rights Reserved.
+* Contributor(s):  ______________________________________.
+************************************************************************/
+
+  v_ResultStr VARCHAR2(2000):='';
+  v_pendingtorelease    NUMBER;
+  v_warehouse_id        VARCHAR2(32);
+  v_product_id          VARCHAR2(32);
+  v_uom_id              VARCHAR2(32);
+  v_res_stock_id        VARCHAR2(32);
+  v_storage_detail_id   VARCHAR2(32);
+  v_dim_warehouse_id    VARCHAR2(32);
+  v_dim_locator_id      VARCHAR2(32);
+  v_dim_asi_id          VARCHAR2(32);
+  v_res_status          M_RESERVATION.RES_STATUS%TYPE;
+  v_this_notreserved    NUMBER;
+  v_this_reservedqty    NUMBER;
+  v_this_releasedqty    NUMBER;
+  v_this_allocated      NUMBER;
+  v_this_noalloc        NUMBER;
+  v_this_sd_alloc       NUMBER;
+  v_this_sd_noalloc     NUMBER;
+  v_stock_onhand        NUMBER;
+  v_stock_res           NUMBER;
+  v_stock_alloc         NUMBER;
+  v_qtytorelease        NUMBER;
+  v_qtytounreserve      NUMBER;
+  v_qtytounreserve_aux  NUMBER;
+  v_qtytoreserve        NUMBER;
+  v_qtyfromother        NUMBER;
+  v_newreservedqty      NUMBER;
+  v_availablestock      NUMBER;
+  v_dummy               VARCHAR2(2000);
+  
+
+  TYPE RECORD IS REF CURSOR;
+  cur_reserved_stock       RECORD;
+  cur_not_allocated_stock  RECORD;
+BEGIN
+  SELECT r.m_product_id, r.c_uom_id, COALESCE(r.reservedqty, 0), COALESCE(r.releasedqty, 0), r.quantity - COALESCE(r.reservedqty, 0),
+      COALESCE(SUM(alloc.quantity - COALESCE(alloc.releasedqty, 0)), 0),
+      r.m_warehouse_id, r.m_locator_id, r.m_attributesetinstance_id, r.res_status
+    INTO v_product_id, v_uom_id, v_this_reservedqty, v_this_releasedqty, v_this_notreserved,
+      v_this_allocated,
+      v_dim_warehouse_id, v_dim_locator_id, v_dim_asi_id, v_res_status
+  FROM m_reservation r
+      LEFT JOIN m_reservation_stock alloc ON r.m_reservation_id = alloc.m_reservation_id AND alloc.isallocated = 'Y'
+  WHERE r.m_reservation_id = p_reservation_id
+  GROUP BY r.m_product_id, r.c_uom_id, r.reservedqty, COALESCE(r.releasedqty,0), r.quantity,
+      r.m_warehouse_id, r.m_locator_id, r.m_attributesetinstance_id, r.res_status;
+  v_this_noalloc := v_this_reservedqty - v_this_allocated;
+
+  IF (v_res_status = 'HO') THEN
+    RAISE_APPLICATION_ERROR(-20000, '@CannotConsumeHoldReservation@');
+  END IF;
+
+  SELECT sd.qtyonhand, sd.m_storage_detail_id, loc.m_warehouse_id
+    INTO v_stock_onhand, v_storage_detail_id, v_warehouse_id
+  FROM m_storage_detail sd
+    JOIN m_locator loc ON sd.m_locator_id = loc.m_locator_id
+  WHERE sd.m_product_id = v_product_id
+    AND sd.c_uom_id = v_uom_id
+    AND COALESCE(sd.m_attributesetinstance_id, '0') = COALESCE(p_attributesetinstance_id, '0')
+    AND sd.m_locator_id = p_locator_id;
+    
+  SELECT COALESCE(SUM(rs.quantity - COALESCE(rs.releasedqty, 0)), 0),
+      COALESCE(SUM(CASE rs.isallocated WHEN 'Y' THEN rs.quantity - COALESCE(rs.releasedqty,0) ELSE 0 END), 0),
+      COALESCE(SUM(CASE WHEN r.m_reservation_id = p_reservation_id AND rs.isallocated = 'Y' THEN rs.quantity - COALESCE(rs.releasedqty,0) ELSE 0 END), 0),
+      COALESCE(SUM(CASE WHEN r.m_reservation_id = p_reservation_id AND rs.isallocated = 'N' THEN rs.quantity - COALESCE(rs.releasedqty,0) ELSE 0 END), 0)
+    INTO v_stock_res, v_stock_alloc, v_this_sd_alloc, v_this_sd_noalloc
+  FROM m_reservation_stock rs
+    JOIN m_reservation r ON rs.m_reservation_id = r.m_reservation_id
+  WHERE r.m_product_id = v_product_id
+    AND r.res_status NOT IN ('CL', 'DR')
+    AND r.c_uom_id = v_uom_id
+    AND rs.m_locator_id = p_locator_id
+    AND COALESCE(rs.m_attributesetinstance_id, '0') = COALESCE(p_attributesetinstance_id, '0');
+
+  IF (COALESCE(v_dim_warehouse_id, v_warehouse_id) != v_warehouse_id
+      OR COALESCE(v_dim_locator_id, p_locator_id) != p_locator_id
+      OR COALESCE(v_dim_asi_id, p_attributesetinstance_id) != p_attributesetinstance_id) THEN
+    RAISE_APPLICATION_ERROR(-20000, '@WrongStockDimensionMismatch@');
+  END IF;
+
+  v_pendingtorelease := p_qty;
+  IF (v_pendingtorelease > v_this_reservedqty - v_this_releasedqty) THEN
+    v_pendingtorelease := v_this_reservedqty - v_this_releasedqty;
+    p_result := 2;
+    p_message := '@MoreQuantityToReleaseThanPending@';
+  END IF;
+
+  -- Check that quantity to release is lower than available quantity considering other reservations allocated stock.
+  IF (v_pendingtorelease > v_stock_onhand - (v_stock_alloc - v_this_sd_alloc)) THEN
+    RAISE_APPLICATION_ERROR(-20000, '@CannotConsumeAllStock@');
+  END IF;
+
+  IF (v_pendingtorelease > v_this_sd_alloc + v_this_noalloc) THEN
+    -- The quantity to release is higher than the currently allocated stock with given dimensions and the no allocated
+    -- reserved stock.
+    RAISE_APPLICATION_ERROR(-20000, '@CannotModifyAllocatedReserve@');
+  END IF;
+  
+  IF (v_pendingtorelease <= v_this_sd_alloc + v_this_sd_noalloc) THEN
+    -- All stock can be released by reservations own reserved stock
+    v_qtytoreserve := 0;
+    v_qtyfromother := 0;
+  ELSE 
+    -- There is not reserved stock available.
+    v_qtytoreserve := LEAST(v_stock_onhand - v_stock_res, v_pendingtorelease - (v_this_sd_alloc + v_this_sd_noalloc));
+    v_qtyfromother := v_pendingtorelease - v_qtytoreserve - (v_this_sd_alloc + v_this_sd_noalloc);
+  END IF;
+  
+  -- If exists not reserved stock reserve in current reservation.
+  v_ResultStr := 'Reserve and release available stock';
+  IF (v_qtytoreserve > 0) THEN
+    -- Reserve available stock
+
+    v_qtytounreserve := LEAST(v_qtytoreserve, v_this_noalloc - v_this_sd_noalloc);
+    IF (v_qtytounreserve > 0) THEN
+      --If exists not allocated stock it has to be unreserved before reserving the new one.
+      FOR cur_reserved_stock IN (
+          SELECT m_reservation_stock_id, quantity - COALESCE(releasedqty, 0) AS reservedqty
+          FROM m_reservation_stock
+          WHERE m_reservation_id = p_reservation_id
+            AND isallocated = 'N'
+            AND quantity != COALESCE(releasedqty,0)
+          ORDER BY quantity - COALESCE(releasedqty,0)
+      ) LOOP
+        v_qtytounreserve_aux := LEAST(v_qtytounreserve, cur_reserved_stock.reservedqty);
+        UPDATE m_reservation_stock
+        SET quantity = quantity - v_qtytounreserve_aux
+        WHERE m_reservation_stock_id = cur_reserved_stock.m_reservation_stock_id;
+        v_qtytounreserve := v_qtytounreserve - v_qtytounreserve_aux;
+
+        IF (v_qtytounreserve = 0) THEN
+          EXIT;
+        END IF;
+      END LOOP;
+    END IF;
+
+    M_RESERVE_STOCK_MANUAL(p_reservation_id, 'SD', v_storage_detail_id, v_qtytoreserve, p_user_id, v_res_stock_id);
+  END IF;
+  
+  IF (v_qtyfromother > 0) THEN
+    -- Finally take other reservation's not allocated stock.
+    v_ResultStr := 'Reserve other reservations stock';
+    FOR cur_not_allocated_stock IN (
+        SELECT r.m_reservation_id, rs.quantity, COALESCE(rs.releasedqty,0) as releasedqty, rs.m_reservation_stock_id, r.reservedqty, r.quantity as quantitytoreserve,
+               r.ad_client_id, r.ad_org_id, r.m_product_id, r.c_uom_id, r.m_attributesetinstance_id, r.m_locator_id, r.m_warehouse_id,
+               r.c_orderline_id
+        FROM m_reservation_stock rs
+            JOIN m_reservation r ON rs.m_reservation_id = r.m_reservation_id
+        WHERE r.m_reservation_id != p_reservation_id
+          AND r.m_product_id = v_product_id
+          AND r.c_uom_id = v_uom_id
+          AND rs.m_locator_id = p_locator_id
+          AND COALESCE(rs.m_attributesetinstance_id, '0') = COALESCE(p_attributesetinstance_id, '0')
+          AND rs.isallocated = 'N'
+          AND r.res_status NOT IN ('HO', 'CL', 'DR')
+          AND rs.quantity != COALESCE(rs.releasedqty,0)
+    ) LOOP
+      v_qtytorelease := LEAST(v_qtyfromother, cur_not_allocated_stock.quantity - cur_not_allocated_stock.releasedqty);
+      
+      IF (v_qtytorelease > COALESCE(v_this_notreserved, 0)) THEN
+        --The new reserved stock is higher than the pending quantity to reserve, other reserved stock must be unreserved.
+        v_qtytounreserve := v_qtytorelease - COALESCE(v_this_notreserved, 0);
+        FOR cur_reserved_stock IN (
+            SELECT m_reservation_stock_id, quantity - COALESCE(releasedqty, 0) AS reservedqty
+            FROM m_reservation_stock
+            WHERE m_reservation_id = p_reservation_id
+              AND isallocated = 'N'
+              AND quantity != COALESCE(releasedqty,0)
+        ) LOOP
+          v_qtytounreserve_aux := LEAST(v_qtytounreserve, cur_reserved_stock.reservedqty);
+          UPDATE m_reservation_stock
+          SET quantity = quantity - v_qtytounreserve_aux
+          WHERE m_reservation_stock_id = cur_reserved_stock.m_reservation_stock_id;
+          v_qtytounreserve := v_qtytounreserve - v_qtytounreserve_aux;
+  
+          IF (v_qtytounreserve = 0) THEN
+            EXIT;
+          END IF;
+        END LOOP;
+      END IF;
+      
+      UPDATE m_reservation_stock
+      SET quantity = quantity - v_qtytorelease
+      WHERE m_reservation_stock_id = cur_not_allocated_stock.m_reservation_stock_id;
+      DELETE FROM m_reservation_stock
+      WHERE quantity = 0
+        AND m_reservation_stock_id = cur_not_allocated_stock.m_reservation_stock_id;
+  
+      M_RESERVE_STOCK_MANUAL(p_reservation_id, 'SD', v_storage_detail_id, v_qtytorelease, p_user_id, v_res_stock_id);
+  
+      -- Call get stock to check availability
+      DECLARE
+        v_pinstance_result      AD_PInstance.result%TYPE;
+        v_pinstance_msg         AD_PInstance.errormsg%TYPE;
+        v_warehouse_rule_id     VARCHAR2(32);
+        v_pinstance_id          VARCHAR2(32) := get_uuid();
+      BEGIN
+        INSERT INTO ad_pinstance (
+            ad_pinstance_id, ad_process_id, record_id, isactive, 
+            ad_user_id, ad_client_id, ad_org_id, created, createdby,
+            updated, updatedby
+        ) VALUES (
+            v_pinstance_id, 'FF80818132C964E30132C9747257002E', p_reservation_id, 'Y',
+            p_User_ID, cur_not_allocated_stock.ad_client_id, cur_not_allocated_stock.ad_Org_ID, now(), p_user_ID,
+            now(), p_user_ID
+        );
+    
+        AD_PINSTANCE_PARA_INSERT(v_pinstance_id, '10', 'AD_Client_ID', cur_not_allocated_stock.ad_client_id, null, null, null, null, null);
+        AD_PINSTANCE_PARA_INSERT(v_pinstance_id, '20', 'AD_Org_ID', cur_not_allocated_stock.ad_org_id, null, null, null, null, null);
+        AD_PINSTANCE_PARA_INSERT(v_pinstance_id, '30', 'M_Product_ID', cur_not_allocated_stock.m_product_id, null, null, null, null, null);
+        AD_PINSTANCE_PARA_INSERT(v_pinstance_id, '40', 'C_Uom_ID', cur_not_allocated_stock.c_uom_id, null, null, null, null, null);
+        --AD_PINSTANCE_PARA_INSERT(v_pinstance_id, '50', 'M_Product_Uom_ID', v_Product_UOM_old, null, null, null, null, null);
+        AD_PINSTANCE_PARA_INSERT(v_pinstance_id, '60', 'M_Warehouse_ID', cur_not_allocated_stock.m_warehouse_id, null, null, null, null, null);
+        AD_PINSTANCE_PARA_INSERT(v_pinstance_id, '70', 'M_Locator_ID', cur_not_allocated_stock.m_locator_id, null, null, null, null, null);
+        AD_PINSTANCE_PARA_INSERT(v_pinstance_id, '80', 'M_AttributesetInstance_ID', cur_not_allocated_stock.m_attributesetinstance_id, null, null, null, null, null);
+        AD_PINSTANCE_PARA_INSERT(v_pinstance_id, '90', 'Quantity', null, null, cur_not_allocated_stock.quantitytoreserve, null, null, null);
+        /*
+        * ADD PROPER PROCESS ID!
+        */
+        AD_PINSTANCE_PARA_INSERT(v_pinstance_id, '100', 'ProcessID', '---', null, null, null, null, null);
+    
+        IF (cur_not_allocated_stock.c_orderline_id IS NOT NULL) THEN
+          SELECT m_warehouse_rule_id INTO v_warehouse_rule_id
+          FROM c_orderline
+          WHERE c_orderline_id = cur_not_allocated_stock.c_orderline_id;
+          AD_PINSTANCE_PARA_INSERT(v_pinstance_id, '110', 'M_Warehouse_Rule_ID', v_warehouse_rule_id, null, null, null, null, null);
+        END IF;
+    
+        M_GET_STOCK(v_pinstance_ID, 'N');
+        -- Check result
+        SELECT result, errormsg
+          INTO v_pinstance_result, v_pinstance_msg
+        FROM ad_pinstance
+        WHERE ad_pinstance_id = v_pinstance_id;
+        IF (v_pinstance_result = 0) THEN
+          -- Error on m_get_stock
+          RAISE_APPLICATION_ERROR(-20000, v_pinstance_msg);
+        END IF;
+        SELECT sum(quantity) INTO v_availablestock
+        FROM m_stock_proposed
+        WHERE ad_pinstance_id = v_pinstance_id;
+      END; -- End Call M_GET_STOCK
+      
+      IF (v_availablestock >= v_qtytorelease) THEN
+        M_RESERVE_STOCK_AUTO(cur_not_allocated_stock.m_reservation_id, p_user_id, v_newreservedqty);
+      ELSE
+        --Not enough available stock has been able to reallocate using new stock, undo reallocation.
+        UPDATE m_reservation_stock
+        SET quantity = COALESCE(quantity,0) - v_qtytorelease,
+            updated = now(),
+            updatedby = p_user_id
+        WHERE m_reservation_stock_id = v_res_stock_id;
+  
+        UPDATE m_reservation_stock
+        SET quantity = quantity + v_qtytorelease
+        WHERE m_reservation_stock_id = cur_not_allocated_stock.m_reservation_stock_id;
+      END IF;
+    END LOOP;
+  END IF;
+  
+  -- Release stock reserved in the reservation.
+  v_ResultStr := 'Release reserved stock';
+  FOR cur_reserved_stock IN (
+      SELECT quantity - COALESCE(releasedqty,0) AS reservedqty, m_reservation_stock_id, isallocated
+      FROM m_reservation_stock
+      WHERE m_locator_id = p_locator_id
+        AND COALESCE(m_attributesetinstance_id, '0') = COALESCE(p_attributesetinstance_id, '0')
+        AND m_reservation_id = p_reservation_id
+      ORDER BY CASE isallocated WHEN 'Y' THEN 0 ELSE 1 END
+  ) LOOP
+    v_qtytorelease := LEAST(cur_reserved_stock.reservedqty, v_pendingtorelease);
+    UPDATE m_reservation_stock
+    SET releasedqty = COALESCE(releasedqty,0) + v_qtytorelease,
+        updated = now(),
+        updatedby = p_user_id
+    WHERE m_reservation_stock_id = cur_reserved_stock.m_reservation_stock_id;
+
+    v_pendingtorelease := v_pendingtorelease - v_qtytorelease;
+    IF (v_pendingtorelease = 0) THEN
+      -- Stock completely released from the reservation
+      EXIT;
+    END IF;
+  END LOOP;
+  
+  -- Delete records with quantity 0 that might be left.
+  DELETE FROM m_reservation_stock
+  WHERE m_reservation_id = p_reservation_id
+    AND quantity = 0;
+
+  IF (v_pendingtorelease > 0) THEN
+    RAISE_APPLICATION_ERROR(-20000, '@CannotConsumeAllStock@');
+  END IF;
+EXCEPTION
+WHEN OTHERS THEN
+  DBMS_OUTPUT.PUT_LINE(v_ResultStr) ;
+  v_ResultStr:= '@ERROR=' || SQLERRM;
+  DBMS_OUTPUT.PUT_LINE(v_ResultStr) ;
+  RAISE;
+END M_RESERVATION_CONSUMPTION
+]]></body>
+    </function>
+  </database>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-db/database/model/functions/M_RESERVATION_POST.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -0,0 +1,288 @@
+<?xml version="1.0"?>
+  <database name="FUNCTION M_RESERVATION_POST">
+    <function name="M_RESERVATION_POST" type="NULL">
+      <parameter name="p_pinstance_id" type="VARCHAR" mode="in">
+        <default/>
+      </parameter>
+      <parameter name="p_reservation_id" type="VARCHAR" mode="in">
+        <default/>
+      </parameter>
+      <parameter name="p_resaction" type="VARCHAR" mode="in">
+        <default/>
+      </parameter>
+      <parameter name="p_user_id" type="VARCHAR" mode="in">
+        <default/>
+      </parameter>
+      <body><![CDATA[/*************************************************************************
+* The contents of this file are subject to the Openbravo  Public  License
+* Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+* Version 1.1  with a permitted attribution clause; you may not  use this
+* file except in compliance with the License. You  may  obtain  a copy of
+* the License at http://www.openbravo.com/legal/license.html
+* Software distributed under the License  is  distributed  on  an "AS IS"
+* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+* License for the specific  language  governing  rights  and  limitations
+* under the License.
+* The Original Code is Openbravo ERP.
+* The Initial Developer of the Original Code is Openbravo SLU
+* All portions are Copyright (C) 2012 Openbravo SLU
+* All Rights Reserved.
+* Contributor(s):  ______________________________________.
+************************************************************************/
+  v_ResultStr       VARCHAR2(2000):='';
+  v_Message         VARCHAR2(2000):='';
+  v_reservation_id  VARCHAR2(32);
+  v_user_id         VARCHAR2(32);
+  v_Result NUMBER:=1; --  Success
+  v_resaction       VARCHAR2(60);
+  v_resstatus       VARCHAR2(60);
+  v_newstatus       VARCHAR2(60);
+  v_newaction       VARCHAR2(60);
+  v_orderline_id    VARCHAR2(32);
+  v_product_id      VARCHAR2(32);
+  v_uom_id          VARCHAR2(32);
+  v_count           NUMBER;
+  v_quantity        NUMBER;
+  v_reservedqty     NUMBER;
+
+TYPE RECORD IS REF CURSOR;
+  Cur_Parameter RECORD;
+
+BEGIN
+  IF (p_PInstance_ID IS NOT NULL) THEN
+    --  Update AD_PInstance
+    DBMS_OUTPUT.PUT_LINE('Updating PInstance - Processing ' || p_pinstance_id) ;
+    v_ResultStr:='PInstanceNotFound';
+    AD_UPDATE_PINSTANCE(p_PInstance_ID, NULL, 'Y', NULL, NULL) ;
+    --  Get Parameters
+    v_ResultStr:='ReadingParameters';
+    FOR Cur_Parameter IN (
+        SELECT i.record_id, i.ad_user_id, p.parametername, p.p_string, p.p_number, p.p_date
+        FROM ad_pinstance i
+            LEFT JOIN ad_pinstance_para p ON i.ad_pinstance_id=p.ad_pinstance_id
+        WHERE i.ad_pinstance_id=p_pinstance_id
+        ORDER BY p.seqno
+    ) LOOP
+      IF (cur_parameter.parametername = 'RES_Action') THEN
+        v_resaction := cur_parameter.p_string;
+      END IF;
+      v_reservation_id := cur_parameter.record_id;
+      v_user_id := cur_parameter.ad_user_id;
+    END LOOP; --  Get Parameter
+    DBMS_OUTPUT.PUT_LINE('  v_Record_ID=' || v_reservation_id) ;
+  ELSE
+    v_reservation_id := p_reservation_id;
+    v_resaction := p_resaction;
+    v_user_id := p_user_id;
+  END IF;
+
+BEGIN
+  SELECT res_status, c_orderline_id, quantity, reservedqty,
+        m_product_id, c_uom_id
+    INTO v_resstatus, v_orderline_id, v_quantity, v_reservedqty,
+        v_product_id, v_uom_id
+  FROM m_reservation
+  WHERE m_reservation_id = v_reservation_id;
+  
+  IF (v_resaction = 'PR') THEN
+  /*
+    Reservation Complete Process
+  */
+    DECLARE
+      v_sales_order_id        VARCHAR2(32);
+      cur_not_available       RECORD;
+      v_linecount             NUMBER;
+      v_creservedcount        NUMBER;
+      v_preservedcount        NUMBER;
+    BEGIN
+      IF (v_resstatus != 'DR') THEN
+        RAISE_APPLICATION_ERROR(-20000, '@ActionNotSupported@');
+      END IF;
+      -- Check that stock is still available
+      FOR cur_not_available IN (
+        SELECT AD_COLUMN_IDENTIFIER('M_Locator', rs.m_locator_id, 'en_US') as locatorName,
+               asi.description AS attributeName
+        FROM m_reservation_stock rs
+            JOIN m_attributesetinstance asi ON COALESCE(rs.m_attributesetinstance_id, '0') = asi.m_attributesetinstance_id
+            LEFT JOIN m_storage_detail sd ON sd.m_product_id = v_product_id
+                                             AND sd.c_uom_id = v_uom_id
+                                             AND sd.m_product_uom_id IS NULL
+                                             AND COALESCE(sd.m_attributesetinstance_id, '0') = COALESCE(rs.m_attributesetinstance_id, '0')
+                                             AND sd.m_locator_id = rs.m_locator_id
+            LEFT JOIN (
+                    SELECT SUM(rs2.quantity - COALESCE(rs2.releasedqty,0)) AS reservedstock, rs2.m_locator_id, COALESCE(rs2.m_attributesetinstance_id,'0') AS m_attributesetinstance_id
+                    FROM m_reservation_stock rs2
+                      JOIN m_reservation r ON rs2.m_reservation_id = r.m_reservation_id
+                    WHERE r.m_product_id = v_product_id
+                      AND r.res_status NOT IN ('CL', 'DR')
+                      AND r.c_uom_id = v_uom_id
+                    GROUP BY rs2.m_locator_id, COALESCE(rs2.m_attributesetinstance_id,'0')
+                  ) other ON rs.m_locator_id = other.m_locator_id
+                             AND COALESCE(rs.m_attributesetinstance_id, '0') = COALESCE(other.m_attributesetinstance_id, '0')
+        WHERE rs.quantity - COALESCE(rs.releasedqty, 0) > COALESCE(sd.qtyonhand, 0) - COALESCE(other.reservedstock, 0)
+          AND rs.m_reservation_id = v_reservation_id
+      ) LOOP
+        RAISE_APPLICATION_ERROR(-20000, '@NotEnoughAvailableStock@ : ' || cur_not_available.locatorName || ' - ' || cur_not_available.attributeName);
+      END LOOP;
+      
+      -- Check that prereserved quantity is equal all lower than ordered quantity
+      FOR cur_not_available IN (
+          SELECT AD_COLUMN_IDENTIFIER('C_Orderline', rs.c_orderline_id, 'en_US') as orderline
+          FROM m_reservation_stock rs
+              JOIN c_orderline ol ON rs.c_orderline_id = ol.c_orderline_id
+              LEFT JOIN (
+                  -- If reservation is closed consider only converted reservations as prereserve.
+                  SELECT SUM(CASE r.res_status
+                             WHEN 'CL' THEN CASE WHEN rs2.m_locator_id IS NULL THEN 0
+                                            ELSE rs2.quantity END
+                             ELSE rs2.quantity END) as qty, rs2.c_orderline_id
+                  FROM m_reservation_stock rs2
+                      JOIN m_reservation r ON rs2.m_reservation_id = r.m_reservation_id
+                  WHERE rs2.c_orderline_id IS NOT NULL
+                    AND r.res_status NOT IN ('DR')
+                  GROUP BY rs2.c_orderline_id
+                ) pre ON rs.c_orderline_id = pre.c_orderline_id
+          WHERE rs.m_reservation_id = v_reservation_id
+            AND rs.c_orderline_id IS NOT NULL
+            AND ol.qtyordered < rs.quantity + COALESCE(pre.qty, 0)
+      ) LOOP
+        RAISE_APPLICATION_ERROR(-20000, '@MorePrereservedQtyThanOrdered@ '||cur_not_available.orderline);
+      END LOOP;
+      
+      IF (v_orderline_id IS NOT NULL) THEN
+        SELECT count(*) INTO v_count
+        FROM m_reservation
+        WHERE c_orderline_id = v_orderline_id
+          AND m_reservation_id != v_reservation_id;
+        IF (v_count > 0) THEN
+          RAISE_APPLICATION_ERROR(-20000, '@SOLineWithMoreThanOneOpenReservation@');
+        END IF;
+  
+        UPDATE c_orderline
+        SET so_res_status = CASE WHEN v_quantity = v_reservedqty THEN 'CR'
+                                 WHEN v_reservedqty > 0 THEN 'PR'
+                                 ELSE 'NR'
+                            END
+        WHERE c_orderline_id = v_orderline_id;
+  
+        SELECT c_order_id INTO v_sales_order_id
+        FROM c_orderline
+        WHERE c_orderline_id = v_orderline_id;
+        SELECT COUNT(*), SUM(CASE so_res_status WHEN 'CR' THEN 1 ELSE 0 END), SUM(CASE so_res_status WHEN 'PR' THEN 1 ELSE 0 END)
+          INTO v_linecount, v_creservedcount, v_preservedcount
+        FROM c_orderline
+        WHERE c_order_id = v_sales_order_id;
+  
+        UPDATE c_order
+        SET so_res_status = CASE WHEN v_linecount = v_creservedcount THEN 'CR'
+                                 WHEN v_creservedcount + v_preservedcount > 0 THEN 'PR'
+                                 ELSE 'NR'
+                            END
+        WHERE c_order_id = v_sales_order_id;
+      END IF;
+      -- ADD RESERVED STOCK
+      M_RESERVE_STOCK_AUTO(v_reservation_id, v_user_id, v_message);
+
+      v_newstatus := 'CO';
+      v_newaction := 'HO';
+    END;
+
+  ELSIF (v_resaction = 'HO') THEN
+  /*
+    Reservation Hold Process
+  */
+    IF (v_resstatus != 'CO') THEN
+      RAISE_APPLICATION_ERROR(-20000, '@ActionNotSupported@');
+    END IF;
+    v_newstatus := 'HO';
+    v_newaction := 'UNHO';
+  
+  
+  ELSIF (v_resaction = 'UNHO') THEN
+  /*
+    Reservation Un-Hold Process
+  */
+    IF (v_resstatus != 'HO') THEN
+      RAISE_APPLICATION_ERROR(-20000, '@ActionNotSupported@');
+    END IF;
+    v_newstatus := 'CO';
+    v_newaction := 'HO';
+
+  ELSIF (v_resaction = 'RE') THEN
+  /*
+    Reservation Reactivate Process
+  */
+    DECLARE
+      v_sales_order_id        VARCHAR2(32);
+      v_reservedcount         NUMBER;
+    BEGIN
+
+      IF (v_resstatus NOT IN ('CO', 'CL')) THEN
+        RAISE_APPLICATION_ERROR(-20000, '@ActionNotSupported@');
+      END IF;
+
+      UPDATE c_orderline
+      SET so_res_status = 'NR'
+      WHERE c_orderline_id = v_orderline_id;
+
+      SELECT c_order_id INTO v_sales_order_id
+      FROM c_orderline
+      WHERE c_orderline_id = v_orderline_id;
+      SELECT COUNT(*) INTO v_reservedcount
+      FROM c_orderline
+      WHERE c_order_id = v_sales_order_id
+        AND so_res_status <> 'NR';
+
+      UPDATE c_order
+      SET so_res_status = CASE WHEN v_reservedcount > 0 THEN 'PR'
+                               ELSE 'NR'
+                          END
+      WHERE c_order_id = v_sales_order_id;
+
+      v_newstatus := 'DR';
+      v_newaction := 'PR';
+    END;
+  
+  ELSIF (v_resaction = 'CL') THEN
+  /*
+    Reservation Close Process
+  */
+    IF (v_resstatus != 'CO' AND v_resstatus != 'HO') THEN
+      RAISE_APPLICATION_ERROR(-20000, '@ActionNotSupported@');
+    END IF;
+    v_newstatus := 'CL';
+    v_newaction := 'RE';
+
+  ELSE
+    RAISE_APPLICATION_ERROR(-20000, '@UnsupportedResAction@');
+  END IF;
+
+  UPDATE m_reservation
+  SET res_status = v_newstatus,
+      res_process = v_newaction,
+      updated = now(),
+      updatedby = v_user_id
+  WHERE m_reservation_id = v_reservation_id;
+
+  IF (p_pinstance_id IS NOT NULL) THEN
+    DBMS_OUTPUT.PUT_LINE('Updating PInstance - Finished ' || v_Message) ;
+    AD_UPDATE_PINSTANCE(p_PInstance_ID, NULL, 'N', v_Result, v_Message) ;
+    DBMS_OUTPUT.PUT_LINE('--<<M_Reservation_Post finished>> ' || v_Message) ;
+  END IF;
+  RETURN;
+END; --BODY
+EXCEPTION
+WHEN OTHERS THEN
+  v_ResultStr:= '@ERROR=' || SQLERRM;
+  DBMS_OUTPUT.PUT_LINE(v_ResultStr) ;
+  IF (p_pinstance_id IS NOT NULL) THEN
+    ROLLBACK;
+    AD_UPDATE_PINSTANCE(p_pinstance_id, NULL, 'N', 0, v_ResultStr) ;
+  ELSE
+    RAISE;
+  END IF;
+  RETURN;
+END M_RESERVATION_POST
+]]></body>
+    </function>
+  </database>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-db/database/model/functions/M_RESERVATION_POST0.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -0,0 +1,28 @@
+<?xml version="1.0"?>
+  <database name="FUNCTION M_RESERVATION_POST0">
+    <function name="M_RESERVATION_POST0" type="NULL">
+      <parameter name="p_pinstance_id" type="VARCHAR" mode="in">
+        <default/>
+      </parameter>
+      <body><![CDATA[/*************************************************************************
+* The contents of this file are subject to the Openbravo  Public  License
+* Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+* Version 1.1  with a permitted attribution clause; you may not  use this
+* file except in compliance with the License. You  may  obtain  a copy of
+* the License at http://www.openbravo.com/legal/license.html
+* Software distributed under the License  is  distributed  on  an "AS IS"
+* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+* License for the specific  language  governing  rights  and  limitations
+* under the License.
+* The Original Code is Openbravo ERP.
+* The Initial Developer of the Original Code is Openbravo SLU
+* All portions are Copyright (C) 2012 Openbravo SLU
+* All Rights Reserved.
+* Contributor(s):  ______________________________________.
+************************************************************************/
+BEGIN
+ M_RESERVATION_POST(p_PInstance_ID, NULL, NULL, NULL);
+END M_RESERVATION_POST0
+]]></body>
+    </function>
+  </database>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-db/database/model/functions/M_RESERVE_STOCK_AUTO.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -0,0 +1,136 @@
+<?xml version="1.0"?>
+  <database name="FUNCTION M_RESERVE_STOCK_AUTO">
+    <function name="M_RESERVE_STOCK_AUTO" type="NULL">
+      <parameter name="p_reservation_id" type="VARCHAR" mode="in">
+        <default/>
+      </parameter>
+      <parameter name="p_user_id" type="VARCHAR" mode="in">
+        <default/>
+      </parameter>
+      <parameter name="p_reservedqty" type="NUMERIC" mode="out">
+        <default/>
+      </parameter>
+      <body><![CDATA[/*************************************************************************
+* The contents of this file are subject to the Openbravo  Public  License
+* Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+* Version 1.1  with a permitted attribution clause; you may not  use this
+* file except in compliance with the License. You  may  obtain  a copy of
+* the License at http://www.openbravo.com/legal/license.html
+* Software distributed under the License  is  distributed  on  an "AS IS"
+* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+* License for the specific  language  governing  rights  and  limitations
+* under the License.
+* The Original Code is Openbravo ERP.
+* The Initial Developer of the Original Code is Openbravo SLU
+* All portions are Copyright (C) 2012 Openbravo SLU
+* All Rights Reserved.
+* Contributor(s):  ______________________________________.
+************************************************************************/
+/*************
+* Function to reserve stock using the get stock function.
+**************/
+  v_product_id                  VARCHAR2(32);
+  v_uom_id                      VARCHAR2(32);
+  v_asi_id                      VARCHAR2(32);
+  v_locator_id                  VARCHAR2(32);
+  v_warehouse_id                VARCHAR2(32);
+  v_client_id                   VARCHAR2(32);
+  v_org_id                      VARCHAR2(32);
+  v_soline_id                   VARCHAR2(32);
+  v_qty                         NUMBER;
+  v_pendingtoreserveqty         NUMBER;
+  v_pendingqty                  NUMBER;
+  v_reserveqty                  NUMBER;
+  v_dummy                       VARCHAR2(2000) := '';
+  v_pinstance_id                VARCHAR2(32) := get_uuid();
+  
+
+  TYPE RECORD IS REF CURSOR;
+  cur_stock                     RECORD;
+
+BEGIN
+  SELECT quantity - COALESCE(reservedqty,0),
+         m_product_id, c_uom_id, m_attributesetinstance_id, m_locator_id, m_warehouse_id,
+         ad_client_id, ad_org_id, c_orderline_id, quantity
+    INTO v_pendingtoreserveqty,
+         v_product_id, v_uom_id, v_asi_id, v_locator_id, v_warehouse_id,
+         v_client_id, v_org_id, v_soline_id, v_reserveqty
+  FROM m_reservation
+  WHERE m_reservation_id = p_reservation_id;
+
+  IF (v_pendingtoreserveqty <= 0) THEN
+    p_reservedqty := 0;
+    RETURN;
+  END IF;
+
+  -- Call M_GET_STOCK
+  DECLARE
+    v_pinstance_result AD_PInstance.result%TYPE;
+    v_pinstance_msg AD_PInstance.errormsg%TYPE;
+    v_warehouse_rule_id VARCHAR2(32);
+  BEGIN
+    INSERT INTO ad_pinstance (
+        ad_pinstance_id, ad_process_id, record_id, isactive, 
+        ad_user_id, ad_client_id, ad_org_id, created, createdby,
+        updated, updatedby
+    ) VALUES (
+        v_pinstance_id, 'FF80818132C964E30132C9747257002E', p_reservation_id, 'Y',
+        p_User_ID, v_client_id, v_Org_ID, now(), p_user_ID,
+        now(), p_user_ID
+    );
+
+    AD_PINSTANCE_PARA_INSERT(v_pinstance_id, '10', 'AD_Client_ID', v_client_id, null, null, null, null, null);
+    AD_PINSTANCE_PARA_INSERT(v_pinstance_id, '20', 'AD_Org_ID', v_org_id, null, null, null, null, null);
+    AD_PINSTANCE_PARA_INSERT(v_pinstance_id, '30', 'M_Product_ID', v_product_id, null, null, null, null, null);
+    AD_PINSTANCE_PARA_INSERT(v_pinstance_id, '40', 'C_Uom_ID', v_uom_id, null, null, null, null, null);
+    --AD_PINSTANCE_PARA_INSERT(v_pinstance_id, '50', 'M_Product_Uom_ID', v_Product_UOM_old, null, null, null, null, null);
+    AD_PINSTANCE_PARA_INSERT(v_pinstance_id, '60', 'M_Warehouse_ID', v_warehouse_id, null, null, null, null, null);
+    AD_PINSTANCE_PARA_INSERT(v_pinstance_id, '70', 'M_Locator_ID', v_locator_id, null, null, null, null, null);
+    AD_PINSTANCE_PARA_INSERT(v_pinstance_id, '80', 'M_AttributesetInstance_ID', v_asi_id, null, null, null, null, null);
+    AD_PINSTANCE_PARA_INSERT(v_pinstance_id, '90', 'Quantity', null, null, v_pendingtoreserveqty, null, null, null);
+    /*
+    * ADD PROPER PROCESS ID!
+    */
+    AD_PINSTANCE_PARA_INSERT(v_pinstance_id, '100', 'ProcessID', '---', null, null, null, null, null);
+
+    IF (v_soline_id IS NOT NULL) THEN
+      SELECT m_warehouse_rule_id INTO v_warehouse_rule_id
+      FROM c_orderline
+      WHERE c_orderline_id = v_soline_id;
+      AD_PINSTANCE_PARA_INSERT(v_pinstance_id, '110', 'M_Warehouse_Rule_ID', v_warehouse_rule_id, null, null, null, null, null);
+    END IF;
+
+    M_GET_STOCK(v_pinstance_ID, 'N');
+    -- Check result
+    SELECT result, errormsg
+      INTO v_pinstance_result, v_pinstance_msg
+    FROM ad_pinstance
+    WHERE ad_pinstance_id = v_pinstance_id;
+    IF (v_pinstance_result = 0) THEN
+      -- Error on m_get_stock
+      RAISE_APPLICATION_ERROR(-20000, v_pinstance_msg);
+    END IF;
+  END; -- End Call M_GET_STOCK
+  
+  v_pendingqty := v_pendingtoreserveqty;
+  FOR cur_stock IN (
+    SELECT *
+    FROM m_stock_proposed
+    WHERE ad_pinstance_id = v_pinstance_id
+    ORDER BY priority
+  ) LOOP
+    v_qty := LEAST(cur_stock.quantity, v_pendingqty);
+    M_RESERVE_STOCK_MANUAL(p_reservation_id, 'SD', cur_stock.m_storage_detail_id, v_qty, p_user_id, v_dummy);
+    v_pendingqty := v_pendingqty - v_qty;
+    IF (v_pendingqty <= 0) THEN
+      p_reservedqty := v_reserveqty;
+      RETURN;
+    END IF;
+  END LOOP;
+
+  p_reservedqty := v_reserveqty - v_pendingqty;
+  RETURN;
+END M_RESERVE_STOCK_AUTO
+]]></body>
+    </function>
+  </database>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-db/database/model/functions/M_RESERVE_STOCK_MANUAL.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -0,0 +1,116 @@
+<?xml version="1.0"?>
+  <database name="FUNCTION M_RESERVE_STOCK_MANUAL">
+    <function name="M_RESERVE_STOCK_MANUAL" type="NULL">
+      <parameter name="p_reservation_id" type="VARCHAR" mode="in">
+        <default/>
+      </parameter>
+      <parameter name="p_type_id" type="VARCHAR" mode="in">
+        <default/>
+      </parameter>
+      <parameter name="p_stock_id" type="VARCHAR" mode="in">
+        <default/>
+      </parameter>
+      <parameter name="p_qty" type="NUMERIC" mode="in">
+        <default/>
+      </parameter>
+      <parameter name="p_user_id" type="VARCHAR" mode="in">
+        <default/>
+      </parameter>
+      <parameter name="p_reservation_stock_id" type="VARCHAR" mode="out">
+        <default/>
+      </parameter>
+      <body><![CDATA[/*************************************************************************
+* The contents of this file are subject to the Openbravo  Public  License
+* Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+* Version 1.1  with a permitted attribution clause; you may not  use this
+* file except in compliance with the License. You  may  obtain  a copy of
+* the License at http://www.openbravo.com/legal/license.html
+* Software distributed under the License  is  distributed  on  an "AS IS"
+* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+* License for the specific  language  governing  rights  and  limitations
+* under the License.
+* The Original Code is Openbravo ERP.
+* The Initial Developer of the Original Code is Openbravo SLU
+* All portions are Copyright (C) 2012 Openbravo SLU
+* All Rights Reserved.
+* Contributor(s):  ______________________________________.
+************************************************************************/
+/*************
+* Function to reserve given stock or purchase order line.
+* Available types are:
+*   - 'SD': p_stock_id represents a m_storage_detail_id reserves stock in the warehouse.
+*   - 'PO': p_stock_id represents a c_orderline_id of a pending to receipt purchase order line.
+**************/
+  v_reservation_stock_ID    VARCHAR2(32) := get_uuid();
+  v_aux_rs_id               VARCHAR2(32);
+  v_client_id               VARCHAR2(32);
+  v_org_id                  VARCHAR2(32);
+  v_locator_id              VARCHAR2(32);
+  v_asi_id                  VARCHAR2(32);
+  v_poline_id               VARCHAR2(32);
+  v_count                   NUMBER;
+BEGIN
+  SELECT ad_client_id, ad_org_id
+    INTO v_client_id, v_org_id
+  FROM m_reservation
+  WHERE m_reservation_id = p_reservation_id;
+  IF (p_type_id = 'SD') THEN
+    SELECT count(*) INTO v_count
+    FROM m_storage_detail sd
+      JOIN m_locator loc ON sd.m_locator_id = loc.m_locator_id
+      JOIN m_reservation res ON res.m_reservation_id = p_reservation_id
+    WHERE sd.m_storage_detail_id = p_stock_id
+      AND sd.m_product_id = res.m_product_id
+      AND sd.m_attributesetinstance_id = COALESCE(res.m_attributesetinstance_id, sd.m_attributesetinstance_id)
+      AND sd.m_locator_id = COALESCE(res.m_locator_id, sd.m_locator_id)
+      AND loc.m_warehouse_id = COALESCE(res.m_warehouse_id, loc.m_warehouse_id);
+    IF (v_count = 0) THEN
+      RAISE_APPLICATION_ERROR(-20000, '@GivenStorageDetailDoesNotMatchReservationRequirements@');
+    END IF;
+
+    SELECT m_locator_id, m_attributesetinstance_id
+      INTO v_locator_id, v_asi_id
+    FROM m_storage_detail
+    WHERE m_storage_detail_id = p_stock_id;
+    SELECT max(m_reservation_stock_id) INTO v_aux_rs_id
+    FROM m_reservation_stock
+    WHERE m_reservation_id = p_reservation_id
+      AND m_locator_id = v_locator_id
+      AND m_attributesetinstance_id = v_asi_id
+      AND isallocated = 'N';
+  ELSIF (p_type_id = 'PO') THEN
+    v_poline_id := p_stock_id;
+    SELECT max(m_reservation_stock_id) INTO v_aux_rs_id
+    FROM m_reservation_stock
+    WHERE m_reservation_id = p_reservation_id
+      AND c_orderline_id = v_poline_id
+      AND isallocated = 'N';
+  ELSE
+    RAISE_APPLICATION_ERROR(-20000, '@UnsupportedReservationType@');
+  END IF;
+
+  IF (v_aux_rs_id IS NOT NULL) THEN
+    UPDATE m_reservation_stock
+    SET quantity = quantity + p_qty
+    WHERE m_reservation_stock_id = v_aux_rs_id;
+    p_reservation_stock_id := v_aux_rs_id;
+    RETURN;
+  END IF;
+  INSERT INTO m_reservation_stock(
+    m_reservation_stock_id, ad_client_id, ad_org_id, isactive,
+    created, createdby, updated, updatedby,
+    m_reservation_id, m_attributesetinstance_id, m_locator_id, c_orderline_id,
+    quantity, releasedqty, isallocated
+  ) VALUES (
+    v_reservation_stock_id, v_client_id, v_org_id, 'Y',
+    now(), p_user_id, now(), p_user_id,
+    p_reservation_id, v_asi_id, v_locator_id, v_poline_id,
+    p_qty, 0, 'N'
+  );
+
+  p_reservation_stock_id := v_reservation_stock_id;
+  RETURN ;
+END M_RESERVE_STOCK_MANUAL
+]]></body>
+    </function>
+  </database>
--- a/src-db/database/model/tables/C_ORDER.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/src-db/database/model/tables/C_ORDER.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -325,6 +325,10 @@
         <default/>
         <onCreateDefault/>
       </column>
+      <column name="SO_RES_STATUS" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
       <foreign-key foreignTable="C_DOCTYPE" name="C_DOCTYPE_CORDER">
         <reference local="C_DOCTYPE_ID" foreign="C_DOCTYPE_ID"/>
       </foreign-key>
--- a/src-db/database/model/tables/C_ORDERLINE.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/src-db/database/model/tables/C_ORDERLINE.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -241,10 +241,26 @@
         <default/>
         <onCreateDefault/>
       </column>
+      <column name="CREATE_RESERVATION" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
       <column name="C_PROJECT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
         <default/>
         <onCreateDefault/>
       </column>
+      <column name="SO_RES_STATUS" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="MANAGE_RESERVATION" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="MANAGE_PRERESERVATION" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
       <foreign-key foreignTable="A_ASSET" name="C_ORDERLINE_A_ASSET">
         <reference local="A_ASSET_ID" foreign="A_ASSET_ID"/>
       </foreign-key>
--- a/src-db/database/model/tables/FIN_MATCHING_ALGORITHM.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/src-db/database/model/tables/FIN_MATCHING_ALGORITHM.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -45,12 +45,27 @@
         <default/>
         <onCreateDefault/>
       </column>
+      <column name="MATCHBPNAME" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
+        <default><![CDATA[Y]]></default>
+        <onCreateDefault><![CDATA['Y']]></onCreateDefault>
+      </column>
+      <column name="MATCHREFERENCE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
+        <default><![CDATA[Y]]></default>
+        <onCreateDefault><![CDATA['Y']]></onCreateDefault>
+      </column>
+      <column name="MATCHTRANSACTIONDATE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
+        <default><![CDATA[N]]></default>
+        <onCreateDefault><![CDATA['N']]></onCreateDefault>
+      </column>
       <foreign-key foreignTable="AD_CLIENT" name="FIN_MATCH_ALGORITHM_CLIENT">
         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
       </foreign-key>
       <foreign-key foreignTable="AD_ORG" name="FIN_MATCHING_ALGORITHM_ORG">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
+      <check name="BPNAME_CHK"><![CDATA[MATCHBPNAME IN ('Y', 'N')]]></check>
       <check name="FIN_MATCH_ALGORITHM_ACTIVE_CHK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="REFERENCE_CHK"><![CDATA[MATCHREFERENCE IN ('Y', 'N')]]></check>
+      <check name="TRANSACTIONDATE_CHK"><![CDATA[MATCHTRANSACTIONDATE IN ('Y', 'N')]]></check>
     </table>
   </database>
--- a/src-db/database/model/tables/MRP_RUN_PURCHASE.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/src-db/database/model/tables/MRP_RUN_PURCHASE.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -85,6 +85,10 @@
         <default><![CDATA[N]]></default>
         <onCreateDefault/>
       </column>
+      <column name="CREATE_RESERVATIONS" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
       <foreign-key foreignTable="AD_CLIENT" name="AD_CLIENT_RUN_PURCHASE">
         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
       </foreign-key>
@@ -109,6 +113,7 @@
       <foreign-key foreignTable="C_BPARTNER" name="MRP_RUN_PURCHASE_VENDOR">
         <reference local="VENDOR_ID" foreign="C_BPARTNER_ID"/>
       </foreign-key>
+      <check name="MRP_RUN_PURCHASE"><![CDATA[CREATE_RESERVATIONS IN ('Y', 'N')]]></check>
       <check name="MRP_RUN_PURCHASE_ISACTIVE_CHK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
       <check name="MRP_RUN_PURCHASE_LAUNCHPO_CHK"><![CDATA[LAUNCHPO IN ('Y', 'N')]]></check>
       <check name="MRP_RUN_PURCHASE_SIMULATE_CHK"><![CDATA[SIMULATE IN ('Y', 'N')]]></check>
--- a/src-db/database/model/tables/M_INOUTLINE.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/src-db/database/model/tables/M_INOUTLINE.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -97,6 +97,10 @@
         <default/>
         <onCreateDefault/>
       </column>
+      <column name="MANAGE_PRERESERVATION" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
       <column name="USER1_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
         <default/>
         <onCreateDefault/>
--- a/src-db/database/model/tables/M_PRODUCT_ORG.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/src-db/database/model/tables/M_PRODUCT_ORG.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -81,6 +81,10 @@
         <default/>
         <onCreateDefault/>
       </column>
+      <column name="M_PRODUCT_PO_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
       <foreign-key foreignTable="MRP_PLANNINGMETHOD" name="M_PRDCT_RG_MRP_PLNNNGMTHD">
         <reference local="MRP_PLANNINGMETHOD_ID" foreign="MRP_PLANNINGMETHOD_ID"/>
       </foreign-key>
@@ -99,6 +103,9 @@
       <foreign-key foreignTable="MRP_PLANNER" name="M_PRODUCT_ORG_MRP_PLANNER">
         <reference local="MRP_PLANNER_ID" foreign="MRP_PLANNER_ID"/>
       </foreign-key>
+      <foreign-key foreignTable="M_PRODUCT_PO" name="M_PRODUCT_ORG_PRODUCTPO">
+        <reference local="M_PRODUCT_PO_ID" foreign="M_PRODUCT_PO_ID"/>
+      </foreign-key>
       <unique name="M_PRODUCT_ORG_ORG_PRODUCT_UN">
         <unique-column name="AD_ORG_ID"/>
         <unique-column name="M_PRODUCT_ID"/>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-db/database/model/tables/M_RESERVATION.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -0,0 +1,124 @@
+<?xml version="1.0"?>
+  <database name="TABLE M_RESERVATION">
+    <table name="M_RESERVATION" primaryKey="M_RESERVATION_KEY">
+      <column name="M_RESERVATION_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="AD_ORG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
+        <default><![CDATA[Y]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
+        <default><![CDATA[SYSDATE]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
+        <default><![CDATA[SYSDATE]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="UPDATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="M_PRODUCT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="QUANTITY" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="C_UOM_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="C_ORDERLINE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="AD_USER_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="C_BPARTNER_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="M_WAREHOUSE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="M_ATTRIBUTESETINSTANCE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="M_LOCATOR_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="RESERVEDQTY" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="RELEASEDQTY" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="RES_STATUS" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="RES_PROCESS" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="MANAGERESERVATION_PE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <foreign-key foreignTable="M_ATTRIBUTESETINSTANCE" name="M_RESERVATION_ATTRSETINSTANCE">
+        <reference local="M_ATTRIBUTESETINSTANCE_ID" foreign="M_ATTRIBUTESETINSTANCE_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="C_BPARTNER" name="M_RESERVATION_BPARTNER">
+        <reference local="C_BPARTNER_ID" foreign="C_BPARTNER_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="AD_CLIENT" name="M_RESERVATION_CLIENT">
+        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="M_LOCATOR" name="M_RESERVATION_LOCATOR">
+        <reference local="M_LOCATOR_ID" foreign="M_LOCATOR_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="C_ORDERLINE" name="M_RESERVATION_ORDERLINE">
+        <reference local="C_ORDERLINE_ID" foreign="C_ORDERLINE_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="AD_ORG" name="M_RESERVATION_ORG">
+        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="M_PRODUCT" name="M_RESERVATION_PRODUCT">
+        <reference local="M_PRODUCT_ID" foreign="M_PRODUCT_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="C_UOM" name="M_RESERVATION_UOM">
+        <reference local="C_UOM_ID" foreign="C_UOM_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="AD_USER" name="M_RESERVATION_USER">
+        <reference local="AD_USER_ID" foreign="AD_USER_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="M_WAREHOUSE" name="M_RESERVATION_WAREHOUSE">
+        <reference local="M_WAREHOUSE_ID" foreign="M_WAREHOUSE_ID"/>
+      </foreign-key>
+      <check name="M_RESERVATION_ACTIVE_CHK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+    </table>
+  </database>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-db/database/model/tables/M_RESERVATION_STOCK.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -0,0 +1,98 @@
+<?xml version="1.0"?>
+  <database name="TABLE M_RESERVATION_STOCK">
+    <table name="M_RESERVATION_STOCK" primaryKey="M_RESERVATION_STOCK_KEY">
+      <column name="M_RESERVATION_STOCK_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="AD_ORG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
+        <default><![CDATA[Y]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
+        <default><![CDATA[SYSDATE]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
+        <default><![CDATA[SYSDATE]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="UPDATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="M_RESERVATION_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="M_STORAGE_DETAIL_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="C_ORDERLINE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="QUANTITY" primaryKey="false" required="true" type="DECIMAL" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="ISALLOCATED" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
+        <default><![CDATA[N]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="M_LOCATOR_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="M_ATTRIBUTESETINSTANCE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="RELEASEDQTY" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <foreign-key foreignTable="M_ATTRIBUTESETINSTANCE" name="M_RESERVATION_STOCK_ATTRSETINS">
+        <reference local="M_ATTRIBUTESETINSTANCE_ID" foreign="M_ATTRIBUTESETINSTANCE_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="AD_CLIENT" name="M_RESERVATION_STOCK_CLIENT">
+        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="M_LOCATOR" name="M_RESERVATION_STOCK_LOCATOR">
+        <reference local="M_LOCATOR_ID" foreign="M_LOCATOR_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="C_ORDERLINE" name="M_RESERVATION_STOCK_ORDERLINE">
+        <reference local="C_ORDERLINE_ID" foreign="C_ORDERLINE_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="AD_ORG" name="M_RESERVATION_STOCK_ORG">
+        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="M_RESERVATION" name="M_RESERVATION_STOCK_RESERV">
+        <reference local="M_RESERVATION_ID" foreign="M_RESERVATION_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="M_STORAGE_DETAIL" name="M_RESERVATION_STOCK_ST_DET">
+        <reference local="M_STORAGE_DETAIL_ID" foreign="M_STORAGE_DETAIL_ID"/>
+      </foreign-key>
+      <index name="M_RESERVATION_STOCK_RES" unique="false">
+        <index-column name="M_RESERVATION_ID"/>
+      </index>
+      <index name="M_RESERVATION_STOCK_SD" unique="false">
+        <index-column name="M_STORAGE_DETAIL_ID"/>
+      </index>
+      <check name="M_RESERVATION_STOCK_ACTIVE_CHK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="M_RESERVATION_STOCK_ALLOC_CHK"><![CDATA[ISALLOCATED IN ('Y', 'N')]]></check>
+    </table>
+  </database>
--- a/src-db/database/model/triggers/C_ORDERLINE_TRG.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/src-db/database/model/triggers/C_ORDERLINE_TRG.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -41,7 +41,8 @@
   v_rate NUMBER;
   v_isSummary CHAR(1);
   xTaxAmt NUMBER:=0;
-  
+  v_reservation_id    VARCHAR2(32);
+  v_prereservedqty    NUMBER;
     
 BEGIN
     
@@ -73,6 +74,27 @@
   ELSIF (:old.QtyInvoiced <> 0) THEN
    RAISE_APPLICATION_ERROR(-20000, '@20202@' || ' ' || :old.QtyInvoiced);
   END IF;
+  -- Check if reservation exists to delete it first.
+  SELECT issotrx INTO v_IsSOTrx
+  FROM c_order
+  WHERE c_order_id = :old.c_order_id;
+  IF (v_issotrx = 'Y') THEN
+    SELECT count(*) INTO v_count
+    FROM m_reservation 
+    WHERE c_orderline_id = :OLD.c_orderline_id;
+    IF (v_count > 0) THEN
+      SELECT m_reservation_id INTO v_reservation_id
+      FROM m_reservation
+      WHERE c_orderline_id = :OLD.c_orderline_id;
+      DELETE FROM m_reservation_stock
+      WHERE m_reservation_id = v_reservation_id;
+      DELETE FROM m_reservation
+      WHERE m_reservation_id = v_reservation_id;
+    END IF;
+  ELSE
+    DELETE FROM m_reservation_stock
+    WHERE c_orderline_id = :OLD.c_orderline_id;
+  END IF;
  ELSIF (UPDATING) THEN
    SELECT issotrx INTO v_IsSOTrx
    FROM c_order
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-db/database/model/triggers/M_RESERVATION_STOCK_TRG.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -0,0 +1,62 @@
+<?xml version="1.0"?>
+  <database name="TRIGGER M_RESERVATION_STOCK_TRG">
+    <trigger name="M_RESERVATION_STOCK_TRG" table="M_RESERVATION_STOCK" fires="before" insert="true" update="true" delete="true" foreach="row">
+      <body><![CDATA[
+
+/*************************************************************************
+* The contents of this file are subject to the Openbravo  Public  License
+* Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+* Version 1.1  with a permitted attribution clause; you may not  use this
+* file except in compliance with the License. You  may  obtain  a copy of
+* the License at http://www.openbravo.com/legal/license.html
+* Software distributed under the License  is  distributed  on  an "AS IS"
+* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+* License for the specific  language  governing  rights  and  limitations
+* under the License.
+* The Original Code is Openbravo ERP.
+* The Initial Developer of the Original Code is Openbravo SLU
+* All portions are Copyright (C) 2012 Openbravo SLU
+* All Rights Reserved.
+* Contributor(s):  ______________________________________.
+************************************************************************/
+  v_reservedqtydiff NUMBER:=0;
+  v_releasedqtydiff NUMBER:=0;
+  v_reservation_id      VARCHAR2(32);
+  v_resstatus       VARCHAR2(60);
+BEGIN
+  IF (AD_isTriggerEnabled()='N') THEN
+    RETURN;
+  END IF;
+
+  IF (INSERTING OR UPDATING) THEN
+    v_reservedqtydiff := COALESCE(:NEW.quantity, 0);
+    v_releasedqtydiff := COALESCE(:NEW.releasedqty, 0);
+    v_reservation_id := :NEW.m_reservation_id;
+    IF (:NEW.releasedqty > :NEW.quantity) THEN
+      RAISE_APPLICATION_ERROR(-20000, '@CannotReleasedMoreReserved@');
+    END IF;
+  END IF;
+
+  IF (UPDATING OR DELETING) THEN
+    v_reservedqtydiff := v_reservedqtydiff - COALESCE(:OLD.quantity, 0);
+    v_releasedqtydiff := v_releasedqtydiff - COALESCE(:OLD.releasedqty, 0);
+    v_reservation_id := :OLD.m_reservation_id;
+  END IF;
+  
+  IF (DELETING) THEN
+    SELECT res_status INTO v_resstatus
+    FROM m_reservation
+    WHERE m_reservation_id = :OLD.m_reservation_id;
+    IF (:OLD.releasedqty <> 0) THEN
+      RAISE_APPLICATION_ERROR(-20000, '@CannotDeleteReleasedReservation@');
+    END IF;
+  END IF;
+
+  UPDATE m_reservation
+  SET reservedqty = COALESCE(reservedqty, 0) + v_reservedqtydiff,
+      releasedqty = COALESCE(releasedqty, 0) + v_releasedqtydiff
+  WHERE m_reservation_id = v_reservation_id;
+END M_RESERVATION_STOCK_TRG
+]]></body>
+    </trigger>
+  </database>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-db/database/model/triggers/M_RESERVATION_TRG.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -0,0 +1,109 @@
+<?xml version="1.0"?>
+  <database name="TRIGGER M_RESERVATION_TRG">
+    <trigger name="M_RESERVATION_TRG" table="M_RESERVATION" fires="before" insert="true" update="true" delete="true" foreach="row">
+      <body><![CDATA[
+
+/*************************************************************************
+* The contents of this file are subject to the Openbravo  Public  License
+* Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+* Version 1.1  with a permitted attribution clause; you may not  use this
+* file except in compliance with the License. You  may  obtain  a copy of
+* the License at http://www.openbravo.com/legal/license.html
+* Software distributed under the License  is  distributed  on  an "AS IS"
+* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+* License for the specific  language  governing  rights  and  limitations
+* under the License.
+* The Original Code is Openbravo ERP.
+* The Initial Developer of the Original Code is Openbravo SLU
+* All portions are Copyright (C) 2012 Openbravo SLU
+* All Rights Reserved.
+* Contributor(s):  ______________________________________.
+************************************************************************/
+  v_sales_order_id      VARCHAR2(32);
+  v_linecount           NUMBER;
+  v_creservedcount      NUMBER;
+  v_preservedcount      NUMBER;
+  v_reservedcount       NUMBER;
+  v_count               NUMBER;
+  v_dummy               VARCHAR2(2000);
+BEGIN
+  IF (AD_isTriggerEnabled()='N') THEN
+    RETURN;
+  END IF;
+  
+  IF (INSERTING) THEN
+    SELECT COUNT(1) INTO v_count
+    FROM ad_preference
+    WHERE property = 'StockReservations';
+    IF (v_count > 1) THEN
+      v_dummy := AD_GET_PREFERENCE_VALUE('StockReservations', 'Y', :NEW.ad_client_id, :NEW.ad_org_id, NULL, NULL, NULL);
+    ELSIF (v_count = 0) THEN
+      RAISE_APPLICATION_ERROR(-20000, 'ReservationsNotEnabled');
+    END IF;
+
+  END IF;
+
+  IF (INSERTING OR UPDATING) THEN
+    IF (:NEW.res_status NOT IN ('DR', 'CL') AND :NEW.c_orderline_id IS NOT NULL) THEN
+      UPDATE c_orderline
+      SET so_res_status = CASE WHEN :NEW.quantity = :NEW.reservedqty THEN 'CR'
+                               ELSE 'PR'
+                          END
+      WHERE c_orderline_id = :NEW.c_orderline_id;
+
+      SELECT c_order_id INTO v_sales_order_id
+      FROM c_orderline
+      WHERE c_orderline_id = :NEW.c_orderline_id;
+      SELECT COUNT(*), SUM(CASE so_res_status WHEN 'CR' THEN 1 ELSE 0 END), SUM(CASE so_res_status WHEN 'PR' THEN 1 ELSE 0 END)
+        INTO v_linecount, v_creservedcount, v_preservedcount
+      FROM c_orderline ol
+          JOIN m_product p ON ol.m_product_id = p.m_product_id
+      WHERE ol.c_order_id = v_sales_order_id
+        AND ol.qtyordered > 0
+        AND p.isstocked = 'Y'
+        AND p.producttype = 'I';
+  
+      UPDATE c_order
+      SET so_res_status = CASE WHEN v_linecount = v_creservedcount THEN 'CR'
+                               WHEN v_creservedcount + v_preservedcount > 0 THEN 'PR'
+                               ELSE 'NR'
+                          END
+      WHERE c_order_id = v_sales_order_id;
+    END IF;
+  END IF;
+
+  IF (DELETING) THEN
+    IF (:OLD.res_status != 'DR') THEN
+      RAISE_APPLICATION_ERROR(-20000, '@DocumentProcessed@');
+    ELSIF (:OLD.releasedqty <> 0) THEN
+      RAISE_APPLICATION_ERROR(-20000, '@CannotDeleteReleasedReservation@');
+    END IF;
+    IF (:OLD.c_orderline_id IS NOT NULL) THEN
+      UPDATE c_orderline
+      SET so_res_status = 'NR'
+      WHERE c_orderline_id = :OLD.c_orderline_id;
+
+      SELECT c_order_id INTO v_sales_order_id
+      FROM c_orderline
+      WHERE c_orderline_id = :OLD.c_orderline_id;
+      SELECT COUNT(*), SUM(CASE so_res_status WHEN 'CR' THEN 1 ELSE 0 END), SUM(CASE so_res_status WHEN 'PR' THEN 1 ELSE 0 END)
+        INTO v_linecount, v_creservedcount, v_preservedcount
+      FROM c_orderline ol
+          JOIN m_product p ON ol.m_product_id = p.m_product_id
+      WHERE ol.c_order_id = v_sales_order_id
+        AND ol.qtyordered > 0
+        AND p.isstocked = 'Y'
+        AND p.producttype = 'I';
+  
+      UPDATE c_order
+      SET so_res_status = CASE WHEN v_linecount = v_creservedcount THEN 'CR'
+                               WHEN v_creservedcount + v_preservedcount > 0 THEN 'PR'
+                               ELSE 'NR'
+                          END
+      WHERE c_order_id = v_sales_order_id;
+    END IF;
+  END IF;
+END M_RESERVATION_TRG
+]]></body>
+    </trigger>
+  </database>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-db/database/model/triggers/M_TRANSACTION_TRG2.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -0,0 +1,68 @@
+<?xml version="1.0"?>
+  <database name="TRIGGER M_TRANSACTION_TRG2">
+    <trigger name="M_TRANSACTION_TRG2" table="M_TRANSACTION" fires="before" insert="true" update="false" delete="false" foreach="row">
+      <body><![CDATA[
+
+/*************************************************************************
+* The contents of this file are subject to the Openbravo  Public  License
+* Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
+* Version 1.1  with a permitted attribution clause; you may not  use this
+* file except in compliance with the License. You  may  obtain  a copy of
+* the License at http://www.openbravo.com/legal/license.html
+* Software distributed under the License  is  distributed  on  an "AS IS"
+* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+* License for the specific  language  governing  rights  and  limitations
+* under the License.
+* The Original Code is Openbravo ERP.
+* The Initial Developer of the Original Code is Openbravo SLU
+* All portions are Copyright (C) 2012 Openbravo SLU
+* All Rights Reserved.
+* Contributor(s):  ______________________________________.
+************************************************************************/
+  v_onhand      NUMBER;
+  v_reserved    NUMBER;
+  v_count       NUMBER;
+
+BEGIN
+  IF (AD_isTriggerEnabled() = 'N') THEN RETURN;
+  END IF;
+
+  IF (INSERTING) THEN
+    IF (:NEW.movementqty < 0 AND :NEW.m_product_uom_id IS NULL) THEN
+      -- Check reservations. Reserved stock must be released before inserting the transacion.
+      SELECT count(1) INTO v_count
+      FROM dual
+      WHERE EXISTS (SELECT 1
+                    FROM m_reservation r
+                        JOIN m_reservation_stock rs ON r.m_reservation_id = rs.m_reservation_id
+                    WHERE r.res_status NOT IN ('CL', 'DR')
+                      AND r.m_product_id = :NEW.m_product_id
+                      AND r.c_uom_id = :NEW.c_uom_id
+                      AND COALESCE(rs.m_attributesetinstance_id, '0') = :NEW.m_attributesetinstance_id
+                      AND rs.m_locator_id = :NEW.m_locator_id);
+      IF (v_count > 0) THEN
+        SELECT COALESCE(sum(rs.quantity - COALESCE(rs.releasedqty,0)), 0), sd.qtyonhand
+          INTO v_reserved, v_onhand
+        FROM m_reservation_stock rs
+            JOIN m_reservation r ON rs.m_reservation_id = r.m_reservation_id
+            JOIN m_storage_detail sd ON r.m_product_id = sd.m_product_id
+                                        AND r.c_uom_id = sd.c_uom_id
+                                        AND COALESCE(rs.m_attributesetinstance_id, '0') = COALESCE(sd.m_attributesetinstance_id, '0')
+                                        AND rs.m_locator_id = sd.m_locator_id
+                                        AND sd.m_product_uom_id IS NULL
+        WHERE r.res_status NOT IN ('CL', 'DR')
+          AND r.m_product_id = :NEW.m_product_id
+          AND r.c_uom_id = :NEW.c_uom_id
+          AND COALESCE(rs.m_attributesetinstance_id, '0') = :NEW.m_attributesetinstance_id
+          AND rs.m_locator_id = :NEW.m_locator_id
+        GROUP BY sd.qtyonhand, sd.m_storage_detail_id;
+        IF (v_onhand - v_reserved < ABS(:NEW.movementqty)) THEN
+          RAISE_APPLICATION_ERROR(-20000, '@CannotTakeOutReservedStock@');
+        END IF;
+      END IF;
+    END IF;
+  END IF;
+END M_TRANSACTION_TRG2
+]]></body>
+    </trigger>
+  </database>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-db/database/model/views/M_PRERESERVATION_PICK_EDIT.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -0,0 +1,4 @@
+<?xml version="1.0"?>
+  <database name="VIEW M_PRERESERVATION_PICK_EDIT">
+    <view name="M_PRERESERVATION_PICK_EDIT"><![CDATA[SELECT COALESCE(res.m_reservation_stock_id, (sol.c_orderline_id || pol.c_orderline_id)) AS m_prereservation_pick_edit_id, pol.ad_client_id, pol.ad_org_id, pol.createdby, pol.created, pol.updated, pol.updatedby, to_char('Y') AS isactive, pol.c_orderline_id AS purchase_orderline_id, sol.c_orderline_id AS sales_orderline_id, so.documentno, sol.line, so.dateordered, so.datepromised, pol.qtyordered AS purchasedqty, del.qty AS receivedqty, res.quantity AS reservedqty, res.m_reservation_stock_id,  CASE WHEN res.m_reservation_stock_id IS NULL THEN 'N' ELSE 'Y' END AS ob_selected, sol.qtyordered, sol.qtydelivered, solres.m_reservation_id, COALESCE(solres.qty, 0) - COALESCE(res.quantity, 0) AS otherresqty, so.c_bpartner_id FROM c_orderline pol JOIN c_order po ON pol.c_order_id = po.c_order_id AND po.issotrx = 'N' AND po.docstatus = 'CO' JOIN c_orderline sol ON pol.m_product_id = sol.m_product_id AND sol.qtyordered <> sol.qtydelivered JOIN c_order so ON sol.c_order_id = so.c_order_id AND so.issotrx = 'Y' AND so.docstatus = 'CO' JOIN (SELECT COALESCE(sum(mp.qty), 0) AS qty, ol.c_orderline_id FROM c_orderline ol JOIN c_order o ON ol.c_order_id = o.c_order_id AND o.issotrx = 'N' AND o.docstatus = 'CO' LEFT JOIN m_matchpo mp ON mp.c_orderline_id = ol.c_orderline_id AND mp.m_inoutline_id IS NOT NULL GROUP BY ol.c_orderline_id) del ON del.c_orderline_id = pol.c_orderline_id AND del.qty <> pol.qtyordered LEFT JOIN (SELECT r.c_orderline_id AS sales_orderline_id, rs.c_orderline_id AS purchase_orderline_id, rs.quantity, rs.m_reservation_stock_id FROM m_reservation r JOIN m_reservation_stock rs ON r.m_reservation_id = rs.m_reservation_id WHERE r.c_orderline_id IS NOT NULL AND rs.c_orderline_id IS NOT NULL AND rs.m_locator_id IS NULL AND (r.res_status NOT IN ('DR', 'CL'))) res ON res.sales_orderline_id = sol.c_orderline_id AND res.purchase_orderline_id = pol.c_orderline_id LEFT JOIN (SELECT sum(rs.quantity - COALESCE(rs.releasedqty, 0)) AS qty, r.m_reservation_id, r.c_orderline_id, r.quantity AS resqty FROM m_reservation r JOIN m_reservation_stock rs ON r.m_reservation_id = rs.m_reservation_id WHERE r.c_orderline_id IS NOT NULL GROUP BY r.m_reservation_id, r.c_orderline_id, r.quantity) solres ON solres.c_orderline_id = sol.c_orderline_id WHERE (solres.qty - COALESCE(res.quantity, 0)) <> (sol.qtyordered - sol.qtydelivered)]]></view>
+  </database>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-db/database/model/views/M_RESERVATION_PICK_EDIT.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -0,0 +1,4 @@
+<?xml version="1.0"?>
+  <database name="VIEW M_RESERVATION_PICK_EDIT">
+    <view name="M_RESERVATION_PICK_EDIT"><![CDATA[SELECT COALESCE(r.m_reservation_id, sol.c_orderline_id) || COALESCE(stock.m_storage_detail_id, stock.c_orderline_id) AS m_reservation_pick_edit_id, COALESCE(r.ad_client_id, sol.ad_client_id) AS ad_client_id, COALESCE(r.ad_org_id, sol.ad_org_id) AS ad_org_id, 'Y' AS isactive, COALESCE(r.updated, sol.updated) AS updated, COALESCE(r.updatedby, sol.updatedby) AS updatedby, COALESCE(r.created, sol.created) AS created, COALESCE(r.createdby, sol.createdby) AS createdby, 'N' AS ob_selected, NULL AS m_reservation_stock_id, stock.m_warehouse_id, stock.m_locator_id, stock.m_attributesetinstance_id, stock.c_orderline_id, stock.availableqty, COALESCE(stock.resqty, 0) AS reservedinothers, NULL AS quantity, NULL AS releasedqty, 'N' AS isallocated, sol.c_orderline_id AS sales_orderline_id, r.m_reservation_id, COALESCE(r.quantity, sol.qtyordered) AS resqty FROM (SELECT ol.c_orderline_id, ol.m_product_id, ol.qtyordered, ol.qtydelivered, COALESCE(ol.m_attributesetinstance_id, '0') AS m_attributesetinstance_id, ol.c_uom_id, ol.ad_org_id, ol.ad_client_id, ol.updated, ol.updatedby, ol.created, ol.createdby FROM c_orderline ol JOIN c_order o ON o.c_order_id = ol.c_order_id AND o.issotrx = 'Y' AND o.docstatus = 'CO' WHERE ol.qtyordered <> ol.qtydelivered) sol FULL JOIN m_reservation r ON r.c_orderline_id = sol.c_orderline_id JOIN (SELECT sd.m_product_id, sd.c_uom_id, sd.m_locator_id, l.m_warehouse_id, COALESCE(sd.m_attributesetinstance_id, '0') AS m_attributesetinstance_id, sum(res.quantity) AS resqty, sd.qtyonhand AS availableqty, sd.m_storage_detail_id, NULL AS c_orderline_id, NULL AS ad_org_id FROM m_storage_detail sd JOIN m_locator l ON sd.m_locator_id = l.m_locator_id LEFT JOIN (SELECT rs.quantity - COALESCE(rs.releasedqty, 0) AS quantity, COALESCE(rs.m_attributesetinstance_id, '0') AS m_attributesetinstance_id, rs.m_locator_id, r.m_product_id, r.c_uom_id FROM m_reservation_stock rs JOIN m_reservation r ON rs.m_reservation_id = r.m_reservation_id WHERE r.res_status NOT IN ('CL', 'DR')) res ON res.m_product_id = sd.m_product_id AND res.c_uom_id = sd.c_uom_id AND res.m_attributesetinstance_id = COALESCE(sd.m_attributesetinstance_id, '0') AND res.m_locator_id = sd.m_locator_id WHERE sd.qtyonhand > 0 AND sd.m_product_uom_id IS NULL GROUP BY sd.m_product_id, sd.c_uom_id, sd.m_locator_id, l.m_warehouse_id, COALESCE(sd.m_attributesetinstance_id, '0'), sd.qtyonhand, sd.m_storage_detail_id UNION ALL  SELECT ol.m_product_id, ol.c_uom_id, NULL AS m_locator_id, NULL AS m_warehouse_id, COALESCE(ol.m_attributesetinstance_id, '0') AS m_attributesetinstance_id, COALESCE(res.qty, 0) AS resqty, ol.qtyordered AS availableqty, NULL AS m_storage_detail_id, ol.c_orderline_id, ol.ad_org_id FROM c_orderline ol JOIN c_order o ON o.c_order_id = ol.c_order_id AND o.issotrx = 'N' AND o.docstatus = 'CO' LEFT JOIN m_matchpo mp ON mp.c_orderline_id = ol.c_orderline_id AND mp.m_inoutline_id IS NOT NULL LEFT JOIN (SELECT rs.c_orderline_id, sum(rs.quantity - COALESCE(rs.releasedqty, 0)) AS qty FROM m_reservation_stock rs JOIN m_reservation r ON rs.m_reservation_id = r.m_reservation_id WHERE (r.res_status NOT IN ('CL', 'DR')) AND rs.c_orderline_id IS NOT NULL GROUP BY rs.c_orderline_id) res ON res.c_orderline_id = ol.c_orderline_id GROUP BY ol.c_orderline_id, ol.m_product_id, ol.c_uom_id, COALESCE(ol.m_attributesetinstance_id, '0'), ol.qtyordered, COALESCE(res.qty, 0), ol.ad_org_id HAVING ol.qtyordered <> COALESCE(sum(mp.qty), 0)) stock ON stock.m_storage_detail_id IS NOT NULL AND stock.m_product_id = COALESCE(r.m_product_id, sol.m_product_id) AND stock.c_uom_id = COALESCE(r.c_uom_id, sol.c_uom_id) AND stock.m_attributesetinstance_id = COALESCE(r.m_attributesetinstance_id, stock.m_attributesetinstance_id) AND stock.m_locator_id = COALESCE(r.m_locator_id, stock.m_locator_id) AND stock.m_warehouse_id = COALESCE(r.m_warehouse_id, stock.m_warehouse_id) AND (stock.m_warehouse_id IN (SELECT ow.m_warehouse_id FROM ad_org_warehouse ow WHERE ow.ad_org_id = COALESCE(r.ad_org_id, sol.ad_org_id))) AND NOT (EXISTS (SELECT 1 FROM m_reservation_stock rs WHERE rs.m_reservation_id = r.m_reservation_id AND rs.m_locator_id = stock.m_locator_id AND COALESCE(rs.m_attributesetinstance_id, '0') = stock.m_attributesetinstance_id)) AND stock.m_warehouse_id = COALESCE(r.m_warehouse_id, stock.m_warehouse_id) AND stock.m_locator_id = COALESCE(r.m_locator_id, stock.m_locator_id) AND stock.m_attributesetinstance_id = COALESCE(r.m_attributesetinstance_id, stock.m_attributesetinstance_id) OR stock.c_orderline_id IS NOT NULL AND NOT (EXISTS (SELECT 1 FROM m_reservation_stock rs WHERE rs.m_reservation_id = r.m_reservation_id AND rs.c_orderline_id = stock.c_orderline_id)) AND ad_get_org_le_bu(stock.ad_org_id, 'LE') = ad_get_org_le_bu(COALESCE(r.ad_org_id, sol.ad_org_id), 'LE') AND stock.m_product_id = COALESCE(r.m_product_id, sol.m_product_id) AND stock.c_uom_id = COALESCE(r.c_uom_id, sol.c_uom_id) AND stock.m_attributesetinstance_id = COALESCE(r.m_attributesetinstance_id, sol.m_attributesetinstance_id) UNION ALL  SELECT rs.m_reservation_stock_id AS m_reservation_pick_edit_id, COALESCE(rs.ad_client_id, sol.ad_client_id) AS ad_client_id, COALESCE(r.ad_org_id, sol.ad_org_id) AS ad_org_id, 'Y' AS isactive, COALESCE(r.updated, sol.updated) AS updated, COALESCE(r.updatedby, sol.updatedby) AS updatedby, COALESCE(r.created, sol.created) AS created, COALESCE(r.createdby, sol.createdby) AS createdby, 'Y' AS ob_selected, rs.m_reservation_stock_id, stock.m_warehouse_id, stock.m_locator_id, stock.m_attributesetinstance_id, stock.c_orderline_id, stock.availableqty, COALESCE(stock.resqty, 0) -  CASE r.res_status WHEN 'DR' THEN 0 ELSE COALESCE(rs.quantity, 0) END AS reservedinothers, rs.quantity, rs.releasedqty, rs.isallocated, sol.c_orderline_id AS sales_orderline_id, r.m_reservation_id, COALESCE(r.quantity, sol.qtyordered) AS resqty FROM m_reservation r JOIN m_reservation_stock rs ON r.m_reservation_id = rs.m_reservation_id LEFT JOIN (SELECT ol.c_orderline_id, ol.m_product_id, ol.qtyordered, ol.qtydelivered, COALESCE(ol.m_attributesetinstance_id, '0') AS m_attributesetinstance_id, ol.c_uom_id, ol.ad_org_id, ol.ad_client_id, ol.updated, ol.updatedby, ol.created, ol.createdby FROM c_orderline ol JOIN c_order o ON o.c_order_id = ol.c_order_id AND o.issotrx = 'Y' AND o.docstatus = 'CO' WHERE ol.qtyordered <> ol.qtydelivered) sol ON r.c_orderline_id = sol.c_orderline_id LEFT JOIN (SELECT sd.m_product_id, sd.c_uom_id, sd.m_locator_id, l.m_warehouse_id, COALESCE(sd.m_attributesetinstance_id, '0') AS m_attributesetinstance_id, sum(res.quantity) AS resqty, sd.qtyonhand AS availableqty, sd.m_storage_detail_id, NULL AS c_orderline_id FROM m_storage_detail sd JOIN m_locator l ON sd.m_locator_id = l.m_locator_id LEFT JOIN (SELECT rs.quantity - COALESCE(rs.releasedqty, 0) AS quantity, COALESCE(rs.m_attributesetinstance_id, '0') AS m_attributesetinstance_id, rs.m_locator_id, r.m_product_id, r.c_uom_id FROM m_reservation_stock rs JOIN m_reservation r ON rs.m_reservation_id = r.m_reservation_id WHERE r.res_status NOT IN ('CL', 'DR')) res ON res.m_product_id = sd.m_product_id AND res.c_uom_id = sd.c_uom_id AND res.m_attributesetinstance_id = COALESCE(sd.m_attributesetinstance_id, '0') AND res.m_locator_id = sd.m_locator_id WHERE sd.qtyonhand > 0 AND sd.m_product_uom_id IS NULL GROUP BY sd.m_product_id, sd.c_uom_id, sd.m_locator_id, l.m_warehouse_id, COALESCE(sd.m_attributesetinstance_id, '0'), sd.qtyonhand, sd.m_storage_detail_id UNION ALL  SELECT ol.m_product_id, ol.c_uom_id, NULL AS m_locator_id, NULL AS m_warehouse_id, COALESCE(ol.m_attributesetinstance_id, '0') AS m_attributesetinstance_id, COALESCE(res.qty, 0) AS resqty, ol.qtyordered AS availableqty, NULL AS m_storage_detail_id, ol.c_orderline_id FROM c_orderline ol JOIN c_order o ON o.c_order_id = ol.c_order_id AND o.issotrx = 'N' AND o.docstatus = 'CO' LEFT JOIN m_matchpo mp ON mp.c_orderline_id = ol.c_orderline_id AND mp.m_inoutline_id IS NOT NULL LEFT JOIN (SELECT rs.c_orderline_id, sum(rs.quantity) AS qty FROM m_reservation_stock rs JOIN m_reservation r ON rs.m_reservation_id = r.m_reservation_id WHERE (r.res_status NOT IN ('CL', 'DR')) AND rs.c_orderline_id IS NOT NULL GROUP BY rs.c_orderline_id) res ON res.c_orderline_id = ol.c_orderline_id GROUP BY ol.c_orderline_id, ol.m_product_id, ol.c_uom_id, COALESCE(ol.m_attributesetinstance_id, '0'), ol.qtyordered, COALESCE(res.qty, 0) HAVING ol.qtyordered <> COALESCE(sum(mp.qty), 0)) stock ON stock.m_storage_detail_id IS NOT NULL AND stock.m_product_id = COALESCE(r.m_product_id, sol.m_product_id) AND stock.c_uom_id = COALESCE(r.c_uom_id, sol.c_uom_id) AND stock.m_locator_id = rs.m_locator_id AND stock.m_attributesetinstance_id = COALESCE(rs.m_attributesetinstance_id, '0') OR stock.c_orderline_id IS NOT NULL AND rs.c_orderline_id = stock.c_orderline_id]]></view>
+  </database>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-db/database/model/views/M_SOL_RESERVED_STOCK_V.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -0,0 +1,4 @@
+<?xml version="1.0"?>
+  <database name="VIEW M_SOL_RESERVED_STOCK_V">
+    <view name="M_SOL_RESERVED_STOCK_V"><![CDATA[SELECT rs.m_reservation_stock_id AS m_sol_reserved_stock_v_id, rs.ad_client_id, rs.ad_org_id, rs.isactive, rs.created, rs.createdby, rs.updated, rs.updatedby, rs.m_reservation_stock_id, r.m_reservation_id, r.c_orderline_id FROM m_reservation_stock rs JOIN m_reservation r ON rs.m_reservation_id = r.m_reservation_id]]></view>
+  </database>
--- a/src-db/database/sourcedata/AD_CALLOUT.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/src-db/database/sourcedata/AD_CALLOUT.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -768,6 +768,15 @@
 <!--2AAFD970BDF2404CA9D645796A998CA2-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--2AAFD970BDF2404CA9D645796A998CA2--></AD_CALLOUT>
 
+<!--2ABC4DCF576144CE8B43E23949262AF3--><AD_CALLOUT>
+<!--2ABC4DCF576144CE8B43E23949262AF3-->  <AD_CALLOUT_ID><![CDATA[2ABC4DCF576144CE8B43E23949262AF3]]></AD_CALLOUT_ID>
+<!--2ABC4DCF576144CE8B43E23949262AF3-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--2ABC4DCF576144CE8B43E23949262AF3-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--2ABC4DCF576144CE8B43E23949262AF3-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--2ABC4DCF576144CE8B43E23949262AF3-->  <NAME><![CDATA[SL_Reservation]]></NAME>
+<!--2ABC4DCF576144CE8B43E23949262AF3-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--2ABC4DCF576144CE8B43E23949262AF3--></AD_CALLOUT>
+
 <!--30F26E853A7241C394D67F910A87F3EF--><AD_CALLOUT>
 <!--30F26E853A7241C394D67F910A87F3EF-->  <AD_CALLOUT_ID><![CDATA[30F26E853A7241C394D67F910A87F3EF]]></AD_CALLOUT_ID>
 <!--30F26E853A7241C394D67F910A87F3EF-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_COLUMN.xml	Tue Nov 27 17:29:46 2012 +0100
+++ b/src-db/database/sourcedata/AD_COLUMN.xml	Tue Nov 27 18:03:28 2012 +0100
@@ -29671,7 +29671,7 @@
 <!--2170-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
 <!--2170-->  <ISSELECTIONCOLUMN><![CDATA[Y]]></ISSELECTIONCOLUMN>
 <!--2170-->  <AD_ELEMENT_ID><![CDATA[289]]></AD_ELEMENT_ID>
-<!--2170-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--2170-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
 <!--2170-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
 <!--2170-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
 <!--2170-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
@@ -31090,7 +31090,7 @@
 <!--2222-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
 <!--2222-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
 <!--2222-->  <AD_ELEMENT_ID><![CDATA[215]]></AD_ELEMENT_ID>
-<!--2222-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--2222-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
 <!--2222-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
 <!--2222-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
 <!--2222-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
@@ -61954,7 +61954,6 @@
 <!--3810-->  <AD_TABLE_ID><![CDATA[320]]></AD_TABLE_ID>
 <!--3810-->  <AD_REFERENCE_ID><![CDATA[11]]></AD_REFERENCE_ID>
 <!--3810-->  <FIELDLENGTH><![CDATA[10]]></FIELDLENGTH>
-<!--3810-->  <DEFAULTVALUE><![CDATA[@SQL=SELECT COALESCE(MAX(Line),0)+10 AS DefaultValue FROM M_InOutLine WHERE M_InOut_ID=@M_InOut_ID@]]></DEFAULTVALUE>
 <!--3810-->  <ISKEY><![CDATA[N]]></ISKEY>
 <!--3810-->  <ISPARENT><![CDATA[N]]></ISPARENT>
 <!--3810-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
@@ -67128,7 +67127,7 @@
 <!--4323-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
 <!--4323-->  <ISSELECTIONCOLUMN><![CDATA[Y]]></ISSELECTIONCOLUMN>
 <!--4323-->  <AD_ELEMENT_ID><![CDATA[289]]></AD_ELEMENT_ID>
-<!--4323-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--4323-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
 <!--4323-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
 <!--4323-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
 <!--4323-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
@@ -111865,7 +111864,7 @@
 <!--8767-->  <CALLOUT><![CDATA[SL_Order_Amt]]></CALLOUT>
 <!--8767-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
 <!--8767-->  <AD_ELEMENT_ID><![CDATA[2019]]></AD_ELEMENT_ID>
-<!--8767-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--8767-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
 <!--8767-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
 <!--8767-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
 <!--8767-->  <AD_CALLOUT_ID><![CDATA[138]]></AD_CALLOUT_ID>
@@ -135637,7 +135636,7 @@
 <!--800650-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--800650-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--800650-->  <NAME><![CDATA[M_Storage_Detail_ID]]></NAME>
-<!--800650-->  <HELP><![CDATA[The ID identifies a unique record]]></HELP>
+<!--800650-->  <HELP><![CDATA[The Storage Detail identifies a stock in the warehouse by quantity, attributes and storage bin.]]></HELP>
 <!--800650-->  <COLUMNNAME><![CDATA[M_Storage_Detail_ID]]></COLUMNNAME>
 <!--800650-->  <AD_TABLE_ID><![CDATA[800036]]></AD_TABLE_ID>
 <!--800650-->  <AD_REFERENCE_ID><![CDATA[13]]></AD_REFERENCE_ID>
@@ -278766,7 +278765,7 @@
 <!--8E15F7093F80485C8A7C82E96B37DB56-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--8E15F7093F80485C8A7C82E96B37DB56-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--8E15F7093F80485C8A7C82E96B37DB56-->  <NAME><![CDATA[M_Storage_Detail_ID]]></NAME>
-<!--8E15F7093F80485C8A7C82E96B37DB56-->  <HELP><![CDATA[The ID identifies a unique record]]></HELP>
+<!--8E15F7093F80485C8A7C82E96B37DB56-->  <HELP><![CDATA[The Storage Detail identifies a stock in the warehouse by quantity, attributes and storage bin.]]></HELP>
 <!--8E15F7093F80485C8A7C82E96B37DB56-->  <COLUMNNAME><![CDATA[M_Storage_Detail_ID]]></COLUMNNAME>
 <!--8E15F7093F80485C8A7C82E96B37DB56-->  <AD_TABLE_ID><![CDATA[FF80818132C964E30132C96AD24B0010]]></AD_TABLE_ID>
 <!--8E15F7093F80485C8A7C82E96B37DB56-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
@@ -283201,6 +283200,39 @@
 <!--9AB3980C9BB144A48043EBC87DBA57D6-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
 <!--9AB3980C9BB144A48043EBC87DBA57D6--></AD_COLUMN>
 
+<!--9AFE960A44A147ECAADB875D96399AA2--><AD_COLUMN>
+<!--9AFE960A44A147ECAADB875D96399AA2-->  <AD_COLUMN_ID><![CDATA[9AFE960A44A147ECAADB875D96399AA2]]></AD_COLUMN_ID>
+<!--9AFE960A44A147ECAADB875D96399AA2-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--9AFE960A44A147ECAADB875D96399AA2-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--9AFE960A44A147ECAADB875D96399AA2-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--9AFE960A44A147ECAADB875D96399AA2-->  <NAME><![CDATA[Invoice Status]]></NAME>
+<!--9AFE960A44A147ECAADB875D96399AA2-->  <COLUMNNAME><![CDATA[InvoiceStatus]]></COLUMNNAME>
+<!--9AFE960A44A147ECAADB875D96399AA2-->  <AD_TABLE_ID><![CDATA[319]]></AD_TABLE_ID>
+<!--9AFE960A44A147ECAADB875D96399AA2-->  <AD_REFERENCE_ID><![CDATA[11]]></AD_REFERENCE_ID>
+<!--9AFE960A44A147ECAADB875D96399AA2-->  <FIELDLENGTH><![CDATA[4]]></FIELDLENGTH>
+<!--9AFE960A44A147ECAADB875D96399AA2-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--9AFE960A44A147ECAADB875D96399AA2-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--9AFE960A44A147ECAADB875D96399AA2-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--9AFE960A44A147ECAADB875D96399AA2-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--9AFE960A44A147ECAADB875D96399AA2-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--9AFE960A44A147ECAADB875D96399AA2-->  <SEQNO><![CDATA[450]]></SEQNO>
+<!--9AFE960A44A147ECAADB875D96399AA2-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--9AFE960A44A147ECAADB875D96399AA2-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--9AFE960A44A147ECAADB875D96399AA2-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--9AFE960A44A147ECAADB875D96399AA2-->  <AD_ELEMENT_ID><![CDATA[A93D6B07CA89486F9518DD4FBA889EF7]]></AD_ELEMENT_ID>
+<!--9AFE960A44A147ECAADB875D96399AA2-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--9AFE960A44A147ECAADB875D96399AA2-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--9AFE960A44A147ECAADB875D96399AA2-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--9AFE960A44A147ECAADB875D96399AA2-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--9AFE960A44A147ECAADB875D96399AA2-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--9AFE960A44A147ECAADB875D96399AA2-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--9AFE960A44A147ECAADB875D96399AA2-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--9AFE960A44A147ECAADB875D96399AA2-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--9AFE960A44A147ECAADB875D96399AA2-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--9AFE960A44A147ECAADB875D96399AA2-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--9AFE960A44A147ECAADB875D96399AA2-->  <SQLLOGIC><![CDATA[(select C_GETINVOICESTATUSFROMSHIPMENT(m_inout_id) from dual)]]></SQLLOGIC>
+<!--9AFE960A44A147ECAADB875D96399AA2--></AD_COLUMN>
+
 <!--9BAEEE4845E238D8E040007F01002420--><AD_COLUMN>
 <!--9BAEEE4845E238D8E040007F01002420-->  <AD_COLUMN_ID><![CDATA[9BAEEE4845E238D8E040007F01002420]]></AD_COLUMN_ID>
 <!--9BAEEE4845E238D8E040007F01002420-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -284752,6 +284784,42 @@
 <!--9E7E0CF74B80471094024EE8181BD14B-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
 <!--9E7E0CF74B80471094024EE8181BD14B--></AD_COLUMN>
 
+<!--9E82E728716246B393C40D2CDCA0133A--><AD_COLUMN>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <AD_COLUMN_ID><![CDATA[9E82E728716246B393C40D2CDCA0133A]]></AD_COLUMN_ID>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <NAME><![CDATA[Delivery Status]]></NAME>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <DESCRIPTION><![CDATA[Delivery Status]]></DESCRIPTION>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <COLUMNNAME><![CDATA[DeliveryStatus]]></COLUMNNAME>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <AD_TABLE_ID><![CDATA[259]]></AD_TABLE_ID>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <AD_REFERENCE_ID><![CDATA[11]]></AD_REFERENCE_ID>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <FIELDLENGTH><![CDATA[4]]></FIELDLENGTH>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <SEQNO><![CDATA[610]]></SEQNO>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <AD_ELEMENT_ID><![CDATA[17BDA3A5F7C24442890D7B5707D76E94]]></AD_ELEMENT_ID>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--9E82E728716246B393C40D2CDCA0133A-->  <SQLLOGIC><![CDATA[(select case when sum(ol.qtyordered)  = 0 then 0 else 
+round(coalesce(sum(ol.qtydelivered), 0)/sum(ol.qtyordered) * 100, 0)  end 
+ from c_orderline ol where ol.c_order_id=c_order_id)]]></SQLLOGIC>
+<!--9E82E728716246B393C40D2CDCA0133A--></AD_COLUMN>
+
 <!--9E96300C46ED4928E040007F01006BD5--><AD_COLUMN>
 <!--9E96300C46ED4928E040007F01006BD5-->  <AD_COLUMN_ID><![CDATA[9E96300C46ED4928E040007F01006BD5]]></AD_COLUMN_ID>
 <!--9E96300C46ED4928E040007F01006BD5-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -286291,6 +286359,42 @@
 <!--A58DFDE11BF342779F8FAF40B84E8899-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
 <!--A58DFDE11BF342779F8FAF40B84E8899--></AD_COLUMN>
 
+<!--A5918BCB09AC45D4A23272BE650955B9--><AD_COLUMN>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <AD_COLUMN_ID><![CDATA[A5918BCB09AC45D4A23272BE650955B9]]></AD_COLUMN_ID>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <NAME><![CDATA[Matchreference]]></NAME>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <DESCRIPTION><![CDATA[Algorithm tries to match reference]]></DESCRIPTION>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <HELP><![CDATA[The algorithm will try to match using reference.]]></HELP>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <COLUMNNAME><![CDATA[Matchreference]]></COLUMNNAME>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <AD_TABLE_ID><![CDATA[8EABE4230116400FA30CAF1A57BBC579]]></AD_TABLE_ID>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <DEFAULTVALUE><![CDATA[Y]]></DEFAULTVALUE>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <SEQNO><![CDATA[170]]></SEQNO>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <AD_ELEMENT_ID><![CDATA[519F3CD67106443CBF25694F1BB6E92B]]></AD_ELEMENT_ID>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <POSITION><![CDATA[17]]></POSITION>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--A5918BCB09AC45D4A23272BE650955B9-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--A5918BCB09AC45D4A23272BE650955B9--></AD_COLUMN>
+
 <!--A5BD63500881485AA62A731858B83227--><AD_COLUMN>
 <!--A5BD63500881485AA62A731858B83227-->  <AD_COLUMN_ID><![CDATA[A5BD63500881485AA62A731858B83227]]></AD_COLUMN_ID>
 <!--A5BD63500881485AA62A731858B83227-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -292764,6 +292868,41 @@
 <!--B46323A21354425EAA2FB28EA4D86B37-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
 <!--B46323A21354425EAA2FB28EA4D86B37--></AD_COLUMN>
 
+<!--B5B203AE8D674B8DABC6669419815CA7--><AD_COLUMN>
+<!--B5B203AE8D674B8DABC6669419815CA7-->  <AD_COLUMN_ID><![CDATA[B5B203AE8D674B8DABC6669419815CA7]]></AD_COLUMN_ID>
+<!--B5B203AE8D674B8DABC6669419815CA7-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--B5B203AE8D674B8DABC6669419815CA7-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--B5B203AE8D674B8DABC6669419815CA7-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--B5B203AE8D674B8DABC6669419815CA7-->  <NAME><![CDATA[Invoice Status]]></NAME>
+<!--B5B203AE8D674B8DABC6669419815CA7-->  <COLUMNNAME><![CDATA[InvoiceStatus]]></COLUMNNAME>
+<!--B5B203AE8D674B8DABC6669419815CA7-->  <AD_TABLE_ID><![CDATA[259]]></AD_TABLE_ID>
+<!--B5B203AE8D674B8DABC6669419815CA7-->  <AD_REFERENCE_ID><![CDATA[11]]></AD_REFERENCE_ID>
+<!--B5B203AE8D674B8DABC6669419815CA7-->  <FIELDLENGTH><![CDATA[4]]></FIELDLENGTH>
+<!--B5B203AE8D674B8DABC6669419815CA7-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--B5B203AE8D674B8DABC6669419815CA7-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--B5B203AE8D674B8DABC6669419815CA7-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--B5B203AE8D674B8DABC6669419815CA7-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--B5B203AE8D674B8DABC6669419815CA7-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--B5B203AE8D674B8DABC6669419815CA7-->  <SEQNO><![CDATA[630]]></SEQNO>
+<!--B5B203AE8D674B8DABC6669419815CA7-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--B5B203AE8D674B8DABC6669419815CA7-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--B5B203AE8D674B8DABC6669419815CA7-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--B5B203AE8D674B8DABC6669419815CA7-->  <AD_ELEMENT_ID><![CDATA[A93D6B07CA89486F9518DD4FBA889EF7]]></AD_ELEMENT_ID>
+<!--B5B203AE8D674B8DABC6669419815CA7-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--B5B203AE8D674B8DABC6669419815CA7-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--B5B203AE8D674B8DABC6669419815CA7-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--B5B203AE8D674B8DABC6669419815CA7-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--B5B203AE8D674B8DABC6669419815CA7-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--B5B203AE8D674B8DABC6669419815CA7-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--B5B203AE8D674B8DABC6669419815CA7-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--B5B203AE8D674B8DABC6669419815CA7-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--B5B203AE8D674B8DABC6669419815CA7-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--B5B203AE8D674B8DABC6669419815CA7-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--B5B203AE8D674B8DABC6669419815CA7-->  <SQLLOGIC><![CDATA[(select case when sum(ol.qtyordered) = 0 then 0 else 
+round(coalesce(sum(ol.qtyinvoiced), 0)/sum(ol.qtyordered) * 100, 0)  end 
+from c_orderline ol   where ol.c_order_id=c_order_id)]]></SQLLOGIC>
+<!--B5B203AE8D674B8DABC6669419815CA7--></AD_COLUMN>
+
 <!--B515858C2040417D9BC41BA12F936B78--><AD_COLUMN>
 <!--B515858C2040417D9BC41BA12F936B78-->  <AD_COLUMN_ID><![CDATA[B515858C2040417D9BC41BA12F936B78]]></AD_COLUMN_ID>
 <!--B515858C2040417D9BC41BA12F936B78-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -293293,6 +293432,42 @@
 <!--B651D62716A2B629E040007F01004BB7-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
 <!--B651D62716A2B629E040007F01004BB7--></AD_COLUMN>
 
+<!--B6CF9A78D1624E31B887969621DB25F4--><AD_COLUMN>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <AD_COLUMN_ID><![CDATA[B6CF9A78D1624E31B887969621DB25F4]]></AD_COLUMN_ID>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <NAME><![CDATA[Matchbpname]]></NAME>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <DESCRIPTION><![CDATA[Algorithm tries to mach business partner name]]></DESCRIPTION>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <HELP><![CDATA[The algorithm will try to match using busines partner name.]]></HELP>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <COLUMNNAME><![CDATA[Matchbpname]]></COLUMNNAME>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <AD_TABLE_ID><![CDATA[8EABE4230116400FA30CAF1A57BBC579]]></AD_TABLE_ID>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <DEFAULTVALUE><![CDATA[Y]]></DEFAULTVALUE>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <SEQNO><![CDATA[160]]></SEQNO>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <AD_ELEMENT_ID><![CDATA[A2966FBA8749447F88BEEC89117C6915]]></AD_ELEMENT_ID>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <POSITION><![CDATA[16]]></POSITION>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--B6CF9A78D1624E31B887969621DB25F4-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--B6CF9A78D1624E31B887969621DB25F4--></AD_COLUMN>
+
 <!--B6ED6056952048FE9080441B05FD8BD8--><AD_COLUMN>
 <!--B6ED6056952048FE9080441B05FD8BD8-->  <AD_COLUMN_ID><![CDATA[B6ED6056952048FE9080441B05FD8BD8]]></AD_COLUMN_ID>
 <!--B6ED6056952048FE9080441B05FD8BD8-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -296918,7 +297093,7 @@
 <!--C0A3BFF2713A4EDAA70B5982472835D4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--C0A3BFF2713A4EDAA70B5982472835D4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--C0A3BFF2713A4EDAA70B5982472835D4-->  <NAME><![CDATA[M_Storage_Detail_ID]]></NAME>
-<!--C0A3BFF2713A4EDAA70B5982472835D4-->  <HELP><![CDATA[The ID identifies a unique record]]></HELP>
+<!--C0A3BFF2713A4EDAA70B5982472835D4-->  <HELP><![CDATA[The Storage Detail identifies a stock in the warehouse by quantity, attributes and storage bin.]]></HELP>
 <!--C0A3BFF2713A4EDAA70B5982472835D4-->  <COLUMNNAME><![CDATA[M_Storage_Detail_ID]]></COLUMNNAME>
 <!--C0A3BFF2713A4EDAA70B5982472835D4-->  <AD_TABLE_ID><![CDATA[FF80818132C964E30132C968F45B0008]]></AD_TABLE_ID>
 <!--C0A3BFF2713A4EDAA70B5982472835D4-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
@@ -298913,6 +299088,1142 @@
 <!--CA831A159AAC4A729AE8BF7F5C8206AF-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
 <!--CA831A159AAC4A729AE8BF7F5C8206AF--></AD_COLUMN>
 
+<!--CA9E531DC5C3EB11E040007F0100672C--><AD_COLUMN>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <AD_COLUMN_ID><![CDATA[CA9E531DC5C3EB11E040007F0100672C]]></AD_COLUMN_ID>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <NAME><![CDATA[Reservation]]></NAME>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <HELP><![CDATA[The Reservation is the definition of a product reservation is set the owner, the quantity and the desired dimensions.]]></HELP>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <COLUMNNAME><![CDATA[M_Reservation_ID]]></COLUMNNAME>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <AD_TABLE_ID><![CDATA[77264B07BB0E4FA483A07FB40C2E0FE0]]></AD_TABLE_ID>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <AD_REFERENCE_ID><![CDATA[13]]></AD_REFERENCE_ID>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <ISKEY><![CDATA[Y]]></ISKEY>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <SEQNO><![CDATA[10]]></SEQNO>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <AD_ELEMENT_ID><![CDATA[CA9E531DC5FAEB11E040007F0100672C]]></AD_ELEMENT_ID>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <POSITION><![CDATA[1]]></POSITION>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CA9E531DC5C3EB11E040007F0100672C-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CA9E531DC5C3EB11E040007F0100672C--></AD_COLUMN>
+
+<!--CA9E531DC5C4EB11E040007F0100672C--><AD_COLUMN>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <AD_COLUMN_ID><![CDATA[CA9E531DC5C4EB11E040007F0100672C]]></AD_COLUMN_ID>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <NAME><![CDATA[Client]]></NAME>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <DESCRIPTION><![CDATA[Client for this installation.]]></DESCRIPTION>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <HELP><![CDATA[A Client is a company or a legal entity. You cannot share data between Clients.]]></HELP>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <COLUMNNAME><![CDATA[AD_Client_ID]]></COLUMNNAME>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <AD_TABLE_ID><![CDATA[77264B07BB0E4FA483A07FB40C2E0FE0]]></AD_TABLE_ID>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <DEFAULTVALUE><![CDATA[@AD_CLIENT_ID@]]></DEFAULTVALUE>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <SEQNO><![CDATA[20]]></SEQNO>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <AD_ELEMENT_ID><![CDATA[102]]></AD_ELEMENT_ID>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <POSITION><![CDATA[2]]></POSITION>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CA9E531DC5C4EB11E040007F0100672C-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CA9E531DC5C4EB11E040007F0100672C--></AD_COLUMN>
+
+<!--CA9E531DC5C5EB11E040007F0100672C--><AD_COLUMN>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <AD_COLUMN_ID><![CDATA[CA9E531DC5C5EB11E040007F0100672C]]></AD_COLUMN_ID>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <NAME><![CDATA[Organization]]></NAME>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <DESCRIPTION><![CDATA[Organizational entity within client]]></DESCRIPTION>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <HELP><![CDATA[An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.]]></HELP>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <COLUMNNAME><![CDATA[AD_Org_ID]]></COLUMNNAME>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <AD_TABLE_ID><![CDATA[77264B07BB0E4FA483A07FB40C2E0FE0]]></AD_TABLE_ID>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <DEFAULTVALUE><![CDATA[@AD_ORG_ID@]]></DEFAULTVALUE>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <READONLYLOGIC><![CDATA[(@c_orderline_id@!null & @c_orderline_id@!'') | @res_status@!'DR' | @reservedqty@>0]]></READONLYLOGIC>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <AD_ELEMENT_ID><![CDATA[113]]></AD_ELEMENT_ID>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <POSITION><![CDATA[3]]></POSITION>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CA9E531DC5C5EB11E040007F0100672C-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CA9E531DC5C5EB11E040007F0100672C--></AD_COLUMN>
+
+<!--CA9E531DC5C6EB11E040007F0100672C--><AD_COLUMN>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <AD_COLUMN_ID><![CDATA[CA9E531DC5C6EB11E040007F0100672C]]></AD_COLUMN_ID>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <NAME><![CDATA[Active]]></NAME>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <DESCRIPTION><![CDATA[A flag indicating whether this record is available for use or de-activated.]]></DESCRIPTION>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <HELP><![CDATA[There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reporting. There are two reasons for de-activating and not deleting records: 
+(1) The system requires the record for auditing purposes.
+(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions.]]></HELP>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <COLUMNNAME><![CDATA[Isactive]]></COLUMNNAME>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <AD_TABLE_ID><![CDATA[77264B07BB0E4FA483A07FB40C2E0FE0]]></AD_TABLE_ID>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <DEFAULTVALUE><![CDATA[Y]]></DEFAULTVALUE>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <SEQNO><![CDATA[40]]></SEQNO>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <AD_ELEMENT_ID><![CDATA[348]]></AD_ELEMENT_ID>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <POSITION><![CDATA[4]]></POSITION>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CA9E531DC5C6EB11E040007F0100672C-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CA9E531DC5C6EB11E040007F0100672C--></AD_COLUMN>
+
+<!--CA9E531DC5C7EB11E040007F0100672C--><AD_COLUMN>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <AD_COLUMN_ID><![CDATA[CA9E531DC5C7EB11E040007F0100672C]]></AD_COLUMN_ID>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <NAME><![CDATA[Creation Date]]></NAME>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <DESCRIPTION><![CDATA[The date that this record is completed.]]></DESCRIPTION>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <HELP><![CDATA[The Created field indicates the date that this record was created.]]></HELP>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <COLUMNNAME><![CDATA[Created]]></COLUMNNAME>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <AD_TABLE_ID><![CDATA[77264B07BB0E4FA483A07FB40C2E0FE0]]></AD_TABLE_ID>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <DEFAULTVALUE><![CDATA[SYSDATE]]></DEFAULTVALUE>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <SEQNO><![CDATA[50]]></SEQNO>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <AD_ELEMENT_ID><![CDATA[245]]></AD_ELEMENT_ID>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <POSITION><![CDATA[5]]></POSITION>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CA9E531DC5C7EB11E040007F0100672C-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CA9E531DC5C7EB11E040007F0100672C--></AD_COLUMN>
+
+<!--CA9E531DC5C9EB11E040007F0100672C--><AD_COLUMN>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <AD_COLUMN_ID><![CDATA[CA9E531DC5C9EB11E040007F0100672C]]></AD_COLUMN_ID>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <NAME><![CDATA[Updated]]></NAME>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <DESCRIPTION><![CDATA[The date that this record was last updated]]></DESCRIPTION>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <HELP><![CDATA[The Updated field indicates the date that this record was updated.]]></HELP>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <COLUMNNAME><![CDATA[Updated]]></COLUMNNAME>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <AD_TABLE_ID><![CDATA[77264B07BB0E4FA483A07FB40C2E0FE0]]></AD_TABLE_ID>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <DEFAULTVALUE><![CDATA[SYSDATE]]></DEFAULTVALUE>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <SEQNO><![CDATA[70]]></SEQNO>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <AD_ELEMENT_ID><![CDATA[607]]></AD_ELEMENT_ID>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <POSITION><![CDATA[7]]></POSITION>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CA9E531DC5C9EB11E040007F0100672C-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CA9E531DC5C9EB11E040007F0100672C--></AD_COLUMN>
+
+<!--CA9E531DC5CAEB11E040007F0100672C--><AD_COLUMN>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <AD_COLUMN_ID><![CDATA[CA9E531DC5CAEB11E040007F0100672C]]></AD_COLUMN_ID>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <NAME><![CDATA[Updated By]]></NAME>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <DESCRIPTION><![CDATA[User who updated this records]]></DESCRIPTION>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <HELP><![CDATA[The Updated By field indicates the user who updated this record.]]></HELP>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <COLUMNNAME><![CDATA[Updatedby]]></COLUMNNAME>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <AD_TABLE_ID><![CDATA[77264B07BB0E4FA483A07FB40C2E0FE0]]></AD_TABLE_ID>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <SEQNO><![CDATA[80]]></SEQNO>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <AD_ELEMENT_ID><![CDATA[608]]></AD_ELEMENT_ID>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <POSITION><![CDATA[8]]></POSITION>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CA9E531DC5CAEB11E040007F0100672C-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CA9E531DC5CAEB11E040007F0100672C--></AD_COLUMN>
+
+<!--CA9E531DC5CBEB11E040007F0100672C--><AD_COLUMN>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <AD_COLUMN_ID><![CDATA[CA9E531DC5CBEB11E040007F0100672C]]></AD_COLUMN_ID>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <NAME><![CDATA[Product]]></NAME>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <DESCRIPTION><![CDATA[An item produced by a process.]]></DESCRIPTION>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <HELP><![CDATA[Identifies an item which is either purchased or sold in this organization.]]></HELP>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <COLUMNNAME><![CDATA[M_Product_ID]]></COLUMNNAME>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <AD_TABLE_ID><![CDATA[77264B07BB0E4FA483A07FB40C2E0FE0]]></AD_TABLE_ID>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <AD_REFERENCE_VALUE_ID><![CDATA[800011]]></AD_REFERENCE_VALUE_ID>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <READONLYLOGIC><![CDATA[(@c_orderline_id@!null & @c_orderline_id@!'') | @res_status@!'DR' | @reservedqty@>0]]></READONLYLOGIC>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <SEQNO><![CDATA[90]]></SEQNO>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <AD_ELEMENT_ID><![CDATA[454]]></AD_ELEMENT_ID>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <AD_CALLOUT_ID><![CDATA[2ABC4DCF576144CE8B43E23949262AF3]]></AD_CALLOUT_ID>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <POSITION><![CDATA[9]]></POSITION>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CA9E531DC5CBEB11E040007F0100672C-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CA9E531DC5CBEB11E040007F0100672C--></AD_COLUMN>
+
+<!--CA9E531DC5CCEB11E040007F0100672C--><AD_COLUMN>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <AD_COLUMN_ID><![CDATA[CA9E531DC5CCEB11E040007F0100672C]]></AD_COLUMN_ID>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <NAME><![CDATA[Quantity]]></NAME>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <DESCRIPTION><![CDATA[The number of a certain item.]]></DESCRIPTION>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <HELP><![CDATA[Indicates the quantity of product needed to process one time the sequence.]]></HELP>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <COLUMNNAME><![CDATA[Quantity]]></COLUMNNAME>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <AD_TABLE_ID><![CDATA[77264B07BB0E4FA483A07FB40C2E0FE0]]></AD_TABLE_ID>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <AD_REFERENCE_ID><![CDATA[29]]></AD_REFERENCE_ID>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <READONLYLOGIC><![CDATA[@c_orderline_id@!null&@c_orderline_id@!'']]></READONLYLOGIC>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <SEQNO><![CDATA[100]]></SEQNO>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <AD_ELEMENT_ID><![CDATA[800315]]></AD_ELEMENT_ID>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <POSITION><![CDATA[10]]></POSITION>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CA9E531DC5CCEB11E040007F0100672C-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CA9E531DC5CCEB11E040007F0100672C--></AD_COLUMN>
+
+<!--CA9E531DC5CDEB11E040007F0100672C--><AD_COLUMN>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <AD_COLUMN_ID><![CDATA[CA9E531DC5CDEB11E040007F0100672C]]></AD_COLUMN_ID>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <NAME><![CDATA[UOM]]></NAME>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <DESCRIPTION><![CDATA[A non monetary unit of measure.]]></DESCRIPTION>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <HELP><![CDATA[The UOM defines a unique non monetary unit of measure]]></HELP>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <COLUMNNAME><![CDATA[C_Uom_ID]]></COLUMNNAME>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <AD_TABLE_ID><![CDATA[77264B07BB0E4FA483A07FB40C2E0FE0]]></AD_TABLE_ID>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <SEQNO><![CDATA[110]]></SEQNO>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <AD_ELEMENT_ID><![CDATA[215]]></AD_ELEMENT_ID>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <POSITION><![CDATA[11]]></POSITION>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CA9E531DC5CDEB11E040007F0100672C-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CA9E531DC5CDEB11E040007F0100672C--></AD_COLUMN>
+
+<!--CA9E531DC5CFEB11E040007F0100672C--><AD_COLUMN>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <AD_COLUMN_ID><![CDATA[CA9E531DC5CFEB11E040007F0100672C]]></AD_COLUMN_ID>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <NAME><![CDATA[Sales Order Line]]></NAME>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <DESCRIPTION><![CDATA[A unique and often automatically generated identifier for a sales order line.]]></DESCRIPTION>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <HELP><![CDATA[A unique identifier and a reference to a sales order line (product).]]></HELP>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <COLUMNNAME><![CDATA[C_Orderline_ID]]></COLUMNNAME>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <AD_TABLE_ID><![CDATA[77264B07BB0E4FA483A07FB40C2E0FE0]]></AD_TABLE_ID>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <SEQNO><![CDATA[130]]></SEQNO>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <AD_ELEMENT_ID><![CDATA[561]]></AD_ELEMENT_ID>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <POSITION><![CDATA[13]]></POSITION>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CA9E531DC5CFEB11E040007F0100672C-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CA9E531DC5CFEB11E040007F0100672C--></AD_COLUMN>
+
+<!--CA9E531DC5D0EB11E040007F0100672C--><AD_COLUMN>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <AD_COLUMN_ID><![CDATA[CA9E531DC5D0EB11E040007F0100672C]]></AD_COLUMN_ID>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <ISACTIVE><![CDATA[N]]></ISACTIVE>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <NAME><![CDATA[User/Contact]]></NAME>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <DESCRIPTION><![CDATA[An acquaintance to reach for information related to the business partner.]]></DESCRIPTION>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <HELP><![CDATA[The User identifies a unique user in the system. This could be an internal user or a business partner contact]]></HELP>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <COLUMNNAME><![CDATA[AD_User_ID]]></COLUMNNAME>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <AD_TABLE_ID><![CDATA[77264B07BB0E4FA483A07FB40C2E0FE0]]></AD_TABLE_ID>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <AD_VAL_RULE_ID><![CDATA[164]]></AD_VAL_RULE_ID>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <SEQNO><![CDATA[140]]></SEQNO>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <AD_ELEMENT_ID><![CDATA[138]]></AD_ELEMENT_ID>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <DEVELOPMENTSTATUS><![CDATA[NI]]></DEVELOPMENTSTATUS>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <POSITION><![CDATA[14]]></POSITION>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CA9E531DC5D0EB11E040007F0100672C-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CA9E531DC5D0EB11E040007F0100672C--></AD_COLUMN>
+
+<!--CA9E531DC5D1EB11E040007F0100672C--><AD_COLUMN>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <AD_COLUMN_ID><![CDATA[CA9E531DC5D1EB11E040007F0100672C]]></AD_COLUMN_ID>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <ISACTIVE><![CDATA[N]]></ISACTIVE>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <NAME><![CDATA[Business Partner]]></NAME>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <DESCRIPTION><![CDATA[Anyone who takes part in daily business operations by acting as a customer, employee, etc.]]></DESCRIPTION>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <HELP><![CDATA[A Business Partner is anyone with whom you transact.  This can include a customer, vendor, employee or any combination of these.]]></HELP>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <COLUMNNAME><![CDATA[C_Bpartner_ID]]></COLUMNNAME>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <AD_TABLE_ID><![CDATA[77264B07BB0E4FA483A07FB40C2E0FE0]]></AD_TABLE_ID>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <AD_REFERENCE_VALUE_ID><![CDATA[800057]]></AD_REFERENCE_VALUE_ID>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <SEQNO><![CDATA[150]]></SEQNO>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <AD_ELEMENT_ID><![CDATA[187]]></AD_ELEMENT_ID>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <DEVELOPMENTSTATUS><![CDATA[NI]]></DEVELOPMENTSTATUS>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <POSITION><![CDATA[15]]></POSITION>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CA9E531DC5D1EB11E040007F0100672C-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CA9E531DC5D1EB11E040007F0100672C--></AD_COLUMN>
+
+<!--CA9E531DC5D2EB11E040007F0100672C--><AD_COLUMN>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <AD_COLUMN_ID><![CDATA[CA9E531DC5D2EB11E040007F0100672C]]></AD_COLUMN_ID>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <NAME><![CDATA[Warehouse]]></NAME>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <DESCRIPTION><![CDATA[The location where products arrive to or are sent from.]]></DESCRIPTION>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <HELP><![CDATA[The Warehouse identifies a unique Warehouse where products are stored or Services are provided.]]></HELP>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <COLUMNNAME><![CDATA[M_Warehouse_ID]]></COLUMNNAME>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <AD_TABLE_ID><![CDATA[77264B07BB0E4FA483A07FB40C2E0FE0]]></AD_TABLE_ID>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <SEQNO><![CDATA[160]]></SEQNO>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <AD_ELEMENT_ID><![CDATA[459]]></AD_ELEMENT_ID>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <POSITION><![CDATA[16]]></POSITION>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CA9E531DC5D2EB11E040007F0100672C-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CA9E531DC5D2EB11E040007F0100672C--></AD_COLUMN>
+
+<!--CA9E531DC5D3EB11E040007F0100672C--><AD_COLUMN>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <AD_COLUMN_ID><![CDATA[CA9E531DC5D3EB11E040007F0100672C]]></AD_COLUMN_ID>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <NAME><![CDATA[Attribute Set Value]]></NAME>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <DESCRIPTION><![CDATA[An attribute associated with a product as part of an attribute set.]]></DESCRIPTION>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <HELP><![CDATA[The values of the actual Product Attributes]]></HELP>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <COLUMNNAME><![CDATA[M_Attributesetinstance_ID]]></COLUMNNAME>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <AD_TABLE_ID><![CDATA[77264B07BB0E4FA483A07FB40C2E0FE0]]></AD_TABLE_ID>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <AD_REFERENCE_ID><![CDATA[35]]></AD_REFERENCE_ID>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <SEQNO><![CDATA[170]]></SEQNO>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <AD_ELEMENT_ID><![CDATA[2019]]></AD_ELEMENT_ID>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <POSITION><![CDATA[17]]></POSITION>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CA9E531DC5D3EB11E040007F0100672C-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CA9E531DC5D3EB11E040007F0100672C--></AD_COLUMN>
+
+<!--CA9E531DC5D4EB11E040007F0100672C--><AD_COLUMN>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <AD_COLUMN_ID><![CDATA[CA9E531DC5D4EB11E040007F0100672C]]></AD_COLUMN_ID>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <NAME><![CDATA[Storage Bin]]></NAME>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <DESCRIPTION><![CDATA[A set of coordinates (x, y, z) which help locate an item in a warehouse.]]></DESCRIPTION>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <HELP><![CDATA[The Locator ID indicates where in a Warehouse a product is located.]]></HELP>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <COLUMNNAME><![CDATA[M_Locator_ID]]></COLUMNNAME>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <AD_TABLE_ID><![CDATA[77264B07BB0E4FA483A07FB40C2E0FE0]]></AD_TABLE_ID>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <AD_REFERENCE_VALUE_ID><![CDATA[31]]></AD_REFERENCE_VALUE_ID>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <SEQNO><![CDATA[180]]></SEQNO>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <AD_ELEMENT_ID><![CDATA[448]]></AD_ELEMENT_ID>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <POSITION><![CDATA[18]]></POSITION>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CA9E531DC5D4EB11E040007F0100672C-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CA9E531DC5D4EB11E040007F0100672C--></AD_COLUMN>
+
+<!--CA9E531DC5D8EB11E040007F0100672C--><AD_COLUMN>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <AD_COLUMN_ID><![CDATA[CA9E531DC5D8EB11E040007F0100672C]]></AD_COLUMN_ID>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <NAME><![CDATA[Created By]]></NAME>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <DESCRIPTION><![CDATA[User who created this records]]></DESCRIPTION>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <HELP><![CDATA[The Created By field indicates the user who created this record.]]></HELP>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <COLUMNNAME><![CDATA[Createdby]]></COLUMNNAME>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <AD_TABLE_ID><![CDATA[77264B07BB0E4FA483A07FB40C2E0FE0]]></AD_TABLE_ID>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <SEQNO><![CDATA[60]]></SEQNO>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <AD_ELEMENT_ID><![CDATA[246]]></AD_ELEMENT_ID>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <POSITION><![CDATA[6]]></POSITION>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CA9E531DC5D8EB11E040007F0100672C-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CA9E531DC5D8EB11E040007F0100672C--></AD_COLUMN>
+
+<!--CA9E5C38D2EA7E11E040007F010067A6--><AD_COLUMN>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <AD_COLUMN_ID><![CDATA[CA9E5C38D2EA7E11E040007F010067A6]]></AD_COLUMN_ID>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <NAME><![CDATA[Reservation Stock]]></NAME>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <HELP><![CDATA[The Reservation Stock is each existing stock or purchased stock to fulfill the Reservation.]]></HELP>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <COLUMNNAME><![CDATA[M_Reservation_Stock_ID]]></COLUMNNAME>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <AD_TABLE_ID><![CDATA[D6079A4A6C2542678D9A50114367B967]]></AD_TABLE_ID>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <AD_REFERENCE_ID><![CDATA[13]]></AD_REFERENCE_ID>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <ISKEY><![CDATA[Y]]></ISKEY>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <SEQNO><![CDATA[10]]></SEQNO>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <AD_ELEMENT_ID><![CDATA[CA9E531DC5FCEB11E040007F0100672C]]></AD_ELEMENT_ID>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <POSITION><![CDATA[1]]></POSITION>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CA9E5C38D2EA7E11E040007F010067A6-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CA9E5C38D2EA7E11E040007F010067A6--></AD_COLUMN>
+
+<!--CA9E5C38D2EB7E11E040007F010067A6--><AD_COLUMN>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <AD_COLUMN_ID><![CDATA[CA9E5C38D2EB7E11E040007F010067A6]]></AD_COLUMN_ID>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <NAME><![CDATA[Client]]></NAME>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <DESCRIPTION><![CDATA[Client for this installation.]]></DESCRIPTION>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <HELP><![CDATA[A Client is a company or a legal entity. You cannot share data between Clients.]]></HELP>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <COLUMNNAME><![CDATA[AD_Client_ID]]></COLUMNNAME>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <AD_TABLE_ID><![CDATA[D6079A4A6C2542678D9A50114367B967]]></AD_TABLE_ID>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <DEFAULTVALUE><![CDATA[@AD_CLIENT_ID@]]></DEFAULTVALUE>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <SEQNO><![CDATA[20]]></SEQNO>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <AD_ELEMENT_ID><![CDATA[102]]></AD_ELEMENT_ID>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <POSITION><![CDATA[2]]></POSITION>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CA9E5C38D2EB7E11E040007F010067A6-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CA9E5C38D2EB7E11E040007F010067A6--></AD_COLUMN>
+
+<!--CA9E5C38D2EC7E11E040007F010067A6--><AD_COLUMN>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <AD_COLUMN_ID><![CDATA[CA9E5C38D2EC7E11E040007F010067A6]]></AD_COLUMN_ID>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <NAME><![CDATA[Organization]]></NAME>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <DESCRIPTION><![CDATA[Organizational entity within client]]></DESCRIPTION>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <HELP><![CDATA[An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.]]></HELP>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <COLUMNNAME><![CDATA[AD_Org_ID]]></COLUMNNAME>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <AD_TABLE_ID><![CDATA[D6079A4A6C2542678D9A50114367B967]]></AD_TABLE_ID>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <DEFAULTVALUE><![CDATA[@AD_ORG_ID@]]></DEFAULTVALUE>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <AD_ELEMENT_ID><![CDATA[113]]></AD_ELEMENT_ID>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <POSITION><![CDATA[3]]></POSITION>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CA9E5C38D2EC7E11E040007F010067A6-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CA9E5C38D2EC7E11E040007F010067A6--></AD_COLUMN>
+
+<!--CA9E5C38D2ED7E11E040007F010067A6--><AD_COLUMN>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <AD_COLUMN_ID><![CDATA[CA9E5C38D2ED7E11E040007F010067A6]]></AD_COLUMN_ID>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <NAME><![CDATA[Active]]></NAME>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <DESCRIPTION><![CDATA[A flag indicating whether this record is available for use or de-activated.]]></DESCRIPTION>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <HELP><![CDATA[There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reporting. There are two reasons for de-activating and not deleting records: 
+(1) The system requires the record for auditing purposes.
+(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions.]]></HELP>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <COLUMNNAME><![CDATA[Isactive]]></COLUMNNAME>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <AD_TABLE_ID><![CDATA[D6079A4A6C2542678D9A50114367B967]]></AD_TABLE_ID>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <DEFAULTVALUE><![CDATA[Y]]></DEFAULTVALUE>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <SEQNO><![CDATA[40]]></SEQNO>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <AD_ELEMENT_ID><![CDATA[348]]></AD_ELEMENT_ID>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <POSITION><![CDATA[4]]></POSITION>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CA9E5C38D2ED7E11E040007F010067A6-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CA9E5C38D2ED7E11E040007F010067A6--></AD_COLUMN>
+
+<!--CA9E5C38D2EE7E11E040007F010067A6--><AD_COLUMN>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <AD_COLUMN_ID><![CDATA[CA9E5C38D2EE7E11E040007F010067A6]]></AD_COLUMN_ID>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <NAME><![CDATA[Creation Date]]></NAME>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <DESCRIPTION><![CDATA[The date that this record is completed.]]></DESCRIPTION>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <HELP><![CDATA[The Created field indicates the date that this record was created.]]></HELP>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <COLUMNNAME><![CDATA[Created]]></COLUMNNAME>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <AD_TABLE_ID><![CDATA[D6079A4A6C2542678D9A50114367B967]]></AD_TABLE_ID>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <DEFAULTVALUE><![CDATA[SYSDATE]]></DEFAULTVALUE>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <SEQNO><![CDATA[50]]></SEQNO>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <AD_ELEMENT_ID><![CDATA[245]]></AD_ELEMENT_ID>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <POSITION><![CDATA[5]]></POSITION>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CA9E5C38D2EE7E11E040007F010067A6-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CA9E5C38D2EE7E11E040007F010067A6--></AD_COLUMN>
+
+<!--CA9E5C38D2EF7E11E040007F010067A6--><AD_COLUMN>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <AD_COLUMN_ID><![CDATA[CA9E5C38D2EF7E11E040007F010067A6]]></AD_COLUMN_ID>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <NAME><![CDATA[Created By]]></NAME>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <DESCRIPTION><![CDATA[User who created this records]]></DESCRIPTION>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <HELP><![CDATA[The Created By field indicates the user who created this record.]]></HELP>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <COLUMNNAME><![CDATA[Createdby]]></COLUMNNAME>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <AD_TABLE_ID><![CDATA[D6079A4A6C2542678D9A50114367B967]]></AD_TABLE_ID>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <SEQNO><![CDATA[60]]></SEQNO>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <AD_ELEMENT_ID><![CDATA[246]]></AD_ELEMENT_ID>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <POSITION><![CDATA[6]]></POSITION>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CA9E5C38D2EF7E11E040007F010067A6-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CA9E5C38D2EF7E11E040007F010067A6--></AD_COLUMN>
+
+<!--CA9E5C38D2F07E11E040007F010067A6--><AD_COLUMN>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <AD_COLUMN_ID><![CDATA[CA9E5C38D2F07E11E040007F010067A6]]></AD_COLUMN_ID>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <NAME><![CDATA[Updated]]></NAME>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <DESCRIPTION><![CDATA[The date that this record was last updated]]></DESCRIPTION>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <HELP><![CDATA[The Updated field indicates the date that this record was updated.]]></HELP>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <COLUMNNAME><![CDATA[Updated]]></COLUMNNAME>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <AD_TABLE_ID><![CDATA[D6079A4A6C2542678D9A50114367B967]]></AD_TABLE_ID>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <DEFAULTVALUE><![CDATA[SYSDATE]]></DEFAULTVALUE>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <SEQNO><![CDATA[70]]></SEQNO>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <AD_ELEMENT_ID><![CDATA[607]]></AD_ELEMENT_ID>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <POSITION><![CDATA[7]]></POSITION>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CA9E5C38D2F07E11E040007F010067A6-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CA9E5C38D2F07E11E040007F010067A6--></AD_COLUMN>
+
+<!--CA9E5C38D2F17E11E040007F010067A6--><AD_COLUMN>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <AD_COLUMN_ID><![CDATA[CA9E5C38D2F17E11E040007F010067A6]]></AD_COLUMN_ID>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <NAME><![CDATA[Updated By]]></NAME>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <DESCRIPTION><![CDATA[User who updated this records]]></DESCRIPTION>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <HELP><![CDATA[The Updated By field indicates the user who updated this record.]]></HELP>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <COLUMNNAME><![CDATA[Updatedby]]></COLUMNNAME>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <AD_TABLE_ID><![CDATA[D6079A4A6C2542678D9A50114367B967]]></AD_TABLE_ID>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <SEQNO><![CDATA[80]]></SEQNO>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <AD_ELEMENT_ID><![CDATA[608]]></AD_ELEMENT_ID>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <POSITION><![CDATA[8]]></POSITION>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CA9E5C38D2F17E11E040007F010067A6-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CA9E5C38D2F17E11E040007F010067A6--></AD_COLUMN>
+
+<!--CA9E5C38D2F27E11E040007F010067A6--><AD_COLUMN>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <AD_COLUMN_ID><![CDATA[CA9E5C38D2F27E11E040007F010067A6]]></AD_COLUMN_ID>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <NAME><![CDATA[Reservation]]></NAME>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <HELP><![CDATA[The Reservation is the definition of a product reservation is set the owner, the quantity and the desired dimensions.]]></HELP>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <COLUMNNAME><![CDATA[M_Reservation_ID]]></COLUMNNAME>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <AD_TABLE_ID><![CDATA[D6079A4A6C2542678D9A50114367B967]]></AD_TABLE_ID>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <ISPARENT><![CDATA[Y]]></ISPARENT>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <SEQNO><![CDATA[90]]></SEQNO>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <AD_ELEMENT_ID><![CDATA[CA9E531DC5FAEB11E040007F0100672C]]></AD_ELEMENT_ID>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <POSITION><![CDATA[9]]></POSITION>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CA9E5C38D2F27E11E040007F010067A6-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CA9E5C38D2F27E11E040007F010067A6--></AD_COLUMN>
+
+<!--CA9E5C38D2F37E11E040007F010067A6--><AD_COLUMN>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <AD_COLUMN_ID><![CDATA[CA9E5C38D2F37E11E040007F010067A6]]></AD_COLUMN_ID>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <ISACTIVE><![CDATA[N]]></ISACTIVE>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <NAME><![CDATA[Storage Detail]]></NAME>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <HELP><![CDATA[The Storage Detail identifies a stock in the warehouse by quantity, attributes and storage bin.]]></HELP>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <COLUMNNAME><![CDATA[M_Storage_Detail_ID]]></COLUMNNAME>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <AD_TABLE_ID><![CDATA[D6079A4A6C2542678D9A50114367B967]]></AD_TABLE_ID>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <AD_REFERENCE_ID><![CDATA[35]]></AD_REFERENCE_ID>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <SEQNO><![CDATA[100]]></SEQNO>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <AD_ELEMENT_ID><![CDATA[800134]]></AD_ELEMENT_ID>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <DEVELOPMENTSTATUS><![CDATA[NI]]></DEVELOPMENTSTATUS>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <POSITION><![CDATA[10]]></POSITION>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CA9E5C38D2F37E11E040007F010067A6-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CA9E5C38D2F37E11E040007F010067A6--></AD_COLUMN>
+
+<!--CA9E5C38D2F47E11E040007F010067A6--><AD_COLUMN>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <AD_COLUMN_ID><![CDATA[CA9E5C38D2F47E11E040007F010067A6]]></AD_COLUMN_ID>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <NAME><![CDATA[Sales Order Line]]></NAME>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <DESCRIPTION><![CDATA[A unique and often automatically generated identifier for a sales order line.]]></DESCRIPTION>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <HELP><![CDATA[A unique identifier and a reference to a sales order line (product).]]></HELP>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <COLUMNNAME><![CDATA[C_Orderline_ID]]></COLUMNNAME>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <AD_TABLE_ID><![CDATA[D6079A4A6C2542678D9A50114367B967]]></AD_TABLE_ID>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <ISPARENT><![CDATA[Y]]></ISPARENT>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <SEQNO><![CDATA[110]]></SEQNO>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <AD_ELEMENT_ID><![CDATA[561]]></AD_ELEMENT_ID>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <POSITION><![CDATA[11]]></POSITION>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CA9E5C38D2F47E11E040007F010067A6-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CA9E5C38D2F47E11E040007F010067A6--></AD_COLUMN>
+
+<!--CA9E5C38D2F57E11E040007F010067A6--><AD_COLUMN>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <AD_COLUMN_ID><![CDATA[CA9E5C38D2F57E11E040007F010067A6]]></AD_COLUMN_ID>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <NAME><![CDATA[Quantity]]></NAME>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <DESCRIPTION><![CDATA[The number of a certain item.]]></DESCRIPTION>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <HELP><![CDATA[Indicates the quantity of product needed to process one time the sequence.]]></HELP>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <COLUMNNAME><![CDATA[Quantity]]></COLUMNNAME>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <AD_TABLE_ID><![CDATA[D6079A4A6C2542678D9A50114367B967]]></AD_TABLE_ID>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <AD_REFERENCE_ID><![CDATA[29]]></AD_REFERENCE_ID>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <SEQNO><![CDATA[120]]></SEQNO>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <AD_ELEMENT_ID><![CDATA[800315]]></AD_ELEMENT_ID>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <POSITION><![CDATA[12]]></POSITION>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CA9E5C38D2F57E11E040007F010067A6-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CA9E5C38D2F57E11E040007F010067A6--></AD_COLUMN>
+
+<!--CA9E5C38D2F67E11E040007F010067A6--><AD_COLUMN>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <AD_COLUMN_ID><![CDATA[CA9E5C38D2F67E11E040007F010067A6]]></AD_COLUMN_ID>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <NAME><![CDATA[Allocated]]></NAME>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <HELP><![CDATA[An Allocated Reservation Stock means that the referenced stock and quantity can only be used to fulfill this Reservation.]]></HELP>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <COLUMNNAME><![CDATA[IsAllocated]]></COLUMNNAME>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <AD_TABLE_ID><![CDATA[D6079A4A6C2542678D9A50114367B967]]></AD_TABLE_ID>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <DEFAULTVALUE><![CDATA[N]]></DEFAULTVALUE>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <SEQNO><![CDATA[130]]></SEQNO>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <AD_ELEMENT_ID><![CDATA[CA9E531DC5F9EB11E040007F0100672C]]></AD_ELEMENT_ID>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <POSITION><![CDATA[13]]></POSITION>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CA9E5C38D2F67E11E040007F010067A6-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CA9E5C38D2F67E11E040007F010067A6--></AD_COLUMN>
+
+<!--CAB22D2BB7EBB270E040007F010059C2--><AD_COLUMN>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <AD_COLUMN_ID><![CDATA[CAB22D2BB7EBB270E040007F010059C2]]></AD_COLUMN_ID>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <NAME><![CDATA[Reserved Qty]]></NAME>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <HELP><![CDATA[Represents the total quantity reserved to fulfill the reservation. It cannot be higher than the pending quantity.]]></HELP>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <COLUMNNAME><![CDATA[Reservedqty]]></COLUMNNAME>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <AD_TABLE_ID><![CDATA[77264B07BB0E4FA483A07FB40C2E0FE0]]></AD_TABLE_ID>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <AD_REFERENCE_ID><![CDATA[29]]></AD_REFERENCE_ID>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <SEQNO><![CDATA[190]]></SEQNO>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <AD_ELEMENT_ID><![CDATA[CABF113EC59AA4EFE040007F010017BB]]></AD_ELEMENT_ID>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <POSITION><![CDATA[19]]></POSITION>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CAB22D2BB7EBB270E040007F010059C2-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CAB22D2BB7EBB270E040007F010059C2--></AD_COLUMN>
+
+<!--CAB22D2BB7ECB270E040007F010059C2--><AD_COLUMN>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <AD_COLUMN_ID><![CDATA[CAB22D2BB7ECB270E040007F010059C2]]></AD_COLUMN_ID>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <NAME><![CDATA[Released]]></NAME>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <HELP><![CDATA[Quantity released from the reservation. For example once it has been shipped to the customer.]]></HELP>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <COLUMNNAME><![CDATA[ReleasedQty]]></COLUMNNAME>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <AD_TABLE_ID><![CDATA[77264B07BB0E4FA483A07FB40C2E0FE0]]></AD_TABLE_ID>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <AD_REFERENCE_ID><![CDATA[29]]></AD_REFERENCE_ID>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <SEQNO><![CDATA[200]]></SEQNO>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <AD_ELEMENT_ID><![CDATA[CCA48454EB41B295E040007F01006B08]]></AD_ELEMENT_ID>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <POSITION><![CDATA[20]]></POSITION>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CAB22D2BB7ECB270E040007F010059C2-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CAB22D2BB7ECB270E040007F010059C2--></AD_COLUMN>
+
 <!--CAE75AF8924D478DB01BFB1B77FBA473--><AD_COLUMN>
 <!--CAE75AF8924D478DB01BFB1B77FBA473-->  <AD_COLUMN_ID><![CDATA[CAE75AF8924D478DB01BFB1B77FBA473]]></AD_COLUMN_ID>
 <!--CAE75AF8924D478DB01BFB1B77FBA473-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -299901,6 +301212,184 @@
 <!--CB9E32CCC77F256DE040007F010001D6-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
 <!--CB9E32CCC77F256DE040007F010001D6--></AD_COLUMN>
 
+<!--CC2F971F21803089E040007F01002D7C--><AD_COLUMN>
+<!--CC2F971F21803089E040007F01002D7C-->  <AD_COLUMN_ID><![CDATA[CC2F971F21803089E040007F01002D7C]]></AD_COLUMN_ID>
+<!--CC2F971F21803089E040007F01002D7C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CC2F971F21803089E040007F01002D7C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CC2F971F21803089E040007F01002D7C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CC2F971F21803089E040007F01002D7C-->  <NAME><![CDATA[RES_Status]]></NAME>
+<!--CC2F971F21803089E040007F01002D7C-->  <HELP><![CDATA[Status of the reservation]]></HELP>
+<!--CC2F971F21803089E040007F01002D7C-->  <COLUMNNAME><![CDATA[RES_Status]]></COLUMNNAME>
+<!--CC2F971F21803089E040007F01002D7C-->  <AD_TABLE_ID><![CDATA[77264B07BB0E4FA483A07FB40C2E0FE0]]></AD_TABLE_ID>
+<!--CC2F971F21803089E040007F01002D7C-->  <AD_REFERENCE_ID><![CDATA[17]]></AD_REFERENCE_ID>
+<!--CC2F971F21803089E040007F01002D7C-->  <AD_REFERENCE_VALUE_ID><![CDATA[EE8B072E19034D0FB34CA1CEB3583620]]></AD_REFERENCE_VALUE_ID>
+<!--CC2F971F21803089E040007F01002D7C-->  <FIELDLENGTH><![CDATA[60]]></FIELDLENGTH>
+<!--CC2F971F21803089E040007F01002D7C-->  <DEFAULTVALUE><![CDATA[DR]]></DEFAULTVALUE>
+<!--CC2F971F21803089E040007F01002D7C-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CC2F971F21803089E040007F01002D7C-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CC2F971F21803089E040007F01002D7C-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CC2F971F21803089E040007F01002D7C-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CC2F971F21803089E040007F01002D7C-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CC2F971F21803089E040007F01002D7C-->  <SEQNO><![CDATA[210]]></SEQNO>
+<!--CC2F971F21803089E040007F01002D7C-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CC2F971F21803089E040007F01002D7C-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CC2F971F21803089E040007F01002D7C-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CC2F971F21803089E040007F01002D7C-->  <AD_ELEMENT_ID><![CDATA[CC2F9E8FD66FD7CDE040007F01002E21]]></AD_ELEMENT_ID>
+<!--CC2F971F21803089E040007F01002D7C-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--CC2F971F21803089E040007F01002D7C-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CC2F971F21803089E040007F01002D7C-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CC2F971F21803089E040007F01002D7C-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CC2F971F21803089E040007F01002D7C-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CC2F971F21803089E040007F01002D7C-->  <POSITION><![CDATA[21]]></POSITION>
+<!--CC2F971F21803089E040007F01002D7C-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CC2F971F21803089E040007F01002D7C-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CC2F971F21803089E040007F01002D7C-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CC2F971F21803089E040007F01002D7C-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CC2F971F21803089E040007F01002D7C-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CC2F971F21803089E040007F01002D7C--></AD_COLUMN>
+
+<!--CC2F971F21813089E040007F01002D7C--><AD_COLUMN>
+<!--CC2F971F21813089E040007F01002D7C-->  <AD_COLUMN_ID><![CDATA[CC2F971F21813089E040007F01002D7C]]></AD_COLUMN_ID>
+<!--CC2F971F21813089E040007F01002D7C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CC2F971F21813089E040007F01002D7C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CC2F971F21813089E040007F01002D7C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CC2F971F21813089E040007F01002D7C-->  <NAME><![CDATA[RES_Process]]></NAME>
+<!--CC2F971F21813089E040007F01002D7C-->  <HELP><![CDATA[Button to process reservation]]></HELP>
+<!--CC2F971F21813089E040007F01002D7C-->  <COLUMNNAME><![CDATA[RES_Process]]></COLUMNNAME>
+<!--CC2F971F21813089E040007F01002D7C-->  <AD_TABLE_ID><![CDATA[77264B07BB0E4FA483A07FB40C2E0FE0]]></AD_TABLE_ID>
+<!--CC2F971F21813089E040007F01002D7C-->  <AD_REFERENCE_ID><![CDATA[28]]></AD_REFERENCE_ID>
+<!--CC2F971F21813089E040007F01002D7C-->  <AD_REFERENCE_VALUE_ID><![CDATA[440DDA64A43F4799AAFF48BC86DC8F78]]></AD_REFERENCE_VALUE_ID>
+<!--CC2F971F21813089E040007F01002D7C-->  <FIELDLENGTH><![CDATA[60]]></FIELDLENGTH>
+<!--CC2F971F21813089E040007F01002D7C-->  <DEFAULTVALUE><![CDATA[PR]]></DEFAULTVALUE>
+<!--CC2F971F21813089E040007F01002D7C-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CC2F971F21813089E040007F01002D7C-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CC2F971F21813089E040007F01002D7C-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CC2F971F21813089E040007F01002D7C-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CC2F971F21813089E040007F01002D7C-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CC2F971F21813089E040007F01002D7C-->  <SEQNO><![CDATA[220]]></SEQNO>
+<!--CC2F971F21813089E040007F01002D7C-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CC2F971F21813089E040007F01002D7C-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CC2F971F21813089E040007F01002D7C-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CC2F971F21813089E040007F01002D7C-->  <AD_ELEMENT_ID><![CDATA[CC2F9E8FD670D7CDE040007F01002E21]]></AD_ELEMENT_ID>
+<!--CC2F971F21813089E040007F01002D7C-->  <AD_PROCESS_ID><![CDATA[5A2A0AF88AF54BB085DCC52FCC9B17B7]]></AD_PROCESS_ID>
+<!--CC2F971F21813089E040007F01002D7C-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CC2F971F21813089E040007F01002D7C-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CC2F971F21813089E040007F01002D7C-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CC2F971F21813089E040007F01002D7C-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CC2F971F21813089E040007F01002D7C-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CC2F971F21813089E040007F01002D7C-->  <POSITION><![CDATA[22]]></POSITION>
+<!--CC2F971F21813089E040007F01002D7C-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CC2F971F21813089E040007F01002D7C-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CC2F971F21813089E040007F01002D7C-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CC2F971F21813089E040007F01002D7C-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CC2F971F21813089E040007F01002D7C-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CC2F971F21813089E040007F01002D7C--></AD_COLUMN>
+
+<!--CC2F9E8FD664D7CDE040007F01002E21--><AD_COLUMN>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <AD_COLUMN_ID><![CDATA[CC2F9E8FD664D7CDE040007F01002E21]]></AD_COLUMN_ID>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <NAME><![CDATA[Storage Bin]]></NAME>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <DESCRIPTION><![CDATA[A set of coordinates (x, y, z) which help locate an item in a warehouse.]]></DESCRIPTION>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <HELP><![CDATA[The Locator ID indicates where in a Warehouse a product is located.]]></HELP>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <COLUMNNAME><![CDATA[M_Locator_ID]]></COLUMNNAME>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <AD_TABLE_ID><![CDATA[D6079A4A6C2542678D9A50114367B967]]></AD_TABLE_ID>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <AD_REFERENCE_VALUE_ID><![CDATA[31]]></AD_REFERENCE_VALUE_ID>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <SEQNO><![CDATA[150]]></SEQNO>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <AD_ELEMENT_ID><![CDATA[448]]></AD_ELEMENT_ID>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <POSITION><![CDATA[15]]></POSITION>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CC2F9E8FD664D7CDE040007F01002E21-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CC2F9E8FD664D7CDE040007F01002E21--></AD_COLUMN>
+
+<!--CC2F9E8FD665D7CDE040007F01002E21--><AD_COLUMN>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <AD_COLUMN_ID><![CDATA[CC2F9E8FD665D7CDE040007F01002E21]]></AD_COLUMN_ID>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <NAME><![CDATA[Attribute Set Value]]></NAME>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <DESCRIPTION><![CDATA[An attribute associated with a product as part of an attribute set.]]></DESCRIPTION>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <HELP><![CDATA[The values of the actual Product Attributes]]></HELP>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <COLUMNNAME><![CDATA[M_Attributesetinstance_ID]]></COLUMNNAME>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <AD_TABLE_ID><![CDATA[D6079A4A6C2542678D9A50114367B967]]></AD_TABLE_ID>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <AD_REFERENCE_ID><![CDATA[35]]></AD_REFERENCE_ID>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <SEQNO><![CDATA[160]]></SEQNO>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <AD_ELEMENT_ID><![CDATA[2019]]></AD_ELEMENT_ID>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <POSITION><![CDATA[16]]></POSITION>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CC2F9E8FD665D7CDE040007F01002E21-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CC2F9E8FD665D7CDE040007F01002E21--></AD_COLUMN>
+
+<!--CC2F9E8FD666D7CDE040007F01002E21--><AD_COLUMN>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <AD_COLUMN_ID><![CDATA[CC2F9E8FD666D7CDE040007F01002E21]]></AD_COLUMN_ID>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <NAME><![CDATA[Released]]></NAME>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <HELP><![CDATA[Quantity released from the reservation. For example once it has been shipped to the customer.]]></HELP>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <COLUMNNAME><![CDATA[ReleasedQty]]></COLUMNNAME>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <AD_TABLE_ID><![CDATA[D6079A4A6C2542678D9A50114367B967]]></AD_TABLE_ID>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <AD_REFERENCE_ID><![CDATA[29]]></AD_REFERENCE_ID>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <SEQNO><![CDATA[170]]></SEQNO>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <AD_ELEMENT_ID><![CDATA[CCA48454EB41B295E040007F01006B08]]></AD_ELEMENT_ID>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <POSITION><![CDATA[17]]></POSITION>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CC2F9E8FD666D7CDE040007F01002E21-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CC2F9E8FD666D7CDE040007F01002E21--></AD_COLUMN>
+
 <!--CC3F4812548548AE9E1E8D0FCD8269DF--><AD_COLUMN>
 <!--CC3F4812548548AE9E1E8D0FCD8269DF-->  <AD_COLUMN_ID><![CDATA[CC3F4812548548AE9E1E8D0FCD8269DF]]></AD_COLUMN_ID>
 <!--CC3F4812548548AE9E1E8D0FCD8269DF-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -300073,6 +301562,42 @@
 <!--CCB0DDDAF34E4415B9DBEB51B4C36A33-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
 <!--CCB0DDDAF34E4415B9DBEB51B4C36A33--></AD_COLUMN>
 
+<!--CCCD60BB98EDDFF7E040007F01006A5A--><AD_COLUMN>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <AD_COLUMN_ID><![CDATA[CCCD60BB98EDDFF7E040007F01006A5A]]></AD_COLUMN_ID>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <NAME><![CDATA[Create Reservation]]></NAME>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <HELP><![CDATA[Determines if a reservation must be done when the sales order is processed.]]></HELP>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <COLUMNNAME><![CDATA[Create_Reservation]]></COLUMNNAME>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <AD_TABLE_ID><![CDATA[260]]></AD_TABLE_ID>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <AD_REFERENCE_ID><![CDATA[17]]></AD_REFERENCE_ID>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <AD_REFERENCE_VALUE_ID><![CDATA[1852D69AB3FD453F8F031813501B26F0]]></AD_REFERENCE_VALUE_ID>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <FIELDLENGTH><![CDATA[60]]></FIELDLENGTH>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <READONLYLOGIC><![CDATA[@processed@='Y']]></READONLYLOGIC>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <SEQNO><![CDATA[154]]></SEQNO>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <AD_ELEMENT_ID><![CDATA[CCCD608D36A37221E040007F01006A53]]></AD_ELEMENT_ID>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <POSITION><![CDATA[55]]></POSITION>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CCCD60BB98EDDFF7E040007F01006A5A-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CCCD60BB98EDDFF7E040007F01006A5A--></AD_COLUMN>
+
 <!--CD0B83BB40B443D9B807AD4C9AAEC31C--><AD_COLUMN>
 <!--CD0B83BB40B443D9B807AD4C9AAEC31C-->  <AD_COLUMN_ID><![CDATA[CD0B83BB40B443D9B807AD4C9AAEC31C]]></AD_COLUMN_ID>
 <!--CD0B83BB40B443D9B807AD4C9AAEC31C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -300145,6 +301670,701 @@
 <!--CD0E51C93534419186FE5DA91DF9DB15-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
 <!--CD0E51C93534419186FE5DA91DF9DB15--></AD_COLUMN>
 
+<!--CD35A665940BBC17E040007F010017DB--><AD_COLUMN>
+<!--CD35A665940BBC17E040007F010017DB-->  <AD_COLUMN_ID><![CDATA[CD35A665940BBC17E040007F010017DB]]></AD_COLUMN_ID>
+<!--CD35A665940BBC17E040007F010017DB-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CD35A665940BBC17E040007F010017DB-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CD35A665940BBC17E040007F010017DB-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CD35A665940BBC17E040007F010017DB-->  <NAME><![CDATA[Reservation Manual Pick Edit]]></NAME>
+<!--CD35A665940BBC17E040007F010017DB-->  <COLUMNNAME><![CDATA[M_Reservation_Pick_Edit_ID]]></COLUMNNAME>
+<!--CD35A665940BBC17E040007F010017DB-->  <AD_TABLE_ID><![CDATA[D666D03BC49A4CBC973341F966D94750]]></AD_TABLE_ID>
+<!--CD35A665940BBC17E040007F010017DB-->  <AD_REFERENCE_ID><![CDATA[13]]></AD_REFERENCE_ID>
+<!--CD35A665940BBC17E040007F010017DB-->  <FIELDLENGTH><![CDATA[64]]></FIELDLENGTH>
+<!--CD35A665940BBC17E040007F010017DB-->  <ISKEY><![CDATA[Y]]></ISKEY>
+<!--CD35A665940BBC17E040007F010017DB-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CD35A665940BBC17E040007F010017DB-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--CD35A665940BBC17E040007F010017DB-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--CD35A665940BBC17E040007F010017DB-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CD35A665940BBC17E040007F010017DB-->  <SEQNO><![CDATA[10]]></SEQNO>
+<!--CD35A665940BBC17E040007F010017DB-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CD35A665940BBC17E040007F010017DB-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CD35A665940BBC17E040007F010017DB-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CD35A665940BBC17E040007F010017DB-->  <AD_ELEMENT_ID><![CDATA[CD35A5791D1E06E5E040007F01001839]]></AD_ELEMENT_ID>
+<!--CD35A665940BBC17E040007F010017DB-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CD35A665940BBC17E040007F010017DB-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CD35A665940BBC17E040007F010017DB-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CD35A665940BBC17E040007F010017DB-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CD35A665940BBC17E040007F010017DB-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CD35A665940BBC17E040007F010017DB-->  <POSITION><![CDATA[1]]></POSITION>
+<!--CD35A665940BBC17E040007F010017DB-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CD35A665940BBC17E040007F010017DB-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CD35A665940BBC17E040007F010017DB-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CD35A665940BBC17E040007F010017DB-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CD35A665940BBC17E040007F010017DB-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CD35A665940BBC17E040007F010017DB--></AD_COLUMN>
+
+<!--CD35A665940CBC17E040007F010017DB--><AD_COLUMN>
+<!--CD35A665940CBC17E040007F010017DB-->  <AD_COLUMN_ID><![CDATA[CD35A665940CBC17E040007F010017DB]]></AD_COLUMN_ID>
+<!--CD35A665940CBC17E040007F010017DB-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CD35A665940CBC17E040007F010017DB-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CD35A665940CBC17E040007F010017DB-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CD35A665940CBC17E040007F010017DB-->  <NAME><![CDATA[Client]]></NAME>
+<!--CD35A665940CBC17E040007F010017DB-->  <DESCRIPTION><![CDATA[Client for this installation.]]></DESCRIPTION>
+<!--CD35A665940CBC17E040007F010017DB-->  <HELP><![CDATA[A Client is a company or a legal entity. You cannot share data between Clients.]]></HELP>
+<!--CD35A665940CBC17E040007F010017DB-->  <COLUMNNAME><![CDATA[AD_Client_ID]]></COLUMNNAME>
+<!--CD35A665940CBC17E040007F010017DB-->  <AD_TABLE_ID><![CDATA[D666D03BC49A4CBC973341F966D94750]]></AD_TABLE_ID>
+<!--CD35A665940CBC17E040007F010017DB-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--CD35A665940CBC17E040007F010017DB-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CD35A665940CBC17E040007F010017DB-->  <DEFAULTVALUE><![CDATA[@AD_CLIENT_ID@]]></DEFAULTVALUE>
+<!--CD35A665940CBC17E040007F010017DB-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CD35A665940CBC17E040007F010017DB-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CD35A665940CBC17E040007F010017DB-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CD35A665940CBC17E040007F010017DB-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--CD35A665940CBC17E040007F010017DB-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CD35A665940CBC17E040007F010017DB-->  <SEQNO><![CDATA[20]]></SEQNO>
+<!--CD35A665940CBC17E040007F010017DB-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CD35A665940CBC17E040007F010017DB-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CD35A665940CBC17E040007F010017DB-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CD35A665940CBC17E040007F010017DB-->  <AD_ELEMENT_ID><![CDATA[102]]></AD_ELEMENT_ID>
+<!--CD35A665940CBC17E040007F010017DB-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--CD35A665940CBC17E040007F010017DB-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CD35A665940CBC17E040007F010017DB-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CD35A665940CBC17E040007F010017DB-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CD35A665940CBC17E040007F010017DB-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CD35A665940CBC17E040007F010017DB-->  <POSITION><![CDATA[2]]></POSITION>
+<!--CD35A665940CBC17E040007F010017DB-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CD35A665940CBC17E040007F010017DB-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CD35A665940CBC17E040007F010017DB-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CD35A665940CBC17E040007F010017DB-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CD35A665940CBC17E040007F010017DB-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CD35A665940CBC17E040007F010017DB--></AD_COLUMN>
+
+<!--CD35A665940DBC17E040007F010017DB--><AD_COLUMN>
+<!--CD35A665940DBC17E040007F010017DB-->  <AD_COLUMN_ID><![CDATA[CD35A665940DBC17E040007F010017DB]]></AD_COLUMN_ID>
+<!--CD35A665940DBC17E040007F010017DB-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CD35A665940DBC17E040007F010017DB-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CD35A665940DBC17E040007F010017DB-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CD35A665940DBC17E040007F010017DB-->  <NAME><![CDATA[Organization]]></NAME>
+<!--CD35A665940DBC17E040007F010017DB-->  <DESCRIPTION><![CDATA[Organizational entity within client]]></DESCRIPTION>
+<!--CD35A665940DBC17E040007F010017DB-->  <HELP><![CDATA[An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.]]></HELP>
+<!--CD35A665940DBC17E040007F010017DB-->  <COLUMNNAME><![CDATA[AD_Org_ID]]></COLUMNNAME>
+<!--CD35A665940DBC17E040007F010017DB-->  <AD_TABLE_ID><![CDATA[D666D03BC49A4CBC973341F966D94750]]></AD_TABLE_ID>
+<!--CD35A665940DBC17E040007F010017DB-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--CD35A665940DBC17E040007F010017DB-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CD35A665940DBC17E040007F010017DB-->  <DEFAULTVALUE><![CDATA[@AD_ORG_ID@]]></DEFAULTVALUE>
+<!--CD35A665940DBC17E040007F010017DB-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CD35A665940DBC17E040007F010017DB-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CD35A665940DBC17E040007F010017DB-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CD35A665940DBC17E040007F010017DB-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--CD35A665940DBC17E040007F010017DB-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CD35A665940DBC17E040007F010017DB-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--CD35A665940DBC17E040007F010017DB-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CD35A665940DBC17E040007F010017DB-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CD35A665940DBC17E040007F010017DB-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CD35A665940DBC17E040007F010017DB-->  <AD_ELEMENT_ID><![CDATA[113]]></AD_ELEMENT_ID>
+<!--CD35A665940DBC17E040007F010017DB-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--CD35A665940DBC17E040007F010017DB-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CD35A665940DBC17E040007F010017DB-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CD35A665940DBC17E040007F010017DB-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CD35A665940DBC17E040007F010017DB-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CD35A665940DBC17E040007F010017DB-->  <POSITION><![CDATA[3]]></POSITION>
+<!--CD35A665940DBC17E040007F010017DB-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CD35A665940DBC17E040007F010017DB-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CD35A665940DBC17E040007F010017DB-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CD35A665940DBC17E040007F010017DB-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CD35A665940DBC17E040007F010017DB-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CD35A665940DBC17E040007F010017DB--></AD_COLUMN>
+
+<!--CD35A665940EBC17E040007F010017DB--><AD_COLUMN>
+<!--CD35A665940EBC17E040007F010017DB-->  <AD_COLUMN_ID><![CDATA[CD35A665940EBC17E040007F010017DB]]></AD_COLUMN_ID>
+<!--CD35A665940EBC17E040007F010017DB-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CD35A665940EBC17E040007F010017DB-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CD35A665940EBC17E040007F010017DB-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CD35A665940EBC17E040007F010017DB-->  <NAME><![CDATA[Active]]></NAME>
+<!--CD35A665940EBC17E040007F010017DB-->  <DESCRIPTION><![CDATA[A flag indicating whether this record is available for use or de-activated.]]></DESCRIPTION>
+<!--CD35A665940EBC17E040007F010017DB-->  <HELP><![CDATA[There are two methods of making records unavailable in the system: One is to delete the record, the other is to de-activate the record. A de-activated record is not available for selection, but available for reporting. There are two reasons for de-activating and not deleting records: 
+(1) The system requires the record for auditing purposes.
+(2) The record is referenced by other records. E.g., you cannot delete a Business Partner, if there are existing invoices for it. By de-activating the Business Partner you prevent it from being used in future transactions.]]></HELP>
+<!--CD35A665940EBC17E040007F010017DB-->  <COLUMNNAME><![CDATA[Isactive]]></COLUMNNAME>
+<!--CD35A665940EBC17E040007F010017DB-->  <AD_TABLE_ID><![CDATA[D666D03BC49A4CBC973341F966D94750]]></AD_TABLE_ID>
+<!--CD35A665940EBC17E040007F010017DB-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--CD35A665940EBC17E040007F010017DB-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--CD35A665940EBC17E040007F010017DB-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CD35A665940EBC17E040007F010017DB-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CD35A665940EBC17E040007F010017DB-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CD35A665940EBC17E040007F010017DB-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CD35A665940EBC17E040007F010017DB-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CD35A665940EBC17E040007F010017DB-->  <SEQNO><![CDATA[40]]></SEQNO>
+<!--CD35A665940EBC17E040007F010017DB-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CD35A665940EBC17E040007F010017DB-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CD35A665940EBC17E040007F010017DB-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CD35A665940EBC17E040007F010017DB-->  <AD_ELEMENT_ID><![CDATA[348]]></AD_ELEMENT_ID>
+<!--CD35A665940EBC17E040007F010017DB-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CD35A665940EBC17E040007F010017DB-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CD35A665940EBC17E040007F010017DB-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CD35A665940EBC17E040007F010017DB-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CD35A665940EBC17E040007F010017DB-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CD35A665940EBC17E040007F010017DB-->  <POSITION><![CDATA[4]]></POSITION>
+<!--CD35A665940EBC17E040007F010017DB-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CD35A665940EBC17E040007F010017DB-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CD35A665940EBC17E040007F010017DB-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CD35A665940EBC17E040007F010017DB-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CD35A665940EBC17E040007F010017DB-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CD35A665940EBC17E040007F010017DB--></AD_COLUMN>
+
+<!--CD35A665940FBC17E040007F010017DB--><AD_COLUMN>
+<!--CD35A665940FBC17E040007F010017DB-->  <AD_COLUMN_ID><![CDATA[CD35A665940FBC17E040007F010017DB]]></AD_COLUMN_ID>
+<!--CD35A665940FBC17E040007F010017DB-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CD35A665940FBC17E040007F010017DB-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CD35A665940FBC17E040007F010017DB-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CD35A665940FBC17E040007F010017DB-->  <NAME><![CDATA[Updated]]></NAME>
+<!--CD35A665940FBC17E040007F010017DB-->  <DESCRIPTION><![CDATA[The date that this record was last updated]]></DESCRIPTION>
+<!--CD35A665940FBC17E040007F010017DB-->  <HELP><![CDATA[The Updated field indicates the date that this record was updated.]]></HELP>
+<!--CD35A665940FBC17E040007F010017DB-->  <COLUMNNAME><![CDATA[Updated]]></COLUMNNAME>
+<!--CD35A665940FBC17E040007F010017DB-->  <AD_TABLE_ID><![CDATA[D666D03BC49A4CBC973341F966D94750]]></AD_TABLE_ID>
+<!--CD35A665940FBC17E040007F010017DB-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
+<!--CD35A665940FBC17E040007F010017DB-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
+<!--CD35A665940FBC17E040007F010017DB-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CD35A665940FBC17E040007F010017DB-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CD35A665940FBC17E040007F010017DB-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CD35A665940FBC17E040007F010017DB-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--CD35A665940FBC17E040007F010017DB-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CD35A665940FBC17E040007F010017DB-->  <SEQNO><![CDATA[50]]></SEQNO>
+<!--CD35A665940FBC17E040007F010017DB-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CD35A665940FBC17E040007F010017DB-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CD35A665940FBC17E040007F010017DB-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CD35A665940FBC17E040007F010017DB-->  <AD_ELEMENT_ID><![CDATA[607]]></AD_ELEMENT_ID>
+<!--CD35A665940FBC17E040007F010017DB-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CD35A665940FBC17E040007F010017DB-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CD35A665940FBC17E040007F010017DB-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CD35A665940FBC17E040007F010017DB-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CD35A665940FBC17E040007F010017DB-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CD35A665940FBC17E040007F010017DB-->  <POSITION><![CDATA[5]]></POSITION>
+<!--CD35A665940FBC17E040007F010017DB-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CD35A665940FBC17E040007F010017DB-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CD35A665940FBC17E040007F010017DB-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CD35A665940FBC17E040007F010017DB-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CD35A665940FBC17E040007F010017DB-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CD35A665940FBC17E040007F010017DB--></AD_COLUMN>
+
+<!--CD35A6659410BC17E040007F010017DB--><AD_COLUMN>
+<!--CD35A6659410BC17E040007F010017DB-->  <AD_COLUMN_ID><![CDATA[CD35A6659410BC17E040007F010017DB]]></AD_COLUMN_ID>
+<!--CD35A6659410BC17E040007F010017DB-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CD35A6659410BC17E040007F010017DB-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CD35A6659410BC17E040007F010017DB-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CD35A6659410BC17E040007F010017DB-->  <NAME><![CDATA[Updated By]]></NAME>
+<!--CD35A6659410BC17E040007F010017DB-->  <DESCRIPTION><![CDATA[User who updated this records]]></DESCRIPTION>
+<!--CD35A6659410BC17E040007F010017DB-->  <HELP><![CDATA[The Updated By field indicates the user who updated this record.]]></HELP>
+<!--CD35A6659410BC17E040007F010017DB-->  <COLUMNNAME><![CDATA[Updatedby]]></COLUMNNAME>
+<!--CD35A6659410BC17E040007F010017DB-->  <AD_TABLE_ID><![CDATA[D666D03BC49A4CBC973341F966D94750]]></AD_TABLE_ID>
+<!--CD35A6659410BC17E040007F010017DB-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--CD35A6659410BC17E040007F010017DB-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CD35A6659410BC17E040007F010017DB-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CD35A6659410BC17E040007F010017DB-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CD35A6659410BC17E040007F010017DB-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CD35A6659410BC17E040007F010017DB-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--CD35A6659410BC17E040007F010017DB-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CD35A6659410BC17E040007F010017DB-->  <SEQNO><![CDATA[60]]></SEQNO>
+<!--CD35A6659410BC17E040007F010017DB-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CD35A6659410BC17E040007F010017DB-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CD35A6659410BC17E040007F010017DB-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CD35A6659410BC17E040007F010017DB-->  <AD_ELEMENT_ID><![CDATA[608]]></AD_ELEMENT_ID>
+<!--CD35A6659410BC17E040007F010017DB-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CD35A6659410BC17E040007F010017DB-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CD35A6659410BC17E040007F010017DB-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CD35A6659410BC17E040007F010017DB-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CD35A6659410BC17E040007F010017DB-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CD35A6659410BC17E040007F010017DB-->  <POSITION><![CDATA[6]]></POSITION>
+<!--CD35A6659410BC17E040007F010017DB-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CD35A6659410BC17E040007F010017DB-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CD35A6659410BC17E040007F010017DB-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CD35A6659410BC17E040007F010017DB-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CD35A6659410BC17E040007F010017DB-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CD35A6659410BC17E040007F010017DB--></AD_COLUMN>
+
+<!--CD35A6659411BC17E040007F010017DB--><AD_COLUMN>
+<!--CD35A6659411BC17E040007F010017DB-->  <AD_COLUMN_ID><![CDATA[CD35A6659411BC17E040007F010017DB]]></AD_COLUMN_ID>
+<!--CD35A6659411BC17E040007F010017DB-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CD35A6659411BC17E040007F010017DB-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CD35A6659411BC17E040007F010017DB-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CD35A6659411BC17E040007F010017DB-->  <NAME><![CDATA[Creation Date]]></NAME>
+<!--CD35A6659411BC17E040007F010017DB-->  <DESCRIPTION><![CDATA[The date that this record is completed.]]></DESCRIPTION>
+<!--CD35A6659411BC17E040007F010017DB-->  <HELP><![CDATA[The Created field indicates the date that this record was created.]]></HELP>
+<!--CD35A6659411BC17E040007F010017DB-->  <COLUMNNAME><![CDATA[Created]]></COLUMNNAME>
+<!--CD35A6659411BC17E040007F010017DB-->  <AD_TABLE_ID><![CDATA[D666D03BC49A4CBC973341F966D94750]]></AD_TABLE_ID>
+<!--CD35A6659411BC17E040007F010017DB-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
+<!--CD35A6659411BC17E040007F010017DB-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
+<!--CD35A6659411BC17E040007F010017DB-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CD35A6659411BC17E040007F010017DB-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CD35A6659411BC17E040007F010017DB-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CD35A6659411BC17E040007F010017DB-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--CD35A6659411BC17E040007F010017DB-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CD35A6659411BC17E040007F010017DB-->  <SEQNO><![CDATA[70]]></SEQNO>
+<!--CD35A6659411BC17E040007F010017DB-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CD35A6659411BC17E040007F010017DB-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CD35A6659411BC17E040007F010017DB-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CD35A6659411BC17E040007F010017DB-->  <AD_ELEMENT_ID><![CDATA[245]]></AD_ELEMENT_ID>
+<!--CD35A6659411BC17E040007F010017DB-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CD35A6659411BC17E040007F010017DB-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CD35A6659411BC17E040007F010017DB-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CD35A6659411BC17E040007F010017DB-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CD35A6659411BC17E040007F010017DB-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CD35A6659411BC17E040007F010017DB-->  <POSITION><![CDATA[7]]></POSITION>
+<!--CD35A6659411BC17E040007F010017DB-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CD35A6659411BC17E040007F010017DB-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CD35A6659411BC17E040007F010017DB-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CD35A6659411BC17E040007F010017DB-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CD35A6659411BC17E040007F010017DB-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CD35A6659411BC17E040007F010017DB--></AD_COLUMN>
+
+<!--CD35A6659412BC17E040007F010017DB--><AD_COLUMN>
+<!--CD35A6659412BC17E040007F010017DB-->  <AD_COLUMN_ID><![CDATA[CD35A6659412BC17E040007F010017DB]]></AD_COLUMN_ID>
+<!--CD35A6659412BC17E040007F010017DB-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CD35A6659412BC17E040007F010017DB-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CD35A6659412BC17E040007F010017DB-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CD35A6659412BC17E040007F010017DB-->  <NAME><![CDATA[Created By]]></NAME>
+<!--CD35A6659412BC17E040007F010017DB-->  <DESCRIPTION><![CDATA[User who created this records]]></DESCRIPTION>
+<!--CD35A6659412BC17E040007F010017DB-->  <HELP><![CDATA[The Created By field indicates the user who created this record.]]></HELP>
+<!--CD35A6659412BC17E040007F010017DB-->  <COLUMNNAME><![CDATA[Createdby]]></COLUMNNAME>
+<!--CD35A6659412BC17E040007F010017DB-->  <AD_TABLE_ID><![CDATA[D666D03BC49A4CBC973341F966D94750]]></AD_TABLE_ID>
+<!--CD35A6659412BC17E040007F010017DB-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--CD35A6659412BC17E040007F010017DB-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CD35A6659412BC17E040007F010017DB-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CD35A6659412BC17E040007F010017DB-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CD35A6659412BC17E040007F010017DB-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CD35A6659412BC17E040007F010017DB-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--CD35A6659412BC17E040007F010017DB-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CD35A6659412BC17E040007F010017DB-->  <SEQNO><![CDATA[80]]></SEQNO>
+<!--CD35A6659412BC17E040007F010017DB-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CD35A6659412BC17E040007F010017DB-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CD35A6659412BC17E040007F010017DB-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CD35A6659412BC17E040007F010017DB-->  <AD_ELEMENT_ID><![CDATA[246]]></AD_ELEMENT_ID>
+<!--CD35A6659412BC17E040007F010017DB-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CD35A6659412BC17E040007F010017DB-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CD35A6659412BC17E040007F010017DB-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CD35A6659412BC17E040007F010017DB-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CD35A6659412BC17E040007F010017DB-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CD35A6659412BC17E040007F010017DB-->  <POSITION><![CDATA[8]]></POSITION>
+<!--CD35A6659412BC17E040007F010017DB-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CD35A6659412BC17E040007F010017DB-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CD35A6659412BC17E040007F010017DB-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CD35A6659412BC17E040007F010017DB-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CD35A6659412BC17E040007F010017DB-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CD35A6659412BC17E040007F010017DB--></AD_COLUMN>
+
+<!--CD35A6659413BC17E040007F010017DB--><AD_COLUMN>
+<!--CD35A6659413BC17E040007F010017DB-->  <AD_COLUMN_ID><![CDATA[CD35A6659413BC17E040007F010017DB]]></AD_COLUMN_ID>
+<!--CD35A6659413BC17E040007F010017DB-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CD35A6659413BC17E040007F010017DB-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CD35A6659413BC17E040007F010017DB-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CD35A6659413BC17E040007F010017DB-->  <NAME><![CDATA[c_ob_selected]]></NAME>
+<!--CD35A6659413BC17E040007F010017DB-->  <COLUMNNAME><![CDATA[OB_Selected]]></COLUMNNAME>
+<!--CD35A6659413BC17E040007F010017DB-->  <AD_TABLE_ID><![CDATA[D666D03BC49A4CBC973341F966D94750]]></AD_TABLE_ID>
+<!--CD35A6659413BC17E040007F010017DB-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--CD35A6659413BC17E040007F010017DB-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--CD35A6659413BC17E040007F010017DB-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CD35A6659413BC17E040007F010017DB-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CD35A6659413BC17E040007F010017DB-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CD35A6659413BC17E040007F010017DB-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CD35A6659413BC17E040007F010017DB-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CD35A6659413BC17E040007F010017DB-->  <SEQNO><![CDATA[90]]></SEQNO>
+<!--CD35A6659413BC17E040007F010017DB-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CD35A6659413BC17E040007F010017DB-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CD35A6659413BC17E040007F010017DB-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CD35A6659413BC17E040007F010017DB-->  <AD_ELEMENT_ID><![CDATA[B13BBED95C5B262CE040007F01005E70]]></AD_ELEMENT_ID>
+<!--CD35A6659413BC17E040007F010017DB-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CD35A6659413BC17E040007F010017DB-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CD35A6659413BC17E040007F010017DB-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CD35A6659413BC17E040007F010017DB-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CD35A6659413BC17E040007F010017DB-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CD35A6659413BC17E040007F010017DB-->  <POSITION><![CDATA[9]]></POSITION>
+<!--CD35A6659413BC17E040007F010017DB-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CD35A6659413BC17E040007F010017DB-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CD35A6659413BC17E040007F010017DB-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CD35A6659413BC17E040007F010017DB-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CD35A6659413BC17E040007F010017DB-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CD35A6659413BC17E040007F010017DB--></AD_COLUMN>
+
+<!--CD35A6659414BC17E040007F010017DB--><AD_COLUMN>
+<!--CD35A6659414BC17E040007F010017DB-->  <AD_COLUMN_ID><![CDATA[CD35A6659414BC17E040007F010017DB]]></AD_COLUMN_ID>
+<!--CD35A6659414BC17E040007F010017DB-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CD35A6659414BC17E040007F010017DB-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CD35A6659414BC17E040007F010017DB-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CD35A6659414BC17E040007F010017DB-->  <NAME><![CDATA[Reservation Stock]]></NAME>
+<!--CD35A6659414BC17E040007F010017DB-->  <HELP><![CDATA[The Reservation Stock is each existing stock or purchased stock to fulfill the Reservation.]]></HELP>
+<!--CD35A6659414BC17E040007F010017DB-->  <COLUMNNAME><![CDATA[M_Reservation_Stock_ID]]></COLUMNNAME>
+<!--CD35A6659414BC17E040007F010017DB-->  <AD_TABLE_ID><![CDATA[D666D03BC49A4CBC973341F966D94750]]></AD_TABLE_ID>
+<!--CD35A6659414BC17E040007F010017DB-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--CD35A6659414BC17E040007F010017DB-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CD35A6659414BC17E040007F010017DB-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CD35A6659414BC17E040007F010017DB-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CD35A6659414BC17E040007F010017DB-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CD35A6659414BC17E040007F010017DB-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CD35A6659414BC17E040007F010017DB-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
+<!--CD35A6659414BC17E040007F010017DB-->  <SEQNO><![CDATA[100]]></SEQNO>
+<!--CD35A6659414BC17E040007F010017DB-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CD35A6659414BC17E040007F010017DB-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CD35A6659414BC17E040007F010017DB-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CD35A6659414BC17E040007F010017DB-->  <AD_ELEMENT_ID><![CDATA[CA9E531DC5FCEB11E040007F0100672C]]></AD_ELEMENT_ID>
+<!--CD35A6659414BC17E040007F010017DB-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CD35A6659414BC17E040007F010017DB-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CD35A6659414BC17E040007F010017DB-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CD35A6659414BC17E040007F010017DB-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CD35A6659414BC17E040007F010017DB-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CD35A6659414BC17E040007F010017DB-->  <POSITION><![CDATA[10]]></POSITION>
+<!--CD35A6659414BC17E040007F010017DB-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CD35A6659414BC17E040007F010017DB-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CD35A6659414BC17E040007F010017DB-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CD35A6659414BC17E040007F010017DB-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CD35A6659414BC17E040007F010017DB-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CD35A6659414BC17E040007F010017DB--></AD_COLUMN>
+
+<!--CD35A6659415BC17E040007F010017DB--><AD_COLUMN>
+<!--CD35A6659415BC17E040007F010017DB-->  <AD_COLUMN_ID><![CDATA[CD35A6659415BC17E040007F010017DB]]></AD_COLUMN_ID>
+<!--CD35A6659415BC17E040007F010017DB-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CD35A6659415BC17E040007F010017DB-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CD35A6659415BC17E040007F010017DB-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CD35A6659415BC17E040007F010017DB-->  <NAME><![CDATA[Warehouse]]></NAME>
+<!--CD35A6659415BC17E040007F010017DB-->  <DESCRIPTION><![CDATA[The location where products arrive to or are sent from.]]></DESCRIPTION>
+<!--CD35A6659415BC17E040007F010017DB-->  <HELP><![CDATA[The Warehouse identifies a unique Warehouse where products are stored or Services are provided.]]></HELP>
+<!--CD35A6659415BC17E040007F010017DB-->  <COLUMNNAME><![CDATA[M_Warehouse_ID]]></COLUMNNAME>
+<!--CD35A6659415BC17E040007F010017DB-->  <AD_TABLE_ID><![CDATA[D666D03BC49A4CBC973341F966D94750]]></AD_TABLE_ID>
+<!--CD35A6659415BC17E040007F010017DB-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--CD35A6659415BC17E040007F010017DB-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CD35A6659415BC17E040007F010017DB-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CD35A6659415BC17E040007F010017DB-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CD35A6659415BC17E040007F010017DB-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CD35A6659415BC17E040007F010017DB-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CD35A6659415BC17E040007F010017DB-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CD35A6659415BC17E040007F010017DB-->  <SEQNO><![CDATA[110]]></SEQNO>
+<!--CD35A6659415BC17E040007F010017DB-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CD35A6659415BC17E040007F010017DB-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CD35A6659415BC17E040007F010017DB-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CD35A6659415BC17E040007F010017DB-->  <AD_ELEMENT_ID><![CDATA[459]]></AD_ELEMENT_ID>
+<!--CD35A6659415BC17E040007F010017DB-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CD35A6659415BC17E040007F010017DB-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CD35A6659415BC17E040007F010017DB-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CD35A6659415BC17E040007F010017DB-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CD35A6659415BC17E040007F010017DB-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CD35A6659415BC17E040007F010017DB-->  <POSITION><![CDATA[11]]></POSITION>
+<!--CD35A6659415BC17E040007F010017DB-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CD35A6659415BC17E040007F010017DB-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CD35A6659415BC17E040007F010017DB-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CD35A6659415BC17E040007F010017DB-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CD35A6659415BC17E040007F010017DB-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CD35A6659415BC17E040007F010017DB--></AD_COLUMN>
+
+<!--CD35A6659416BC17E040007F010017DB--><AD_COLUMN>
+<!--CD35A6659416BC17E040007F010017DB-->  <AD_COLUMN_ID><![CDATA[CD35A6659416BC17E040007F010017DB]]></AD_COLUMN_ID>
+<!--CD35A6659416BC17E040007F010017DB-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CD35A6659416BC17E040007F010017DB-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CD35A6659416BC17E040007F010017DB-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CD35A6659416BC17E040007F010017DB-->  <NAME><![CDATA[Storage Bin]]></NAME>
+<!--CD35A6659416BC17E040007F010017DB-->  <DESCRIPTION><![CDATA[A set of coordinates (x, y, z) which help locate an item in a warehouse.]]></DESCRIPTION>
+<!--CD35A6659416BC17E040007F010017DB-->  <HELP><![CDATA[The Locator ID indicates where in a Warehouse a product is located.]]></HELP>
+<!--CD35A6659416BC17E040007F010017DB-->  <COLUMNNAME><![CDATA[M_Locator_ID]]></COLUMNNAME>
+<!--CD35A6659416BC17E040007F010017DB-->  <AD_TABLE_ID><![CDATA[D666D03BC49A4CBC973341F966D94750]]></AD_TABLE_ID>
+<!--CD35A6659416BC17E040007F010017DB-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--CD35A6659416BC17E040007F010017DB-->  <AD_REFERENCE_VALUE_ID><![CDATA[31]]></AD_REFERENCE_VALUE_ID>
+<!--CD35A6659416BC17E040007F010017DB-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CD35A6659416BC17E040007F010017DB-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CD35A6659416BC17E040007F010017DB-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CD35A6659416BC17E040007F010017DB-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CD35A6659416BC17E040007F010017DB-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CD35A6659416BC17E040007F010017DB-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
+<!--CD35A6659416BC17E040007F010017DB-->  <SEQNO><![CDATA[120]]></SEQNO>
+<!--CD35A6659416BC17E040007F010017DB-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CD35A6659416BC17E040007F010017DB-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CD35A6659416BC17E040007F010017DB-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CD35A6659416BC17E040007F010017DB-->  <AD_ELEMENT_ID><![CDATA[448]]></AD_ELEMENT_ID>
+<!--CD35A6659416BC17E040007F010017DB-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CD35A6659416BC17E040007F010017DB-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CD35A6659416BC17E040007F010017DB-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CD35A6659416BC17E040007F010017DB-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CD35A6659416BC17E040007F010017DB-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CD35A6659416BC17E040007F010017DB-->  <POSITION><![CDATA[12]]></POSITION>
+<!--CD35A6659416BC17E040007F010017DB-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CD35A6659416BC17E040007F010017DB-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CD35A6659416BC17E040007F010017DB-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CD35A6659416BC17E040007F010017DB-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CD35A6659416BC17E040007F010017DB-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CD35A6659416BC17E040007F010017DB--></AD_COLUMN>
+
+<!--CD35A6659417BC17E040007F010017DB--><AD_COLUMN>
+<!--CD35A6659417BC17E040007F010017DB-->  <AD_COLUMN_ID><![CDATA[CD35A6659417BC17E040007F010017DB]]></AD_COLUMN_ID>
+<!--CD35A6659417BC17E040007F010017DB-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CD35A6659417BC17E040007F010017DB-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CD35A6659417BC17E040007F010017DB-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CD35A6659417BC17E040007F010017DB-->  <NAME><![CDATA[Attribute Set Value]]></NAME>
+<!--CD35A6659417BC17E040007F010017DB-->  <DESCRIPTION><![CDATA[An attribute associated with a product as part of an attribute set.]]></DESCRIPTION>
+<!--CD35A6659417BC17E040007F010017DB-->  <HELP><![CDATA[The values of the actual Product Attributes]]></HELP>
+<!--CD35A6659417BC17E040007F010017DB-->  <COLUMNNAME><![CDATA[M_Attributesetinstance_ID]]></COLUMNNAME>
+<!--CD35A6659417BC17E040007F010017DB-->  <AD_TABLE_ID><![CDATA[D666D03BC49A4CBC973341F966D94750]]></AD_TABLE_ID>
+<!--CD35A6659417BC17E040007F010017DB-->  <AD_REFERENCE_ID><![CDATA[35]]></AD_REFERENCE_ID>
+<!--CD35A6659417BC17E040007F010017DB-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CD35A6659417BC17E040007F010017DB-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CD35A6659417BC17E040007F010017DB-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CD35A6659417BC17E040007F010017DB-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CD35A6659417BC17E040007F010017DB-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CD35A6659417BC17E040007F010017DB-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
+<!--CD35A6659417BC17E040007F010017DB-->  <SEQNO><![CDATA[130]]></SEQNO>
+<!--CD35A6659417BC17E040007F010017DB-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CD35A6659417BC17E040007F010017DB-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CD35A6659417BC17E040007F010017DB-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CD35A6659417BC17E040007F010017DB-->  <AD_ELEMENT_ID><![CDATA[2019]]></AD_ELEMENT_ID>
+<!--CD35A6659417BC17E040007F010017DB-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CD35A6659417BC17E040007F010017DB-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CD35A6659417BC17E040007F010017DB-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CD35A6659417BC17E040007F010017DB-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CD35A6659417BC17E040007F010017DB-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CD35A6659417BC17E040007F010017DB-->  <POSITION><![CDATA[13]]></POSITION>
+<!--CD35A6659417BC17E040007F010017DB-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CD35A6659417BC17E040007F010017DB-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CD35A6659417BC17E040007F010017DB-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CD35A6659417BC17E040007F010017DB-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CD35A6659417BC17E040007F010017DB-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CD35A6659417BC17E040007F010017DB--></AD_COLUMN>
+
+<!--CD35A6659418BC17E040007F010017DB--><AD_COLUMN>
+<!--CD35A6659418BC17E040007F010017DB-->  <AD_COLUMN_ID><![CDATA[CD35A6659418BC17E040007F010017DB]]></AD_COLUMN_ID>
+<!--CD35A6659418BC17E040007F010017DB-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CD35A6659418BC17E040007F010017DB-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CD35A6659418BC17E040007F010017DB-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CD35A6659418BC17E040007F010017DB-->  <NAME><![CDATA[Purchase Order Line]]></NAME>
+<!--CD35A6659418BC17E040007F010017DB-->  <DESCRIPTION><![CDATA[A unique and often automatically generated identifier for a sales order line.]]></DESCRIPTION>
+<!--CD35A6659418BC17E040007F010017DB-->  <HELP><![CDATA[A unique identifier and a reference to a sales order line (product).]]></HELP>
+<!--CD35A6659418BC17E040007F010017DB-->  <COLUMNNAME><![CDATA[C_Orderline_ID]]></COLUMNNAME>
+<!--CD35A6659418BC17E040007F010017DB-->  <AD_TABLE_ID><![CDATA[D666D03BC49A4CBC973341F966D94750]]></AD_TABLE_ID>
+<!--CD35A6659418BC17E040007F010017DB-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--CD35A6659418BC17E040007F010017DB-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CD35A6659418BC17E040007F010017DB-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CD35A6659418BC17E040007F010017DB-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CD35A6659418BC17E040007F010017DB-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CD35A6659418BC17E040007F010017DB-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CD35A6659418BC17E040007F010017DB-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
+<!--CD35A6659418BC17E040007F010017DB-->  <SEQNO><![CDATA[140]]></SEQNO>
+<!--CD35A6659418BC17E040007F010017DB-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CD35A6659418BC17E040007F010017DB-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CD35A6659418BC17E040007F010017DB-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CD35A6659418BC17E040007F010017DB-->  <AD_ELEMENT_ID><![CDATA[561]]></AD_ELEMENT_ID>
+<!--CD35A6659418BC17E040007F010017DB-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CD35A6659418BC17E040007F010017DB-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CD35A6659418BC17E040007F010017DB-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CD35A6659418BC17E040007F010017DB-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CD35A6659418BC17E040007F010017DB-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CD35A6659418BC17E040007F010017DB-->  <POSITION><![CDATA[14]]></POSITION>
+<!--CD35A6659418BC17E040007F010017DB-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CD35A6659418BC17E040007F010017DB-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CD35A6659418BC17E040007F010017DB-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CD35A6659418BC17E040007F010017DB-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CD35A6659418BC17E040007F010017DB-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CD35A6659418BC17E040007F010017DB--></AD_COLUMN>
+
+<!--CD35A6659419BC17E040007F010017DB--><AD_COLUMN>
+<!--CD35A6659419BC17E040007F010017DB-->  <AD_COLUMN_ID><![CDATA[CD35A6659419BC17E040007F010017DB]]></AD_COLUMN_ID>
+<!--CD35A6659419BC17E040007F010017DB-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CD35A6659419BC17E040007F010017DB-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CD35A6659419BC17E040007F010017DB-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CD35A6659419BC17E040007F010017DB-->  <NAME><![CDATA[Available Qty]]></NAME>
+<!--CD35A6659419BC17E040007F010017DB-->  <HELP><![CDATA[Quantity available of the product in the storage bin]]></HELP>
+<!--CD35A6659419BC17E040007F010017DB-->  <COLUMNNAME><![CDATA[Availableqty]]></COLUMNNAME>
+<!--CD35A6659419BC17E040007F010017DB-->  <AD_TABLE_ID><![CDATA[D666D03BC49A4CBC973341F966D94750]]></AD_TABLE_ID>
+<!--CD35A6659419BC17E040007F010017DB-->  <AD_REFERENCE_ID><![CDATA[29]]></AD_REFERENCE_ID>
+<!--CD35A6659419BC17E040007F010017DB-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--CD35A6659419BC17E040007F010017DB-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CD35A6659419BC17E040007F010017DB-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CD35A6659419BC17E040007F010017DB-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CD35A6659419BC17E040007F010017DB-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CD35A6659419BC17E040007F010017DB-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CD35A6659419BC17E040007F010017DB-->  <SEQNO><![CDATA[150]]></SEQNO>
+<!--CD35A6659419BC17E040007F010017DB-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CD35A6659419BC17E040007F010017DB-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CD35A6659419BC17E040007F010017DB-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CD35A6659419BC17E040007F010017DB-->  <AD_ELEMENT_ID><![CDATA[B151560F62703082E040007F01002081]]></AD_ELEMENT_ID>
+<!--CD35A6659419BC17E040007F010017DB-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CD35A6659419BC17E040007F010017DB-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CD35A6659419BC17E040007F010017DB-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CD35A6659419BC17E040007F010017DB-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CD35A6659419BC17E040007F010017DB-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CD35A6659419BC17E040007F010017DB-->  <POSITION><![CDATA[15]]></POSITION>
+<!--CD35A6659419BC17E040007F010017DB-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CD35A6659419BC17E040007F010017DB-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CD35A6659419BC17E040007F010017DB-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CD35A6659419BC17E040007F010017DB-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CD35A6659419BC17E040007F010017DB-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CD35A6659419BC17E040007F010017DB--></AD_COLUMN>
+
+<!--CD35A665941ABC17E040007F010017DB--><AD_COLUMN>
+<!--CD35A665941ABC17E040007F010017DB-->  <AD_COLUMN_ID><![CDATA[CD35A665941ABC17E040007F010017DB]]></AD_COLUMN_ID>
+<!--CD35A665941ABC17E040007F010017DB-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CD35A665941ABC17E040007F010017DB-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CD35A665941ABC17E040007F010017DB-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CD35A665941ABC17E040007F010017DB-->  <NAME><![CDATA[Reservedinothers]]></NAME>
+<!--CD35A665941ABC17E040007F010017DB-->  <COLUMNNAME><![CDATA[Reservedinothers]]></COLUMNNAME>
+<!--CD35A665941ABC17E040007F010017DB-->  <AD_TABLE_ID><![CDATA[D666D03BC49A4CBC973341F966D94750]]></AD_TABLE_ID>
+<!--CD35A665941ABC17E040007F010017DB-->  <AD_REFERENCE_ID><![CDATA[29]]></AD_REFERENCE_ID>
+<!--CD35A665941ABC17E040007F010017DB-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--CD35A665941ABC17E040007F010017DB-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CD35A665941ABC17E040007F010017DB-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CD35A665941ABC17E040007F010017DB-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CD35A665941ABC17E040007F010017DB-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CD35A665941ABC17E040007F010017DB-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CD35A665941ABC17E040007F010017DB-->  <SEQNO><![CDATA[160]]></SEQNO>
+<!--CD35A665941ABC17E040007F010017DB-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CD35A665941ABC17E040007F010017DB-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CD35A665941ABC17E040007F010017DB-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CD35A665941ABC17E040007F010017DB-->  <AD_ELEMENT_ID><![CDATA[CD35A5791D1F06E5E040007F01001839]]></AD_ELEMENT_ID>
+<!--CD35A665941ABC17E040007F010017DB-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CD35A665941ABC17E040007F010017DB-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CD35A665941ABC17E040007F010017DB-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CD35A665941ABC17E040007F010017DB-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CD35A665941ABC17E040007F010017DB-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CD35A665941ABC17E040007F010017DB-->  <POSITION><![CDATA[16]]></POSITION>
+<!--CD35A665941ABC17E040007F010017DB-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CD35A665941ABC17E040007F010017DB-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CD35A665941ABC17E040007F010017DB-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CD35A665941ABC17E040007F010017DB-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CD35A665941ABC17E040007F010017DB-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CD35A665941ABC17E040007F010017DB--></AD_COLUMN>
+
+<!--CD35A665941BBC17E040007F010017DB--><AD_COLUMN>
+<!--CD35A665941BBC17E040007F010017DB-->  <AD_COLUMN_ID><![CDATA[CD35A665941BBC17E040007F010017DB]]></AD_COLUMN_ID>
+<!--CD35A665941BBC17E040007F010017DB-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CD35A665941BBC17E040007F010017DB-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CD35A665941BBC17E040007F010017DB-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CD35A665941BBC17E040007F010017DB-->  <NAME><![CDATA[Quantity]]></NAME>
+<!--CD35A665941BBC17E040007F010017DB-->  <DESCRIPTION><![CDATA[The number of a certain item.]]></DESCRIPTION>
+<!--CD35A665941BBC17E040007F010017DB-->  <HELP><![CDATA[Indicates the quantity of product needed to process one time the sequence.]]></HELP>
+<!--CD35A665941BBC17E040007F010017DB-->  <COLUMNNAME><![CDATA[Quantity]]></COLUMNNAME>
+<!--CD35A665941BBC17E040007F010017DB-->  <AD_TABLE_ID><![CDATA[D666D03BC49A4CBC973341F966D94750]]></AD_TABLE_ID>
+<!--CD35A665941BBC17E040007F010017DB-->  <AD_REFERENCE_ID><![CDATA[29]]></AD_REFERENCE_ID>
+<!--CD35A665941BBC17E040007F010017DB-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--CD35A665941BBC17E040007F010017DB-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CD35A665941BBC17E040007F010017DB-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CD35A665941BBC17E040007F010017DB-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CD35A665941BBC17E040007F010017DB-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CD35A665941BBC17E040007F010017DB-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CD35A665941BBC17E040007F010017DB-->  <SEQNO><![CDATA[170]]></SEQNO>
+<!--CD35A665941BBC17E040007F010017DB-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CD35A665941BBC17E040007F010017DB-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CD35A665941BBC17E040007F010017DB-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CD35A665941BBC17E040007F010017DB-->  <AD_ELEMENT_ID><![CDATA[800315]]></AD_ELEMENT_ID>
+<!--CD35A665941BBC17E040007F010017DB-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CD35A665941BBC17E040007F010017DB-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CD35A665941BBC17E040007F010017DB-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CD35A665941BBC17E040007F010017DB-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CD35A665941BBC17E040007F010017DB-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CD35A665941BBC17E040007F010017DB-->  <POSITION><![CDATA[17]]></POSITION>
+<!--CD35A665941BBC17E040007F010017DB-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CD35A665941BBC17E040007F010017DB-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CD35A665941BBC17E040007F010017DB-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CD35A665941BBC17E040007F010017DB-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CD35A665941BBC17E040007F010017DB-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CD35A665941BBC17E040007F010017DB--></AD_COLUMN>
+
+<!--CD35A665941CBC17E040007F010017DB--><AD_COLUMN>
+<!--CD35A665941CBC17E040007F010017DB-->  <AD_COLUMN_ID><![CDATA[CD35A665941CBC17E040007F010017DB]]></AD_COLUMN_ID>
+<!--CD35A665941CBC17E040007F010017DB-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CD35A665941CBC17E040007F010017DB-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CD35A665941CBC17E040007F010017DB-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CD35A665941CBC17E040007F010017DB-->  <NAME><![CDATA[Released]]></NAME>
+<!--CD35A665941CBC17E040007F010017DB-->  <HELP><![CDATA[Quantity released from the reservation. For example once it has been shipped to the customer.]]></HELP>
+<!--CD35A665941CBC17E040007F010017DB-->  <COLUMNNAME><![CDATA[Releasedqty]]></COLUMNNAME>
+<!--CD35A665941CBC17E040007F010017DB-->  <AD_TABLE_ID><![CDATA[D666D03BC49A4CBC973341F966D94750]]></AD_TABLE_ID>
+<!--CD35A665941CBC17E040007F010017DB-->  <AD_REFERENCE_ID><![CDATA[29]]></AD_REFERENCE_ID>
+<!--CD35A665941CBC17E040007F010017DB-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--CD35A665941CBC17E040007F010017DB-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CD35A665941CBC17E040007F010017DB-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CD35A665941CBC17E040007F010017DB-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CD35A665941CBC17E040007F010017DB-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CD35A665941CBC17E040007F010017DB-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CD35A665941CBC17E040007F010017DB-->  <SEQNO><![CDATA[180]]></SEQNO>
+<!--CD35A665941CBC17E040007F010017DB-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CD35A665941CBC17E040007F010017DB-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CD35A665941CBC17E040007F010017DB-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CD35A665941CBC17E040007F010017DB-->  <AD_ELEMENT_ID><![CDATA[CCA48454EB41B295E040007F01006B08]]></AD_ELEMENT_ID>
+<!--CD35A665941CBC17E040007F010017DB-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CD35A665941CBC17E040007F010017DB-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CD35A665941CBC17E040007F010017DB-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CD35A665941CBC17E040007F010017DB-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CD35A665941CBC17E040007F010017DB-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CD35A665941CBC17E040007F010017DB-->  <POSITION><![CDATA[18]]></POSITION>
+<!--CD35A665941CBC17E040007F010017DB-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CD35A665941CBC17E040007F010017DB-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CD35A665941CBC17E040007F010017DB-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CD35A665941CBC17E040007F010017DB-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CD35A665941CBC17E040007F010017DB-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CD35A665941CBC17E040007F010017DB--></AD_COLUMN>
+
+<!--CD35A665941DBC17E040007F010017DB--><AD_COLUMN>
+<!--CD35A665941DBC17E040007F010017DB-->  <AD_COLUMN_ID><![CDATA[CD35A665941DBC17E040007F010017DB]]></AD_COLUMN_ID>
+<!--CD35A665941DBC17E040007F010017DB-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CD35A665941DBC17E040007F010017DB-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CD35A665941DBC17E040007F010017DB-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CD35A665941DBC17E040007F010017DB-->  <NAME><![CDATA[Allocated]]></NAME>
+<!--CD35A665941DBC17E040007F010017DB-->  <HELP><![CDATA[An Allocated Reservation Stock means that the referenced stock and quantity can only be used to fulfill this Reservation.]]></HELP>
+<!--CD35A665941DBC17E040007F010017DB-->  <COLUMNNAME><![CDATA[Isallocated]]></COLUMNNAME>
+<!--CD35A665941DBC17E040007F010017DB-->  <AD_TABLE_ID><![CDATA[D666D03BC49A4CBC973341F966D94750]]></AD_TABLE_ID>
+<!--CD35A665941DBC17E040007F010017DB-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--CD35A665941DBC17E040007F010017DB-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--CD35A665941DBC17E040007F010017DB-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CD35A665941DBC17E040007F010017DB-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CD35A665941DBC17E040007F010017DB-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CD35A665941DBC17E040007F010017DB-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CD35A665941DBC17E040007F010017DB-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CD35A665941DBC17E040007F010017DB-->  <SEQNO><![CDATA[190]]></SEQNO>
+<!--CD35A665941DBC17E040007F010017DB-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CD35A665941DBC17E040007F010017DB-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CD35A665941DBC17E040007F010017DB-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CD35A665941DBC17E040007F010017DB-->  <AD_ELEMENT_ID><![CDATA[CA9E531DC5F9EB11E040007F0100672C]]></AD_ELEMENT_ID>
+<!--CD35A665941DBC17E040007F010017DB-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CD35A665941DBC17E040007F010017DB-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CD35A665941DBC17E040007F010017DB-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CD35A665941DBC17E040007F010017DB-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CD35A665941DBC17E040007F010017DB-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CD35A665941DBC17E040007F010017DB-->  <POSITION><![CDATA[19]]></POSITION>
+<!--CD35A665941DBC17E040007F010017DB-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CD35A665941DBC17E040007F010017DB-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CD35A665941DBC17E040007F010017DB-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CD35A665941DBC17E040007F010017DB-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CD35A665941DBC17E040007F010017DB-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CD35A665941DBC17E040007F010017DB--></AD_COLUMN>
+
+<!--CD35A6659453BC17E040007F010017DB--><AD_COLUMN>
+<!--CD35A6659453BC17E040007F010017DB-->  <AD_COLUMN_ID><![CDATA[CD35A6659453BC17E040007F010017DB]]></AD_COLUMN_ID>
+<!--CD35A6659453BC17E040007F010017DB-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CD35A6659453BC17E040007F010017DB-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CD35A6659453BC17E040007F010017DB-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CD35A6659453BC17E040007F010017DB-->  <NAME><![CDATA[Manage Stock]]></NAME>
+<!--CD35A6659453BC17E040007F010017DB-->  <HELP><![CDATA[Manage Stock]]></HELP>
+<!--CD35A6659453BC17E040007F010017DB-->  <COLUMNNAME><![CDATA[Managereservation_Pe]]></COLUMNNAME>
+<!--CD35A6659453BC17E040007F010017DB-->  <AD_TABLE_ID><![CDATA[77264B07BB0E4FA483A07FB40C2E0FE0]]></AD_TABLE_ID>
+<!--CD35A6659453BC17E040007F010017DB-->  <AD_REFERENCE_ID><![CDATA[28]]></AD_REFERENCE_ID>
+<!--CD35A6659453BC17E040007F010017DB-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--CD35A6659453BC17E040007F010017DB-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CD35A6659453BC17E040007F010017DB-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CD35A6659453BC17E040007F010017DB-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CD35A6659453BC17E040007F010017DB-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CD35A6659453BC17E040007F010017DB-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CD35A6659453BC17E040007F010017DB-->  <SEQNO><![CDATA[230]]></SEQNO>
+<!--CD35A6659453BC17E040007F010017DB-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CD35A6659453BC17E040007F010017DB-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CD35A6659453BC17E040007F010017DB-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CD35A6659453BC17E040007F010017DB-->  <AD_ELEMENT_ID><![CDATA[CD35A5791D6E06E5E040007F01001839]]></AD_ELEMENT_ID>
+<!--CD35A6659453BC17E040007F010017DB-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CD35A6659453BC17E040007F010017DB-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CD35A6659453BC17E040007F010017DB-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CD35A6659453BC17E040007F010017DB-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CD35A6659453BC17E040007F010017DB-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CD35A6659453BC17E040007F010017DB-->  <POSITION><![CDATA[23]]></POSITION>
+<!--CD35A6659453BC17E040007F010017DB-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CD35A6659453BC17E040007F010017DB-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CD35A6659453BC17E040007F010017DB-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CD35A6659453BC17E040007F010017DB-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CD35A6659453BC17E040007F010017DB-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CD35A6659453BC17E040007F010017DB-->  <EM_OBUIAPP_PROCESS_ID><![CDATA[5F547560D3DE401AA0B570F22E2C6C06]]></EM_OBUIAPP_PROCESS_ID>
+<!--CD35A6659453BC17E040007F010017DB--></AD_COLUMN>
+
 <!--CD4DD2DDEE274626B5DAD83C88DB9236--><AD_COLUMN>
 <!--CD4DD2DDEE274626B5DAD83C88DB9236-->  <AD_COLUMN_ID><![CDATA[CD4DD2DDEE274626B5DAD83C88DB9236]]></AD_COLUMN_ID>
 <!--CD4DD2DDEE274626B5DAD83C88DB9236-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -300248,6 +302468,1181 @@
 <!--CE2A66915011458B86857E7737074CF8-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
 <!--CE2A66915011458B86857E7737074CF8--></AD_COLUMN>
 
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F--><AD_COLUMN>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <AD_COLUMN_ID><![CDATA[CDFFE9CA0CA4A5D4E040007F01001A9F]]></AD_COLUMN_ID>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <NAME><![CDATA[Create Reservations]]></NAME>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <COLUMNNAME><![CDATA[Create_Reservations]]></COLUMNNAME>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <AD_TABLE_ID><![CDATA[800220]]></AD_TABLE_ID>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <AD_REFERENCE_ID><![CDATA[28]]></AD_REFERENCE_ID>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <SEQNO><![CDATA[220]]></SEQNO>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <AD_ELEMENT_ID><![CDATA[CE0CE91E4BFD17FDE040007F0100600C]]></AD_ELEMENT_ID>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <AD_PROCESS_ID><![CDATA[7CB6B4D1ECCF4036B3F111D2CF11AADE]]></AD_PROCESS_ID>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <POSITION><![CDATA[22]]></POSITION>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CDFFE9CA0CA4A5D4E040007F01001A9F--></AD_COLUMN>
+
+<!--CE0F0D775D8D6C8FE040007F01007137--><AD_COLUMN>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <AD_COLUMN_ID><![CDATA[CE0F0D775D8D6C8FE040007F01007137]]></AD_COLUMN_ID>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <NAME><![CDATA[Preferred Vendor]]></NAME>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <HELP><![CDATA[Identifies a product preferred vendor.]]></HELP>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <COLUMNNAME><![CDATA[M_Product_Po_ID]]></COLUMNNAME>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <AD_TABLE_ID><![CDATA[800205]]></AD_TABLE_ID>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <AD_VAL_RULE_ID><![CDATA[197EFF9A92394AD183B4034E2038F61D]]></AD_VAL_RULE_ID>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <SEQNO><![CDATA[210]]></SEQNO>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <AD_ELEMENT_ID><![CDATA[20D54DC47FFA4A80AFA6063D303A7715]]></AD_ELEMENT_ID>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <POSITION><![CDATA[21]]></POSITION>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CE0F0D775D8D6C8FE040007F01007137-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CE0F0D775D8D6C8FE040007F01007137--></AD_COLUMN>
+
+<!--CE4DBA92A2E80C3CE040007F0100316C--><AD_COLUMN>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <AD_COLUMN_ID><![CDATA[CE4DBA92A2E80C3CE040007F0100316C]]></AD_COLUMN_ID>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <NAME><![CDATA[Reservation Status]]></NAME>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <HELP><![CDATA[Identifies if the Sales Order is completely or partially reserved]]></HELP>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <COLUMNNAME><![CDATA[SO_Res_Status]]></COLUMNNAME>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <AD_TABLE_ID><![CDATA[260]]></AD_TABLE_ID>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <AD_REFERENCE_ID><![CDATA[17]]></AD_REFERENCE_ID>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <AD_REFERENCE_VALUE_ID><![CDATA[C3C19DE8AB3B42E78748E20D986FBBC9]]></AD_REFERENCE_VALUE_ID>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <FIELDLENGTH><![CDATA[60]]></FIELDLENGTH>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <SEQNO><![CDATA[164]]></SEQNO>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <AD_ELEMENT_ID><![CDATA[CE4E2705AE157709E040007F0100279F]]></AD_ELEMENT_ID>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <POSITION><![CDATA[56]]></POSITION>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CE4DBA92A2E80C3CE040007F0100316C-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CE4DBA92A2E80C3CE040007F0100316C--></AD_COLUMN>
+
+<!--CE4E26D99C2EC060E040007F010027BD--><AD_COLUMN>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <AD_COLUMN_ID><![CDATA[CE4E26D99C2EC060E040007F010027BD]]></AD_COLUMN_ID>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <NAME><![CDATA[Reservation Status]]></NAME>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <HELP><![CDATA[Identifies if the Sales Order is completely or partially reserved]]></HELP>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <COLUMNNAME><![CDATA[SO_Res_Status]]></COLUMNNAME>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <AD_TABLE_ID><![CDATA[259]]></AD_TABLE_ID>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <AD_REFERENCE_ID><![CDATA[17]]></AD_REFERENCE_ID>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <AD_REFERENCE_VALUE_ID><![CDATA[C3C19DE8AB3B42E78748E20D986FBBC9]]></AD_REFERENCE_VALUE_ID>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <FIELDLENGTH><![CDATA[60]]></FIELDLENGTH>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <SEQNO><![CDATA[610]]></SEQNO>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <AD_ELEMENT_ID><![CDATA[CE4E2705AE157709E040007F0100279F]]></AD_ELEMENT_ID>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <POSITION><![CDATA[75]]></POSITION>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CE4E26D99C2EC060E040007F010027BD-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CE4E26D99C2EC060E040007F010027BD--></AD_COLUMN>
+
+<!--CE612A71B701D54AE040007F01001500--><AD_COLUMN>
+<!--CE612A71B701D54AE040007F01001500-->  <AD_COLUMN_ID><![CDATA[CE612A71B701D54AE040007F01001500]]></AD_COLUMN_ID>
+<!--CE612A71B701D54AE040007F01001500-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CE612A71B701D54AE040007F01001500-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CE612A71B701D54AE040007F01001500-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CE612A71B701D54AE040007F01001500-->  <NAME><![CDATA[Manage_Reservation]]></NAME>
+<!--CE612A71B701D54AE040007F01001500-->  <COLUMNNAME><![CDATA[Manage_Reservation]]></COLUMNNAME>
+<!--CE612A71B701D54AE040007F01001500-->  <AD_TABLE_ID><![CDATA[260]]></AD_TABLE_ID>
+<!--CE612A71B701D54AE040007F01001500-->  <AD_REFERENCE_ID><![CDATA[28]]></AD_REFERENCE_ID>
+<!--CE612A71B701D54AE040007F01001500-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--CE612A71B701D54AE040007F01001500-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CE612A71B701D54AE040007F01001500-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CE612A71B701D54AE040007F01001500-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CE612A71B701D54AE040007F01001500-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CE612A71B701D54AE040007F01001500-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CE612A71B701D54AE040007F01001500-->  <SEQNO><![CDATA[174]]></SEQNO>
+<!--CE612A71B701D54AE040007F01001500-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CE612A71B701D54AE040007F01001500-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CE612A71B701D54AE040007F01001500-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CE612A71B701D54AE040007F01001500-->  <AD_ELEMENT_ID><![CDATA[CE883E359964707CE040007F01002B1E]]></AD_ELEMENT_ID>
+<!--CE612A71B701D54AE040007F01001500-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CE612A71B701D54AE040007F01001500-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CE612A71B701D54AE040007F01001500-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CE612A71B701D54AE040007F01001500-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CE612A71B701D54AE040007F01001500-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CE612A71B701D54AE040007F01001500-->  <POSITION><![CDATA[57]]></POSITION>
+<!--CE612A71B701D54AE040007F01001500-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CE612A71B701D54AE040007F01001500-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CE612A71B701D54AE040007F01001500-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CE612A71B701D54AE040007F01001500-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CE612A71B701D54AE040007F01001500-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CE612A71B701D54AE040007F01001500-->  <EM_OBUIAPP_PROCESS_ID><![CDATA[5F547560D3DE401AA0B570F22E2C6C06]]></EM_OBUIAPP_PROCESS_ID>
+<!--CE612A71B701D54AE040007F01001500--></AD_COLUMN>
+
+<!--CE626BBC5E938638E040007F01001502--><AD_COLUMN>
+<!--CE626BBC5E938638E040007F01001502-->  <AD_COLUMN_ID><![CDATA[CE626BBC5E938638E040007F01001502]]></AD_COLUMN_ID>
+<!--CE626BBC5E938638E040007F01001502-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CE626BBC5E938638E040007F01001502-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CE626BBC5E938638E040007F01001502-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CE626BBC5E938638E040007F01001502-->  <NAME><![CDATA[Sales Order Line]]></NAME>
+<!--CE626BBC5E938638E040007F01001502-->  <COLUMNNAME><![CDATA[Sales_Orderline_ID]]></COLUMNNAME>
+<!--CE626BBC5E938638E040007F01001502-->  <AD_TABLE_ID><![CDATA[D666D03BC49A4CBC973341F966D94750]]></AD_TABLE_ID>
+<!--CE626BBC5E938638E040007F01001502-->  <AD_REFERENCE_ID><![CDATA[18]]></AD_REFERENCE_ID>
+<!--CE626BBC5E938638E040007F01001502-->  <AD_REFERENCE_VALUE_ID><![CDATA[271]]></AD_REFERENCE_VALUE_ID>
+<!--CE626BBC5E938638E040007F01001502-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CE626BBC5E938638E040007F01001502-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CE626BBC5E938638E040007F01001502-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CE626BBC5E938638E040007F01001502-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CE626BBC5E938638E040007F01001502-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CE626BBC5E938638E040007F01001502-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CE626BBC5E938638E040007F01001502-->  <SEQNO><![CDATA[220]]></SEQNO>
+<!--CE626BBC5E938638E040007F01001502-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CE626BBC5E938638E040007F01001502-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CE626BBC5E938638E040007F01001502-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CE626BBC5E938638E040007F01001502-->  <AD_ELEMENT_ID><![CDATA[CE626BBC5E958638E040007F01001502]]></AD_ELEMENT_ID>
+<!--CE626BBC5E938638E040007F01001502-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CE626BBC5E938638E040007F01001502-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CE626BBC5E938638E040007F01001502-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CE626BBC5E938638E040007F01001502-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CE626BBC5E938638E040007F01001502-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CE626BBC5E938638E040007F01001502-->  <POSITION><![CDATA[20]]></POSITION>
+<!--CE626BBC5E938638E040007F01001502-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CE626BBC5E938638E040007F01001502-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CE626BBC5E938638E040007F01001502-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CE626BBC5E938638E040007F01001502-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CE626BBC5E938638E040007F01001502-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CE626BBC5E938638E040007F01001502--></AD_COLUMN>
+
+<!--CE87A0172A4FC01CE040007F01003234--><AD_COLUMN>
+<!--CE87A0172A4FC01CE040007F01003234-->  <AD_COLUMN_ID><![CDATA[CE87A0172A4FC01CE040007F01003234]]></AD_COLUMN_ID>
+<!--CE87A0172A4FC01CE040007F01003234-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CE87A0172A4FC01CE040007F01003234-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CE87A0172A4FC01CE040007F01003234-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CE87A0172A4FC01CE040007F01003234-->  <NAME><![CDATA[c_ob_selected]]></NAME>
+<!--CE87A0172A4FC01CE040007F01003234-->  <COLUMNNAME><![CDATA[OB_Selected]]></COLUMNNAME>
+<!--CE87A0172A4FC01CE040007F01003234-->  <AD_TABLE_ID><![CDATA[37E387BC8B4F4906B6D653ACAE690A1E]]></AD_TABLE_ID>
+<!--CE87A0172A4FC01CE040007F01003234-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--CE87A0172A4FC01CE040007F01003234-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--CE87A0172A4FC01CE040007F01003234-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CE87A0172A4FC01CE040007F01003234-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CE87A0172A4FC01CE040007F01003234-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CE87A0172A4FC01CE040007F01003234-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CE87A0172A4FC01CE040007F01003234-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CE87A0172A4FC01CE040007F01003234-->  <SEQNO><![CDATA[180]]></SEQNO>
+<!--CE87A0172A4FC01CE040007F01003234-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CE87A0172A4FC01CE040007F01003234-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CE87A0172A4FC01CE040007F01003234-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CE87A0172A4FC01CE040007F01003234-->  <AD_ELEMENT_ID><![CDATA[B13BBED95C5B262CE040007F01005E70]]></AD_ELEMENT_ID>
+<!--CE87A0172A4FC01CE040007F01003234-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CE87A0172A4FC01CE040007F01003234-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CE87A0172A4FC01CE040007F01003234-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CE87A0172A4FC01CE040007F01003234-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CE87A0172A4FC01CE040007F01003234-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CE87A0172A4FC01CE040007F01003234-->  <POSITION><![CDATA[19]]></POSITION>
+<!--CE87A0172A4FC01CE040007F01003234-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CE87A0172A4FC01CE040007F01003234-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CE87A0172A4FC01CE040007F01003234-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CE87A0172A4FC01CE040007F01003234-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CE87A0172A4FC01CE040007F01003234-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CE87A0172A4FC01CE040007F01003234--></AD_COLUMN>
+
+<!--CE87A0172A66C01CE040007F01003234--><AD_COLUMN>
+<!--CE87A0172A66C01CE040007F01003234-->  <AD_COLUMN_ID><![CDATA[CE87A0172A66C01CE040007F01003234]]></AD_COLUMN_ID>
+<!--CE87A0172A66C01CE040007F01003234-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CE87A0172A66C01CE040007F01003234-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CE87A0172A66C01CE040007F01003234-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CE87A0172A66C01CE040007F01003234-->  <NAME><![CDATA[Manage_Prereservation]]></NAME>
+<!--CE87A0172A66C01CE040007F01003234-->  <COLUMNNAME><![CDATA[Manage_Prereservation]]></COLUMNNAME>
+<!--CE87A0172A66C01CE040007F01003234-->  <AD_TABLE_ID><![CDATA[260]]></AD_TABLE_ID>
+<!--CE87A0172A66C01CE040007F01003234-->  <AD_REFERENCE_ID><![CDATA[28]]></AD_REFERENCE_ID>
+<!--CE87A0172A66C01CE040007F01003234-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--CE87A0172A66C01CE040007F01003234-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CE87A0172A66C01CE040007F01003234-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CE87A0172A66C01CE040007F01003234-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CE87A0172A66C01CE040007F01003234-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--CE87A0172A66C01CE040007F01003234-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CE87A0172A66C01CE040007F01003234-->  <SEQNO><![CDATA[184]]></SEQNO>
+<!--CE87A0172A66C01CE040007F01003234-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CE87A0172A66C01CE040007F01003234-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CE87A0172A66C01CE040007F01003234-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CE87A0172A66C01CE040007F01003234-->  <AD_ELEMENT_ID><![CDATA[CE8786F5FBA7F9A7E040007F010030FC]]></AD_ELEMENT_ID>
+<!--CE87A0172A66C01CE040007F01003234-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CE87A0172A66C01CE040007F01003234-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CE87A0172A66C01CE040007F01003234-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CE87A0172A66C01CE040007F01003234-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CE87A0172A66C01CE040007F01003234-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CE87A0172A66C01CE040007F01003234-->  <POSITION><![CDATA[58]]></POSITION>
+<!--CE87A0172A66C01CE040007F01003234-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CE87A0172A66C01CE040007F01003234-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CE87A0172A66C01CE040007F01003234-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CE87A0172A66C01CE040007F01003234-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CE87A0172A66C01CE040007F01003234-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CE87A0172A66C01CE040007F01003234-->  <EM_OBUIAPP_PROCESS_ID><![CDATA[70E42AD47E5F4698A9ACCCAF3EB72B9E]]></EM_OBUIAPP_PROCESS_ID>
+<!--CE87A0172A66C01CE040007F01003234--></AD_COLUMN>
+
+<!--CE88342CC7A928E3E040007F01002B8B--><AD_COLUMN>
+<!--CE88342CC7A928E3E040007F01002B8B-->  <AD_COLUMN_ID><![CDATA[CE88342CC7A928E3E040007F01002B8B]]></AD_COLUMN_ID>
+<!--CE88342CC7A928E3E040007F01002B8B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CE88342CC7A928E3E040007F01002B8B-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CE88342CC7A928E3E040007F01002B8B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CE88342CC7A928E3E040007F01002B8B-->  <NAME><![CDATA[M_Prereservation_Pick_Edit_ID]]></NAME>
+<!--CE88342CC7A928E3E040007F01002B8B-->  <COLUMNNAME><![CDATA[M_Prereservation_Pick_Edit_ID]]></COLUMNNAME>
+<!--CE88342CC7A928E3E040007F01002B8B-->  <AD_TABLE_ID><![CDATA[37E387BC8B4F4906B6D653ACAE690A1E]]></AD_TABLE_ID>
+<!--CE88342CC7A928E3E040007F01002B8B-->  <AD_REFERENCE_ID><![CDATA[13]]></AD_REFERENCE_ID>
+<!--CE88342CC7A928E3E040007F01002B8B-->  <FIELDLENGTH><![CDATA[64]]></FIELDLENGTH>
+<!--CE88342CC7A928E3E040007F01002B8B-->  <ISKEY><![CDATA[Y]]></ISKEY>
+<!--CE88342CC7A928E3E040007F01002B8B-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CE88342CC7A928E3E040007F01002B8B-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--CE88342CC7A928E3E040007F01002B8B-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--CE88342CC7A928E3E040007F01002B8B-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CE88342CC7A928E3E040007F01002B8B-->  <SEQNO><![CDATA[10]]></SEQNO>
+<!--CE88342CC7A928E3E040007F01002B8B-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CE88342CC7A928E3E040007F01002B8B-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CE88342CC7A928E3E040007F01002B8B-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CE88342CC7A928E3E040007F01002B8B-->  <AD_ELEMENT_ID><![CDATA[CE883E359965707CE040007F01002B1E]]></AD_ELEMENT_ID>
+<!--CE88342CC7A928E3E040007F01002B8B-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CE88342CC7A928E3E040007F01002B8B-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CE88342CC7A928E3E040007F01002B8B-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CE88342CC7A928E3E040007F01002B8B-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CE88342CC7A928E3E040007F01002B8B-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CE88342CC7A928E3E040007F01002B8B-->  <POSITION><![CDATA[1]]></POSITION>
+<!--CE88342CC7A928E3E040007F01002B8B-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CE88342CC7A928E3E040007F01002B8B-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CE88342CC7A928E3E040007F01002B8B-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CE88342CC7A928E3E040007F01002B8B-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CE88342CC7A928E3E040007F01002B8B-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CE88342CC7A928E3E040007F01002B8B--></AD_COLUMN>
+
+<!--CE88342CC7AA28E3E040007F01002B8B--><AD_COLUMN>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <AD_COLUMN_ID><![CDATA[CE88342CC7AA28E3E040007F01002B8B]]></AD_COLUMN_ID>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <NAME><![CDATA[Client]]></NAME>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <DESCRIPTION><![CDATA[Client for this installation.]]></DESCRIPTION>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <HELP><![CDATA[A Client is a company or a legal entity. You cannot share data between Clients.]]></HELP>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <COLUMNNAME><![CDATA[AD_Client_ID]]></COLUMNNAME>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <AD_TABLE_ID><![CDATA[37E387BC8B4F4906B6D653ACAE690A1E]]></AD_TABLE_ID>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <DEFAULTVALUE><![CDATA[@AD_CLIENT_ID@]]></DEFAULTVALUE>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <SEQNO><![CDATA[20]]></SEQNO>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <AD_ELEMENT_ID><![CDATA[102]]></AD_ELEMENT_ID>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <POSITION><![CDATA[2]]></POSITION>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CE88342CC7AA28E3E040007F01002B8B-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CE88342CC7AA28E3E040007F01002B8B--></AD_COLUMN>
+
+<!--CE88342CC7AB28E3E040007F01002B8B--><AD_COLUMN>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <AD_COLUMN_ID><![CDATA[CE88342CC7AB28E3E040007F01002B8B]]></AD_COLUMN_ID>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <NAME><![CDATA[Organization]]></NAME>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <DESCRIPTION><![CDATA[Organizational entity within client]]></DESCRIPTION>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <HELP><![CDATA[An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.]]></HELP>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <COLUMNNAME><![CDATA[AD_Org_ID]]></COLUMNNAME>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <AD_TABLE_ID><![CDATA[37E387BC8B4F4906B6D653ACAE690A1E]]></AD_TABLE_ID>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <DEFAULTVALUE><![CDATA[@AD_ORG_ID@]]></DEFAULTVALUE>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <AD_ELEMENT_ID><![CDATA[113]]></AD_ELEMENT_ID>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <POSITION><![CDATA[3]]></POSITION>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CE88342CC7AB28E3E040007F01002B8B-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CE88342CC7AB28E3E040007F01002B8B--></AD_COLUMN>
+
+<!--CE88342CC7AC28E3E040007F01002B8B--><AD_COLUMN>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <AD_COLUMN_ID><![CDATA[CE88342CC7AC28E3E040007F01002B8B]]></AD_COLUMN_ID>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <NAME><![CDATA[Created By]]></NAME>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <DESCRIPTION><![CDATA[User who created this records]]></DESCRIPTION>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <HELP><![CDATA[The Created By field indicates the user who created this record.]]></HELP>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <COLUMNNAME><![CDATA[Createdby]]></COLUMNNAME>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <AD_TABLE_ID><![CDATA[37E387BC8B4F4906B6D653ACAE690A1E]]></AD_TABLE_ID>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <SEQNO><![CDATA[40]]></SEQNO>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <AD_ELEMENT_ID><![CDATA[246]]></AD_ELEMENT_ID>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <POSITION><![CDATA[4]]></POSITION>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CE88342CC7AC28E3E040007F01002B8B-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CE88342CC7AC28E3E040007F01002B8B--></AD_COLUMN>
+
+<!--CE88342CC7AD28E3E040007F01002B8B--><AD_COLUMN>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <AD_COLUMN_ID><![CDATA[CE88342CC7AD28E3E040007F01002B8B]]></AD_COLUMN_ID>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <NAME><![CDATA[Creation Date]]></NAME>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <DESCRIPTION><![CDATA[The date that this record is completed.]]></DESCRIPTION>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <HELP><![CDATA[The Created field indicates the date that this record was created.]]></HELP>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <COLUMNNAME><![CDATA[Created]]></COLUMNNAME>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <AD_TABLE_ID><![CDATA[37E387BC8B4F4906B6D653ACAE690A1E]]></AD_TABLE_ID>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <SEQNO><![CDATA[50]]></SEQNO>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <AD_ELEMENT_ID><![CDATA[245]]></AD_ELEMENT_ID>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <POSITION><![CDATA[5]]></POSITION>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--CE88342CC7AD28E3E040007F01002B8B-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--CE88342CC7AD28E3E040007F01002B8B--></AD_COLUMN>
+
+<!--CE88342CC7AE28E3E040007F01002B8B--><AD_COLUMN>
+<!--CE88342CC7AE28E3E040007F01002B8B-->  <AD_COLUMN_ID><![CDATA[CE88342CC7AE28E3E040007F01002B8B]]></AD_COLUMN_ID>
+<!--CE88342CC7AE28E3E040007F01002B8B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CE88342CC7AE28E3E040007F01002B8B-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CE88342CC7AE28E3E040007F01002B8B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CE88342CC7AE28E3E040007F01002B8B-->  <NAME><![CDATA[Updated]]></NAME>
+<!--CE88342CC7AE28E3E040007F01002B8B-->