Merge from pi
authorGorka Gil <gorka.gil@openbravo.com>
Mon, 04 May 2009 14:43:04 +0200
changeset 4212 8409a29a53ef
parent 4211 a3ded2a03f1d (current diff)
parent 3795 afae9719930f (diff)
child 4213 4601e40b5744
Merge from pi
config/Openbravo.properties.template
src-db/database/model/functions/M_INOUT_CREATE.xml
src-db/database/sourcedata/AD_COLUMN.xml
src-db/database/sourcedata/AD_EXCEPTIONS.xml
src-db/database/sourcedata/AD_FIELD.xml
src-db/database/sourcedata/AD_MESSAGE.xml
src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
src-db/database/sourcedata/AD_ORGINFO.xml
src-db/database/sourcedata/AD_TEXTINTERFACES.xml
src-test/org/openbravo/test/ant/CompileTest.java
src-test/org/openbravo/test/ant/CreateDatabaseTest.java
src-test/org/openbravo/test/ant/ImportReferenceDataTest.java
src-test/org/openbravo/test/ant/LeakTest.java
src-test/org/openbravo/test/ant/WadTest.java
src-test/org/openbravo/test/dal/AllTests.java
src-test/org/openbravo/test/dal/DalComplexQueryRequisition.java
src-test/org/openbravo/test/dal/HqlTest.java
src-test/org/openbravo/test/security/WritableReadableOrganizationTest.java
src-test/org/openbravo/test/xml/ClientDataSetCompleteTest.java
src-test/org/openbravo/test/xml/ClientExportTest.java
src-test/org/openbravo/test/xml/EntityXMLExportTest.java
src-test/org/openbravo/test/xml/StaxTest.java
src-test/org/openbravo/test/xml/testdata/country.xml
src/build.xml
src/org/openbravo/erpCommon/security/Login_F1.html
web/js/utils.js
--- a/.classpath.template	Wed Apr 22 20:58:48 2009 +0530
+++ b/.classpath.template	Mon May 04 14:43:04 2009 +0200
@@ -14,5 +14,6 @@
 	<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
 	<classpathentry kind="lib" path="lib/runtime/org.openarchitectureware.core.workflow_4.3.1.20080910-1400PRD.jar"/>
 	<classpathentry kind="lib" path="lib/build/junit.jar"/>
+	<classpathentry kind="lib" path="lib/build/js.jar"/>
 	<classpathentry kind="output" path="build/classes"/>
 </classpath>
--- a/.hgignore	Wed Apr 22 20:58:48 2009 +0530
+++ b/.hgignore	Mon May 04 14:43:04 2009 +0200
@@ -20,6 +20,7 @@
 config/log4j.lcf
 config/setup*
 config/checksums
+src/result.xml
 
 src-db/database/lib/dbmanager.jar
 src-core/lib/openbravo-core.jar
--- a/build.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/build.xml	Mon May 04 14:43:04 2009 +0200
@@ -72,6 +72,7 @@
 
   <property name="base.config" location="config" />
   <property name="base.src" location="src" />
+  <property name="base.src.test" location="src-test" />
   <property name="base.src.core" location="src-core" />
   <property name="base.src.db" location="src-db" />
   <property name="base.src.trl" location="src-trl" />
@@ -251,6 +252,7 @@
       </not>
     </condition>
     <antcall target="update.database.if.no.local" />
+    <antcall inheritall="true" inheritrefs="true" target="generate.entities.quick" />
 
     <ant dir="${base.src}" target="smartbuild" inheritAll="true" inheritRefs="true" />
 
@@ -355,6 +357,15 @@
     <ant dir="${base.src}" target="compile.src.gen" inheritAll="true" inheritRefs="true" />
   </target>
 
+  <target name="generate.java.doc">
+    <javadoc sourcepath="${base.src}:${base.src.test}:${base.src.gen}" Windowtitle="Openbravo ERP 2.50" access="public" Header="Openbravo ERP 2.50" Footer="Openbravo ERP 2.50" destdir="${build.docs}" maxmemory="${build.maxmemory}">
+      <classpath>
+        <path refid="project.class.path"/>
+        <pathelement path="lib/build/js.jar" />
+      </classpath>
+    </javadoc>
+  </target>
+
   <target name="generate.entities">
     <ant dir="${base.src}" target="generate.entities" inheritAll="true" inheritRefs="true" />
   </target>
@@ -363,6 +374,22 @@
     <ant dir="${base.src}" target="generate.entities.quick" inheritAll="true" inheritRefs="true" />
   </target>
 
+  <target name="run.tests">
+    <ant dir="${base.src}" target="run.tests" inheritAll="true" inheritRefs="true" />
+  </target>
+
+  <target name="run.all.tests">
+    <ant dir="${base.src}" target="run.all.tests" inheritAll="true" inheritRefs="true" />
+  </target>
+
+  <target name="run.quick.tests">
+    <ant dir="${base.src}" target="run.quick.tests" inheritAll="true" inheritRefs="true" />
+  </target>
+
+  <target name="run.javascript.tests">
+    <ant dir="${base.src}" target="run.javascript.tests" inheritAll="true" inheritRefs="true" />
+  </target>
+
   <target name="export.sample.data" depends="code.rev">
     <ant dir="${base.src}" target="export.sample.data" inheritAll="true" inheritRefs="true" />
   </target>
@@ -494,7 +521,7 @@
     <antcall target="db.apply.modules.sampledata" />
   </target>
 
-  <target name="update.database" depends="init,code.rev,generate.entities.quick">
+  <target name="update.database" depends="init,code.rev">
     <antcall target="database.lib" />
     <antcall target="core.lib" />
     <ant dir="${base.db}" target="update.database" inheritAll="true" inheritRefs="true" />
@@ -507,6 +534,7 @@
     <antcall target="core.lib" />
     <ant dir="${base.db}" target="update.database.mod" inheritAll="true" inheritRefs="true" />
     <antcall target="db.apply.modules" />
+    <antcall target="generate.entities.quick" />
   </target>
 
   <target name="update.customized.database" depends="init,code.rev">
--- a/config/Openbravo.properties.template	Wed Apr 22 20:58:48 2009 +0530
+++ b/config/Openbravo.properties.template	Mon May 04 14:43:04 2009 +0200
@@ -119,3 +119,4 @@
 ##############
 
 validate.model=true
+isMinorVersion=false
--- a/legal/Licensing.txt	Wed Apr 22 20:58:48 2009 +0530
+++ b/legal/Licensing.txt	Mon May 04 14:43:04 2009 +0200
@@ -162,6 +162,9 @@
 # junit.jar
 Under the CPL license (available at http://www.opensource.org/licenses/cpl1.0.php)
 
+# js.jar
+Under MPL/GPL License (available at https://developer.mozilla.org/en/Rhino_License)
+
 In addition, the distribution includes 
 - lam-client.jar (see lam_licenses.txt in lam-client.jar in this release
   for specific licensing information)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/legal/MPL-1.1.txt	Mon May 04 14:43:04 2009 +0200
@@ -0,0 +1,470 @@
+                          MOZILLA PUBLIC LICENSE
+                                Version 1.1
+
+                              ---------------
+
+1. Definitions.
+
+     1.0.1. "Commercial Use" means distribution or otherwise making the
+     Covered Code available to a third party.
+
+     1.1. "Contributor" means each entity that creates or contributes to
+     the creation of Modifications.
+
+     1.2. "Contributor Version" means the combination of the Original
+     Code, prior Modifications used by a Contributor, and the Modifications
+     made by that particular Contributor.
+
+     1.3. "Covered Code" means the Original Code or Modifications or the
+     combination of the Original Code and Modifications, in each case
+     including portions thereof.
+
+     1.4. "Electronic Distribution Mechanism" means a mechanism generally
+     accepted in the software development community for the electronic
+     transfer of data.
+
+     1.5. "Executable" means Covered Code in any form other than Source
+     Code.
+
+     1.6. "Initial Developer" means the individual or entity identified
+     as the Initial Developer in the Source Code notice required by Exhibit
+     A.
+
+     1.7. "Larger Work" means a work which combines Covered Code or
+     portions thereof with code not governed by the terms of this License.
+
+     1.8. "License" means this document.
+
+     1.8.1. "Licensable" means having the right to grant, to the maximum
+     extent possible, whether at the time of the initial grant or
+     subsequently acquired, any and all of the rights conveyed herein.
+
+     1.9. "Modifications" means any addition to or deletion from the
+     substance or structure of either the Original Code or any previous
+     Modifications. When Covered Code is released as a series of files, a
+     Modification is:
+          A. Any addition to or deletion from the contents of a file
+          containing Original Code or previous Modifications.
+
+          B. Any new file that contains any part of the Original Code or
+          previous Modifications.
+
+     1.10. "Original Code" means Source Code of computer software code
+     which is described in the Source Code notice required by Exhibit A as
+     Original Code, and which, at the time of its release under this
+     License is not already Covered Code governed by this License.
+
+     1.10.1. "Patent Claims" means any patent claim(s), now owned or
+     hereafter acquired, including without limitation,  method, process,
+     and apparatus claims, in any patent Licensable by grantor.
+
+     1.11. "Source Code" means the preferred form of the Covered Code for
+     making modifications to it, including all modules it contains, plus
+     any associated interface definition files, scripts used to control
+     compilation and installation of an Executable, or source code
+     differential comparisons against either the Original Code or another
+     well known, available Covered Code of the Contributor's choice. The
+     Source Code can be in a compressed or archival form, provided the
+     appropriate decompression or de-archiving software is widely available
+     for no charge.
+
+     1.12. "You" (or "Your")  means an individual or a legal entity
+     exercising rights under, and complying with all of the terms of, this
+     License or a future version of this License issued under Section 6.1.
+     For legal entities, "You" includes any entity which controls, is
+     controlled by, or is under common control with You. For purposes of
+     this definition, "control" means (a) the power, direct or indirect,
+     to cause the direction or management of such entity, whether by
+     contract or otherwise, or (b) ownership of more than fifty percent
+     (50%) of the outstanding shares or beneficial ownership of such
+     entity.
+
+2. Source Code License.
+
+     2.1. The Initial Developer Grant.
+     The Initial Developer hereby grants You a world-wide, royalty-free,
+     non-exclusive license, subject to third party intellectual property
+     claims:
+          (a)  under intellectual property rights (other than patent or
+          trademark) Licensable by Initial Developer to use, reproduce,
+          modify, display, perform, sublicense and distribute the Original
+          Code (or portions thereof) with or without Modifications, and/or
+          as part of a Larger Work; and
+
+          (b) under Patents Claims infringed by the making, using or
+          selling of Original Code, to make, have made, use, practice,
+          sell, and offer for sale, and/or otherwise dispose of the
+          Original Code (or portions thereof).
+
+          (c) the licenses granted in this Section 2.1(a) and (b) are
+          effective on the date Initial Developer first distributes
+          Original Code under the terms of this License.
+
+          (d) Notwithstanding Section 2.1(b) above, no patent license is
+          granted: 1) for code that You delete from the Original Code; 2)
+          separate from the Original Code;  or 3) for infringements caused
+          by: i) the modification of the Original Code or ii) the
+          combination of the Original Code with other software or devices.
+
+     2.2. Contributor Grant.
+     Subject to third party intellectual property claims, each Contributor
+     hereby grants You a world-wide, royalty-free, non-exclusive license
+
+          (a)  under intellectual property rights (other than patent or
+          trademark) Licensable by Contributor, to use, reproduce, modify,
+          display, perform, sublicense and distribute the Modifications
+          created by such Contributor (or portions thereof) either on an
+          unmodified basis, with other Modifications, as Covered Code
+          and/or as part of a Larger Work; and
+
+          (b) under Patent Claims infringed by the making, using, or
+          selling of  Modifications made by that Contributor either alone
+          and/or in combination with its Contributor Version (or portions
+          of such combination), to make, use, sell, offer for sale, have
+          made, and/or otherwise dispose of: 1) Modifications made by that
+          Contributor (or portions thereof); and 2) the combination of
+          Modifications made by that Contributor with its Contributor
+          Version (or portions of such combination).
+
+          (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
+          effective on the date Contributor first makes Commercial Use of
+          the Covered Code.
+
+          (d)    Notwithstanding Section 2.2(b) above, no patent license is
+          granted: 1) for any code that Contributor has deleted from the
+          Contributor Version; 2)  separate from the Contributor Version;
+          3)  for infringements caused by: i) third party modifications of
+          Contributor Version or ii)  the combination of Modifications made
+          by that Contributor with other software  (except as part of the
+          Contributor Version) or other devices; or 4) under Patent Claims
+          infringed by Covered Code in the absence of Modifications made by
+          that Contributor.
+
+3. Distribution Obligations.
+
+     3.1. Application of License.
+     The Modifications which You create or to which You contribute are
+     governed by the terms of this License, including without limitation
+     Section 2.2. The Source Code version of Covered Code may be
+     distributed only under the terms of this License or a future version
+     of this License released under Section 6.1, and You must include a
+     copy of this License with every copy of the Source Code You
+     distribute. You may not offer or impose any terms on any Source Code
+     version that alters or restricts the applicable version of this
+     License or the recipients' rights hereunder. However, You may include
+     an additional document offering the additional rights described in
+     Section 3.5.
+
+     3.2. Availability of Source Code.
+     Any Modification which You create or to which You contribute must be
+     made available in Source Code form under the terms of this License
+     either on the same media as an Executable version or via an accepted
+     Electronic Distribution Mechanism to anyone to whom you made an
+     Executable version available; and if made available via Electronic
+     Distribution Mechanism, must remain available for at least twelve (12)
+     months after the date it initially became available, or at least six
+     (6) months after a subsequent version of that particular Modification
+     has been made available to such recipients. You are responsible for
+     ensuring that the Source Code version remains available even if the
+     Electronic Distribution Mechanism is maintained by a third party.
+
+     3.3. Description of Modifications.
+     You must cause all Covered Code to which You contribute to contain a
+     file documenting the changes You made to create that Covered Code and
+     the date of any change. You must include a prominent statement that
+     the Modification is derived, directly or indirectly, from Original
+     Code provided by the Initial Developer and including the name of the
+     Initial Developer in (a) the Source Code, and (b) in any notice in an
+     Executable version or related documentation in which You describe the
+     origin or ownership of the Covered Code.
+
+     3.4. Intellectual Property Matters
+          (a) Third Party Claims.
+          If Contributor has knowledge that a license under a third party's
+          intellectual property rights is required to exercise the rights
+          granted by such Contributor under Sections 2.1 or 2.2,
+          Contributor must include a text file with the Source Code
+          distribution titled "LEGAL" which describes the claim and the
+          party making the claim in sufficient detail that a recipient will
+          know whom to contact. If Contributor obtains such knowledge after
+          the Modification is made available as described in Section 3.2,
+          Contributor shall promptly modify the LEGAL file in all copies
+          Contributor makes available thereafter and shall take other steps
+          (such as notifying appropriate mailing lists or newsgroups)
+          reasonably calculated to inform those who received the Covered
+          Code that new knowledge has been obtained.
+
+          (b) Contributor APIs.
+          If Contributor's Modifications include an application programming
+          interface and Contributor has knowledge of patent licenses which
+          are reasonably necessary to implement that API, Contributor must
+          also include this information in the LEGAL file.
+
+               (c)    Representations.
+          Contributor represents that, except as disclosed pursuant to
+          Section 3.4(a) above, Contributor believes that Contributor's
+          Modifications are Contributor's original creation(s) and/or
+          Contributor has sufficient rights to grant the rights conveyed by
+          this License.
+
+     3.5. Required Notices.
+     You must duplicate the notice in Exhibit A in each file of the Source
+     Code.  If it is not possible to put such notice in a particular Source
+     Code file due to its structure, then You must include such notice in a
+     location (such as a relevant directory) where a user would be likely
+     to look for such a notice.  If You created one or more Modification(s)
+     You may add your name as a Contributor to the notice described in
+     Exhibit A.  You must also duplicate this License in any documentation
+     for the Source Code where You describe recipients' rights or ownership
+     rights relating to Covered Code.  You may choose to offer, and to
+     charge a fee for, warranty, support, indemnity or liability
+     obligations to one or more recipients of Covered Code. However, You
+     may do so only on Your own behalf, and not on behalf of the Initial
+     Developer or any Contributor. You must make it absolutely clear than
+     any such warranty, support, indemnity or liability obligation is
+     offered by You alone, and You hereby agree to indemnify the Initial
+     Developer and every Contributor for any liability incurred by the
+     Initial Developer or such Contributor as a result of warranty,
+     support, indemnity or liability terms You offer.
+
+     3.6. Distribution of Executable Versions.
+     You may distribute Covered Code in Executable form only if the
+     requirements of Section 3.1-3.5 have been met for that Covered Code,
+     and if You include a notice stating that the Source Code version of
+     the Covered Code is available under the terms of this License,
+     including a description of how and where You have fulfilled the
+     obligations of Section 3.2. The notice must be conspicuously included
+     in any notice in an Executable version, related documentation or
+     collateral in which You describe recipients' rights relating to the
+     Covered Code. You may distribute the Executable version of Covered
+     Code or ownership rights under a license of Your choice, which may
+     contain terms different from this License, provided that You are in
+     compliance with the terms of this License and that the license for the
+     Executable version does not attempt to limit or alter the recipient's
+     rights in the Source Code version from the rights set forth in this
+     License. If You distribute the Executable version under a different
+     license You must make it absolutely clear that any terms which differ
+     from this License are offered by You alone, not by the Initial
+     Developer or any Contributor. You hereby agree to indemnify the
+     Initial Developer and every Contributor for any liability incurred by
+     the Initial Developer or such Contributor as a result of any such
+     terms You offer.
+
+     3.7. Larger Works.
+     You may create a Larger Work by combining Covered Code with other code
+     not governed by the terms of this License and distribute the Larger
+     Work as a single product. In such a case, You must make sure the
+     requirements of this License are fulfilled for the Covered Code.
+
+4. Inability to Comply Due to Statute or Regulation.
+
+     If it is impossible for You to comply with any of the terms of this
+     License with respect to some or all of the Covered Code due to
+     statute, judicial order, or regulation then You must: (a) comply with
+     the terms of this License to the maximum extent possible; and (b)
+     describe the limitations and the code they affect. Such description
+     must be included in the LEGAL file described in Section 3.4 and must
+     be included with all distributions of the Source Code. Except to the
+     extent prohibited by statute or regulation, such description must be
+     sufficiently detailed for a recipient of ordinary skill to be able to
+     understand it.
+
+5. Application of this License.
+
+     This License applies to code to which the Initial Developer has
+     attached the notice in Exhibit A and to related Covered Code.
+
+6. Versions of the License.
+
+     6.1. New Versions.
+     Netscape Communications Corporation ("Netscape") may publish revised
+     and/or new versions of the License from time to time. Each version
+     will be given a distinguishing version number.
+
+     6.2. Effect of New Versions.
+     Once Covered Code has been published under a particular version of the
+     License, You may always continue to use it under the terms of that
+     version. You may also choose to use such Covered Code under the terms
+     of any subsequent version of the License published by Netscape. No one
+     other than Netscape has the right to modify the terms applicable to
+     Covered Code created under this License.
+
+     6.3. Derivative Works.
+     If You create or use a modified version of this License (which you may
+     only do in order to apply it to code which is not already Covered Code
+     governed by this License), You must (a) rename Your license so that
+     the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
+     "MPL", "NPL" or any confusingly similar phrase do not appear in your
+     license (except to note that your license differs from this License)
+     and (b) otherwise make it clear that Your version of the license
+     contains terms which differ from the Mozilla Public License and
+     Netscape Public License. (Filling in the name of the Initial
+     Developer, Original Code or Contributor in the notice described in
+     Exhibit A shall not of themselves be deemed to be modifications of
+     this License.)
+
+7. DISCLAIMER OF WARRANTY.
+
+     COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
+     WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
+     WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
+     DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
+     THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
+     IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
+     YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
+     COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
+     OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
+     ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
+
+8. TERMINATION.
+
+     8.1.  This License and the rights granted hereunder will terminate
+     automatically if You fail to comply with terms herein and fail to cure
+     such breach within 30 days of becoming aware of the breach. All
+     sublicenses to the Covered Code which are properly granted shall
+     survive any termination of this License. Provisions which, by their
+     nature, must remain in effect beyond the termination of this License
+     shall survive.
+
+     8.2.  If You initiate litigation by asserting a patent infringement
+     claim (excluding declatory judgment actions) against Initial Developer
+     or a Contributor (the Initial Developer or Contributor against whom
+     You file such action is referred to as "Participant")  alleging that:
+
+     (a)  such Participant's Contributor Version directly or indirectly
+     infringes any patent, then any and all rights granted by such
+     Participant to You under Sections 2.1 and/or 2.2 of this License
+     shall, upon 60 days notice from Participant terminate prospectively,
+     unless if within 60 days after receipt of notice You either: (i)
+     agree in writing to pay Participant a mutually agreeable reasonable
+     royalty for Your past and future use of Modifications made by such
+     Participant, or (ii) withdraw Your litigation claim with respect to
+     the Contributor Version against such Participant.  If within 60 days
+     of notice, a reasonable royalty and payment arrangement are not
+     mutually agreed upon in writing by the parties or the litigation claim
+     is not withdrawn, the rights granted by Participant to You under
+     Sections 2.1 and/or 2.2 automatically terminate at the expiration of
+     the 60 day notice period specified above.
+
+     (b)  any software, hardware, or device, other than such Participant's
+     Contributor Version, directly or indirectly infringes any patent, then
+     any rights granted to You by such Participant under Sections 2.1(b)
+     and 2.2(b) are revoked effective as of the date You first made, used,
+     sold, distributed, or had made, Modifications made by that
+     Participant.
+
+     8.3.  If You assert a patent infringement claim against Participant
+     alleging that such Participant's Contributor Version directly or
+     indirectly infringes any patent where such claim is resolved (such as
+     by license or settlement) prior to the initiation of patent
+     infringement litigation, then the reasonable value of the licenses
+     granted by such Participant under Sections 2.1 or 2.2 shall be taken
+     into account in determining the amount or value of any payment or
+     license.
+
+     8.4.  In the event of termination under Sections 8.1 or 8.2 above,
+     all end user license agreements (excluding distributors and resellers)
+     which have been validly granted by You or any distributor hereunder
+     prior to termination shall survive termination.
+
+9. LIMITATION OF LIABILITY.
+
+     UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
+     (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
+     DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
+     OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
+     ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
+     CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
+     WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
+     COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
+     INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
+     LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
+     RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
+     PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
+     EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
+     THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
+
+10. U.S. GOVERNMENT END USERS.
+
+     The Covered Code is a "commercial item," as that term is defined in
+     48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
+     software" and "commercial computer software documentation," as such
+     terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
+     C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
+     all U.S. Government End Users acquire Covered Code with only those
+     rights set forth herein.
+
+11. MISCELLANEOUS.
+
+     This License represents the complete agreement concerning subject
+     matter hereof. If any provision of this License is held to be
+     unenforceable, such provision shall be reformed only to the extent
+     necessary to make it enforceable. This License shall be governed by
+     California law provisions (except to the extent applicable law, if
+     any, provides otherwise), excluding its conflict-of-law provisions.
+     With respect to disputes in which at least one party is a citizen of,
+     or an entity chartered or registered to do business in the United
+     States of America, any litigation relating to this License shall be
+     subject to the jurisdiction of the Federal Courts of the Northern
+     District of California, with venue lying in Santa Clara County,
+     California, with the losing party responsible for costs, including
+     without limitation, court costs and reasonable attorneys' fees and
+     expenses. The application of the United Nations Convention on
+     Contracts for the International Sale of Goods is expressly excluded.
+     Any law or regulation which provides that the language of a contract
+     shall be construed against the drafter shall not apply to this
+     License.
+
+12. RESPONSIBILITY FOR CLAIMS.
+
+     As between Initial Developer and the Contributors, each party is
+     responsible for claims and damages arising, directly or indirectly,
+     out of its utilization of rights under this License and You agree to
+     work with Initial Developer and Contributors to distribute such
+     responsibility on an equitable basis. Nothing herein is intended or
+     shall be deemed to constitute any admission of liability.
+
+13. MULTIPLE-LICENSED CODE.
+
+     Initial Developer may designate portions of the Covered Code as
+     "Multiple-Licensed".  "Multiple-Licensed" means that the Initial
+     Developer permits you to utilize portions of the Covered Code under
+     Your choice of the NPL or the alternative licenses, if any, specified
+     by the Initial Developer in the file described in Exhibit A.
+
+EXHIBIT A -Mozilla Public License.
+
+     ``The contents of this file are subject to the Mozilla Public License
+     Version 1.1 (the "License"); you may not use this file except in
+     compliance with the License. You may obtain a copy of the License at
+     http://www.mozilla.org/MPL/
+
+     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 ______________________________________.
+
+     The Initial Developer of the Original Code is ________________________.
+     Portions created by ______________________ are Copyright (C) ______
+     _______________________. All Rights Reserved.
+
+     Contributor(s): ______________________________________.
+
+     Alternatively, the contents of this file may be used under the terms
+     of the _____ license (the  "[___] License"), in which case the
+     provisions of [______] License are applicable instead of those
+     above.  If you wish to allow use of your version of this file only
+     under the terms of the [____] License and not to allow others to use
+     your version of this file under the MPL, indicate your decision by
+     deleting  the provisions above and replace  them with the notice and
+     other provisions required by the [___] License.  If you do not delete
+     the provisions above, a recipient may use your version of this file
+     under either the MPL or the [___] License."
+
+     [NOTE: The text of this Exhibit A may differ slightly from the text of
+     the notices in the Source Code files of the Original Code. You should
+     use the text of this Exhibit A rather than the text found in the
+     Original Code Source Code for Your Modifications.]
+
Binary file lib/build/js.jar has changed
Binary file lib/runtime/db2jcc.jar has changed
Binary file lib/runtime/db2jcc_license_cu.jar has changed
--- a/referencedata/sampledata/Accounting_Test.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/referencedata/sampledata/Accounting_Test.xml	Mon May 04 14:43:04 2009 +0200
@@ -7930,16 +7930,7 @@
     <organization id="0"/>
     <active>true</active>
     <editableField>true</editableField>
-  </ADProcessAccess>
-  <ADProcessAccess id="5E4DB943A71416CFE040007F01002944">
-    <id>5E4DB943A71416CFE040007F01002944</id>
-    <process id="800193"/>
-    <role id="1000006"/>
-    <client id="1000001"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADProcessAccess>
+  </ADProcessAccess> 
   <ADProcessAccess id="5E4DB943A71516CFE040007F01002944">
     <id>5E4DB943A71516CFE040007F01002944</id>
     <process id="800194"/>
@@ -10531,16 +10522,7 @@
     <organization id="0"/>
     <active>true</active>
     <editableField>true</editableField>
-  </ADProcessAccess>
-  <ADProcessAccess id="5E4DB943AC5A16CFE040007F01002944">
-    <id>5E4DB943AC5A16CFE040007F01002944</id>
-    <process id="800193"/>
-    <role id="1000005"/>
-    <client id="1000001"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADProcessAccess>
+  </ADProcessAccess>  
   <ADProcessAccess id="5E4DB943AC5F16CFE040007F01002944">
     <id>5E4DB943AC5F16CFE040007F01002944</id>
     <process id="800194"/>
@@ -13700,6 +13682,60 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADWindowAccess>
+  <ADWindowAccess id="682565E58CBDD515E040007F01011C04">
+    <id>682565E58CBDD515E040007F01011C04</id>
+    <window id="125"/>
+    <role id="1000006"/>
+    <client id="1000001"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADWindowAccess>
+  <ADWindowAccess id="682565E58CBED515E040007F01011C04">
+    <id>682565E58CBED515E040007F01011C04</id>
+    <window id="B15DDE526F724EBCB11439BDDB483FA6"/>
+    <role id="1000005"/>
+    <client id="1000001"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADWindowAccess>
+  <ADWindowAccess id="682565E58CBFD515E040007F01011C04">
+    <id>682565E58CBFD515E040007F01011C04</id>
+    <window id="800081"/>
+    <role id="1000006"/>
+    <client id="1000001"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADWindowAccess>
+  <ADWindowAccess id="682565E58CC1D515E040007F01011C04">
+    <id>682565E58CC1D515E040007F01011C04</id>
+    <window id="117"/>
+    <role id="1000006"/>
+    <client id="1000001"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADWindowAccess>
+  <ADWindowAccess id="682565E58CC2D515E040007F01011C04">
+    <id>682565E58CC2D515E040007F01011C04</id>
+    <window id="137"/>
+    <role id="1000006"/>
+    <client id="1000001"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADWindowAccess>
+  <ADWindowAccess id="682565E58CC3D515E040007F01011C04">
+    <id>682565E58CC3D515E040007F01011C04</id>
+    <window id="138"/>
+    <role id="1000006"/>
+    <client id="1000001"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADWindowAccess>
   <ADWindowAccess id="FE58E6DAECCA11DD87CB001D09C4A2FE">
     <id>FE58E6DAECCA11DD87CB001D09C4A2FE</id>
     <window id="48E7EDE7D1104A59B46FC7449D9FB267"/>
@@ -13993,8 +14029,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000009"/>
     <classification/>
-    <volume>0</volume>
-    <weight>0</weight>
+    <volume>0.0</volume>
+    <weight>0.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -18987,6 +19023,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>50</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000067">
     <id>1000067</id>
@@ -19029,6 +19067,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>150</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000068">
     <id>1000068</id>
@@ -19071,6 +19111,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>50</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000069">
     <id>1000069</id>
@@ -19113,6 +19155,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>50</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000070">
     <id>1000070</id>
@@ -19155,6 +19199,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>50</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <FinancialMgmtTaxRate id="1000007">
     <id>1000007</id>
@@ -25663,7 +25709,7 @@
     <cashbook/>
     <formOfPayment>5</formOfPayment>
     <paymentComplete>true</paymentComplete>
-    <amount>6900.0</amount>
+    <amount>6900</amount>
     <writeoffAmount>0</writeoffAmount>
     <dueDate>2007-12-11T00:00:00.0Z</dueDate>
     <manual>false</manual>
@@ -25681,7 +25727,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="19000115">
     <id>19000115</id>
@@ -25700,7 +25746,7 @@
     <cashbook/>
     <formOfPayment>5</formOfPayment>
     <paymentComplete>true</paymentComplete>
-    <amount>34500.0</amount>
+    <amount>34500</amount>
     <writeoffAmount>0</writeoffAmount>
     <dueDate>2007-12-11T00:00:00.0Z</dueDate>
     <manual>false</manual>
@@ -25718,7 +25764,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="19000116">
     <id>19000116</id>
@@ -25737,7 +25783,7 @@
     <cashbook/>
     <formOfPayment>5</formOfPayment>
     <paymentComplete>false</paymentComplete>
-    <amount>1150.0</amount>
+    <amount>1150</amount>
     <writeoffAmount>0</writeoffAmount>
     <dueDate>2007-12-11T00:00:00.0Z</dueDate>
     <manual>false</manual>
@@ -25755,7 +25801,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="19000117">
     <id>19000117</id>
@@ -25774,7 +25820,7 @@
     <cashbook/>
     <formOfPayment>5</formOfPayment>
     <paymentComplete>false</paymentComplete>
-    <amount>1150.0</amount>
+    <amount>1150</amount>
     <writeoffAmount>0</writeoffAmount>
     <dueDate>2007-12-11T00:00:00.0Z</dueDate>
     <manual>false</manual>
@@ -25792,7 +25838,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="19000118">
     <id>19000118</id>
@@ -25811,7 +25857,7 @@
     <cashbook/>
     <formOfPayment>5</formOfPayment>
     <paymentComplete>true</paymentComplete>
-    <amount>2875.0</amount>
+    <amount>2875</amount>
     <writeoffAmount>0</writeoffAmount>
     <dueDate>2007-12-11T00:00:00.0Z</dueDate>
     <manual>false</manual>
@@ -25829,7 +25875,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtSettlement id="1000051">
     <id>1000051</id>
@@ -25928,6 +25974,7 @@
     <client id="1000001"/>
     <organization id="0"/>
     <active>true</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="1000002">
@@ -25937,6 +25984,7 @@
     <client id="1000001"/>
     <organization id="0"/>
     <active>true</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="1000003">
@@ -25946,6 +25994,7 @@
     <client id="1000001"/>
     <organization id="0"/>
     <active>false</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="1000004">
@@ -25955,6 +26004,7 @@
     <client id="1000001"/>
     <organization id="0"/>
     <active>false</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="1000005">
@@ -25964,6 +26014,7 @@
     <client id="1000001"/>
     <organization id="0"/>
     <active>false</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="1000006">
@@ -25973,6 +26024,7 @@
     <client id="1000001"/>
     <organization id="0"/>
     <active>true</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="1000007">
@@ -25982,6 +26034,7 @@
     <client id="1000001"/>
     <organization id="0"/>
     <active>false</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="1000008">
@@ -25991,6 +26044,7 @@
     <client id="1000001"/>
     <organization id="0"/>
     <active>true</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="1000009">
@@ -26000,6 +26054,7 @@
     <client id="1000001"/>
     <organization id="0"/>
     <active>false</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="1000010">
@@ -26009,6 +26064,7 @@
     <client id="1000001"/>
     <organization id="0"/>
     <active>false</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="1000011">
@@ -26018,6 +26074,7 @@
     <client id="1000001"/>
     <organization id="0"/>
     <active>false</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="1000012">
@@ -26027,6 +26084,7 @@
     <client id="1000001"/>
     <organization id="0"/>
     <active>true</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="1000013">
@@ -26036,6 +26094,7 @@
     <client id="1000001"/>
     <organization id="0"/>
     <active>false</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="1000014">
@@ -26045,6 +26104,7 @@
     <client id="1000001"/>
     <organization id="0"/>
     <active>true</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="1000015">
@@ -26054,6 +26114,7 @@
     <client id="1000001"/>
     <organization id="0"/>
     <active>false</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="1000016">
@@ -26063,6 +26124,7 @@
     <client id="1000001"/>
     <organization id="0"/>
     <active>false</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="1000017">
@@ -26072,6 +26134,7 @@
     <client id="1000001"/>
     <organization id="0"/>
     <active>false</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <MaterialMgmtStorageDetail id="1000047">
--- a/referencedata/sampledata/SmallBazaar.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/referencedata/sampledata/SmallBazaar.xml	Mon May 04 14:43:04 2009 +0200
@@ -8,7 +8,7 @@
     <name>SmallBazaar</name>
     <description>SmallBazaar</description>
     <mailHost/>
-    <requestEmail/> 
+    <requestEmail/>
     <requestUser/>
     <requestUserPassword/>
     <requestFolder/>
@@ -52680,43 +52680,7 @@
     <organization id="0"/>
     <active>true</active>
     <editableField>true</editableField>
-  </ADProcessAccess>
-  <ADProcessAccess id="5E4DB943AC5916CFE040007F01002944">
-    <id>5E4DB943AC5916CFE040007F01002944</id>
-    <process id="800193"/>
-    <role id="1000004"/>
-    <client id="1000000"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADProcessAccess>
-  <ADProcessAccess id="5E4DB943AC5B16CFE040007F01002944">
-    <id>5E4DB943AC5B16CFE040007F01002944</id>
-    <process id="800193"/>
-    <role id="1000007"/>
-    <client id="1000000"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADProcessAccess>
-  <ADProcessAccess id="5E4DB943AC5C16CFE040007F01002944">
-    <id>5E4DB943AC5C16CFE040007F01002944</id>
-    <process id="800193"/>
-    <role id="1000008"/>
-    <client id="1000000"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADProcessAccess>
-  <ADProcessAccess id="5E4DB943AC5D16CFE040007F01002944">
-    <id>5E4DB943AC5D16CFE040007F01002944</id>
-    <process id="800193"/>
-    <role id="1000009"/>
-    <client id="1000000"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADProcessAccess>
+  </ADProcessAccess> 
   <ADProcessAccess id="5E4DB943AC5E16CFE040007F01002944">
     <id>5E4DB943AC5E16CFE040007F01002944</id>
     <process id="800194"/>
@@ -59917,6 +59881,42 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADWindowAccess>
+  <ADWindowAccess id="682565E58CBCD515E040007F01011C04">
+    <id>682565E58CBCD515E040007F01011C04</id>
+    <window id="B15DDE526F724EBCB11439BDDB483FA6"/>
+    <role id="1000007"/>
+    <client id="1000000"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADWindowAccess>
+  <ADWindowAccess id="682565E58CC0D515E040007F01011C04">
+    <id>682565E58CC0D515E040007F01011C04</id>
+    <window id="B15DDE526F724EBCB11439BDDB483FA6"/>
+    <role id="1000008"/>
+    <client id="1000000"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADWindowAccess>
+  <ADWindowAccess id="682565E58CC4D515E040007F01011C04">
+    <id>682565E58CC4D515E040007F01011C04</id>
+    <window id="B15DDE526F724EBCB11439BDDB483FA6"/>
+    <role id="1000009"/>
+    <client id="1000000"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADWindowAccess>
+  <ADWindowAccess id="682565E58CC5D515E040007F01011C04">
+    <id>682565E58CC5D515E040007F01011C04</id>
+    <window id="B15DDE526F724EBCB11439BDDB483FA6"/>
+    <role id="1000004"/>
+    <client id="1000000"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADWindowAccess>
   <ADWorkflowAccess id="5E4DB943B0DD16CFE040007F01002944">
     <id>5E4DB943B0DD16CFE040007F01002944</id>
     <workflow id="101"/>
@@ -60835,7 +60835,7 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000004"/>
     <classification/>
-    <volume>2</volume>
+    <volume>2.0</volume>
     <weight>1.5</weight>
     <shelfWidth/>
     <shelfHeight/>
@@ -60902,8 +60902,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000004"/>
     <classification/>
-    <volume>0</volume>
-    <weight>0</weight>
+    <volume>0.0</volume>
+    <weight>0.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -60969,8 +60969,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000004"/>
     <classification/>
-    <volume>0</volume>
-    <weight>0</weight>
+    <volume>0.0</volume>
+    <weight>0.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -61036,8 +61036,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000004"/>
     <classification/>
-    <volume>0</volume>
-    <weight>0</weight>
+    <volume>0.0</volume>
+    <weight>0.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -61103,8 +61103,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000002"/>
     <classification/>
-    <volume>0</volume>
-    <weight>0</weight>
+    <volume>0.0</volume>
+    <weight>0.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -61170,8 +61170,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000002"/>
     <classification/>
-    <volume>0</volume>
-    <weight>0</weight>
+    <volume>0.0</volume>
+    <weight>0.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -61237,8 +61237,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000002"/>
     <classification/>
-    <volume>4</volume>
-    <weight>0</weight>
+    <volume>4.0</volume>
+    <weight>0.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -61304,8 +61304,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000003"/>
     <classification/>
-    <volume>0</volume>
-    <weight>0</weight>
+    <volume>0.0</volume>
+    <weight>0.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -61371,8 +61371,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000003"/>
     <classification/>
-    <volume>0</volume>
-    <weight>0</weight>
+    <volume>0.0</volume>
+    <weight>0.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -61438,8 +61438,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000001"/>
     <classification/>
-    <volume>0</volume>
-    <weight>0</weight>
+    <volume>0.0</volume>
+    <weight>0.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -61505,8 +61505,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000001"/>
     <classification/>
-    <volume>0</volume>
-    <weight>0</weight>
+    <volume>0.0</volume>
+    <weight>0.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -61572,8 +61572,8 @@
     <bOMVerified>true</bOMVerified>
     <productCategory id="1000003"/>
     <classification/>
-    <volume>0</volume>
-    <weight>0</weight>
+    <volume>0.0</volume>
+    <weight>0.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -61639,8 +61639,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000003"/>
     <classification/>
-    <volume>0</volume>
-    <weight>0</weight>
+    <volume>0.0</volume>
+    <weight>0.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -61706,8 +61706,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000003"/>
     <classification/>
-    <volume>0</volume>
-    <weight>0</weight>
+    <volume>0.0</volume>
+    <weight>0.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -61773,8 +61773,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000003"/>
     <classification/>
-    <volume>0</volume>
-    <weight>0</weight>
+    <volume>0.0</volume>
+    <weight>0.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -61840,8 +61840,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000004"/>
     <classification/>
-    <volume>0</volume>
-    <weight>0</weight>
+    <volume>0.0</volume>
+    <weight>0.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -61907,8 +61907,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000008"/>
     <classification/>
-    <volume>0</volume>
-    <weight>0</weight>
+    <volume>0.0</volume>
+    <weight>0.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -61974,8 +61974,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000008"/>
     <classification/>
-    <volume>0</volume>
-    <weight>4</weight>
+    <volume>0.0</volume>
+    <weight>4.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -62041,8 +62041,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000008"/>
     <classification/>
-    <volume>0</volume>
-    <weight>4</weight>
+    <volume>0.0</volume>
+    <weight>4.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -62108,8 +62108,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000005"/>
     <classification/>
-    <volume>0</volume>
-    <weight>0</weight>
+    <volume>0.0</volume>
+    <weight>0.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -62175,8 +62175,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000000"/>
     <classification/>
-    <volume>0</volume>
-    <weight>0</weight>
+    <volume>0.0</volume>
+    <weight>0.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -62242,8 +62242,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000000"/>
     <classification/>
-    <volume>0</volume>
-    <weight>0</weight>
+    <volume>0.0</volume>
+    <weight>0.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -62309,8 +62309,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000004"/>
     <classification/>
-    <volume>0</volume>
-    <weight>0</weight>
+    <volume>0.0</volume>
+    <weight>0.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -62376,8 +62376,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000006"/>
     <classification/>
-    <volume>0</volume>
-    <weight>0</weight>
+    <volume>0.0</volume>
+    <weight>0.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -62443,8 +62443,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000000"/>
     <classification/>
-    <volume>0</volume>
-    <weight>0</weight>
+    <volume>0.0</volume>
+    <weight>0.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -62510,8 +62510,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000006"/>
     <classification/>
-    <volume>0</volume>
-    <weight>0</weight>
+    <volume>0.0</volume>
+    <weight>0.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -62577,8 +62577,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000008"/>
     <classification/>
-    <volume>0</volume>
-    <weight>0</weight>
+    <volume>0.0</volume>
+    <weight>0.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -62644,8 +62644,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000006"/>
     <classification/>
-    <volume>0</volume>
-    <weight>0</weight>
+    <volume>0.0</volume>
+    <weight>0.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -62711,8 +62711,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000000"/>
     <classification/>
-    <volume>0</volume>
-    <weight>0</weight>
+    <volume>0.0</volume>
+    <weight>0.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -62778,8 +62778,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000007"/>
     <classification/>
-    <volume>0</volume>
-    <weight>0</weight>
+    <volume>0.0</volume>
+    <weight>0.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -62845,8 +62845,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000003"/>
     <classification/>
-    <volume>0</volume>
-    <weight>0</weight>
+    <volume>0.0</volume>
+    <weight>0.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -62912,8 +62912,8 @@
     <bOMVerified>false</bOMVerified>
     <productCategory id="1000007"/>
     <classification/>
-    <volume>0</volume>
-    <weight>0</weight>
+    <volume>0.0</volume>
+    <weight>0.0</weight>
     <shelfWidth/>
     <shelfHeight/>
     <shelfDepth/>
@@ -63397,7 +63397,7 @@
     <purchaseOrderPrice>0</purchaseOrderPrice>
     <priceEffectiveFrom/>
     <lastPurchasePrice>0</lastPurchasePrice>
-    <lastInvoicePrice>45.0000000000000000</lastInvoicePrice>
+    <lastInvoicePrice>45</lastInvoicePrice>
     <vendorProductNo>roca</vendorProductNo>
     <uPCEAN/>
     <vendorCategory/>
@@ -82594,6 +82594,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>5.9</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000001">
     <id>1000001</id>
@@ -82636,6 +82638,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>12</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000002">
     <id>1000002</id>
@@ -82678,6 +82682,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>37.8</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000003">
     <id>1000003</id>
@@ -82720,6 +82726,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>34.02</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000004">
     <id>1000004</id>
@@ -82762,6 +82770,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>12.5</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000005">
     <id>1000005</id>
@@ -82804,6 +82814,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>45</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000006">
     <id>1000006</id>
@@ -82846,6 +82858,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>37.8</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000007">
     <id>1000007</id>
@@ -82888,6 +82902,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>0.6</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000008">
     <id>1000008</id>
@@ -82930,6 +82946,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>9</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000009">
     <id>1000009</id>
@@ -82972,6 +82990,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>1</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000010">
     <id>1000010</id>
@@ -83014,6 +83034,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>0.6</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000011">
     <id>1000011</id>
@@ -83056,6 +83078,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>35</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000012">
     <id>1000012</id>
@@ -83098,6 +83122,8 @@
     <orderUOM/>
     <priceAdjustment id="1000000"/>
     <standardPrice>12</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000013">
     <id>1000013</id>
@@ -83140,6 +83166,8 @@
     <orderUOM/>
     <priceAdjustment id="1000000"/>
     <standardPrice>13</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000014">
     <id>1000014</id>
@@ -83182,6 +83210,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>12.5</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000015">
     <id>1000015</id>
@@ -83224,6 +83254,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>10.8</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000016">
     <id>1000016</id>
@@ -83266,6 +83298,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>5.9</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000017">
     <id>1000017</id>
@@ -83308,6 +83342,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>5.9</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000018">
     <id>1000018</id>
@@ -83350,6 +83386,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>4.5</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000019">
     <id>1000019</id>
@@ -83392,6 +83430,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>0.94</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000020">
     <id>1000020</id>
@@ -83434,6 +83474,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>27</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000021">
     <id>1000021</id>
@@ -83476,6 +83518,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>1</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000022">
     <id>1000022</id>
@@ -83518,6 +83562,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>5.9</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000023">
     <id>1000023</id>
@@ -83560,6 +83606,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>2.43</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000024">
     <id>1000024</id>
@@ -83602,6 +83650,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>12.5</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000025">
     <id>1000025</id>
@@ -83644,6 +83694,8 @@
     <orderUOM/>
     <priceAdjustment id="1000000"/>
     <standardPrice>12</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000026">
     <id>1000026</id>
@@ -83686,6 +83738,8 @@
     <orderUOM/>
     <priceAdjustment id="1000000"/>
     <standardPrice>13</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000027">
     <id>1000027</id>
@@ -83728,6 +83782,8 @@
     <orderUOM/>
     <priceAdjustment id="1000001"/>
     <standardPrice>10.8</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000028">
     <id>1000028</id>
@@ -83770,6 +83826,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>5.9</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000029">
     <id>1000029</id>
@@ -83812,6 +83870,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>37.8</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000030">
     <id>1000030</id>
@@ -83854,6 +83914,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>1.45</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000031">
     <id>1000031</id>
@@ -83896,6 +83958,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>5.8</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000032">
     <id>1000032</id>
@@ -83938,6 +84002,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>1.45</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000033">
     <id>1000033</id>
@@ -83980,6 +84046,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>12.5</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000034">
     <id>1000034</id>
@@ -84022,6 +84090,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>12</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000035">
     <id>1000035</id>
@@ -84064,6 +84134,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>37.8</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000036">
     <id>1000036</id>
@@ -84106,6 +84178,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>4.6</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000037">
     <id>1000037</id>
@@ -84148,6 +84222,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>5.9</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000038">
     <id>1000038</id>
@@ -84190,6 +84266,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>5.8</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000039">
     <id>1000039</id>
@@ -84232,6 +84310,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>9</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000040">
     <id>1000040</id>
@@ -84274,6 +84354,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>4.5</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000041">
     <id>1000041</id>
@@ -84316,6 +84398,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>27</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000042">
     <id>1000042</id>
@@ -84358,6 +84442,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>12</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000043">
     <id>1000043</id>
@@ -84400,6 +84486,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>5.8</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000044">
     <id>1000044</id>
@@ -84442,6 +84530,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>55</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000045">
     <id>1000045</id>
@@ -84484,6 +84574,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>175</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000046">
     <id>1000046</id>
@@ -84526,6 +84618,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>4.6</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000048">
     <id>1000048</id>
@@ -84568,6 +84662,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>0.95</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000049">
     <id>1000049</id>
@@ -84610,6 +84706,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>0.42</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000050">
     <id>1000050</id>
@@ -84652,6 +84750,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>12.5</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000051">
     <id>1000051</id>
@@ -84694,6 +84794,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>10.8</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000052">
     <id>1000052</id>
@@ -84736,6 +84838,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>1</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000053">
     <id>1000053</id>
@@ -84778,6 +84882,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>2.43</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000054">
     <id>1000054</id>
@@ -84820,6 +84926,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>5.8</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000055">
     <id>1000055</id>
@@ -84862,6 +84970,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>1.45</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000057">
     <id>1000057</id>
@@ -84904,6 +85014,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>2000</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000058">
     <id>1000058</id>
@@ -84946,6 +85058,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>1</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000059">
     <id>1000059</id>
@@ -84988,6 +85102,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>2000</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000062">
     <id>1000062</id>
@@ -85030,6 +85146,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>0.6</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <OrderLine id="1000065">
     <id>1000065</id>
@@ -85072,6 +85190,8 @@
     <orderUOM/>
     <priceAdjustment/>
     <standardPrice>123</standardPrice>
+    <cancelPriceAdjustment>false</cancelPriceAdjustment>
+    <orderDiscount/>
   </OrderLine>
   <FinancialMgmtTaxRate id="1000000">
     <id>1000000</id>
@@ -85613,9 +85733,9 @@
     <postingType>A</postingType>
     <currency id="102"/>
     <foreignCurrencyDebit>0</foreignCurrencyDebit>
-    <foreignCurrencyCredit>216.0</foreignCurrencyCredit>
-    <debit>0</debit>
-    <credit>216.0</credit>
+    <foreignCurrencyCredit>216</foreignCurrencyCredit>
+    <debit>0</debit>
+    <credit>216</credit>
     <uOM id="100"/>
     <quantity>20</quantity>
     <product id="1000004"/>
@@ -85838,9 +85958,9 @@
     <postingType>A</postingType>
     <currency id="102"/>
     <foreignCurrencyDebit>0</foreignCurrencyDebit>
-    <foreignCurrencyCredit>-1.130</foreignCurrencyCredit>
-    <debit>0</debit>
-    <credit>-1.130</credit>
+    <foreignCurrencyCredit>-1.13</foreignCurrencyCredit>
+    <debit>0</debit>
+    <credit>-1.13</credit>
     <uOM id="100"/>
     <quantity>1</quantity>
     <product id="1000019"/>
@@ -86693,9 +86813,9 @@
     <postingType>A</postingType>
     <currency id="102"/>
     <foreignCurrencyDebit>0</foreignCurrencyDebit>
-    <foreignCurrencyCredit>-2.57000</foreignCurrencyCredit>
-    <debit>0</debit>
-    <credit>-2.57000</credit>
+    <foreignCurrencyCredit>-2.57</foreignCurrencyCredit>
+    <debit>0</debit>
+    <credit>-2.57</credit>
     <uOM id="100"/>
     <quantity>1</quantity>
     <product id="1000020"/>
@@ -86828,9 +86948,9 @@
     <postingType>A</postingType>
     <currency id="102"/>
     <foreignCurrencyDebit>0</foreignCurrencyDebit>
-    <foreignCurrencyCredit>30.00</foreignCurrencyCredit>
-    <debit>0</debit>
-    <credit>30.00</credit>
+    <foreignCurrencyCredit>30</foreignCurrencyCredit>
+    <debit>0</debit>
+    <credit>30</credit>
     <uOM id="1000002"/>
     <quantity>50</quantity>
     <product id="1000007"/>
@@ -89033,9 +89153,9 @@
     <postingType>A</postingType>
     <currency id="102"/>
     <foreignCurrencyDebit>0</foreignCurrencyDebit>
-    <foreignCurrencyCredit>-209.810</foreignCurrencyCredit>
-    <debit>0</debit>
-    <credit>-209.810</credit>
+    <foreignCurrencyCredit>-209.81</foreignCurrencyCredit>
+    <debit>0</debit>
+    <credit>-209.81</credit>
     <uOM id="100"/>
     <quantity>1</quantity>
     <product id="1000020"/>
@@ -89753,9 +89873,9 @@
     <postingType>A</postingType>
     <currency id="102"/>
     <foreignCurrencyDebit>0</foreignCurrencyDebit>
-    <foreignCurrencyCredit>-216.0</foreignCurrencyCredit>
-    <debit>0</debit>
-    <credit>-216.0</credit>
+    <foreignCurrencyCredit>-216</foreignCurrencyCredit>
+    <debit>0</debit>
+    <credit>-216</credit>
     <uOM id="100"/>
     <quantity>-20</quantity>
     <product id="1000004"/>
@@ -89798,9 +89918,9 @@
     <postingType>A</postingType>
     <currency id="102"/>
     <foreignCurrencyDebit>0</foreignCurrencyDebit>
-    <foreignCurrencyCredit>253.70</foreignCurrencyCredit>
-    <debit>0</debit>
-    <credit>253.70</credit>
+    <foreignCurrencyCredit>253.7</foreignCurrencyCredit>
+    <debit>0</debit>
+    <credit>253.7</credit>
     <uOM id="1000001"/>
     <quantity>43</quantity>
     <product id="1000000"/>
@@ -89933,9 +90053,9 @@
     <postingType>A</postingType>
     <currency id="102"/>
     <foreignCurrencyDebit>0</foreignCurrencyDebit>
-    <foreignCurrencyCredit>70.80</foreignCurrencyCredit>
-    <debit>0</debit>
-    <credit>70.80</credit>
+    <foreignCurrencyCredit>70.8</foreignCurrencyCredit>
+    <debit>0</debit>
+    <credit>70.8</credit>
     <uOM id="1000001"/>
     <quantity>12</quantity>
     <product id="1000000"/>
@@ -90743,9 +90863,9 @@
     <postingType>A</postingType>
     <currency id="102"/>
     <foreignCurrencyDebit>0</foreignCurrencyDebit>
-    <foreignCurrencyCredit>295.00</foreignCurrencyCredit>
-    <debit>0</debit>
-    <credit>295.00</credit>
+    <foreignCurrencyCredit>295</foreignCurrencyCredit>
+    <debit>0</debit>
+    <credit>295</credit>
     <uOM id="1000001"/>
     <quantity>50</quantity>
     <product id="1000000"/>
@@ -90788,9 +90908,9 @@
     <postingType>A</postingType>
     <currency id="102"/>
     <foreignCurrencyDebit>0</foreignCurrencyDebit>
-    <foreignCurrencyCredit>24.00</foreignCurrencyCredit>
-    <debit>0</debit>
-    <credit>24.00</credit>
+    <foreignCurrencyCredit>24</foreignCurrencyCredit>
+    <debit>0</debit>
+    <credit>24</credit>
     <uOM id="1000002"/>
     <quantity>40</quantity>
     <product id="1000007"/>
@@ -92048,9 +92168,9 @@
     <postingType>A</postingType>
     <currency id="102"/>
     <foreignCurrencyDebit>0</foreignCurrencyDebit>
-    <foreignCurrencyCredit>11.80</foreignCurrencyCredit>
-    <debit>0</debit>
-    <credit>11.80</credit>
+    <foreignCurrencyCredit>11.8</foreignCurrencyCredit>
+    <debit>0</debit>
+    <credit>11.8</credit>
     <uOM id="1000001"/>
     <quantity>2</quantity>
     <product id="1000000"/>
@@ -92498,9 +92618,9 @@
     <postingType>A</postingType>
     <currency id="102"/>
     <foreignCurrencyDebit>0</foreignCurrencyDebit>
-    <foreignCurrencyCredit>-9.380</foreignCurrencyCredit>
-    <debit>0</debit>
-    <credit>-9.380</credit>
+    <foreignCurrencyCredit>-9.38</foreignCurrencyCredit>
+    <debit>0</debit>
+    <credit>-9.38</credit>
     <uOM id="100"/>
     <quantity>1</quantity>
     <product id="1000021"/>
@@ -92678,9 +92798,9 @@
     <postingType>A</postingType>
     <currency id="102"/>
     <foreignCurrencyDebit>0</foreignCurrencyDebit>
-    <foreignCurrencyCredit>364.50</foreignCurrencyCredit>
-    <debit>0</debit>
-    <credit>364.50</credit>
+    <foreignCurrencyCredit>364.5</foreignCurrencyCredit>
+    <debit>0</debit>
+    <credit>364.5</credit>
     <uOM id="100"/>
     <quantity>150</quantity>
     <product id="1000008"/>
@@ -93983,9 +94103,9 @@
     <postingType>A</postingType>
     <currency id="102"/>
     <foreignCurrencyDebit>0</foreignCurrencyDebit>
-    <foreignCurrencyCredit>-9.380</foreignCurrencyCredit>
-    <debit>0</debit>
-    <credit>-9.380</credit>
+    <foreignCurrencyCredit>-9.38</foreignCurrencyCredit>
+    <debit>0</debit>
+    <credit>-9.38</credit>
     <uOM id="100"/>
     <quantity>1</quantity>
     <product id="1000021"/>
@@ -94343,9 +94463,9 @@
     <postingType>A</postingType>
     <currency id="102"/>
     <foreignCurrencyDebit>0</foreignCurrencyDebit>
-    <foreignCurrencyCredit>9.380</foreignCurrencyCredit>
-    <debit>0</debit>
-    <credit>9.380</credit>
+    <foreignCurrencyCredit>9.38</foreignCurrencyCredit>
+    <debit>0</debit>
+    <credit>9.38</credit>
     <uOM id="100"/>
     <quantity>1</quantity>
     <product id="1000021"/>
@@ -95063,9 +95183,9 @@
     <postingType>A</postingType>
     <currency id="102"/>
     <foreignCurrencyDebit>0</foreignCurrencyDebit>
-    <foreignCurrencyCredit>885.00</foreignCurrencyCredit>
-    <debit>0</debit>
-    <credit>885.00</credit>
+    <foreignCurrencyCredit>885</foreignCurrencyCredit>
+    <debit>0</debit>
+    <credit>885</credit>
     <uOM id="1000001"/>
     <quantity>150</quantity>
     <product id="1000000"/>
@@ -95377,9 +95497,9 @@
     <storageBin/>
     <postingType>A</postingType>
     <currency id="102"/>
-    <foreignCurrencyDebit>216.0</foreignCurrencyDebit>
+    <foreignCurrencyDebit>216</foreignCurrencyDebit>
     <foreignCurrencyCredit>0</foreignCurrencyCredit>
-    <debit>216.0</debit>
+    <debit>216</debit>
     <credit>0</credit>
     <uOM id="100"/>
     <quantity>20</quantity>
@@ -95648,9 +95768,9 @@
     <postingType>A</postingType>
     <currency id="102"/>
     <foreignCurrencyDebit>0</foreignCurrencyDebit>
-    <foreignCurrencyCredit>12.60</foreignCurrencyCredit>
-    <debit>0</debit>
-    <credit>12.60</credit>
+    <foreignCurrencyCredit>12.6</foreignCurrencyCredit>
+    <debit>0</debit>
+    <credit>12.6</credit>
     <uOM id="1000002"/>
     <quantity>30</quantity>
     <product id="1000007"/>
@@ -96053,9 +96173,9 @@
     <postingType>A</postingType>
     <currency id="102"/>
     <foreignCurrencyDebit>0</foreignCurrencyDebit>
-    <foreignCurrencyCredit>1475.00</foreignCurrencyCredit>
-    <debit>0</debit>
-    <credit>1475.00</credit>
+    <foreignCurrencyCredit>1475</foreignCurrencyCredit>
+    <debit>0</debit>
+    <credit>1475</credit>
     <uOM id="1000001"/>
     <quantity>250</quantity>
     <product id="1000000"/>
@@ -96728,9 +96848,9 @@
     <postingType>A</postingType>
     <currency id="102"/>
     <foreignCurrencyDebit>0</foreignCurrencyDebit>
-    <foreignCurrencyCredit>-7.4000</foreignCurrencyCredit>
-    <debit>0</debit>
-    <credit>-7.4000</credit>
+    <foreignCurrencyCredit>-7.4</foreignCurrencyCredit>
+    <debit>0</debit>
+    <credit>-7.4</credit>
     <uOM id="100"/>
     <quantity>1</quantity>
     <product id="1000020"/>
@@ -118849,7 +118969,7 @@
     <orderUOM/>
     <orderQuantity/>
     <uOM id="100"/>
-    <quantityOrderBook>0.0</quantityOrderBook>
+    <quantityOrderBook>0</quantityOrderBook>
   </MaterialMgmtInventoryCountLine>
   <MaterialMgmtInventoryCountLine id="1000002">
     <id>1000002</id>
@@ -118867,7 +118987,7 @@
     <orderUOM/>
     <orderQuantity/>
     <uOM id="100"/>
-    <quantityOrderBook>0.0</quantityOrderBook>
+    <quantityOrderBook>0</quantityOrderBook>
   </MaterialMgmtInventoryCountLine>
   <MaterialMgmtInventoryCountLine id="1000004">
     <id>1000004</id>
@@ -118885,7 +119005,7 @@
     <orderUOM/>
     <orderQuantity/>
     <uOM id="100"/>
-    <quantityOrderBook>0.0</quantityOrderBook>
+    <quantityOrderBook>0</quantityOrderBook>
   </MaterialMgmtInventoryCountLine>
   <MaterialMgmtInventoryCountLine id="1000005">
     <id>1000005</id>
@@ -118903,7 +119023,7 @@
     <orderUOM/>
     <orderQuantity/>
     <uOM id="100"/>
-    <quantityOrderBook>0.0</quantityOrderBook>
+    <quantityOrderBook>0</quantityOrderBook>
   </MaterialMgmtInventoryCountLine>
   <MaterialMgmtInventoryCountLine id="1000006">
     <id>1000006</id>
@@ -118921,7 +119041,7 @@
     <orderUOM/>
     <orderQuantity/>
     <uOM id="100"/>
-    <quantityOrderBook>0.0</quantityOrderBook>
+    <quantityOrderBook>0</quantityOrderBook>
   </MaterialMgmtInventoryCountLine>
   <MaterialMgmtInventoryCountLine id="1000007">
     <id>1000007</id>
@@ -118939,7 +119059,7 @@
     <orderUOM/>
     <orderQuantity/>
     <uOM id="100"/>
-    <quantityOrderBook>0.0</quantityOrderBook>
+    <quantityOrderBook>0</quantityOrderBook>
   </MaterialMgmtInventoryCountLine>
   <MaterialMgmtInventoryCountLine id="1000008">
     <id>1000008</id>
@@ -118957,7 +119077,7 @@
     <orderUOM/>
     <orderQuantity/>
     <uOM id="100"/>
-    <quantityOrderBook>0.0</quantityOrderBook>
+    <quantityOrderBook>0</quantityOrderBook>
   </MaterialMgmtInventoryCountLine>
   <MaterialMgmtInventoryCountLine id="1000009">
     <id>1000009</id>
@@ -118975,7 +119095,7 @@
     <orderUOM/>
     <orderQuantity/>
     <uOM id="100"/>
-    <quantityOrderBook>0.0</quantityOrderBook>
+    <quantityOrderBook>0</quantityOrderBook>
   </MaterialMgmtInventoryCountLine>
   <MaterialMgmtInventoryCountLine id="1000010">
     <id>1000010</id>
@@ -118993,7 +119113,7 @@
     <orderUOM/>
     <orderQuantity/>
     <uOM id="1000002"/>
-    <quantityOrderBook>0.0</quantityOrderBook>
+    <quantityOrderBook>0</quantityOrderBook>
   </MaterialMgmtInventoryCountLine>
   <MaterialMgmtInventoryCountLine id="1000011">
     <id>1000011</id>
@@ -119011,7 +119131,7 @@
     <orderUOM/>
     <orderQuantity/>
     <uOM id="100"/>
-    <quantityOrderBook>0.0</quantityOrderBook>
+    <quantityOrderBook>0</quantityOrderBook>
   </MaterialMgmtInventoryCountLine>
   <MaterialMgmtInventoryCountLine id="1000012">
     <id>1000012</id>
@@ -119029,7 +119149,7 @@
     <orderUOM/>
     <orderQuantity/>
     <uOM id="100"/>
-    <quantityOrderBook>0.0</quantityOrderBook>
+    <quantityOrderBook>0</quantityOrderBook>
   </MaterialMgmtInventoryCountLine>
   <MaterialMgmtInventoryCountLine id="1000013">
     <id>1000013</id>
@@ -119047,7 +119167,7 @@
     <orderUOM/>
     <orderQuantity/>
     <uOM id="1000001"/>
-    <quantityOrderBook>0.0</quantityOrderBook>
+    <quantityOrderBook>0</quantityOrderBook>
   </MaterialMgmtInventoryCountLine>
   <MaterialMgmtInventoryCountLine id="1000014">
     <id>1000014</id>
@@ -119065,7 +119185,7 @@
     <orderUOM/>
     <orderQuantity/>
     <uOM id="1000002"/>
-    <quantityOrderBook>0.0</quantityOrderBook>
+    <quantityOrderBook>0</quantityOrderBook>
   </MaterialMgmtInventoryCountLine>
   <MaterialMgmtInventoryCountLine id="1000015">
     <id>1000015</id>
@@ -119083,7 +119203,7 @@
     <orderUOM/>
     <orderQuantity/>
     <uOM id="100"/>
-    <quantityOrderBook>0.0</quantityOrderBook>
+    <quantityOrderBook>0</quantityOrderBook>
   </MaterialMgmtInventoryCountLine>
   <MaterialMgmtInventoryCountLine id="1000016">
     <id>1000016</id>
@@ -119101,7 +119221,7 @@
     <orderUOM/>
     <orderQuantity/>
     <uOM id="100"/>
-    <quantityOrderBook>0.0</quantityOrderBook>
+    <quantityOrderBook>0</quantityOrderBook>
   </MaterialMgmtInventoryCountLine>
   <MaterialMgmtInventoryCountLine id="1000017">
     <id>1000017</id>
@@ -119119,7 +119239,7 @@
     <orderUOM/>
     <orderQuantity/>
     <uOM id="100"/>
-    <quantityOrderBook>0.0</quantityOrderBook>
+    <quantityOrderBook>0</quantityOrderBook>
   </MaterialMgmtInventoryCountLine>
   <MaterialMgmtInternalMovement id="1000000">
     <id>1000000</id>
@@ -129705,7 +129825,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="1000001">
     <id>1000001</id>
@@ -129742,7 +129862,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="1000002">
     <id>1000002</id>
@@ -129779,7 +129899,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="1000003">
     <id>1000003</id>
@@ -129816,7 +129936,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="1000004">
     <id>1000004</id>
@@ -129835,7 +129955,7 @@
     <cashbook/>
     <formOfPayment>P</formOfPayment>
     <paymentComplete>false</paymentComplete>
-    <amount>3500.0</amount>
+    <amount>3500</amount>
     <writeoffAmount>0</writeoffAmount>
     <dueDate>2006-10-19T00:00:00.0Z</dueDate>
     <manual>true</manual>
@@ -129853,7 +129973,7 @@
     <status>RT</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000000">
     <id>10000000</id>
@@ -129890,7 +130010,7 @@
     <status>RT</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000001">
     <id>10000001</id>
@@ -129909,7 +130029,7 @@
     <cashbook/>
     <formOfPayment>3</formOfPayment>
     <paymentComplete>true</paymentComplete>
-    <amount>2610.0</amount>
+    <amount>2610</amount>
     <writeoffAmount>0</writeoffAmount>
     <dueDate>2006-04-13T00:00:00.0Z</dueDate>
     <manual>false</manual>
@@ -129927,7 +130047,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000002">
     <id>10000002</id>
@@ -129964,7 +130084,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000003">
     <id>10000003</id>
@@ -130001,7 +130121,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000004">
     <id>10000004</id>
@@ -130038,7 +130158,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000005">
     <id>10000005</id>
@@ -130075,7 +130195,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000006">
     <id>10000006</id>
@@ -130112,7 +130232,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000007">
     <id>10000007</id>
@@ -130149,7 +130269,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000008">
     <id>10000008</id>
@@ -130186,7 +130306,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000009">
     <id>10000009</id>
@@ -130205,7 +130325,7 @@
     <cashbook/>
     <formOfPayment>3</formOfPayment>
     <paymentComplete>false</paymentComplete>
-    <amount>606.0</amount>
+    <amount>606</amount>
     <writeoffAmount>0</writeoffAmount>
     <dueDate>2006-04-18T00:00:00.0Z</dueDate>
     <manual>false</manual>
@@ -130223,7 +130343,7 @@
     <status>RE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000010">
     <id>10000010</id>
@@ -130260,7 +130380,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000011">
     <id>10000011</id>
@@ -130297,7 +130417,7 @@
     <status>RT</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000012">
     <id>10000012</id>
@@ -130334,7 +130454,7 @@
     <status>RT</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000013">
     <id>10000013</id>
@@ -130371,7 +130491,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000014">
     <id>10000014</id>
@@ -130408,7 +130528,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000015">
     <id>10000015</id>
@@ -130427,7 +130547,7 @@
     <cashbook/>
     <formOfPayment>4</formOfPayment>
     <paymentComplete>false</paymentComplete>
-    <amount>1711.0</amount>
+    <amount>1711</amount>
     <writeoffAmount>0</writeoffAmount>
     <dueDate>2006-06-10T00:00:00.0Z</dueDate>
     <manual>false</manual>
@@ -130445,7 +130565,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000016">
     <id>10000016</id>
@@ -130482,7 +130602,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000017">
     <id>10000017</id>
@@ -130519,7 +130639,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000019">
     <id>10000019</id>
@@ -130556,7 +130676,7 @@
     <status>RT</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000020">
     <id>10000020</id>
@@ -130593,7 +130713,7 @@
     <status>RT</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000021">
     <id>10000021</id>
@@ -130630,7 +130750,7 @@
     <status>RC</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000022">
     <id>10000022</id>
@@ -130667,7 +130787,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000023">
     <id>10000023</id>
@@ -130704,7 +130824,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000024">
     <id>10000024</id>
@@ -130741,7 +130861,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000025">
     <id>10000025</id>
@@ -130760,7 +130880,7 @@
     <cashbook id="1000000"/>
     <formOfPayment>P</formOfPayment>
     <paymentComplete>true</paymentComplete>
-    <amount>30.0</amount>
+    <amount>30</amount>
     <writeoffAmount>0</writeoffAmount>
     <dueDate>2006-08-07T00:00:00.0Z</dueDate>
     <manual>false</manual>
@@ -130778,7 +130898,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000026">
     <id>10000026</id>
@@ -130815,7 +130935,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000027">
     <id>10000027</id>
@@ -130852,7 +130972,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000028">
     <id>10000028</id>
@@ -130889,7 +131009,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000029">
     <id>10000029</id>
@@ -130926,7 +131046,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000030">
     <id>10000030</id>
@@ -130945,7 +131065,7 @@
     <cashbook/>
     <formOfPayment>P</formOfPayment>
     <paymentComplete>false</paymentComplete>
-    <amount>-170.0</amount>
+    <amount>-170</amount>
     <writeoffAmount>0</writeoffAmount>
     <dueDate>2006-10-18T00:00:00.0Z</dueDate>
     <manual>false</manual>
@@ -130963,7 +131083,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000031">
     <id>10000031</id>
@@ -130982,7 +131102,7 @@
     <cashbook/>
     <formOfPayment>P</formOfPayment>
     <paymentComplete>true</paymentComplete>
-    <amount>170.0</amount>
+    <amount>170</amount>
     <writeoffAmount>0</writeoffAmount>
     <dueDate>2006-10-18T00:00:00.0Z</dueDate>
     <manual>false</manual>
@@ -131000,7 +131120,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000035">
     <id>10000035</id>
@@ -131037,7 +131157,7 @@
     <status>RT</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000036">
     <id>10000036</id>
@@ -131056,7 +131176,7 @@
     <cashbook/>
     <formOfPayment>3</formOfPayment>
     <paymentComplete>true</paymentComplete>
-    <amount>-606.0</amount>
+    <amount>-606</amount>
     <writeoffAmount>0</writeoffAmount>
     <dueDate>2006-04-18T00:00:00.0Z</dueDate>
     <manual>false</manual>
@@ -131074,7 +131194,7 @@
     <status>RE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000037">
     <id>10000037</id>
@@ -131111,7 +131231,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000038">
     <id>10000038</id>
@@ -131148,7 +131268,7 @@
     <status>RT</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000039">
     <id>10000039</id>
@@ -131185,7 +131305,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000040">
     <id>10000040</id>
@@ -131222,7 +131342,7 @@
     <status>RE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000041">
     <id>10000041</id>
@@ -131241,7 +131361,7 @@
     <cashbook/>
     <formOfPayment>5</formOfPayment>
     <paymentComplete>false</paymentComplete>
-    <amount>1000.0</amount>
+    <amount>1000</amount>
     <writeoffAmount>0</writeoffAmount>
     <dueDate>2006-05-01T00:00:00.0Z</dueDate>
     <manual>false</manual>
@@ -131259,7 +131379,7 @@
     <status>RT</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000042">
     <id>10000042</id>
@@ -131296,7 +131416,7 @@
     <status>RE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000043">
     <id>10000043</id>
@@ -131315,7 +131435,7 @@
     <cashbook/>
     <formOfPayment>P</formOfPayment>
     <paymentComplete>false</paymentComplete>
-    <amount>-3500.0</amount>
+    <amount>-3500</amount>
     <writeoffAmount>0</writeoffAmount>
     <dueDate>2006-10-19T00:00:00.0Z</dueDate>
     <manual>false</manual>
@@ -131333,7 +131453,7 @@
     <status>RT</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000044">
     <id>10000044</id>
@@ -131370,7 +131490,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000047">
     <id>10000047</id>
@@ -131389,7 +131509,7 @@
     <cashbook/>
     <formOfPayment>P</formOfPayment>
     <paymentComplete>false</paymentComplete>
-    <amount>-170.0</amount>
+    <amount>-170</amount>
     <writeoffAmount>0</writeoffAmount>
     <dueDate>2006-10-19T00:00:00.0Z</dueDate>
     <manual>false</manual>
@@ -131407,7 +131527,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000048">
     <id>10000048</id>
@@ -131426,7 +131546,7 @@
     <cashbook/>
     <formOfPayment>P</formOfPayment>
     <paymentComplete>true</paymentComplete>
-    <amount>170.0</amount>
+    <amount>170</amount>
     <writeoffAmount>0</writeoffAmount>
     <dueDate>2006-10-19T00:00:00.0Z</dueDate>
     <manual>false</manual>
@@ -131444,7 +131564,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000049">
     <id>10000049</id>
@@ -131463,7 +131583,7 @@
     <cashbook/>
     <formOfPayment>5</formOfPayment>
     <paymentComplete>false</paymentComplete>
-    <amount>170.0</amount>
+    <amount>170</amount>
     <writeoffAmount>0</writeoffAmount>
     <dueDate>2007-01-10T00:00:00.0Z</dueDate>
     <manual>false</manual>
@@ -131481,7 +131601,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000050">
     <id>10000050</id>
@@ -131518,7 +131638,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000051">
     <id>10000051</id>
@@ -131537,7 +131657,7 @@
     <cashbook/>
     <formOfPayment>2</formOfPayment>
     <paymentComplete>false</paymentComplete>
-    <amount>2320.0</amount>
+    <amount>2320</amount>
     <writeoffAmount>0</writeoffAmount>
     <dueDate>2007-02-01T00:00:00.0Z</dueDate>
     <manual>false</manual>
@@ -131555,7 +131675,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="10000052">
     <id>10000052</id>
@@ -131592,7 +131712,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="19000111">
     <id>19000111</id>
@@ -131611,7 +131731,7 @@
     <cashbook/>
     <formOfPayment>5</formOfPayment>
     <paymentComplete>false</paymentComplete>
-    <amount>-1000.0</amount>
+    <amount>-1000</amount>
     <writeoffAmount>0</writeoffAmount>
     <dueDate>2006-05-01T00:00:00.0Z</dueDate>
     <manual>false</manual>
@@ -131629,7 +131749,7 @@
     <status>RT</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="19000112">
     <id>19000112</id>
@@ -131666,7 +131786,7 @@
     <status>RT</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtDebtPayment id="19000113">
     <id>19000113</id>
@@ -131703,7 +131823,7 @@
     <status>DE</status>
     <initialStatus>DE</initialStatus>
     <withholding/>
-    <withholdingamount>0.0</withholdingamount>
+    <withholdingamount>0</withholdingamount>
   </FinancialMgmtDebtPayment>
   <FinancialMgmtSettlement id="1000000">
     <id>1000000</id>
@@ -132417,8 +132537,8 @@
     <organization id="1000000"/>
     <active>true</active>
     <payment id="1000003"/>
-    <debitAmount>0.0</debitAmount>
-    <creditAmount>0.0</creditAmount>
+    <debitAmount>0</debitAmount>
+    <creditAmount>0</creditAmount>
     <gLItem id="1000001"/>
   </FinancialMgmtDebtPaymentBalancing>
   <FinancialMgmtDebtPaymentBalancing id="1000001">
@@ -132427,8 +132547,8 @@
     <organization id="1000000"/>
     <active>true</active>
     <payment id="1000004"/>
-    <debitAmount>4500.0</debitAmount>
-    <creditAmount>0.0</creditAmount>
+    <debitAmount>4500</debitAmount>
+    <creditAmount>0</creditAmount>
     <gLItem id="1000000"/>
   </FinancialMgmtDebtPaymentBalancing>
   <FinancialMgmtDebtPaymentBalancing id="1000002">
@@ -132437,8 +132557,8 @@
     <organization id="1000000"/>
     <active>true</active>
     <payment id="1000004"/>
-    <debitAmount>0.0</debitAmount>
-    <creditAmount>500.0</creditAmount>
+    <debitAmount>0</debitAmount>
+    <creditAmount>500</creditAmount>
     <gLItem id="1000002"/>
   </FinancialMgmtDebtPaymentBalancing>
   <FinancialMgmtDebtPaymentBalancing id="1000003">
@@ -132447,8 +132567,8 @@
     <organization id="1000000"/>
     <active>true</active>
     <payment id="1000004"/>
-    <debitAmount>0.0</debitAmount>
-    <creditAmount>500.0</creditAmount>
+    <debitAmount>0</debitAmount>
+    <creditAmount>500</creditAmount>
     <gLItem id="1000001"/>
   </FinancialMgmtDebtPaymentBalancing>
   <FinancialMgmtAcctSchemaTable id="800000">
@@ -132458,6 +132578,7 @@
     <client id="1000000"/>
     <organization id="0"/>
     <active>false</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="800001">
@@ -132467,6 +132588,7 @@
     <client id="1000000"/>
     <organization id="0"/>
     <active>true</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="800002">
@@ -132476,6 +132598,7 @@
     <client id="1000000"/>
     <organization id="0"/>
     <active>false</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="800003">
@@ -132485,6 +132608,7 @@
     <client id="1000000"/>
     <organization id="0"/>
     <active>false</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="800004">
@@ -132494,6 +132618,7 @@
     <client id="1000000"/>
     <organization id="0"/>
     <active>false</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="800005">
@@ -132503,6 +132628,7 @@
     <client id="1000000"/>
     <organization id="0"/>
     <active>false</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="800006">
@@ -132512,6 +132638,7 @@
     <client id="1000000"/>
     <organization id="0"/>
     <active>false</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="800007">
@@ -132521,6 +132648,7 @@
     <client id="1000000"/>
     <organization id="0"/>
     <active>true</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="800008">
@@ -132530,6 +132658,7 @@
     <client id="1000000"/>
     <organization id="0"/>
     <active>false</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="800009">
@@ -132539,6 +132668,7 @@
     <client id="1000000"/>
     <organization id="0"/>
     <active>false</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="800010">
@@ -132548,6 +132678,7 @@
     <client id="1000000"/>
     <organization id="0"/>
     <active>true</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="800011">
@@ -132557,6 +132688,7 @@
     <client id="1000000"/>
     <organization id="0"/>
     <active>true</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="800012">
@@ -132566,6 +132698,7 @@
     <client id="1000000"/>
     <organization id="0"/>
     <active>false</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="800013">
@@ -132575,6 +132708,7 @@
     <client id="1000000"/>
     <organization id="0"/>
     <active>true</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="800014">
@@ -132584,6 +132718,7 @@
     <client id="1000000"/>
     <organization id="0"/>
     <active>true</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <FinancialMgmtAcctSchemaTable id="1000000">
@@ -132593,6 +132728,7 @@
     <client id="1000000"/>
     <organization id="0"/>
     <active>true</active>
+    <createfactTemplate/>
     <sQLDescription/>
   </FinancialMgmtAcctSchemaTable>
   <MaterialMgmtStorageDetail id="1000000">
@@ -134028,6 +134164,7 @@
     <lineNo>10</lineNo>
     <cascade>false</cascade>
     <customer>true</customer>
+    <applyInOrder>false</applyInOrder>
     <vendor>false</vendor>
   </BusinessPartnerDiscount>
   <BusinessPartnerDiscount id="1000001">
@@ -134040,6 +134177,7 @@
     <lineNo>10</lineNo>
     <cascade>true</cascade>
     <customer>true</customer>
+    <applyInOrder>false</applyInOrder>
     <vendor>false</vendor>
   </BusinessPartnerDiscount>
   <BusinessPartnerDiscount id="1000002">
@@ -134052,6 +134190,7 @@
     <lineNo>20</lineNo>
     <cascade>true</cascade>
     <customer>true</customer>
+    <applyInOrder>false</applyInOrder>
     <vendor>false</vendor>
   </BusinessPartnerDiscount>
   <FinancialMgmtRemittanceType id="1000000">
@@ -135212,7 +135351,7 @@
     <organization id="1000000"/>
     <costCenterVersion id="1000006"/>
     <salaryCategory id="1000000"/>
-    <quantity>1</quantity>
+    <quantity>1.0</quantity>
     <costUOM>H</costUOM>
     <active>true</active>
   </ManufacturingCostcenterEmployee>
@@ -135222,7 +135361,7 @@
     <organization id="1000000"/>
     <costCenterVersion id="1000007"/>
     <salaryCategory id="1000000"/>
-    <quantity>1</quantity>
+    <quantity>1.0</quantity>
     <costUOM>H</costUOM>
     <active>true</active>
   </ManufacturingCostcenterEmployee>
@@ -135232,7 +135371,7 @@
     <organization id="1000000"/>
     <costCenterVersion id="1000008"/>
     <salaryCategory id="1000000"/>
-    <quantity>2</quantity>
+    <quantity>2.0</quantity>
     <costUOM>H</costUOM>
     <active>true</active>
   </ManufacturingCostcenterEmployee>
@@ -135242,7 +135381,7 @@
     <organization id="1000000"/>
     <costCenterVersion id="1000009"/>
     <salaryCategory id="1000000"/>
-    <quantity>1</quantity>
+    <quantity>1.0</quantity>
     <costUOM>H</costUOM>
     <active>true</active>
   </ManufacturingCostcenterEmployee>
@@ -135252,7 +135391,7 @@
     <organization id="1000000"/>
     <costCenterVersion id="1000010"/>
     <salaryCategory id="1000000"/>
-    <quantity>1</quantity>
+    <quantity>1.0</quantity>
     <costUOM>H</costUOM>
     <active>true</active>
   </ManufacturingCostcenterEmployee>
--- a/src-db/database/build-create.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/build-create.xml	Mon May 04 14:43:04 2009 +0200
@@ -104,6 +104,31 @@
     </sql>
   </target>
 
+  <target name="clean.database.DB2">
+    <sql driver="${bbdd.driver}" url="${bbdd.url}" userid="${bbdd.systemUser}" password="${bbdd.systemPassword}" onerror="continue" autocommit="true">
+      <classpath>
+        <fileset dir="${base.lib}">
+          <include name="**/*.jar">
+          </include>
+        </fileset>
+      </classpath>
+      <transaction>
+        DROP TABLE ERRORSCH.ERRORTB;
+      </transaction>
+    </sql>
+    <sql driver="${bbdd.driver}" url="${bbdd.url}" userid="${bbdd.systemUser}" password="${bbdd.systemPassword}" onerror="continue" autocommit="true">
+      <classpath>
+        <fileset dir="${base.lib}">
+          <include name="**/*.jar">
+          </include>
+        </fileset>
+      </classpath>
+      <transaction>
+        CALL SYSPROC.ADMIN_DROP_SCHEMA('${bbdd.user}', NULL, 'ERRORSCH', 'ERRORTB');
+      </transaction>
+    </sql>
+  </target>
+
   <target name="ORACLE.structure">
     <sql driver="${bbdd.driver}" url="${bbdd.url}" userid="${bbdd.systemUser}" password="${bbdd.systemPassword}" delimiter="/">
       <classpath>
@@ -196,6 +221,9 @@
     </sql>
   </target>
 
+  <target name="DB2.structure">
+  </target>
+  
   <target name="prepare.database">
     <antcall target="${bbdd.rdbms}.structure" />
   </target>
@@ -271,6 +299,9 @@
     </sql>
   </target>
 
+  <target name="database.postcreate.DB2">
+  </target>
+  
   <target name="database.preimport.ORACLE">
   </target>
   <target name="database.postimport.ORACLE">
@@ -279,6 +310,10 @@
   </target>
   <target name="database.postimport.POSTGRE">
   </target>
+  <target name="database.preimport.DB2">
+  </target>
+  <target name="database.postimport.DB2">
+  </target>
   <target name="database.poststructure.ORACLE">
     <sql driver="${bbdd.driver}" url="${bbdd.owner.url}" userid="${bbdd.user}" password="${bbdd.password}" onerror="continue" autocommit="true">
       <classpath>
@@ -294,6 +329,8 @@
   </target>
   <target name="database.poststructure.POSTGRE">
   </target>
+  <target name="database.poststructure.DB2">
+  </target>
 
   <target name="update.dbupdate.timestamp">
     <sql driver="${bbdd.driver}" url="${bbdd.owner.url}" userid="${bbdd.user}" password="${bbdd.password}" onerror="continue" autocommit="true">
--- a/src-db/database/build.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/build.xml	Mon May 04 14:43:04 2009 +0200
@@ -293,7 +293,7 @@
   </target>
 
   <target name="export.database.structure">
-    <exportdatabase driver="${bbdd.driver}" url="${bbdd.owner.url}" user="${bbdd.user}" password="${bbdd.password}" excludeobjects="com.openbravo.db.OpenbravoExcludeFilter" model="model" moduledir="${base.modules}" verbosity="${bbdd.verbosity}" output="sourcedata" codeRevision="${code.revision}" userId="0" propertiesFile="${base.config}/Openbravo.properties" module="${module}" force="${force}" validateModel="${validate.model}"/>
+    <exportdatabase driver="${bbdd.driver}" url="${bbdd.owner.url}" user="${bbdd.user}" password="${bbdd.password}" excludeobjects="com.openbravo.db.OpenbravoExcludeFilter" model="model" moduledir="${base.modules}" verbosity="${bbdd.verbosity}" output="sourcedata" codeRevision="${code.revision}" userId="0" propertiesFile="${base.config}/Openbravo.properties" module="${module}" force="${force}" validateModel="${validate.model}" testAPI="${isMinorVersion}"/>
   </target>
 
   <target name="import.database.data">
Binary file src-db/database/lib/dbsourcemanager.jar has changed
--- a/src-db/database/model/functions/AD_TABLE_IMPORT.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/model/functions/AD_TABLE_IMPORT.xml	Mon May 04 14:43:04 2009 +0200
@@ -195,7 +195,7 @@
         v_FieldLength:=Cur_Column.Data_Length;
       ELSIF(Cur_Column.Data_Type IN('NVARCHAR2', 'NCHAR')) THEN
         v_FieldLength:=Cur_Column.Data_Length/2;
-      ELSIF(Cur_Column.Data_Type IN('DATE')) THEN
+      ELSIF(Cur_Column.Data_Type IN('DATE', 'TIMESTAMP')) THEN
         v_FieldLength:=19;
       ELSIF(Cur_Column.Data_Type IN('NUMBER')) THEN
         v_FieldLength:=COALESCE(Cur_Column.Data_Precision, 10) +2;
--- a/src-db/database/model/functions/C_INVOICE_CANCEL.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/model/functions/C_INVOICE_CANCEL.xml	Mon May 04 14:43:04 2009 +0200
@@ -78,7 +78,7 @@
       (SELECT *
       FROM C_Invoice
       WHERE C_Order_ID=v_Record_ID
-        AND DocStatus<>'RE' -- Not the existing reversal trx
+        AND DocStatus='CO' -- Only completed invoices
         FOR UPDATE
       )
     LOOP
--- a/src-db/database/model/functions/C_INVOICE_CREATE.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/model/functions/C_INVOICE_CREATE.xml	Mon May 04 14:43:04 2009 +0200
@@ -105,12 +105,15 @@
           ol.C_Tax_ID, --ol.IsTaxIncluded,
           ol.Line,
           ol.DirectShip,
-          ol.PriceStd
-        FROM M_INOUTLINE sl
+          ol.PriceStd,
+          ol.m_attributesetinstance_id
+        FROM M_INOUT s, M_INOUTLINE sl
         RIGHT JOIN C_ORDERLINE ol
           ON sl.C_OrderLine_ID=ol.C_OrderLine_ID
         WHERE sl.M_InOut_ID IS NOT NULL -- We need to have a shipment
           AND ol.C_Order_ID=Order_ID -- parameter
+          AND s.M_InOut_ID = sl.M_InOut_ID
+          AND s.DocStatus = 'CO'
           AND(sl.IsInvoiced IS NULL
           OR sl.IsInvoiced='N')
         ORDER BY ol.Line -- single Order
@@ -486,7 +489,8 @@
                         PriceActual, PriceLimit, LineNetAmt, C_Charge_ID,
                         ChargeAmt, C_UOM_ID,
                         C_Tax_ID,  --MODIFIED BY F.IRIAZABAL
-                        QuantityOrder, M_Product_Uom_ID, PriceStd
+                        QuantityOrder, M_Product_Uom_ID, PriceStd,
+                        m_attributesetinstance_id
                       )
                       VALUES
                       (
@@ -497,7 +501,8 @@
                         ptr_ol.PriceActual, ptr_ol.PriceLimit, C_Currency_Round(v_Qty*ptr_ol.PriceActual, Cur_Order.C_Currency_ID, NULL), ptr_ol.C_Charge_ID,
                         ptr_ol.ChargeAmt, ptr_ol.C_UOM_ID,
                         ptr_ol.C_Tax_ID,  --MODIFIED BY F.IRIAZABAL
-                        v_QtyOrder, ptr_ol.M_Product_Uom_ID, ptr_ol.PriceStd
+                        v_QtyOrder, ptr_ol.M_Product_Uom_ID, ptr_ol.PriceStd,
+                        ptr_ol.m_attributesetinstance_id
                       )
                       ;
                   END IF;--Next_O_Line
@@ -534,7 +539,8 @@
                         PriceActual, PriceLimit, LineNetAmt, C_Charge_ID,
                         ChargeAmt, C_UOM_ID,
                         C_Tax_ID,  --MODIFIED BY F.IRIAZABAL
-                        QuantityOrder, M_Product_Uom_ID, PriceStd
+                        QuantityOrder, M_Product_Uom_ID, PriceStd,
+                        m_attributesetinstance_id
                       )
                       VALUES
                       (
@@ -545,7 +551,8 @@
                         ptr_sl.PriceActual, ptr_sl.PriceLimit, C_Currency_Round(ptr_sl.MovementQty*ptr_sl.PriceActual, Cur_Order.C_Currency_ID, NULL), ptr_sl.C_Charge_ID,
                         ptr_sl.ChargeAmt, ptr_sl.C_UOM_ID,
                         ptr_sl.C_Tax_ID,  --MODIFIED BY F.IRIAZABAL
-                        ptr_sl.QuantityOrder, ptr_sl.M_Product_Uom_ID, ptr_sl.PriceStd
+                        ptr_sl.QuantityOrder, ptr_sl.M_Product_Uom_ID, ptr_sl.PriceStd,
+                        ptr_sl.m_attributesetinstance_id
                       )
                       ;
                   END IF;--Next_S_Line
@@ -666,7 +673,8 @@
                 ol.C_Charge_ID AS Line_C_Charge_ID,
                 COALESCE(ol.ChargeAmt, 0) AS Line_ChargeAmt,
                 sh.movementDate,
-                ol.PriceStd
+                ol.PriceStd,
+                ol.m_attributesetinstance_id
               FROM M_INOUT sh,
                 M_INOUTLINE sl,
                 C_ORDER o,
@@ -995,7 +1003,8 @@
                     PriceActual, PriceLimit, LineNetAmt, C_Charge_ID,
                     ChargeAmt, C_UOM_ID,
                     C_Tax_ID,  --MODIFIED BY F.IRIAZABAL
-                    QuantityOrder, M_Product_Uom_ID, PriceStd
+                    QuantityOrder, M_Product_Uom_ID, PriceStd,
+                    m_attributesetinstance_id
                   )
                   VALUES
                   (
@@ -1006,7 +1015,8 @@
                     Cur_InvoiceSchedule.PriceActual, Cur_InvoiceSchedule.PriceLimit, C_Currency_Round(Cur_InvoiceSchedule.MovementQty*Cur_InvoiceSchedule.PriceActual, Cur_InvoiceSchedule.C_Currency_ID, NULL), Cur_InvoiceSchedule.Line_C_Charge_ID,
                     Cur_InvoiceSchedule.Line_ChargeAmt, Cur_InvoiceSchedule.C_UOM_ID,
                     Cur_InvoiceSchedule.C_Tax_ID,  --MODIFIED BY F.IRIAZABAL
-                    Cur_InvoiceSchedule.QuantityOrder, Cur_InvoiceSchedule.M_Product_Uom_ID, Cur_InvoiceSchedule.PriceStd
+                    Cur_InvoiceSchedule.QuantityOrder, Cur_InvoiceSchedule.M_Product_Uom_ID, Cur_InvoiceSchedule.PriceStd,
+                    Cur_InvoiceSchedule.m_attributesetinstance_id
                   )
                   ;
                 v_DateOrdered:=COALESCE(Cur_InvoiceSchedule.movementDate, COALESCE(Cur_InvoiceSchedule.DateOrdered, now())) ;
--- a/src-db/database/model/functions/C_INVOICE_POST.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/model/functions/C_INVOICE_POST.xml	Mon May 04 14:43:04 2009 +0200
@@ -1409,7 +1409,7 @@
           v_cash VARCHAR2(32) ;
           v_IsoCode C_CURRENCY.ISO_CODE%TYPE;
           v_CashLine VARCHAR2(32) ;
-          v_line VARCHAR2(32) ;
+          v_line NUMBER ;
           v_BPartnerName C_BPARTNER.NAME%TYPE;
           v_GenDP_Org VARCHAR2(32);
         BEGIN
--- a/src-db/database/model/functions/C_ORDER_POST1.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/model/functions/C_ORDER_POST1.xml	Mon May 04 14:43:04 2009 +0200
@@ -214,6 +214,9 @@
       * Re-activate
       */
       IF(v_DocAction='RE') THEN
+        IF (v_DocSubTypeSO IN ('WR', 'WI')) THEN
+          RAISE_APPLICATION_ERROR(-20000, '@ActionNotSupported@');
+        END IF;
         --Verify not managed debtPayments added by ALO
 		--Added by P.Sarobe. New messages
         SELECT max(c_debt_payment_id), COUNT(*)
@@ -1206,14 +1209,9 @@
     */
     DBMS_OUTPUT.PUT_LINE('Create Shipment - ' || v_Record_ID) ;
     v_ResultStr:='CreateShipment';
-    DECLARE
-    BEGIN
+
       M_Inout_Create(NULL, InOut_ID, v_Record_ID, NULL, 'Y') ; -- Force Delivery
-    EXCEPTION
-    WHEN OTHERS THEN
-      v_ResultStr:= SQLERRM;
-      RAISE_APPLICATION_ERROR(-20000, SUBSTR(SQLERRM,12,2000)) ;
-    END;
+
     DBMS_OUTPUT.PUT_LINE('  Shipment - ' || InOut_ID) ;
     IF(InOut_ID='0') THEN
       RAISE_APPLICATION_ERROR(-20000, '@InOutCreateFailed@');
--- a/src-db/database/model/functions/C_SETTLEMENT_POST.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/model/functions/C_SETTLEMENT_POST.xml	Mon May 04 14:43:04 2009 +0200
@@ -67,7 +67,7 @@
     v_CanceledNotChargeAmt NUMBER:=0;
     v_GeneratedAmt NUMBER:=0;
     v_ChargedAmt NUMBER:=0;
-    -- For WithHolding 
+    -- For WithHolding
     v_CanceledNotChargeAmt_WH NUMBER:=0;
     v_GeneratedAmt_WH NUMBER:=0;
     v_ChargedAmt_WH NUMBER:=0;
@@ -238,39 +238,39 @@
       IF (v_is_tr_allow='N') THEN
         RAISE_APPLICATION_ERROR(-20000, '@OrgHeaderNotTransAllowed@');
       END IF;
-      
+
       SELECT AD_ORG_CHK_DOCUMENTS('C_SETTLEMENT', 'C_DEBT_PAYMENT', v_Record_ID, 'C_SETTLEMENT_ID', 'C_SETTLEMENT_GENERATE_ID') INTO v_is_included FROM dual;
       IF (v_is_included=-1) THEN
         RAISE_APPLICATION_ERROR(-20000, '@PaymentsAndHeaderDifferentLEorBU@');
       END IF;
-      
+
       SELECT AD_ORG_CHK_DOCUMENTS('C_SETTLEMENT', 'C_DEBT_PAYMENT', v_Record_ID, 'C_SETTLEMENT_ID', 'C_SETTLEMENT_CANCEL_ID') INTO v_is_included FROM dual;
       IF (v_is_included=-1) THEN
         RAISE_APPLICATION_ERROR(-20000, '@PaymentsAndHeaderDifferentLEorBU@');
       END IF;
-      
+
       -- Check the period control is opened (only if it is legal entity with accounting)
       -- Gets the BU or LE of the document
       SELECT AD_GET_DOC_LE_BU('C_SETTLEMENT', v_Record_ID, 'C_SETTLEMENT_ID', 'LE')
       INTO v_org_bule_id
       FROM DUAL;
-      
+
       SELECT AD_OrgType.IsAcctLegalEntity
       INTO v_isacctle
       FROM AD_OrgType, AD_Org
       WHERE AD_Org.AD_OrgType_ID = AD_OrgType.AD_OrgType_ID
       AND AD_Org.AD_Org_ID=v_org_bule_id;
-      
-      IF (v_isacctle='Y') THEN    	
-        SELECT C_CHK_OPEN_PERIOD(v_AD_Org_ID, v_DateAcct, NULL, v_DocType_ID) 
+
+      IF (v_isacctle='Y') THEN
+        SELECT C_CHK_OPEN_PERIOD(v_AD_Org_ID, v_DateAcct, NULL, v_DocType_ID)
         INTO v_available_period
         FROM DUAL;
-        
+
         IF (v_available_period<>1) THEN
           RAISE_APPLICATION_ERROR(-20000, '@PeriodNotAvailable@');
         END IF;
-      END IF;    
-      
+      END IF;
+
       v_ResultStr:='CheckingRestrictions - C_DEBT_PAYMENT ORG IS IN C_BPARTNER ORG TREE';
       SELECT COUNT(*), AD_COLUMN_IDENTIFIER_STD ('C_Debt_Payment', TO_CHAR(MAX(c.C_Debt_Payment_Id)))
       INTO v_Aux, v_column_identifier
@@ -313,7 +313,12 @@
 	FROM C_DEBT_PAYMENT c
 	WHERE c.C_SETTLEMENT_CANCEL_ID=v_Record_ID
 	AND c.ISMANUAL = 'Y'
-	AND c.ISPAID = 'N';
+	AND c.ISPAID = 'N'
+	AND NOT EXISTS (SELECT 1 FROM C_DEBT_PAYMENT D
+		WHERE C.C_SETTLEMENT_CANCEL_ID = D.C_SETTLEMENT_CANCEL_ID
+		AND C.ISRECEIPT = D.ISRECEIPT
+		AND C.AMOUNT = AMOUNT*-1
+		AND d.ISPAID = 'N');
 	IF v_Aux>0 THEN
 	   RAISE_APPLICATION_ERROR(-20000, '@ManualDebtpayment@'||' "'||v_column_identifier||'" '||'@CanNotBeSplit@') ;
 	   END IF;
@@ -380,7 +385,7 @@
         AND isPaid='N';
       --Calculating the generated amount
       SELECT COALESCE(SUM(C_Currency_Round(  C_Currency_Convert(Amount, C_Currency_ID, v_Currency, v_Date, NULL, v_AD_Client_ID, v_AD_Org_ID), v_Currency, NULL)), 0),
-      COALESCE(SUM(C_Currency_Round(  C_Currency_Convert(coalesce(WithHoldingAmount,0), C_Currency_ID, v_Currency, v_Date, NULL, v_AD_Client_ID, v_AD_Org_ID), v_Currency, NULL)), 0) 
+      COALESCE(SUM(C_Currency_Round(  C_Currency_Convert(coalesce(WithHoldingAmount,0), C_Currency_ID, v_Currency, v_Date, NULL, v_AD_Client_ID, v_AD_Org_ID), v_Currency, NULL)), 0)
       INTO v_GeneratedAmt,v_GeneratedAmt_WH
       FROM C_Debt_Payment_V
       WHERE C_Settlement_Generate_ID=v_Record_ID
--- a/src-db/database/model/functions/C_VALIDCOMBINATION_GET.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/model/functions/C_VALIDCOMBINATION_GET.xml	Mon May 04 14:43:04 2009 +0200
@@ -118,11 +118,11 @@
     v_C_Activity_ID VARCHAR2(32):=NULL;
     v_User1_ID VARCHAR2(32):=NULL;
     v_User2_ID VARCHAR2(32):=NULL;
-    v_CreatedBy NUMBER:=NULL;
+    v_CreatedBy VARCHAR2(32):=NULL;
     -- Existance Loop - Get first fully qualified matching combination
     --
     FoundValue CHAR(1):='N';
-    RetValue NUMBER:=NULL;
+    RetValue VARCHAR2(32):=NULL;
     fullyQualified CHAR(1) ;
   BEGIN
     -- 1a  -- Fill with base info
--- a/src-db/database/model/functions/MA_COPY_VERSION.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/model/functions/MA_COPY_VERSION.xml	Mon May 04 14:43:04 2009 +0200
@@ -34,7 +34,7 @@
     v_Client_ID VARCHAR2(32);
     v_Org_ID VARCHAR2(32);
     v_User_ID VARCHAR2(32);
-    v_UpdatedBy NUMBER;
+    v_UpdatedBy VARCHAR2(32);
     v_DocumentNo NUMBER;
     v_Sequence_ID VARCHAR2(32);
     v_Product_ID VARCHAR2(32);
--- a/src-db/database/model/functions/MA_GLOBALUSE_DISTRIBUTE.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/model/functions/MA_GLOBALUSE_DISTRIBUTE.xml	Mon May 04 14:43:04 2009 +0200
@@ -37,7 +37,7 @@
   --  Parameter
   TYPE RECORD IS REF CURSOR;
     --  Record Info
-    v_UpdatedBy NUMBER;
+    v_UpdatedBy VARCHAR2(32);
     --  v_Processing        CHAR;
     --  v_Processed         CHAR;
     v_Count NUMBER;
--- a/src-db/database/model/functions/MA_PRODUCTION_COST.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/model/functions/MA_PRODUCTION_COST.xml	Mon May 04 14:43:04 2009 +0200
@@ -38,6 +38,7 @@
   v_count                               NUMBER;
   v_countAux                            NUMBER;
   v_count2                              NUMBER;
+  v_count3                              VARCHAR2(32);
   v_ProductionDate                      DATE;
   v_Result NUMBER:= 1;
   v_ProductionCost                      NUMBER;
@@ -522,14 +523,14 @@
       END LOOP;
 
       --Check if there still remain production lines not calculated
-      SELECT COUNT(*), MAX(pl.M_ProductionLine_ID) INTO v_count, v_count2
+      SELECT COUNT(*), MAX(pl.M_ProductionLine_ID) INTO v_count, v_count3
       FROM M_PRODUCTIONLINE pl, M_PRODUCTIONPLAN pp
       WHERE pp.M_PRODUCTION_ID=p_Production_ID
         AND pp.M_PRODUCTIONPLAN_ID = pl.M_PRODUCTIONPLAN_ID
         AND pl.CALCULATED='N';
       IF v_count = v_countAux THEN
         v_Message := '@inProduction@ ' || v_ProductionNo || ' @CircularProduction@';
-        v_ResultStr := 'Exiting loop for production: ' || p_Production_ID || ' ' || v_count2 || ' count: ' || v_count;
+        v_ResultStr := 'Exiting loop for production: ' || p_Production_ID || ' ' || v_count3 || ' count: ' || v_count;
         RAISE_APPLICATION_ERROR(-20000, v_Message) ;
       END IF;
     END LOOP;
--- a/src-db/database/model/functions/MRP_PROCESSPLAN_PLAN.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/model/functions/MRP_PROCESSPLAN_PLAN.xml	Mon May 04 14:43:04 2009 +0200
@@ -41,6 +41,7 @@
   v_Result NUMBER:=1; -- 0=failure
 
   v_Stock NUMBER:= 0;
+  v_AvailableStock NUMBER := 0;
   v_Qty_New NUMBER;
   v_NeededQty_New NUMBER;
   v_PlannedOrderDate_New DATE;
@@ -52,30 +53,30 @@
 BEGIN
   BEGIN --BODY
     FOR Cur_Lines IN (
-      SELECT pl.*,
+      SELECT pl.*,par.qty AS demandqty,
         COALESCE(M_PRODUCT_ORG.CAPACITY, M_PRODUCT.CAPACITY) AS CAPACITY,
         COALESCE(M_PRODUCT_ORG.DELAYMIN, M_PRODUCT.DELAYMIN, 0) AS DELAYMIN,
-        COALESCE(M_PRODUCT_ORG.QTYTYPE, M_PRODUCT_ORG.QTYTYPE, 'E') AS qtytype,
-        COALESCE(M_PRODUCT_ORG.QTYMIN, M_PRODUCT_ORG.QTYMIN, 0) AS qtymin,
-        COALESCE(M_PRODUCT_ORG.QTYSTD, M_PRODUCT_ORG.QTYSTD, 1) AS qtystd,
+        COALESCE(M_PRODUCT_ORG.QTYTYPE, M_PRODUCT.QTYTYPE, 'E') AS qtytype,
+        COALESCE(M_PRODUCT_ORG.QTYMIN, M_PRODUCT.QTYMIN, 0) AS qtymin,
+        COALESCE(M_PRODUCT_ORG.QTYSTD, M_PRODUCT.QTYSTD, 1) AS qtystd,
         (CASE WHEN pl.INOUTTRXTYPE IN ('ST', 'MS') THEN 0
-              WHEN (pl.INOUTTRXTYPE = 'WR' AND pl.QTY < 0) THEN 3
-              WHEN (pl.INOUTTRXTYPE = 'WR' AND pl.QTY >= 0) THEN 4
-              WHEN pl.QTY >= 0 THEN 1
-              ELSE 2 END) AS PRIORITY
+              WHEN (pl.ISFIXED = 'Y' AND pl.QTY >= 0) THEN 1
+              WHEN (pl.ISFIXED = 'N' AND pl.QTY >= 0) THEN 2
+              ELSE 3 END) AS PRIORITY
       FROM
         M_PRODUCT INNER JOIN MRP_RUN_PRODUCTIONLINE pl ON pl.M_PRODUCT_ID = M_PRODUCT.M_PRODUCT_ID
                                                       AND pl.M_PRODUCT_ID = p_Product_ID
                                                       AND pl.MRP_RUN_PRODUCTION_ID = p_Run_ID
                   LEFT JOIN M_PRODUCT_ORG ON M_PRODUCT.M_PRODUCT_ID = M_PRODUCT_ORG.M_PRODUCT_ID
                                           AND pl.AD_ORG_ID = M_PRODUCT_ORG.AD_ORG_ID
+                  LEFT JOIN MRP_RUN_PRODUCTIONLINE par ON pl.PARENT_ID = par.MRP_RUN_PRODUCTIONLINE_ID
       ORDER BY pl.planneddate, priority
       ) LOOP
 
       v_Qty_New := Cur_Lines.qty;
       IF (Cur_Lines.ISFIXED = 'N' AND v_Qty_New > 0) THEN
 
-        v_neededQty_New := Cur_Lines.qty - v_Stock;
+        v_neededQty_New := Cur_Lines.qty - v_AvailableStock;
         IF (v_neededQty_New > 0) THEN
           v_Qty_New := GREATEST(v_neededqty_New, Cur_Lines.qtymin);
           IF (Cur_Lines.qtytype = 'M') THEN --Multiple lot qty
@@ -104,6 +105,9 @@
         END IF;
       END IF;
       v_Stock := v_Stock + v_Qty_New;
+      IF (Cur_Lines.INOUTTRXTYPE IN ('ST', 'MS') OR Cur_Lines.qty >=0) THEN
+        v_availablestock := v_AvailableStock + v_qty_new + COALESCE(Cur_Lines.demandqty, 0);
+      END IF;
       UPDATE MRP_RUN_PRODUCTIONLINE
         SET isplanned = 'Y',
             cumqty = v_Stock
--- a/src-db/database/model/functions/MRP_PURCHASEORDER.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/model/functions/MRP_PURCHASEORDER.xml	Mon May 04 14:43:04 2009 +0200
@@ -111,8 +111,13 @@
       if (v_COrder_Id is null) or (Cur_workproposal.C_BPartner_ID!=LastCBPartner_ID) then --new header
         v_Line := 0;
         Ad_Sequence_Next('C_Order', v_Client_ID, v_COrder_ID);
-        Ad_Sequence_Doc('DocumentNo_C_Order', v_Client_ID, 'Y', v_DocumentNo);
+        v_DocumentNo := NULL;
         v_CDocTypeID := AD_Get_DocType(v_Client_ID, v_Org_ID,'POO',NULL);
+        AD_Sequence_DocType(v_CDocTypeID, v_Client_ID, 'Y', v_DocumentNo) ;
+        IF(v_DocumentNo IS NULL) THEN
+          AD_Sequence_Doc('DocumentNo_C_Order', v_Client_ID, 'Y', v_DocumentNo) ;
+        END IF;
+
 
         SELECT MIN(C_BPARTNER_LOCATION_ID)
         INTO v_BPartner_Location_ID
--- a/src-db/database/model/functions/M_INOUT_CREATE.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/model/functions/M_INOUT_CREATE.xml	Mon May 04 14:43:04 2009 +0200
@@ -110,7 +110,7 @@
       T.C_UOM_ID=p_UOM AND
       COALESCE(T.M_PRODUCT_UOM_ID, '0')=COALESCE(p_Product_UOM, '0') AND
       COALESCE(T.M_ATTRIBUTESETINSTANCE_ID, '0')=COALESCE(p_Attribute, COALESCE(T.M_ATTRIBUTESETINSTANCE_ID, '0')) AND
-      COALESCE(T.QtyOnHand, 0)<>0
+      COALESCE(T.QtyOnHand, 0)>0
     ORDER BY L.PRIORITYNO,
       T.M_ATTRIBUTESETINSTANCE_ID;
     v_storage Cur_Storage%ROWTYPE;
@@ -178,10 +178,23 @@
       DBMS_OUTPUT.PUT_LINE('  v_Record_ID=' || v_Record_ID) ;
     ELSIF(p_Invoice_ID IS NOT NULL) THEN
       CREATE_FROM_INVOICE:=true;
+      SELECT c_invoice.AD_CLIENT_ID, ad_clientinfo.allownegativestock
+      INTO v_ad_client_id, v_allownegativestock
+      FROM ad_clientinfo, c_invoice
+      where ad_clientinfo.ad_client_id = c_invoice.ad_client_id
+      and c_invoice_id = p_invoice_id;
     ELSE
       v_Record_ID:=p_Order_ID;
       DBMS_OUTPUT.PUT_LINE('--<<M_InOut_Create>> Order_ID=' || v_Record_ID);
+      SELECT c_order.AD_CLIENT_ID, ad_clientinfo.allownegativestock
+      INTO v_ad_client_id, v_allownegativestock
+       FROM ad_clientinfo, c_order
+      where ad_clientinfo.ad_client_id = c_order.ad_client_id
+      and c_order_id = v_Record_ID;
+
     END IF;
+
+    
     BEGIN --BODY
       IF(NOT CREATE_FROM_INVOICE) THEN
         -- May be NULL or 0
@@ -481,6 +494,7 @@
                           'N',
                           --MODIFIED BY F.IRIAZABAL
                           v_ActualQty, ol.M_PRODUCT_UOM_ID, ol.M_AttributeSetInstance_ID);
+                        v_lines:=v_lines + 10;
                       ELSIF (v_qty <> 0) THEN
                         IF (cur_order.deliveryrule = 'O') THEN
                           DBMS_OUTPUT.PUT_LINE('Not enough stocked products, delivery type Order');
@@ -574,14 +588,7 @@
               WHERE M_INOUT_ID = p_InOut_ID;
             ELSE
               -- Post Shipment
-              DECLARE
-              BEGIN
                 M_INOUT_POST(NULL, p_InOut_ID) ;
-              EXCEPTION
-              WHEN OTHERS THEN
-                v_ResultStr:= SQLERRM;
-                RAISE_APPLICATION_ERROR(-20000, SUBSTR(SQLERRM,12,2000)) ;
-              END;
             END IF;
           END IF;--Next_Order
           --<<Next_Order>>
@@ -704,14 +711,8 @@
             END LOOP; -- InvoiceLines
           END LOOP; -- Invoices
           -- Post Shipment
-          DECLARE
-          BEGIN
             M_INOUT_POST(NULL, p_InOut_ID) ;
-          EXCEPTION
-          WHEN OTHERS THEN
-            v_ResultStr:= SQLERRM;
-            RAISE_APPLICATION_ERROR(-20000, SUBSTR(SQLERRM,12,2000)) ;
-          END;
+
 		  --ADDED BY P.SAROBE
 		  SELECT documentno
 		  INTO v_DocumentNo
--- a/src-db/database/model/functions/M_INOUT_CREATEINVOICE.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/model/functions/M_INOUT_CREATEINVOICE.xml	Mon May 04 14:43:04 2009 +0200
@@ -238,10 +238,12 @@
               v_ResultStr:='GettingPrice-Order';
               SELECT COALESCE(MAX(PriceList), 0),
                 COALESCE(MAX(PriceActual), 0),
-                COALESCE(MAX(PriceLimit), 0)
+                COALESCE(MAX(PriceLimit), 0),
+                MAX(c_tax_id)
               INTO v_PriceList,
                 v_PriceActual,
-                v_PriceLimit
+                v_PriceLimit,
+                v_c_Tax_ID
               FROM C_ORDERLINE
               WHERE C_OrderLine_ID=CUR_ShipmentLines.C_OrderLine_ID;
             ELSE
@@ -255,6 +257,7 @@
               FROM M_PRODUCTPRICE
               WHERE M_Product_ID=CUR_ShipmentLines.M_Product_ID
                 AND M_PriceList_Version_ID=v_M_PriceList_Version_ID;
+              v_C_Tax_ID:=C_Gettax(CUR_ShipmentLines.M_Product_ID, CUR_Shipment.MovementDate, CUR_Shipment.AD_Org_ID, CUR_Shipment.M_Warehouse_ID, CUR_Shipment.C_BPartner_Location_ID, CUR_Shipment.C_BPartner_Location_ID, CUR_Shipment.C_Project_ID, 'N') ;
             END IF;
             -- Get UOM + Tax -- VERY simplified, but should work in most cases
             v_ResultStr:='NoUOM+Tax';
@@ -262,7 +265,6 @@
             INTO v_C_UOM_ID
             FROM M_PRODUCT
             WHERE M_Product_ID=CUR_ShipmentLines.M_Product_ID;
-            v_C_Tax_ID:=C_Gettax(CUR_ShipmentLines.M_Product_ID, CUR_Shipment.MovementDate, CUR_Shipment.AD_Org_ID, CUR_Shipment.M_Warehouse_ID, CUR_Shipment.C_BPartner_Location_ID, CUR_Shipment.C_BPartner_Location_ID, CUR_Shipment.C_Project_ID, 'N') ;
             -- v_UOM_ID, v_Tax_ID
             v_ResultStr:='InsertInvoiceLine';
             Ad_Sequence_Next('C_InvoiceLine', CUR_Shipment.C_Order_ID, v_NextNo) ;
--- a/src-db/database/model/functions/M_PRICELIST_CREATE.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/model/functions/M_PRICELIST_CREATE.xml	Mon May 04 14:43:04 2009 +0200
@@ -44,7 +44,7 @@
     v_Currency_ID VARCHAR2(32);
     v_Client_ID VARCHAR2(32);
     v_Org_ID VARCHAR2(32);
-    v_UpdatedBy NUMBER;
+    v_UpdatedBy VARCHAR2(32);
     v_StdPrecision NUMBER;
     v_DiscountSchema_ID VARCHAR2(32);
     v_PriceList_Version_Base_ID VARCHAR2(32);
--- a/src-db/database/model/functions/M_PRODUCTION_RUN.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/model/functions/M_PRODUCTION_RUN.xml	Mon May 04 14:43:04 2009 +0200
@@ -216,7 +216,7 @@
           -- For every Production Plan
           FOR CUR_PP IN
             (SELECT M_PRODUCTIONPLAN.*,
-              M_PRODUCT.C_UOM_ID
+              M_PRODUCT.C_UOM_ID,  M_PRODUCT.M_AttributeSetInstance_ID 
             FROM M_PRODUCTIONPLAN,
               M_PRODUCT
             WHERE M_PRODUCTIONPLAN.M_Product_ID=M_PRODUCT.M_Product_ID
@@ -239,14 +239,16 @@
                 M_ProductionLine_ID, M_ProductionPlan_ID, Line, AD_Client_ID,
                 AD_Org_ID, IsActive, Created, CreatedBy,
                 Updated, UpdatedBy, M_Product_ID, MovementQty,
-                M_Locator_ID, Description, C_UOM_ID
+                M_Locator_ID, Description, C_UOM_ID,
+                M_AttributeSetInstance_ID
               )
               VALUES
               (
                 NextNo, CUR_PP.M_ProductionPlan_ID, v_Line, CUR_PP.AD_Client_ID,
                 CUR_PP.AD_Org_ID, 'Y', now(), '0',
                 now(), '0', CUR_PP.M_Product_ID, CUR_PP.ProductionQty,
-                CUR_PP.M_Locator_ID, CUR_PP.Description, CUR_PP.C_UOM_ID
+                CUR_PP.M_Locator_ID, CUR_PP.Description, CUR_PP.C_UOM_ID,
+                CUR_PP.M_AttributeSetInstance_ID
               )
               ;
           END LOOP;
--- a/src-db/database/model/functions/M_RAPPEL_INVOICE_CREATE.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/model/functions/M_RAPPEL_INVOICE_CREATE.xml	Mon May 04 14:43:04 2009 +0200
@@ -166,10 +166,10 @@
       )))
       AND((COALESCE(R.INCLUDE_PRODUCT, 'Y')='N' -- Just selected
       AND EXISTS
-      (SELECT 1 FROM M_RAPPEL_PRODUCT RP WHERE RP.M_PRODUCT_ID=IL.M_PRODUCT_ID))
+      (SELECT 1 FROM M_RAPPEL_PRODUCT RP WHERE RP.M_PRODUCT_ID=IL.M_PRODUCT_ID AND RP.ISACTIVE='Y'))
       OR (COALESCE(R.INCLUDE_PRODUCT, 'Y')='Y' -- Everyone except selected
       AND NOT EXISTS
-      (SELECT 1 FROM M_RAPPEL_PRODUCT RP  WHERE RP.M_PRODUCT_ID=IL.M_PRODUCT_ID)))
+      (SELECT 1 FROM M_RAPPEL_PRODUCT RP  WHERE RP.M_PRODUCT_ID=IL.M_PRODUCT_ID AND RP.ISACTIVE='Y')))
       AND RP.ISSOTRX=I.ISSOTRX
       AND RP.M_RAPPEL_BPARTNER_ID=v_Record_ID;
   EXCEPTION
@@ -188,6 +188,7 @@
     FROM M_RAPPEL R,
       M_RAPPEL_BPARTNER RP
     WHERE RP.M_RAPPEL_BPARTNER_ID=v_Record_ID
+    AND RP.ISACTIVE='Y'
       AND RP.M_RAPPEL_ID=R.M_RAPPEL_ID;
     IF v_Scaled='N' THEN
       SELECT MAX(DISCOUNT)
@@ -285,12 +286,14 @@
           M_RAPPEL R1
         WHERE R.M_RAPPEL_ID=RP.M_RAPPEL_ID
           AND  R1.M_RAPPEL_ID=RP.M_RAPPEL_ID
+          AND RP.ISACTIVE='Y'
           AND COALESCE(R1.INCLUDE_PRODUCT, 'Y')='N' MINUS
         SELECT M_PRODUCT_ID
         FROM M_RAPPEL_PRODUCT RP,
           M_RAPPEL R1
         WHERE R.M_RAPPEL_ID=RP.M_RAPPEL_ID
           AND  R1.M_RAPPEL_ID=RP.M_RAPPEL_ID
+          AND RP.ISACTIVE='Y'
           AND COALESCE(R1.INCLUDE_PRODUCT, 'Y')='Y'
         )
         AND I.C_BPARTNER_ID=PL.C_BPARTNER_ID
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-db/database/model/postscript-DB2.sql	Mon May 04 14:43:04 2009 +0200
@@ -0,0 +1,349 @@
+
+CREATE OR REPLACE function NOW
+RETURN DATE
+AS
+/*************************************************************************
+* The contents of this file are subject to the Openbravo  Public  License
+* Version  1.0  (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 SL
+* All portions are Copyright (C) 2001-2008 Openbravo SL
+* All Rights Reserved.
+* Contributor(s):  ______________________________________.
+************************************************************************/
+BEGIN
+  RETURN SYSDATE;
+END NOW;
+/-- END NOW
+
+CREATE OR REPLACE FUNCTION hex_to_int (hexn VARCHAR)
+  RETURN number
+AS
+/*************************************************************************
+* The contents of this file are subject to the Openbravo  Public  License
+* Version  1.0  (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 SL
+* All portions are Copyright (C) 2001-2008 Openbravo SL
+* All Rights Reserved.
+* Contributor(s):  ______________________________________.
+************************************************************************/
+BEGIN
+    return to_number(hexn,'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx');
+END hex_to_int;
+/-- END hex_to_int
+
+
+CREATE OR REPLACE FUNCTION ad_script_execute (param_Message VARCHAR2)
+  RETURN VARCHAR2
+AS
+/*************************************************************************
+* The contents of this file are subject to the Openbravo  Public  License
+* Version  1.0  (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 SL
+* All portions are Copyright (C) 2001-2008 Openbravo SL
+* All Rights Reserved.
+* Contributor(s):  ______________________________________.
+************************************************************************/
+ v_Message       VARCHAR2(4000) := '';
+ v_ResultStr     VARCHAR2(4000) := '';
+ --TYPE RECORD IS REF CURSOR;
+ Cur_Script SYS_REFCURSOR;
+BEGIN
+    v_Message := param_Message;
+    FOR Cur_Script IN 
+      (SELECT STRSQL, SEQNO FROM AD_SCRIPT_SQL ORDER BY SEQNO)
+    LOOP 
+    BEGIN 
+      EXECUTE IMMEDIATE(Cur_Script.STRSQL) ; 
+    EXCEPTION 
+    WHEN OTHERS THEN 
+      
+      if (coalesce(length(v_Message),0)!=0) then
+        v_Message:=substr(v_Message||'<br><br>',1,2000);
+      end if;
+      v_Message := substr(v_Message||'@SQLScriptError@ '||Cur_Script.SeqNo||'. @Executing@'||Cur_Script.strSQL||'<br>'||SQLERRM,1,2000);
+    END;
+  END LOOP;
+
+ IF( LENGTH(v_Message) > 0 ) THEN
+    DBMS_OUTPUT.PUT_LINE('Script errors: ' || v_Message);
+ END IF;
+ return substr(coalesce(v_ResultStr,'') || coalesce(v_Message,''), 1, 2000);
+END ad_script_execute;
+/-- END
+
+
+CREATE OR REPLACE FUNCTION AD_GET_DOC_LE_BU(p_header_table IN VARCHAR2, p_document_id IN VARCHAR2, p_header_column_id IN VARCHAR2, p_type IN VARCHAR2)
+ RETURN VARCHAR
+ AS
+/*************************************************************************
+* The contents of this file are subject to the Openbravo  Public  License
+* Version  1.0  (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 SL
+* All portions are Copyright (C) 2009 Openbravo SL
+* All Rights Reserved.
+* Contributor(s):  ______________________________________.
+************************************************************************/
+   v_org_header_id ad_org.ad_org_id%TYPE;
+   v_isbusinessunit ad_orgtype.isbusinessunit%TYPE;
+   v_islegalentity ad_orgtype.islegalentity%TYPE;
+   
+ BEGIN
+ 
+   -- Gets the organization and the organization type of the document's header
+   EXECUTE IMMEDIATE 
+     'SELECT ad_org.ad_org_id, ad_orgtype.isbusinessunit, ad_orgtype.islegalentity 
+     FROM '||p_header_table||', ad_org, ad_orgtype
+     WHERE '||p_header_table||'.'||p_header_column_id||' = '''||p_document_id||'''
+     AND ad_org.ad_orgtype_id = ad_orgtype.ad_orgtype_id
+     AND '||p_header_table||'.ad_org_id=ad_org.ad_org_id ' 
+     INTO v_org_header_id, v_isbusinessunit, v_islegalentity; 
+ 
+   -- Gets recursively the organization parent until finding a Business Unit or a Legal Entity
+   IF (p_type IS NULL) THEN
+	   WHILE (v_isbusinessunit='N' AND v_islegalentity='N') LOOP
+	     SELECT hh.parent_id, ad_orgtype.isbusinessunit, ad_orgtype.islegalentity
+	     INTO v_org_header_id, v_isbusinessunit, v_islegalentity
+	     FROM ad_org, ad_orgtype, ad_treenode pp, ad_treenode hh
+	     WHERE pp.node_id = hh.parent_id
+	     AND hh.ad_tree_id = pp.ad_tree_id
+	     AND pp.node_id=ad_org.ad_org_id
+	     AND hh.node_id=v_org_header_id
+	     AND ad_org.ad_orgtype_id=ad_orgtype.ad_orgtype_id
+	     AND ad_org.isready='Y'
+	     AND  EXISTS (SELECT 1 FROM ad_tree WHERE ad_tree.treetype='OO' AND hh.ad_tree_id=ad_tree.ad_tree_id AND hh.ad_client_id=ad_tree.ad_client_id);     
+	   END LOOP;
+   -- Gets recursively the organization parent until finding a Legal Entity
+   ELSIF (p_type='LE') THEN
+	   WHILE (v_islegalentity='N') LOOP
+         SELECT hh.parent_id, ad_orgtype.islegalentity
+         INTO v_org_header_id, v_islegalentity
+         FROM ad_org, ad_orgtype, ad_treenode pp, ad_treenode hh
+         WHERE pp.node_id = hh.parent_id
+         AND hh.ad_tree_id = pp.ad_tree_id
+         AND pp.node_id=ad_org.ad_org_id
+         AND hh.node_id=v_org_header_id
+         AND ad_org.ad_orgtype_id=ad_orgtype.ad_orgtype_id
+         AND ad_org.isready='Y'
+         AND  EXISTS (SELECT 1 FROM ad_tree WHERE ad_tree.treetype='OO' AND hh.ad_tree_id=ad_tree.ad_tree_id AND hh.ad_client_id=ad_tree.ad_client_id);     
+       END LOOP;
+   -- Gets recursively the organization parent until finding a Business Unit
+   ELSIF (p_type='BU') THEN
+       WHILE (v_isbusinessunit='N' AND v_org_header_id<>'0') LOOP
+         SELECT hh.parent_id, ad_orgtype.isbusinessunit
+         INTO v_org_header_id, v_isbusinessunit
+         FROM ad_org, ad_orgtype, ad_treenode pp, ad_treenode hh
+         WHERE pp.node_id = hh.parent_id
+         AND hh.ad_tree_id = pp.ad_tree_id
+         AND pp.node_id=ad_org.ad_org_id
+         AND hh.node_id=v_org_header_id
+         AND ad_org.ad_orgtype_id=ad_orgtype.ad_orgtype_id
+         AND ad_org.isready='Y'
+         AND  EXISTS (SELECT 1 FROM ad_tree WHERE ad_tree.treetype='OO' AND hh.ad_tree_id=ad_tree.ad_tree_id AND hh.ad_client_id=ad_tree.ad_client_id);     
+       END LOOP;
+       RETURN NULL;
+   END IF;
+   
+   RETURN v_org_header_id;
+   
+END AD_GET_DOC_LE_BU;
+/-- END
+
+CREATE OR REPLACE FUNCTION AD_ORG_CHK_DOCUMENTS(p_header_table IN VARCHAR2, p_lines_table IN VARCHAR2, p_document_id IN VARCHAR2, p_header_column_id IN VARCHAR2, p_lines_column_id IN VARCHAR2) 
+ RETURN NUMBER
+ AS
+/*************************************************************************
+* The contents of this file are subject to the Openbravo  Public  License
+* Version  1.0  (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 SL
+* All portions are Copyright (C) 2008-2009 Openbravo SL
+* All Rights Reserved.
+* Contributor(s):  ______________________________________.
+************************************************************************/
+   v_org_header_id ad_org.ad_org_id%TYPE;
+   v_isbusinessunit ad_orgtype.isbusinessunit%TYPE;
+   v_islegalentity ad_orgtype.islegalentity%TYPE;
+   v_is_included NUMBER:=0;
+  
+   --TYPE RECORD IS REF CURSOR;
+   cur_doc_lines sys_refcursor;
+ 
+   v_line_org VARCHAR2(32);
+   v_org_line_id VARCHAR2(32);
+ BEGIN  
+	 
+   -- Gets the Business Unit or Legal Entity of the document
+   SELECT AD_GET_DOC_LE_BU(p_header_table, p_document_id, p_header_column_id, NULL)
+   INTO v_org_header_id
+   FROM DUAL;
+ 
+   -- Check the lines belong to the same BU or LE as the header
+   OPEN cur_doc_lines FOR
+   'SELECT DISTINCT('||p_lines_table||'.ad_org_id) AS v_line_org
+    FROM '||p_header_table||', '||p_lines_table||'
+    WHERE '||p_header_table||'.'||p_header_column_id||' = '||p_lines_table||'.'||p_lines_column_id||'
+    AND '||p_lines_table||'.ad_org_id<>'||''''||v_org_header_id||'''
+    AND '||p_lines_table||'.'||p_lines_column_id||'='''||p_document_id||'''';    
+    LOOP
+      FETCH cur_doc_lines INTO v_line_org;
+      EXIT WHEN cur_doc_lines%NOTFOUND;
+ 
+      SELECT ad_orgtype.isbusinessunit, ad_orgtype.islegalentity
+      INTO v_isbusinessunit, v_islegalentity
+      FROM AD_Org, AD_OrgType
+      WHERE AD_Org.AD_OrgType_ID=AD_OrgType.AD_OrgType_ID
+      AND AD_Org.AD_Org_ID=v_line_org;
+      
+      v_org_line_id:=v_line_org;
+      -- Gets recursively the organization parent until finding a Business Unit or a Legal Entity
+      WHILE (v_isbusinessunit='N' AND v_islegalentity='N') LOOP
+        SELECT hh.parent_id, ad_orgtype.isbusinessunit, ad_orgtype.islegalentity
+        INTO v_org_line_id, v_isbusinessunit, v_islegalentity
+        FROM ad_org, ad_orgtype, ad_treenode pp, ad_treenode hh
+        WHERE pp.node_id = hh.parent_id
+        AND hh.ad_tree_id = pp.ad_tree_id
+        AND pp.node_id=ad_org.ad_org_id
+        AND hh.node_id=v_org_line_id
+        AND ad_org.ad_orgtype_id=ad_orgtype.ad_orgtype_id
+        AND ad_org.isready='Y'
+        AND  EXISTS (SELECT 1 FROM ad_tree WHERE ad_tree.treetype='OO' AND hh.ad_tree_id=ad_tree.ad_tree_id AND hh.ad_client_id=ad_tree.ad_client_id);     
+      END LOOP;
+      
+     IF (v_org_line_id<>v_org_header_id) THEN
+       v_is_included:=-1;
+     END IF;
+     EXIT WHEN v_is_included=-1;
+ 
+    END LOOP; 
+   CLOSE cur_doc_lines;
+ 
+  RETURN v_is_included;
+ 
+END AD_ORG_CHK_DOCUMENTS;
+/-- END
+
+CREATE OR REPLACE FUNCTION AD_ORG_CHK_DOC_PAYMENTS(p_header_table IN VARCHAR2, p_lines_table IN VARCHAR2, p_document_id IN VARCHAR2, p_header_column_id IN VARCHAR2, p_lines_column_id IN VARCHAR2, p_lines_column_payment_id IN VARCHAR2) 
+ RETURN NUMBER
+ AS
+/*************************************************************************
+* The contents of this file are subject to the Openbravo  Public  License
+* Version  1.0  (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 SL
+* All portions are Copyright (C) 2008-2009 Openbravo SL
+* All Rights Reserved.
+* Contributor(s):  ______________________________________.
+************************************************************************/
+   v_org_header_id ad_org.ad_org_id%TYPE;
+   v_isbusinessunit ad_orgtype.isbusinessunit%TYPE;
+   v_islegalentity ad_orgtype.islegalentity%TYPE;
+   v_is_included NUMBER:=0;
+ 
+ 
+   --TYPE RECORD IS REF CURSOR;
+   cur_doc_lines_payment sys_refcursor;
+ 
+   v_line_org_payment VARCHAR2(32);
+   v_org_payment_line_id VARCHAR2(32);
+ BEGIN
+ 
+   -- Gets the Business Unit or Legal Entity of the document
+   SELECT AD_GET_DOC_LE_BU(p_header_table, p_document_id, p_header_column_id, NULL)
+   INTO v_org_header_id
+   FROM DUAL;
+ 
+   -- Check the payments of the lines belong to the same BU or LE as the document header
+   OPEN cur_doc_lines_payment FOR
+   'SELECT DISTINCT(C_DEBT_PAYMENT.ad_org_id) AS v_line_org_payment
+    FROM '||p_header_table||', '||p_lines_table||', C_DEBT_PAYMENT
+    WHERE '||p_header_table||'.'||p_header_column_id||' = '||p_lines_table||'.'||p_lines_column_id||'
+    AND C_DEBT_PAYMENT.C_DEBT_PAYMENT_ID='||p_lines_table||'.'||p_lines_column_payment_id||'
+    AND '||p_lines_table||'.ad_org_id<>'||''''||v_org_header_id||'''
+    AND '||p_lines_table||'.'||p_lines_column_id||'='''||p_document_id||'''';
+ 
+ 
+   LOOP
+    FETCH cur_doc_lines_payment INTO v_line_org_payment;
+    EXIT WHEN cur_doc_lines_payment%NOTFOUND;
+ 
+
+    SELECT ad_orgtype.isbusinessunit, ad_orgtype.islegalentity
+    INTO v_isbusinessunit, v_islegalentity
+    FROM AD_Org, AD_OrgType
+    WHERE AD_Org.AD_OrgType_ID=AD_OrgType.AD_OrgType_ID
+    AND AD_Org.AD_Org_ID=v_line_org_payment;
+
+    v_org_payment_line_id:=v_line_org_payment;
+    -- Gets recursively the organization parent until finding a Business Unit or a Legal Entity
+    WHILE (v_isbusinessunit='N' AND v_islegalentity='N') LOOP
+      SELECT hh.parent_id, ad_orgtype.isbusinessunit, ad_orgtype.islegalentity
+      INTO v_org_payment_line_id, v_isbusinessunit, v_islegalentity
+      FROM ad_org, ad_orgtype, ad_treenode pp, ad_treenode hh
+      WHERE pp.node_id = hh.parent_id
+      AND hh.ad_tree_id = pp.ad_tree_id
+      AND pp.node_id=ad_org.ad_org_id
+      AND hh.node_id=v_org_payment_line_id
+      AND ad_org.ad_orgtype_id=ad_orgtype.ad_orgtype_id
+      AND ad_org.isready='Y'
+      AND  EXISTS (SELECT 1 FROM ad_tree WHERE ad_tree.treetype='OO' AND hh.ad_tree_id=ad_tree.ad_tree_id AND hh.ad_client_id=ad_tree.ad_client_id);     
+    END LOOP;
+
+    IF (v_org_payment_line_id<>v_org_header_id) THEN
+      v_is_included:=-1;
+    END IF;
+    EXIT WHEN v_is_included=-1;
+
+   END LOOP; 
+   CLOSE cur_doc_lines_payment;
+ 
+   RETURN v_is_included;
+ 
+END AD_ORG_CHK_DOC_PAYMENTS;
+/-- END
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-db/database/model/prescript-DB2.sql	Mon May 04 14:43:04 2009 +0200
@@ -0,0 +1,85 @@
+set current path=CURRENT USER, system path
+/-- END
+
+
+Begin  
+  execute immediate 'Drop table AD_ENABLE_TRIGGERS';
+  Exception when others then null;
+End;
+/-- END
+
+ -- create temporary tables
+
+
+
+CREATE OR REPLACE FUNCTION TO_CHAR(CHAR()) returns varchar() source char(varchar())
+/-- END 
+
+CREATE OR REPLACE FUNCTION TO_CHAR(VARCHAR()) returns varchar() source varchar(varchar())
+/-- END
+
+create or replace FUNCTION GET_UUID RETURN VARCHAR2
+AS
+/*************************************************************************
+* The contents of this file are subject to the Openbravo  Public  License
+* Version  1.0  (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 SL
+* All portions are Copyright (C) 2008 Openbravo SL
+* All Rights Reserved.
+* Contributor(s):  ______________________________________.
+************************************************************************/
+BEGIN
+ return hex(sysibm.generate_unique());
+END GET_UUID;
+/-- END
+
+create or replace FUNCTION AD_DB_MODIFIED(p_Update CHAR) RETURN CHAR
+
+AS
+/*************************************************************************
+* The contents of this file are subject to the Openbravo  Public  License
+* Version  1.0  (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 SL
+* All portions are Copyright (C) 2009 Openbravo SL
+* All Rights Reserved.
+* Contributor(s):  ______________________________________.
+************************************************************************/
+  v_Modified char(1);
+  --PRAGMA AUTONOMOUS_TRANSACTION; --To allow DML within a function in a select        
+BEGIN
+   SELECT (CASE WHEN COUNT(*)>0 THEN 'Y' ELSE 'N' END)
+    INTO v_Modified
+     FROM AD_SYSTEM_INFO
+     WHERE LAST_DBUPDATE < (SELECT MAX(LAST_DDL_TIME)
+                              FROM USER_OBJECTS);
+                              
+                     
+   BEGIN
+   IF p_Update = 'Y' THEN
+     UPDATE AD_SYSTEM_INFO
+       SET LAST_DBUPDATE = NOW();
+   END IF;
+   END;
+   COMMIT;
+   RETURN v_Modified;
+   EXCEPTION 
+     WHEN OTHERS THEN
+       RETURN 'N';
+END AD_DB_MODIFIED;
+/-- END 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-db/database/model/tables/AD_MODULE_DBPREFIX_INSTALL.xml	Mon May 04 14:43:04 2009 +0200
@@ -0,0 +1,56 @@
+<?xml version="1.0"?>
+  <database name="TABLE AD_MODULE_DBPREFIX_INSTALL">
+    <table name="AD_MODULE_DBPREFIX_INSTALL" primaryKey="AD_MODULE_DBPREFIX_INS_PK">
+      <column name="AD_MODULE_DBPREFIX_INSTALL_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="AD_MODULE_DBPREFIX_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="AD_MODULE_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="7" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <foreign-key foreignTable="AD_ORG" name="ADMODULE_DBPREFIX_INS_AD_ORG">
+        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="AD_CLIENT" name="ADMODULE_DBPREFIX_INS_ADCLIENT">
+        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
+      </foreign-key>
+      <check name="ADMODULEDBPREFIX_INS_ACTIVE_CK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+    </table>
+  </database>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-db/database/model/tables/AD_MODULE_DEPENDENCY_INST.xml	Mon May 04 14:43:04 2009 +0200
@@ -0,0 +1,73 @@
+<?xml version="1.0"?>
+  <database name="TABLE AD_MODULE_DEPENDENCY_INST">
+    <table name="AD_MODULE_DEPENDENCY_INST" primaryKey="AD_MODULE_DEPENDENCY_INST_PK">
+      <column name="AD_MODULE_DEPENDENCY_INST_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="AD_MODULE_DEPENDENCY_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="AD_MODULE_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="AD_DEPENDENT_MODULE_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="STARTVERSION" primaryKey="false" required="true" type="VARCHAR" size="10" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="ENDVERSION" primaryKey="false" required="false" type="VARCHAR" size="10" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="ISINCLUDED" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
+        <default><![CDATA[N]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="DEPENDANT_MODULE_NAME" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <foreign-key foreignTable="AD_CLIENT" name="ADMODULEDEPENDENCYINS_ADCLIENT">
+        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="AD_ORG" name="ADMODULEDEPENDENCYINS_ADORG">
+        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
+      </foreign-key>
+      <check name="AD_MODULE_INST_ISINCLUDED_CHK"><![CDATA[ISINCLUDED IN ('Y', 'N')]]></check>
+      <check name="MODULEDEPENDENINST_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/AD_MODULE_INSTALL.xml	Mon May 04 14:43:04 2009 +0200
@@ -0,0 +1,143 @@
+<?xml version="1.0"?>
+  <database name="TABLE AD_MODULE_INSTALL">
+    <table name="AD_MODULE_INSTALL" primaryKey="AD_MODULE_INSTALL_PK">
+      <column name="AD_MODULE_INSTALL_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="AD_MODULE_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="NAME" primaryKey="false" required="true" type="NVARCHAR" size="60" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="VERSION" primaryKey="false" required="true" type="VARCHAR" size="10" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="DESCRIPTION" primaryKey="false" required="true" type="NVARCHAR" size="255" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="HELP" primaryKey="false" required="false" type="NVARCHAR" size="2000" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="URL" primaryKey="false" required="false" type="VARCHAR" size="300" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="TYPE" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false">
+        <default><![CDATA[M]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="LICENSE" primaryKey="false" required="false" type="NVARCHAR" size="2000" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="ISINDEVELOPMENT" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
+        <default><![CDATA[N]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="ISDEFAULT" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
+        <default><![CDATA[N]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="SEQNO" primaryKey="false" required="false" type="DECIMAL" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="JAVAPACKAGE" primaryKey="false" required="true" type="VARCHAR" size="255" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="LICENSETYPE" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="AUTHOR" primaryKey="false" required="false" type="NVARCHAR" size="2000" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="STATUS" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
+        <default><![CDATA[I]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="UPDATE_AVAILABLE" primaryKey="false" required="false" type="VARCHAR" size="10" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="ISTRANSLATIONREQUIRED" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
+        <default><![CDATA[N]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="AD_LANGUAGE" primaryKey="false" required="false" type="VARCHAR" size="6" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="HASCHARTOFACCOUNTS" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
+        <default><![CDATA[N]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="ISTRANSLATIONMODULE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
+        <default><![CDATA[N]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="HASREFERENCEDATA" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
+        <default><![CDATA[N]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="ISREGISTERED" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
+        <default><![CDATA[N]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="UPDATEINFO" primaryKey="false" required="false" type="NVARCHAR" size="2000" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="UPDATE_VER_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="REFERENCEDATAINFO" primaryKey="false" required="false" type="NVARCHAR" size="2000" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <check name="AD_MOD_INS_INDEVELOPMENT_CHK"><![CDATA[ISINDEVELOPMENT IN ('Y', 'N')]]></check>
+      <check name="AD_MOD_INS_ISTRANSLATEABLE_CHK"><![CDATA[ISTRANSLATIONREQUIRED IN ('Y', 'N')]]></check>
+      <check name="AD_MODULE_INS_ISACTIVE_CHK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="AD_MODULE_INS_ISREGISTERED_CHK"><![CDATA[ISREGISTERED IN ('Y', 'N')]]></check>
+      <check name="AD_MODULE_INS_TYPE_CHK"><![CDATA[TYPE IN ('M', 'P', 'T')]]></check>
+      <check name="ADMODULE_INS_DEFAULT_CHECK"><![CDATA[(ISDEFAULT = 'N') OR ((ISDEFAULT = 'Y') AND (ISINDEVELOPMENT = 'Y'))]]></check>
+    </table>
+  </database>
--- a/src-db/database/model/tables/AD_TABLE.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/model/tables/AD_TABLE.xml	Mon May 04 14:43:04 2009 +0200
@@ -105,6 +105,10 @@
         <default><![CDATA[0]]></default>
         <onCreateDefault><![CDATA[SELECT AD_PACKAGE_ID FROM AD_PACKAGE WHERE AD_MODULE_ID<>'0']]></onCreateDefault>
       </column>
+      <column name="TREETYPE" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
       <foreign-key foreignTable="AD_PACKAGE" name="AD_PACKAGE_TABLE">
         <reference local="AD_PACKAGE_ID" foreign="AD_PACKAGE_ID"/>
       </foreign-key>
@@ -130,6 +134,9 @@
         <unique-column name="CLASSNAME"/>
         <unique-column name="AD_PACKAGE_ID"/>
       </unique>
+      <unique name="TREETYPE">
+        <unique-column name="TREETYPE"/>
+      </unique>
       <check name="ADTABLE_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
       <check name="ADTABLE_ISDELETEABLE_CHECK"><![CDATA[ISDELETEABLE IN ('Y', 'N')]]></check>
       <check name="ADTABLE_ISHIGHVOLUME_CHECK"><![CDATA[ISHIGHVOLUME IN ('Y', 'N')]]></check>
--- a/src-db/database/model/tables/C_ORDERLINE.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/model/tables/C_ORDERLINE.xml	Mon May 04 14:43:04 2009 +0200
@@ -179,7 +179,7 @@
       </column>
       <column name="CANCELPRICEAD" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
         <default/>
-        <onCreateDefault/>
+        <onCreateDefault><![CDATA['N']]></onCreateDefault>
       </column>
       <column name="C_ORDER_DISCOUNT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
         <default/>
--- a/src-db/database/model/tables/C_ORDERLINE_OFFER.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/model/tables/C_ORDERLINE_OFFER.xml	Mon May 04 14:43:04 2009 +0200
@@ -59,7 +59,7 @@
       <foreign-key foreignTable="AD_ORG" name="ADORG_CORDERLINEOFFER">
         <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
       </foreign-key>
-      <foreign-key foreignTable="C_ORDERLINE" name="CORDERLINE_CORDERLINEOFFER">
+      <foreign-key foreignTable="C_ORDERLINE" name="CORDERLINE_CORDERLINEOFFER" onDelete="cascade">
         <reference local="C_ORDERLINE_ID" foreign="C_ORDERLINE_ID"/>
       </foreign-key>
       <foreign-key foreignTable="M_OFFER" name="MOFFER_CORDERLINEOFFER">
--- a/src-db/database/model/tables/M_TRANSACTION.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/model/tables/M_TRANSACTION.xml	Mon May 04 14:43:04 2009 +0200
@@ -105,8 +105,8 @@
       <foreign-key foreignTable="C_UOM" name="CUOM_MTRANSACTION">
         <reference local="C_UOM_ID" foreign="C_UOM_ID"/>
       </foreign-key>
-      <foreign-key foreignTable="M_INTERNAL_CONSUMPTION" name="M_INTL_CONSUMP_MTRANSACTION">
-        <reference local="M_INTERNAL_CONSUMPTIONLINE_ID" foreign="M_INTERNAL_CONSUMPTION_ID"/>
+      <foreign-key foreignTable="M_INTERNAL_CONSUMPTIONLINE" name="M_INTL_CONSUMP_MTRANSACTION">
+        <reference local="M_INTERNAL_CONSUMPTIONLINE_ID" foreign="M_INTERNAL_CONSUMPTIONLINE_ID"/>
       </foreign-key>
       <foreign-key foreignTable="M_ATTRIBUTESETINSTANCE" name="MATTRIBUTESETINSTANCE_MTRANSAC">
         <reference local="M_ATTRIBUTESETINSTANCE_ID" foreign="M_ATTRIBUTESETINSTANCE_ID"/>
--- a/src-db/database/model/triggers/AD_CALLOUT_TRG.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/model/triggers/AD_CALLOUT_TRG.xml	Mon May 04 14:43:04 2009 +0200
@@ -18,14 +18,15 @@
 * under the License.
 * The Original Code is Openbravo ERP.
 * The Initial Developer of the Original Code is Openbravo SL
-* All portions are Copyright (C) 2001-2006 Openbravo SL
+* All portions are Copyright (C) 2001-2009 Openbravo SL
 * All Rights Reserved.
 * Contributor(s):  ______________________________________.
 ************************************************************************/
-  v_ID VARCHAR2(32) ;
-  v_ID_MAP     VARCHAR2(32) ;
-  v_WindowName VARCHAR2(60) ;
+
   v_ClassName  VARCHAR2(60) ;
+  v_dir VARCHAR2(200);
+  v_package VARCHAR2(200);
+  v_ID VARCHAR2(32);
     
 BEGIN
     
@@ -40,7 +41,7 @@
       RETURN;
     END IF;
   END IF;
-  v_WindowName:='ad_callouts';
+
   IF(DELETING OR UPDATING) THEN
     IF :OLD.ISACTIVE='Y' THEN
       DELETE
@@ -61,8 +62,21 @@
   END IF;
   IF(INSERTING OR UPDATING) THEN
     IF :NEW.ISACTIVE='Y' THEN
+      IF :NEW.AD_MODULE_ID != '0' THEN
+        SELECT JavaPackage
+          INTO v_package
+          FROM AD_MODULE
+        WHERE AD_MODULE_ID = :NEW.AD_MODULE_ID;
+          v_dir := v_package||'.ad_callouts';
+      ELSE
+        v_package := 'org.openbravo.erpCommon.ad_callouts';
+        v_dir := 'ad_callouts';
+      END IF;
+    
       v_ClassName:=AD_MAPPING_FORMAT(TO_CHAR(:new.NAME)) ;
-      Ad_Sequence_Next('AD_Model_Object', :new.AD_Client_ID, v_ID) ;
+
+      v_ID := get_uuid();
+      
       INSERT
       INTO AD_MODEL_OBJECT
         (
@@ -76,10 +90,10 @@
           v_ID, :new.AD_CLIENT_ID, :new.AD_ORG_ID,  'Y',
           now(), :new.CREATEDBY, now(),
           :new.UPDATEDBY,  'C', :new.AD_CALLOUT_ID,
-           'org.openbravo.erpCommon.' || v_WindowName || '.' || v_ClassName, 'Y'
+           v_package || '.' || v_ClassName, 'Y'
         )
         ;
-      Ad_Sequence_Next('AD_Model_Object_Mapping', :new.AD_Client_ID, v_ID_MAP) ;
+
       INSERT
       INTO AD_MODEL_OBJECT_MAPPING
         (
@@ -90,10 +104,10 @@
         )
         VALUES
         (
-          v_ID_MAP, :new.AD_CLIENT_ID, :new.AD_ORG_ID,
+          get_uuid(), :new.AD_CLIENT_ID, :new.AD_ORG_ID,
            'Y', now(), :new.CREATEDBY,
           now(), :new.UPDATEDBY, v_ID,
-          ('/' || v_WindowName || '/' || v_ClassName || '.html'), 'Y'
+          ('/' || v_dir || '/' || v_ClassName || '.html'), 'Y'
         )
         ;
     END IF;
--- a/src-db/database/model/triggers/AD_COLUMN_TRG2.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/model/triggers/AD_COLUMN_TRG2.xml	Mon May 04 14:43:04 2009 +0200
@@ -32,15 +32,25 @@
 
   SELECT count(*)
     INTO v_Aux
-    FROM AD_TABLE T, 
-         AD_PACKAGE M
-   WHERE T.AD_TABLE_ID = :new.AD_Table_ID
-     AND M.AD_PACKAGE_ID = T.AD_PACKAGE_ID
-     AND M.AD_MODULE_ID != :new.AD_Module_ID
-     AND NOT EXISTS (SELECT 1 
-                      FROM AD_MODULE_DBPREFIX P
-                      WHERE P.AD_MODULE_ID = :new.AD_Module_ID 
-                      AND instr(upper(:new.columnname), 'EM_'||upper(P.name)||'_') = 1);
+    FROM (
+      SELECT 1 
+        FROM AD_TABLE T, 
+             AD_PACKAGE M
+       WHERE T.AD_TABLE_ID = :new.AD_Table_ID
+         AND M.AD_PACKAGE_ID = T.AD_PACKAGE_ID
+         AND M.AD_MODULE_ID != :new.AD_Module_ID
+         AND NOT EXISTS (SELECT 1 
+                          FROM AD_MODULE_DBPREFIX P
+                          WHERE P.AD_MODULE_ID = :new.AD_Module_ID 
+                          AND instr(upper(:new.columnname), 'EM_'||upper(P.name)||'_') = 1)
+      UNION
+      SELECT 1
+         FROM AD_EXCEPTIONS, ad_table t
+         WHERE TYPE='TABLE'
+         AND t.AD_Table_ID = :new.AD_Table_ID
+         AND UPPER(NAME2)=UPPER(T.Tablename)
+         AND UPPER(NAME1)=UPPER(:new.Columnname)
+      ) AA;                  
   
   IF v_Aux != 0 THEN
     RAISE_APPLICATION_ERROR(-20536, 'Names must start with its module''s DB prefix') ;
--- a/src-db/database/model/triggers/AD_REF_LIST_TRG.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/model/triggers/AD_REF_LIST_TRG.xml	Mon May 04 14:43:04 2009 +0200
@@ -52,7 +52,7 @@
                           AND instr(upper(:new.VALUE), upper(M2.JAVAPACKAGE))=1));
   
   IF v_Aux != 0 THEN
-    RAISE_APPLICATION_ERROR(-20536, 'Names must start with its module''s DB prefix') ;
+    RAISE_APPLICATION_ERROR(-20000, '@ListValueDBPrefix@') ;
   END IF;
   
 
--- a/src-db/database/model/triggers/AD_TABLE_TRG.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/model/triggers/AD_TABLE_TRG.xml	Mon May 04 14:43:04 2009 +0200
@@ -53,7 +53,7 @@
         FROM AD_MODULE_DBPREFIX P
       WHERE P.AD_MODULE_ID = cuerrentModuleID
         AND instr(upper(:new.TableName), upper(name)||'_') = 1
-        AND instr(upper(:new.Name), upper(name)||'_') = 1
+        AND (instr(upper(:new.Name), upper(name)||'_') = 1 OR cuerrentModuleID = '0')
       UNION
        SELECT 1
          FROM AD_EXCEPTIONS 
@@ -61,7 +61,7 @@
          AND UPPER(NAME1)=UPPER(:new.Tablename)) AA;
       
      IF v_Aux = 0 THEN
-       RAISE_APPLICATION_ERROR(-20536, 'Names must start with its module''s DB prefix') ;
+       RAISE_APPLICATION_ERROR(-20536, 'Names must start with its module''s DB prefix ') ;
      END IF;
   END IF;
 
--- a/src-db/database/model/triggers/C_INVOICELINE_TRG2.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/model/triggers/C_INVOICELINE_TRG2.xml	Mon May 04 14:43:04 2009 +0200
@@ -47,12 +47,6 @@
 -- This trigger is used for calculate the applied offers f0r the invoice
 
 
-
- IF DELETING THEN
-   DELETE FROM C_INVOICELINE_OFFER
-   WHERE C_InvoiceLine_ID = :OLD.C_InvoiceLine_ID;
- END IF;
-
  IF UPDATING THEN
   IF (    (COALESCE(:NEW.M_Product_ID,'0') != COALESCE(:OLD.M_Product_ID,'0'))
     OR (COALESCE(:NEW.PriceActual,0) != COALESCE(:OLD.PriceActual,0))
--- a/src-db/database/model/triggers/C_ORDERLINE_TRG2.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/model/triggers/C_ORDERLINE_TRG2.xml	Mon May 04 14:43:04 2009 +0200
@@ -45,14 +45,6 @@
 
 
 
-
-
-
- IF DELETING THEN
-   DELETE FROM C_ORDERLINE_OFFER
-   WHERE C_OrderLine_ID = :OLD.C_OrderLine_ID;
- END IF;
-
  IF UPDATING THEN
   IF ((:NEW.DateOrdered != :OLD.DateOrdered)
      OR (COALESCE(:NEW.PriceActual,0) != COALESCE(:OLD.PriceActual,0))
@@ -90,10 +82,10 @@
             AND M_PRICELIST_ID = v_PriceList_ID)))
          AND ((BPARTNER_SELECTION='Y' AND NOT EXISTS (SELECT 1 FROM M_OFFER_BPARTNER
            WHERE M_OFFER_ID=M_OFFER.M_OFFER_ID
-           AND C_BPARTNER_ID = v_BPartner_ID))
+           AND C_BPARTNER_ID = v_BPartner_ID AND IsActive = 'Y'))
          OR (BPARTNER_SELECTION='N' AND EXISTS(SELECT 1 FROM M_OFFER_BPARTNER
             WHERE M_OFFER_ID = M_OFFER.M_OFFER_ID
-            AND C_BPARTNER_ID = v_BPartner_ID)))
+            AND C_BPARTNER_ID = v_BPartner_ID AND IsActive = 'Y')))
          AND ((BP_GROUP_SELECTION='Y' AND NOT EXISTS (SELECT 1 FROM C_BPARTNER B, M_OFFER_BP_GROUP OB
            WHERE OB.M_OFFER_ID = M_OFFER.M_OFFER_ID
            AND B.C_BPARTNER_ID = v_BPartner_ID
@@ -138,10 +130,10 @@
             AND M_PRICELIST_ID = v_PriceList_ID)))
         AND ((BPARTNER_SELECTION='Y' AND NOT EXISTS (SELECT 1 FROM M_OFFER_BPARTNER
           WHERE M_OFFER_ID=M_OFFER.M_OFFER_ID
-          AND C_BPARTNER_ID = v_BPartner_ID))
+          AND C_BPARTNER_ID = v_BPartner_ID AND IsActive = 'Y'))
         OR (BPARTNER_SELECTION='N' AND EXISTS(SELECT 1 FROM M_OFFER_BPARTNER
            WHERE M_OFFER_ID = M_OFFER.M_OFFER_ID
-           AND C_BPARTNER_ID = v_BPartner_ID)))
+           AND C_BPARTNER_ID = v_BPartner_ID AND IsActive = 'Y')))
         AND ((BP_GROUP_SELECTION='Y' AND NOT EXISTS (SELECT 1 FROM C_BPARTNER B, M_OFFER_BP_GROUP OB
           WHERE OB.M_OFFER_ID = M_OFFER.M_OFFER_ID
           AND B.C_BPARTNER_ID = v_BPartner_ID
--- a/src-db/database/model/triggers/M_PRODUCT_CATEGORY_TRG.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/model/triggers/M_PRODUCT_CATEGORY_TRG.xml	Mon May 04 14:43:04 2009 +0200
@@ -46,6 +46,7 @@
 	OR AD_IsOrgIncluded(:new.AD_ORG_ID, AD_Org_ID, :new.AD_Client_ID)<>-1)
       AND IsActive = 'Y'
       AND AD_Org_AcctSchema.C_AcctSchema_ID = d.C_AcctSchema_ID
+      AND AD_Org_AcctSchema.AD_Client_ID=:new.AD_Client_ID
         )
       )
     LOOP
--- a/src-db/database/model/views/C_INVOICE_CANDIDATE_V.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/model/views/C_INVOICE_CANDIDATE_V.xml	Mon May 04 14:43:04 2009 +0200
@@ -1,12 +1,19 @@
 <?xml version="1.0"?>
   <database name="VIEW C_INVOICE_CANDIDATE_V">
-    <view name="C_INVOICE_CANDIDATE_V"><![CDATA[SELECT o.ad_client_id, o.ad_org_id, o.c_bpartner_id, o.c_order_id, o.documentno, o.dateordered, o.c_doctype_id, o.totallines AS amountlines, sum((l.qtyordered - l.qtyinvoiced) * l.priceactual) AS totallines
-   FROM c_order o
+    <view name="C_INVOICE_CANDIDATE_V"><![CDATA[SELECT sq.ad_client_id, sq.ad_org_id, sq.c_bpartner_id, sq.c_order_id, sq.documentno, sq.dateordered, sq.c_doctype_id, sq.amountlines, sq.amountlinesgross, sq.notinvoicedlines, round(sq.notinvoicedlinesgross, c.stdprecision) AS notinvoicedlinesgross, sq.term, sq.pendinglines, round(sq.pendinglinesgross, c.stdprecision) AS pendinglinesgross, sq.qtyordered, sq.qtydelivered
+   FROM ( SELECT o.ad_client_id, o.ad_org_id, o.c_bpartner_id, o.c_order_id, o.documentno, o.dateordered, o.c_doctype_id, o.totallines AS amountlines, o.grandtotal AS amountlinesgross, sum(round((l.qtyordered - l.qtyinvoiced) * l.priceactual, c.stdprecision)) AS notinvoicedlines, sum(round((l.qtyordered - l.qtyinvoiced) * l.priceactual, c.stdprecision) * (1 + t.rate / 100)) AS notinvoicedlinesgross, o.invoicerule AS term, sum(round((l.qtydelivered - l.qtyinvoiced) * l.priceactual, c.stdprecision)) AS pendinglines, sum(round((l.qtydelivered - l.qtyinvoiced) * l.priceactual, c.stdprecision) * (1 + t.rate / 100)) AS pendinglinesgross, sum(l.qtyordered) AS qtyordered, sum(l.qtydelivered) AS qtydelivered, o.m_pricelist_id, c.c_currency_id
+           FROM c_order o
+      JOIN m_pricelist p ON o.m_pricelist_id = p.m_pricelist_id
+   JOIN c_currency c ON p.c_currency_id = c.c_currency_id
    JOIN c_orderline l ON o.c_order_id = l.c_order_id
    JOIN c_bpartner bp ON o.c_bpartner_id = bp.c_bpartner_id
+   JOIN c_tax t ON t.c_tax_id = l.c_tax_id
    LEFT JOIN c_invoiceschedule si ON bp.c_invoiceschedule_id = si.c_invoiceschedule_id
   WHERE (o.docstatus IN ('CO', 'CL', 'IP')) AND (o.c_doctype_id IN ( SELECT c_doctype.c_doctype_id
    FROM c_doctype
-  WHERE c_doctype.docbasetype = 'SOO' AND (c_doctype.docsubtypeso NOT IN ('ON', 'OB', 'WR')))) AND l.qtyordered <> l.qtyinvoiced AND (o.invoicerule = 'I' OR o.invoicerule = 'O' OR o.invoicerule = 'N' OR o.invoicerule = 'D' AND l.qtyinvoiced <> l.qtydelivered OR o.invoicerule = 'S' AND bp.c_invoiceschedule_id IS NULL OR o.invoicerule = 'S' AND bp.c_invoiceschedule_id IS NOT NULL AND (si.invoicefrequency IS NULL OR si.invoicefrequency = 'D' OR si.invoicefrequency = 'W' OR si.invoicefrequency = 'T' AND trunc(o.dateordered) <= (TRUNC(now(), 'MM') + si.invoicedaycutoff - 1) AND trunc(now()) >= (TRUNC(o.dateordered, 'MM') + si.invoiceday - 1) OR trunc(o.dateordered) <= (TRUNC(now(), 'MM') + si.invoicedaycutoff + 14) AND trunc(now()) >= (TRUNC(o.dateordered, 'MM') + si.invoiceday + 14) OR si.invoicefrequency = 'M' AND trunc(o.dateordered) <= (TRUNC(now(), 'MM') + si.invoicedaycutoff - 1) AND trunc(now()) >= (TRUNC(o.dateordered, 'MM') + si.invoiceday - 1)))
-  GROUP BY o.ad_client_id, o.ad_org_id, o.c_bpartner_id, o.c_order_id, o.documentno, o.dateordered, o.c_doctype_id, o.totallines]]></view>
+  WHERE c_doctype.docbasetype = 'SOO' AND (c_doctype.docsubtypeso NOT IN ('ON', 'OB', 'WR')))) AND (o.invoicerule = 'I' OR o.invoicerule = 'O' OR o.invoicerule = 'N' OR o.invoicerule = 'D' OR o.invoicerule = 'S' AND (si.invoicefrequency IS NULL OR si.invoicefrequency = 'D' OR si.invoicefrequency = 'W' OR si.invoicefrequency = 'T' AND trunc(o.dateordered) <= (TRUNC(now(), 'MM') + si.invoicedaycutoff - 1) AND trunc(now()) >= (TRUNC(o.dateordered, 'MM') + si.invoiceday - 1) OR trunc(o.dateordered) <= (TRUNC(now(), 'MM') + si.invoicedaycutoff + 14) AND trunc(now()) >= (TRUNC(o.dateordered, 'MM') + si.invoiceday + 14) OR si.invoicefrequency = 'M' AND trunc(o.dateordered) <= (TRUNC(now(), 'MM') + si.invoicedaycutoff - 1) AND trunc(now()) >= (TRUNC(o.dateordered, 'MM') + si.invoiceday - 1)))
+  GROUP BY o.ad_client_id, o.ad_org_id, o.c_bpartner_id, o.c_order_id, o.documentno, o.dateordered, o.c_doctype_id, o.totallines, o.grandtotal, l.c_tax_id, o.invoicerule, o.m_pricelist_id, c.c_currency_id
+ HAVING sum((l.qtyordered - l.qtyinvoiced) * l.priceactual) > 0 OR sum((l.qtydelivered - l.qtyinvoiced) * l.priceactual) > 0) sq
+   JOIN m_pricelist p ON sq.m_pricelist_id = p.m_pricelist_id
+   JOIN c_currency c ON sq.c_currency_id = c.c_currency_id]]></view>
   </database>
--- a/src-db/database/sourcedata/AD_COLUMN.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/sourcedata/AD_COLUMN.xml	Mon May 04 14:43:04 2009 +0200
@@ -262170,6 +262170,1874 @@
 <!--68142DE975336AAFE040007F01012F8D-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--68142DE975336AAFE040007F01012F8D--></AD_COLUMN>
 
+<!--682633A6E6879D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6879D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6879D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6879D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6879D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6879D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6879D31E040007F010061E4-->  <NAME><![CDATA[AD_Module_Install_ID]]></NAME>
+<!--682633A6E6879D31E040007F010061E4-->  <DESCRIPTION><![CDATA[Temporary table used when installing/updating modules]]></DESCRIPTION>
+<!--682633A6E6879D31E040007F010061E4-->  <HELP><![CDATA[This temporary table is used in the installation and update process for modules. It stores the information for the upcoming module.]]></HELP>
+<!--682633A6E6879D31E040007F010061E4-->  <COLUMNNAME><![CDATA[AD_Module_Install_ID]]></COLUMNNAME>
+<!--682633A6E6879D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E6879D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[13]]></AD_REFERENCE_ID>
+<!--682633A6E6879D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--682633A6E6879D31E040007F010061E4-->  <ISKEY><![CDATA[Y]]></ISKEY>
+<!--682633A6E6879D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6879D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6879D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--682633A6E6879D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6879D31E040007F010061E4-->  <SEQNO><![CDATA[10]]></SEQNO>
+<!--682633A6E6879D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6879D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6879D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6879D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[682633A6E6A89D31E040007F010061E4]]></AD_ELEMENT_ID>
+<!--682633A6E6879D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6879D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6879D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6879D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6879D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6879D31E040007F010061E4-->  <POSITION><![CDATA[1]]></POSITION>
+<!--682633A6E6879D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6879D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6889D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6889D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6889D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6889D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6889D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6889D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6889D31E040007F010061E4-->  <NAME><![CDATA[Client]]></NAME>
+<!--682633A6E6889D31E040007F010061E4-->  <DESCRIPTION><![CDATA[Client for this installation.]]></DESCRIPTION>
+<!--682633A6E6889D31E040007F010061E4-->  <HELP><![CDATA[A Client is a company or a legal entity. You cannot share data between Clients.]]></HELP>
+<!--682633A6E6889D31E040007F010061E4-->  <COLUMNNAME><![CDATA[AD_Client_ID]]></COLUMNNAME>
+<!--682633A6E6889D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E6889D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--682633A6E6889D31E040007F010061E4-->  <AD_VAL_RULE_ID><![CDATA[103]]></AD_VAL_RULE_ID>
+<!--682633A6E6889D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--682633A6E6889D31E040007F010061E4-->  <DEFAULTVALUE><![CDATA[@AD_CLIENT_ID@]]></DEFAULTVALUE>
+<!--682633A6E6889D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6889D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6889D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6889D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--682633A6E6889D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6889D31E040007F010061E4-->  <SEQNO><![CDATA[20]]></SEQNO>
+<!--682633A6E6889D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6889D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6889D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6889D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[102]]></AD_ELEMENT_ID>
+<!--682633A6E6889D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--682633A6E6889D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6889D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6889D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6889D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6889D31E040007F010061E4-->  <POSITION><![CDATA[2]]></POSITION>
+<!--682633A6E6889D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6889D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6899D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6899D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6899D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6899D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6899D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6899D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6899D31E040007F010061E4-->  <NAME><![CDATA[Organization]]></NAME>
+<!--682633A6E6899D31E040007F010061E4-->  <DESCRIPTION><![CDATA[Organizational entity within client]]></DESCRIPTION>
+<!--682633A6E6899D31E040007F010061E4-->  <HELP><![CDATA[An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.]]></HELP>
+<!--682633A6E6899D31E040007F010061E4-->  <COLUMNNAME><![CDATA[AD_Org_ID]]></COLUMNNAME>
+<!--682633A6E6899D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E6899D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--682633A6E6899D31E040007F010061E4-->  <AD_VAL_RULE_ID><![CDATA[104]]></AD_VAL_RULE_ID>
+<!--682633A6E6899D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--682633A6E6899D31E040007F010061E4-->  <DEFAULTVALUE><![CDATA[@AD_ORG_ID@]]></DEFAULTVALUE>
+<!--682633A6E6899D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6899D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6899D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6899D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--682633A6E6899D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6899D31E040007F010061E4-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--682633A6E6899D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6899D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6899D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6899D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[113]]></AD_ELEMENT_ID>
+<!--682633A6E6899D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--682633A6E6899D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6899D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6899D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6899D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6899D31E040007F010061E4-->  <POSITION><![CDATA[3]]></POSITION>
+<!--682633A6E6899D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6899D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E68A9D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E68A9D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E68A9D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E68A9D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E68A9D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E68A9D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E68A9D31E040007F010061E4-->  <NAME><![CDATA[Active]]></NAME>
+<!--682633A6E68A9D31E040007F010061E4-->  <DESCRIPTION><![CDATA[A flag indicating whether this record is available for use or de-activated.]]></DESCRIPTION>
+<!--682633A6E68A9D31E040007F010061E4-->  <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>
+<!--682633A6E68A9D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Isactive]]></COLUMNNAME>
+<!--682633A6E68A9D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E68A9D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--682633A6E68A9D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--682633A6E68A9D31E040007F010061E4-->  <DEFAULTVALUE><![CDATA[Y]]></DEFAULTVALUE>
+<!--682633A6E68A9D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E68A9D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E68A9D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E68A9D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E68A9D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E68A9D31E040007F010061E4-->  <SEQNO><![CDATA[40]]></SEQNO>
+<!--682633A6E68A9D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E68A9D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E68A9D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E68A9D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[348]]></AD_ELEMENT_ID>
+<!--682633A6E68A9D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E68A9D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E68A9D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E68A9D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E68A9D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E68A9D31E040007F010061E4-->  <POSITION><![CDATA[4]]></POSITION>
+<!--682633A6E68A9D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E68A9D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E68B9D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E68B9D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E68B9D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E68B9D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E68B9D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E68B9D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E68B9D31E040007F010061E4-->  <NAME><![CDATA[Creation Date]]></NAME>
+<!--682633A6E68B9D31E040007F010061E4-->  <DESCRIPTION><![CDATA[The date that this record is completed.]]></DESCRIPTION>
+<!--682633A6E68B9D31E040007F010061E4-->  <HELP><![CDATA[The Created field indicates the date that this record was created.]]></HELP>
+<!--682633A6E68B9D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Created]]></COLUMNNAME>
+<!--682633A6E68B9D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E68B9D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
+<!--682633A6E68B9D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
+<!--682633A6E68B9D31E040007F010061E4-->  <DEFAULTVALUE><![CDATA[SYSDATE]]></DEFAULTVALUE>
+<!--682633A6E68B9D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E68B9D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E68B9D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E68B9D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--682633A6E68B9D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E68B9D31E040007F010061E4-->  <SEQNO><![CDATA[50]]></SEQNO>
+<!--682633A6E68B9D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E68B9D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E68B9D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E68B9D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[245]]></AD_ELEMENT_ID>
+<!--682633A6E68B9D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E68B9D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E68B9D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E68B9D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E68B9D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E68B9D31E040007F010061E4-->  <POSITION><![CDATA[5]]></POSITION>
+<!--682633A6E68B9D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E68B9D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E68C9D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E68C9D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E68C9D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E68C9D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E68C9D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E68C9D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E68C9D31E040007F010061E4-->  <NAME><![CDATA[Created By]]></NAME>
+<!--682633A6E68C9D31E040007F010061E4-->  <DESCRIPTION><![CDATA[User who created this records]]></DESCRIPTION>
+<!--682633A6E68C9D31E040007F010061E4-->  <HELP><![CDATA[The Created By field indicates the user who created this record.]]></HELP>
+<!--682633A6E68C9D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Createdby]]></COLUMNNAME>
+<!--682633A6E68C9D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E68C9D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--682633A6E68C9D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--682633A6E68C9D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E68C9D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E68C9D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E68C9D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--682633A6E68C9D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E68C9D31E040007F010061E4-->  <SEQNO><![CDATA[60]]></SEQNO>
+<!--682633A6E68C9D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E68C9D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E68C9D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E68C9D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[246]]></AD_ELEMENT_ID>
+<!--682633A6E68C9D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E68C9D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E68C9D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E68C9D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E68C9D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E68C9D31E040007F010061E4-->  <POSITION><![CDATA[6]]></POSITION>
+<!--682633A6E68C9D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E68C9D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E68D9D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E68D9D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E68D9D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E68D9D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E68D9D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E68D9D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E68D9D31E040007F010061E4-->  <NAME><![CDATA[Updated]]></NAME>
+<!--682633A6E68D9D31E040007F010061E4-->  <DESCRIPTION><![CDATA[x not implemented]]></DESCRIPTION>
+<!--682633A6E68D9D31E040007F010061E4-->  <HELP><![CDATA[The Updated field indicates the date that this record was updated.]]></HELP>
+<!--682633A6E68D9D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Updated]]></COLUMNNAME>
+<!--682633A6E68D9D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E68D9D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
+<!--682633A6E68D9D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
+<!--682633A6E68D9D31E040007F010061E4-->  <DEFAULTVALUE><![CDATA[SYSDATE]]></DEFAULTVALUE>
+<!--682633A6E68D9D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E68D9D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E68D9D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E68D9D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--682633A6E68D9D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E68D9D31E040007F010061E4-->  <SEQNO><![CDATA[70]]></SEQNO>
+<!--682633A6E68D9D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E68D9D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E68D9D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E68D9D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[607]]></AD_ELEMENT_ID>
+<!--682633A6E68D9D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E68D9D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E68D9D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E68D9D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E68D9D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E68D9D31E040007F010061E4-->  <POSITION><![CDATA[7]]></POSITION>
+<!--682633A6E68D9D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E68D9D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E68E9D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E68E9D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E68E9D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E68E9D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E68E9D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E68E9D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E68E9D31E040007F010061E4-->  <NAME><![CDATA[Updated By]]></NAME>
+<!--682633A6E68E9D31E040007F010061E4-->  <DESCRIPTION><![CDATA[User who updated this records]]></DESCRIPTION>
+<!--682633A6E68E9D31E040007F010061E4-->  <HELP><![CDATA[The Updated By field indicates the user who updated this record.]]></HELP>
+<!--682633A6E68E9D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Updatedby]]></COLUMNNAME>
+<!--682633A6E68E9D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E68E9D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--682633A6E68E9D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--682633A6E68E9D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E68E9D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E68E9D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E68E9D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--682633A6E68E9D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E68E9D31E040007F010061E4-->  <SEQNO><![CDATA[80]]></SEQNO>
+<!--682633A6E68E9D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E68E9D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E68E9D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E68E9D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[608]]></AD_ELEMENT_ID>
+<!--682633A6E68E9D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E68E9D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E68E9D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E68E9D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E68E9D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E68E9D31E040007F010061E4-->  <POSITION><![CDATA[8]]></POSITION>
+<!--682633A6E68E9D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E68E9D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E68F9D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E68F9D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E68F9D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E68F9D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E68F9D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E68F9D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E68F9D31E040007F010061E4-->  <NAME><![CDATA[Module]]></NAME>
+<!--682633A6E68F9D31E040007F010061E4-->  <DESCRIPTION><![CDATA[Module]]></DESCRIPTION>
+<!--682633A6E68F9D31E040007F010061E4-->  <HELP><![CDATA[Indicates the module the element forms part of.]]></HELP>
+<!--682633A6E68F9D31E040007F010061E4-->  <COLUMNNAME><![CDATA[AD_Module_ID]]></COLUMNNAME>
+<!--682633A6E68F9D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E68F9D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
+<!--682633A6E68F9D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--682633A6E68F9D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E68F9D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E68F9D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E68F9D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--682633A6E68F9D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E68F9D31E040007F010061E4-->  <SEQNO><![CDATA[90]]></SEQNO>
+<!--682633A6E68F9D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E68F9D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E68F9D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E68F9D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[565E666A619A2693E040007F01002851]]></AD_ELEMENT_ID>
+<!--682633A6E68F9D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E68F9D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E68F9D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E68F9D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E68F9D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E68F9D31E040007F010061E4-->  <POSITION><![CDATA[9]]></POSITION>
+<!--682633A6E68F9D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E68F9D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6909D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6909D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6909D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6909D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6909D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6909D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6909D31E040007F010061E4-->  <NAME><![CDATA[Name]]></NAME>
+<!--682633A6E6909D31E040007F010061E4-->  <DESCRIPTION><![CDATA[A non-unique identifier for a record/document often used as a search tool.]]></DESCRIPTION>
+<!--682633A6E6909D31E040007F010061E4-->  <HELP><![CDATA[A more descriptive identifier (that does need to be unique) of a record/document that is used as a default search option along with the search key (that is unique and mostly shorter). It is up to 60 characters in length.]]></HELP>
+<!--682633A6E6909D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Name]]></COLUMNNAME>
+<!--682633A6E6909D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E6909D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
+<!--682633A6E6909D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[60]]></FIELDLENGTH>
+<!--682633A6E6909D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6909D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6909D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6909D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E6909D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
+<!--682633A6E6909D31E040007F010061E4-->  <SEQNO><![CDATA[100]]></SEQNO>
+<!--682633A6E6909D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6909D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6909D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6909D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[469]]></AD_ELEMENT_ID>
+<!--682633A6E6909D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6909D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6909D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6909D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6909D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6909D31E040007F010061E4-->  <POSITION><![CDATA[10]]></POSITION>
+<!--682633A6E6909D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6909D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6919D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6919D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6919D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6919D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6919D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6919D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6919D31E040007F010061E4-->  <NAME><![CDATA[Version]]></NAME>
+<!--682633A6E6919D31E040007F010061E4-->  <DESCRIPTION><![CDATA[Version of the table definition]]></DESCRIPTION>
+<!--682633A6E6919D31E040007F010061E4-->  <HELP><![CDATA[The Version indicates the version of this table definition.]]></HELP>
+<!--682633A6E6919D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Version]]></COLUMNNAME>
+<!--682633A6E6919D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E6919D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
+<!--682633A6E6919D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[10]]></FIELDLENGTH>
+<!--682633A6E6919D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6919D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6919D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6919D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E6919D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
+<!--682633A6E6919D31E040007F010061E4-->  <SEQNO><![CDATA[110]]></SEQNO>
+<!--682633A6E6919D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6919D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6919D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6919D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[624]]></AD_ELEMENT_ID>
+<!--682633A6E6919D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6919D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6919D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6919D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6919D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6919D31E040007F010061E4-->  <POSITION><![CDATA[11]]></POSITION>
+<!--682633A6E6919D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6919D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6929D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6929D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6929D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6929D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6929D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6929D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6929D31E040007F010061E4-->  <NAME><![CDATA[Description]]></NAME>
+<!--682633A6E6929D31E040007F010061E4-->  <DESCRIPTION><![CDATA[A space to write additional related information.]]></DESCRIPTION>
+<!--682633A6E6929D31E040007F010061E4-->  <HELP><![CDATA[A description is limited to 255 characters.]]></HELP>
+<!--682633A6E6929D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Description]]></COLUMNNAME>
+<!--682633A6E6929D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E6929D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
+<!--682633A6E6929D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[255]]></FIELDLENGTH>
+<!--682633A6E6929D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6929D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6929D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6929D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E6929D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6929D31E040007F010061E4-->  <SEQNO><![CDATA[120]]></SEQNO>
+<!--682633A6E6929D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6929D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6929D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6929D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[275]]></AD_ELEMENT_ID>
+<!--682633A6E6929D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6929D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6929D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6929D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6929D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6929D31E040007F010061E4-->  <POSITION><![CDATA[12]]></POSITION>
+<!--682633A6E6929D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6929D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6939D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6939D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6939D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6939D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6939D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6939D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6939D31E040007F010061E4-->  <NAME><![CDATA[Help/Comment]]></NAME>
+<!--682633A6E6939D31E040007F010061E4-->  <DESCRIPTION><![CDATA[A comment that adds additional information to help users work with fields.]]></DESCRIPTION>
+<!--682633A6E6939D31E040007F010061E4-->  <HELP><![CDATA[The Help field contains a hint, comment or help about the use of this item.]]></HELP>
+<!--682633A6E6939D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Help]]></COLUMNNAME>
+<!--682633A6E6939D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E6939D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[14]]></AD_REFERENCE_ID>
+<!--682633A6E6939D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[2000]]></FIELDLENGTH>
+<!--682633A6E6939D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6939D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6939D31E040007F010061E4-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--682633A6E6939D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E6939D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6939D31E040007F010061E4-->  <SEQNO><![CDATA[130]]></SEQNO>
+<!--682633A6E6939D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6939D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6939D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6939D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[326]]></AD_ELEMENT_ID>
+<!--682633A6E6939D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6939D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6939D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6939D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6939D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6939D31E040007F010061E4-->  <POSITION><![CDATA[13]]></POSITION>
+<!--682633A6E6939D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6939D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6949D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6949D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6949D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6949D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6949D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6949D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6949D31E040007F010061E4-->  <NAME><![CDATA[URL]]></NAME>
+<!--682633A6E6949D31E040007F010061E4-->  <DESCRIPTION><![CDATA[An address which can be accessed via internet.]]></DESCRIPTION>
+<!--682633A6E6949D31E040007F010061E4-->  <HELP><![CDATA[The URL defines an online address for this element.]]></HELP>
+<!--682633A6E6949D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Url]]></COLUMNNAME>
+<!--682633A6E6949D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E6949D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
+<!--682633A6E6949D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[300]]></FIELDLENGTH>
+<!--682633A6E6949D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6949D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6949D31E040007F010061E4-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--682633A6E6949D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E6949D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6949D31E040007F010061E4-->  <SEQNO><![CDATA[140]]></SEQNO>
+<!--682633A6E6949D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6949D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6949D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6949D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[983]]></AD_ELEMENT_ID>
+<!--682633A6E6949D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6949D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6949D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6949D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6949D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6949D31E040007F010061E4-->  <POSITION><![CDATA[14]]></POSITION>
+<!--682633A6E6949D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6949D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6959D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6959D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6959D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6959D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6959D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6959D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6959D31E040007F010061E4-->  <NAME><![CDATA[Type]]></NAME>
+<!--682633A6E6959D31E040007F010061E4-->  <DESCRIPTION><![CDATA[A distinct item characteristic used for processes and sometimes grouped within a category.]]></DESCRIPTION>
+<!--682633A6E6959D31E040007F010061E4-->  <HELP><![CDATA[The Type indicates the type of validation that will occur.  This can be SQL, Java Script or Java Language.]]></HELP>
+<!--682633A6E6959D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Type]]></COLUMNNAME>
+<!--682633A6E6959D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E6959D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
+<!--682633A6E6959D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[60]]></FIELDLENGTH>
+<!--682633A6E6959D31E040007F010061E4-->  <DEFAULTVALUE><![CDATA[M]]></DEFAULTVALUE>
+<!--682633A6E6959D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6959D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6959D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6959D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E6959D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6959D31E040007F010061E4-->  <SEQNO><![CDATA[150]]></SEQNO>
+<!--682633A6E6959D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6959D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6959D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6959D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[600]]></AD_ELEMENT_ID>
+<!--682633A6E6959D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6959D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6959D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6959D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6959D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6959D31E040007F010061E4-->  <POSITION><![CDATA[15]]></POSITION>
+<!--682633A6E6959D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6959D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6969D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6969D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6969D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6969D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6969D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6969D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6969D31E040007F010061E4-->  <NAME><![CDATA[License text]]></NAME>
+<!--682633A6E6969D31E040007F010061E4-->  <DESCRIPTION><![CDATA[Module license text]]></DESCRIPTION>
+<!--682633A6E6969D31E040007F010061E4-->  <HELP><![CDATA[Contains the text of the license the module is release with, this information is additional to the license type.]]></HELP>
+<!--682633A6E6969D31E040007F010061E4-->  <COLUMNNAME><![CDATA[License]]></COLUMNNAME>
+<!--682633A6E6969D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E6969D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[14]]></AD_REFERENCE_ID>
+<!--682633A6E6969D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[2000]]></FIELDLENGTH>
+<!--682633A6E6969D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6969D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6969D31E040007F010061E4-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--682633A6E6969D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E6969D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6969D31E040007F010061E4-->  <SEQNO><![CDATA[160]]></SEQNO>
+<!--682633A6E6969D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6969D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6969D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6969D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[565E666A619D2693E040007F01002851]]></AD_ELEMENT_ID>
+<!--682633A6E6969D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6969D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6969D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6969D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6969D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6969D31E040007F010061E4-->  <POSITION><![CDATA[16]]></POSITION>
+<!--682633A6E6969D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6969D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6979D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6979D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6979D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6979D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6979D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6979D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6979D31E040007F010061E4-->  <NAME><![CDATA[In Development]]></NAME>
+<!--682633A6E6979D31E040007F010061E4-->  <DESCRIPTION><![CDATA[Determines wether the module is currently in development process.]]></DESCRIPTION>
+<!--682633A6E6979D31E040007F010061E4-->  <HELP><![CDATA[Determines wether the module is currently in development process. Only the modules that currently are being developed will be exported.]]></HELP>
+<!--682633A6E6979D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Isindevelopment]]></COLUMNNAME>
+<!--682633A6E6979D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E6979D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--682633A6E6979D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--682633A6E6979D31E040007F010061E4-->  <DEFAULTVALUE><![CDATA[N]]></DEFAULTVALUE>
+<!--682633A6E6979D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6979D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6979D31E040007F010061E4-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--682633A6E6979D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E6979D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6979D31E040007F010061E4-->  <SEQNO><![CDATA[170]]></SEQNO>
+<!--682633A6E6979D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6979D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6979D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6979D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[565E666A619B2693E040007F01002851]]></AD_ELEMENT_ID>
+<!--682633A6E6979D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6979D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6979D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6979D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6979D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6979D31E040007F010061E4-->  <POSITION><![CDATA[17]]></POSITION>
+<!--682633A6E6979D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6979D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6989D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6989D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6989D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6989D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6989D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6989D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6989D31E040007F010061E4-->  <NAME><![CDATA[Default]]></NAME>
+<!--682633A6E6989D31E040007F010061E4-->  <DESCRIPTION><![CDATA[A value that is shown whenever a record is created.]]></DESCRIPTION>
+<!--682633A6E6989D31E040007F010061E4-->  <HELP><![CDATA[The Default Checkbox indicates if this record will be used as a default value.]]></HELP>
+<!--682633A6E6989D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Isdefault]]></COLUMNNAME>
+<!--682633A6E6989D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E6989D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--682633A6E6989D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--682633A6E6989D31E040007F010061E4-->  <DEFAULTVALUE><![CDATA[N]]></DEFAULTVALUE>
+<!--682633A6E6989D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6989D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6989D31E040007F010061E4-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--682633A6E6989D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E6989D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6989D31E040007F010061E4-->  <SEQNO><![CDATA[180]]></SEQNO>
+<!--682633A6E6989D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6989D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6989D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6989D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[1103]]></AD_ELEMENT_ID>
+<!--682633A6E6989D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6989D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6989D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6989D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6989D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6989D31E040007F010061E4-->  <POSITION><![CDATA[18]]></POSITION>
+<!--682633A6E6989D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6989D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6999D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6999D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6999D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6999D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6999D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6999D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6999D31E040007F010061E4-->  <NAME><![CDATA[Sequence Number]]></NAME>
+<!--682633A6E6999D31E040007F010061E4-->  <DESCRIPTION><![CDATA[The order of records in a specified document.]]></DESCRIPTION>
+<!--682633A6E6999D31E040007F010061E4-->  <HELP><![CDATA[The Sequence indicates the order of records]]></HELP>
+<!--682633A6E6999D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Seqno]]></COLUMNNAME>
+<!--682633A6E6999D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E6999D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[22]]></AD_REFERENCE_ID>
+<!--682633A6E6999D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[12]]></FIELDLENGTH>
+<!--682633A6E6999D31E040007F010061E4-->  <DEFAULTVALUE><![CDATA[@SQL=SELECT COALESCE(MAX(SEQNO),0)+10 AS DefaultValue FROM AD_MODULE_INSTALL WHERE xxParentColumn=@xxParentColumn@]]></DEFAULTVALUE>
+<!--682633A6E6999D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6999D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6999D31E040007F010061E4-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--682633A6E6999D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E6999D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6999D31E040007F010061E4-->  <SEQNO><![CDATA[190]]></SEQNO>
+<!--682633A6E6999D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6999D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6999D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6999D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[566]]></AD_ELEMENT_ID>
+<!--682633A6E6999D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6999D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6999D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6999D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6999D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6999D31E040007F010061E4-->  <POSITION><![CDATA[19]]></POSITION>
+<!--682633A6E6999D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6999D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E69A9D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E69A9D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E69A9D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E69A9D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E69A9D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E69A9D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E69A9D31E040007F010061E4-->  <NAME><![CDATA[Java Package]]></NAME>
+<!--682633A6E69A9D31E040007F010061E4-->  <DESCRIPTION><![CDATA[Java package for the module]]></DESCRIPTION>
+<!--682633A6E69A9D31E040007F010061E4-->  <HELP><![CDATA[Is the Java package the module will use.]]></HELP>
+<!--682633A6E69A9D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Javapackage]]></COLUMNNAME>
+<!--682633A6E69A9D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E69A9D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
+<!--682633A6E69A9D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[255]]></FIELDLENGTH>
+<!--682633A6E69A9D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E69A9D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E69A9D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E69A9D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E69A9D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E69A9D31E040007F010061E4-->  <SEQNO><![CDATA[200]]></SEQNO>
+<!--682633A6E69A9D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E69A9D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E69A9D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E69A9D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[56EB0A0CAC4DB232E040007F01001BD8]]></AD_ELEMENT_ID>
+<!--682633A6E69A9D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E69A9D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E69A9D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E69A9D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E69A9D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E69A9D31E040007F010061E4-->  <POSITION><![CDATA[20]]></POSITION>
+<!--682633A6E69A9D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E69A9D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E69B9D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E69B9D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E69B9D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E69B9D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E69B9D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E69B9D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E69B9D31E040007F010061E4-->  <NAME><![CDATA[License Type]]></NAME>
+<!--682633A6E69B9D31E040007F010061E4-->  <DESCRIPTION><![CDATA[Type of license]]></DESCRIPTION>
+<!--682633A6E69B9D31E040007F010061E4-->  <HELP><![CDATA[There is a list of possible licenses to select one of them for the current element.]]></HELP>
+<!--682633A6E69B9D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Licensetype]]></COLUMNNAME>
+<!--682633A6E69B9D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E69B9D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
+<!--682633A6E69B9D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[60]]></FIELDLENGTH>
+<!--682633A6E69B9D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E69B9D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E69B9D31E040007F010061E4-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--682633A6E69B9D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E69B9D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E69B9D31E040007F010061E4-->  <SEQNO><![CDATA[210]]></SEQNO>
+<!--682633A6E69B9D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E69B9D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E69B9D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E69B9D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[56EB0A0CAC4CB232E040007F01001BD8]]></AD_ELEMENT_ID>
+<!--682633A6E69B9D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E69B9D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E69B9D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E69B9D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E69B9D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E69B9D31E040007F010061E4-->  <POSITION><![CDATA[21]]></POSITION>
+<!--682633A6E69B9D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E69B9D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E69C9D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E69C9D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E69C9D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E69C9D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E69C9D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E69C9D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E69C9D31E040007F010061E4-->  <NAME><![CDATA[Author]]></NAME>
+<!--682633A6E69C9D31E040007F010061E4-->  <DESCRIPTION><![CDATA[Module author]]></DESCRIPTION>
+<!--682633A6E69C9D31E040007F010061E4-->  <HELP><![CDATA[The author of the module is the person or company that created and maintains the module.]]></HELP>
+<!--682633A6E69C9D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Author]]></COLUMNNAME>
+<!--682633A6E69C9D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E69C9D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[14]]></AD_REFERENCE_ID>
+<!--682633A6E69C9D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[2000]]></FIELDLENGTH>
+<!--682633A6E69C9D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E69C9D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E69C9D31E040007F010061E4-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--682633A6E69C9D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E69C9D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E69C9D31E040007F010061E4-->  <SEQNO><![CDATA[220]]></SEQNO>
+<!--682633A6E69C9D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E69C9D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E69C9D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E69C9D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[56EB0A0CAC4EB232E040007F01001BD8]]></AD_ELEMENT_ID>
+<!--682633A6E69C9D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E69C9D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E69C9D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E69C9D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E69C9D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E69C9D31E040007F010061E4-->  <POSITION><![CDATA[22]]></POSITION>
+<!--682633A6E69C9D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E69C9D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E69D9D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E69D9D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E69D9D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E69D9D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E69D9D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E69D9D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E69D9D31E040007F010061E4-->  <NAME><![CDATA[Status]]></NAME>
+<!--682633A6E69D9D31E040007F010061E4-->  <DESCRIPTION><![CDATA[A defined state or position of a payment.]]></DESCRIPTION>
+<!--682633A6E69D9D31E040007F010061E4-->  <HELP><![CDATA[Current status of a debt/payment.]]></HELP>
+<!--682633A6E69D9D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Status]]></COLUMNNAME>
+<!--682633A6E69D9D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E69D9D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
+<!--682633A6E69D9D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[60]]></FIELDLENGTH>
+<!--682633A6E69D9D31E040007F010061E4-->  <DEFAULTVALUE><![CDATA[I]]></DEFAULTVALUE>
+<!--682633A6E69D9D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E69D9D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E69D9D31E040007F010061E4-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--682633A6E69D9D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E69D9D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E69D9D31E040007F010061E4-->  <SEQNO><![CDATA[230]]></SEQNO>
+<!--682633A6E69D9D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E69D9D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E69D9D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E69D9D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[800632]]></AD_ELEMENT_ID>
+<!--682633A6E69D9D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E69D9D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E69D9D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E69D9D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E69D9D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E69D9D31E040007F010061E4-->  <POSITION><![CDATA[23]]></POSITION>
+<!--682633A6E69D9D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E69D9D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E69E9D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E69E9D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E69E9D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E69E9D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E69E9D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E69E9D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E69E9D31E040007F010061E4-->  <NAME><![CDATA[Available Update]]></NAME>
+<!--682633A6E69E9D31E040007F010061E4-->  <DESCRIPTION><![CDATA[New version to update the current module]]></DESCRIPTION>
+<!--682633A6E69E9D31E040007F010061E4-->  <HELP><![CDATA[Indicates whether and which new version is available to update a module]]></HELP>
+<!--682633A6E69E9D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Update_Available]]></COLUMNNAME>
+<!--682633A6E69E9D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E69E9D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
+<!--682633A6E69E9D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[10]]></FIELDLENGTH>
+<!--682633A6E69E9D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E69E9D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E69E9D31E040007F010061E4-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--682633A6E69E9D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E69E9D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E69E9D31E040007F010061E4-->  <SEQNO><![CDATA[240]]></SEQNO>
+<!--682633A6E69E9D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E69E9D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E69E9D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E69E9D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[57CB1DF9C8CE1174E040007F0100423E]]></AD_ELEMENT_ID>
+<!--682633A6E69E9D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E69E9D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E69E9D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E69E9D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E69E9D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E69E9D31E040007F010061E4-->  <POSITION><![CDATA[24]]></POSITION>
+<!--682633A6E69E9D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E69E9D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E69F9D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E69F9D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E69F9D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E69F9D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E69F9D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E69F9D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E69F9D31E040007F010061E4-->  <NAME><![CDATA[Translation Required]]></NAME>
+<!--682633A6E69F9D31E040007F010061E4-->  <DESCRIPTION><![CDATA[This module requires of tranlsation]]></DESCRIPTION>
+<!--682633A6E69F9D31E040007F010061E4-->  <HELP><![CDATA[The current module contains user interface elements that can be translated to different languages.]]></HELP>
+<!--682633A6E69F9D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Istranslationrequired]]></COLUMNNAME>
+<!--682633A6E69F9D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E69F9D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--682633A6E69F9D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--682633A6E69F9D31E040007F010061E4-->  <DEFAULTVALUE><![CDATA[N]]></DEFAULTVALUE>
+<!--682633A6E69F9D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E69F9D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E69F9D31E040007F010061E4-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--682633A6E69F9D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E69F9D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E69F9D31E040007F010061E4-->  <SEQNO><![CDATA[250]]></SEQNO>
+<!--682633A6E69F9D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E69F9D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E69F9D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E69F9D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[58E0A6DD58CA8015E040007F01006F9E]]></AD_ELEMENT_ID>
+<!--682633A6E69F9D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E69F9D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E69F9D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E69F9D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E69F9D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E69F9D31E040007F010061E4-->  <POSITION><![CDATA[25]]></POSITION>
+<!--682633A6E69F9D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E69F9D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6A09D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6A09D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6A09D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6A09D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6A09D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6A09D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6A09D31E040007F010061E4-->  <NAME><![CDATA[Language]]></NAME>
+<!--682633A6E6A09D31E040007F010061E4-->  <DESCRIPTION><![CDATA[A method of communication being used.]]></DESCRIPTION>
+<!--682633A6E6A09D31E040007F010061E4-->  <HELP><![CDATA[The Language identifies the language to use for display]]></HELP>
+<!--682633A6E6A09D31E040007F010061E4-->  <COLUMNNAME><![CDATA[AD_Language]]></COLUMNNAME>
+<!--682633A6E6A09D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E6A09D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
+<!--682633A6E6A09D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[6]]></FIELDLENGTH>
+<!--682633A6E6A09D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6A09D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6A09D31E040007F010061E4-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--682633A6E6A09D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E6A09D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
+<!--682633A6E6A09D31E040007F010061E4-->  <SEQNO><![CDATA[260]]></SEQNO>
+<!--682633A6E6A09D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6A09D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6A09D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6A09D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[109]]></AD_ELEMENT_ID>
+<!--682633A6E6A09D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6A09D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6A09D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6A09D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6A09D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6A09D31E040007F010061E4-->  <POSITION><![CDATA[26]]></POSITION>
+<!--682633A6E6A09D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6A09D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6A19D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6A19D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6A19D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6A19D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6A19D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6A19D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6A19D31E040007F010061E4-->  <NAME><![CDATA[Has chart of accounts]]></NAME>
+<!--682633A6E6A19D31E040007F010061E4-->  <DESCRIPTION><![CDATA[The module contains a chart of accounts]]></DESCRIPTION>
+<!--682633A6E6A19D31E040007F010061E4-->  <HELP><![CDATA[The module contains a chart of accounts]]></HELP>
+<!--682633A6E6A19D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Haschartofaccounts]]></COLUMNNAME>
+<!--682633A6E6A19D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E6A19D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--682633A6E6A19D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--682633A6E6A19D31E040007F010061E4-->  <DEFAULTVALUE><![CDATA[N]]></DEFAULTVALUE>
+<!--682633A6E6A19D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6A19D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6A19D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6A19D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E6A19D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6A19D31E040007F010061E4-->  <SEQNO><![CDATA[270]]></SEQNO>
+<!--682633A6E6A19D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6A19D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6A19D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6A19D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[59CB79777A21C96CE040007F0100347D]]></AD_ELEMENT_ID>
+<!--682633A6E6A19D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6A19D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6A19D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6A19D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6A19D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6A19D31E040007F010061E4-->  <POSITION><![CDATA[27]]></POSITION>
+<!--682633A6E6A19D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6A19D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6A29D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6A29D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6A29D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6A29D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6A29D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6A29D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6A29D31E040007F010061E4-->  <NAME><![CDATA[Is translation module]]></NAME>
+<!--682633A6E6A29D31E040007F010061E4-->  <DESCRIPTION><![CDATA[This is a translation module]]></DESCRIPTION>
+<!--682633A6E6A29D31E040007F010061E4-->  <HELP><![CDATA[This module is a translation module]]></HELP>
+<!--682633A6E6A29D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Istranslationmodule]]></COLUMNNAME>
+<!--682633A6E6A29D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E6A29D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--682633A6E6A29D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--682633A6E6A29D31E040007F010061E4-->  <DEFAULTVALUE><![CDATA[N]]></DEFAULTVALUE>
+<!--682633A6E6A29D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6A29D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6A29D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6A29D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E6A29D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6A29D31E040007F010061E4-->  <SEQNO><![CDATA[280]]></SEQNO>
+<!--682633A6E6A29D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6A29D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6A29D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6A29D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[59CB79777A1FC96CE040007F0100347D]]></AD_ELEMENT_ID>
+<!--682633A6E6A29D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6A29D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6A29D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6A29D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6A29D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6A29D31E040007F010061E4-->  <POSITION><![CDATA[28]]></POSITION>
+<!--682633A6E6A29D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6A29D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6A39D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6A39D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6A39D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6A39D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6A39D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6A39D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6A39D31E040007F010061E4-->  <NAME><![CDATA[Has reference data]]></NAME>
+<!--682633A6E6A39D31E040007F010061E4-->  <DESCRIPTION><![CDATA[The module contains reference data]]></DESCRIPTION>
+<!--682633A6E6A39D31E040007F010061E4-->  <HELP><![CDATA[The module contains reference data]]></HELP>
+<!--682633A6E6A39D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Hasreferencedata]]></COLUMNNAME>
+<!--682633A6E6A39D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E6A39D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--682633A6E6A39D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--682633A6E6A39D31E040007F010061E4-->  <DEFAULTVALUE><![CDATA[N]]></DEFAULTVALUE>
+<!--682633A6E6A39D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6A39D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6A39D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6A39D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E6A39D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6A39D31E040007F010061E4-->  <SEQNO><![CDATA[290]]></SEQNO>
+<!--682633A6E6A39D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6A39D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6A39D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6A39D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[59CB79777A20C96CE040007F0100347D]]></AD_ELEMENT_ID>
+<!--682633A6E6A39D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6A39D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6A39D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6A39D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6A39D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6A39D31E040007F010061E4-->  <POSITION><![CDATA[29]]></POSITION>
+<!--682633A6E6A39D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6A39D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6A49D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6A49D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6A49D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6A49D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6A49D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6A49D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6A49D31E040007F010061E4-->  <NAME><![CDATA[Register Module]]></NAME>
+<!--682633A6E6A49D31E040007F010061E4-->  <DESCRIPTION><![CDATA[Indicates whether the module is registered in the Central Repository]]></DESCRIPTION>
+<!--682633A6E6A49D31E040007F010061E4-->  <HELP><![CDATA[Indicates whether the module is registered in the Central Repository and in case it is not, it allows to register it.]]></HELP>
+<!--682633A6E6A49D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Isregistered]]></COLUMNNAME>
+<!--682633A6E6A49D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E6A49D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--682633A6E6A49D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--682633A6E6A49D31E040007F010061E4-->  <DEFAULTVALUE><![CDATA[N]]></DEFAULTVALUE>
+<!--682633A6E6A49D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6A49D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6A49D31E040007F010061E4-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--682633A6E6A49D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E6A49D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6A49D31E040007F010061E4-->  <SEQNO><![CDATA[300]]></SEQNO>
+<!--682633A6E6A49D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6A49D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6A49D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6A49D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[59D46A26C1FABF9FE040007F010054FA]]></AD_ELEMENT_ID>
+<!--682633A6E6A49D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6A49D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6A49D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6A49D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6A49D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6A49D31E040007F010061E4-->  <POSITION><![CDATA[30]]></POSITION>
+<!--682633A6E6A49D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6A49D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6A59D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6A59D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6A59D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6A59D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6A59D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6A59D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6A59D31E040007F010061E4-->  <NAME><![CDATA[Update Information]]></NAME>
+<!--682633A6E6A59D31E040007F010061E4-->  <DESCRIPTION><![CDATA[Information about the update]]></DESCRIPTION>
+<!--682633A6E6A59D31E040007F010061E4-->  <HELP><![CDATA[Information about the update, this information should include what is new for the new version.]]></HELP>
+<!--682633A6E6A59D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Updateinfo]]></COLUMNNAME>
+<!--682633A6E6A59D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E6A59D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[14]]></AD_REFERENCE_ID>
+<!--682633A6E6A59D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[2000]]></FIELDLENGTH>
+<!--682633A6E6A59D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6A59D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6A59D31E040007F010061E4-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--682633A6E6A59D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E6A59D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6A59D31E040007F010061E4-->  <SEQNO><![CDATA[310]]></SEQNO>
+<!--682633A6E6A59D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6A59D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6A59D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6A59D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[57C8E0FB1425DE03E040007F01001B6B]]></AD_ELEMENT_ID>
+<!--682633A6E6A59D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6A59D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6A59D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6A59D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6A59D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6A59D31E040007F010061E4-->  <POSITION><![CDATA[31]]></POSITION>
+<!--682633A6E6A59D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6A59D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6A69D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6A69D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6A69D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6A69D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6A69D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6A69D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6A69D31E040007F010061E4-->  <NAME><![CDATA[Update Version]]></NAME>
+<!--682633A6E6A69D31E040007F010061E4-->  <DESCRIPTION><![CDATA[Update Version]]></DESCRIPTION>
+<!--682633A6E6A69D31E040007F010061E4-->  <HELP><![CDATA[Identifier for the Update Version]]></HELP>
+<!--682633A6E6A69D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Update_Ver_ID]]></COLUMNNAME>
+<!--682633A6E6A69D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E6A69D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
+<!--682633A6E6A69D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--682633A6E6A69D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6A69D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6A69D31E040007F010061E4-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--682633A6E6A69D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E6A69D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6A69D31E040007F010061E4-->  <SEQNO><![CDATA[320]]></SEQNO>
+<!--682633A6E6A69D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6A69D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6A69D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6A69D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[5B04EA553995A5A8E040007F01007F3D]]></AD_ELEMENT_ID>
+<!--682633A6E6A69D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6A69D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6A69D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6A69D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6A69D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6A69D31E040007F010061E4-->  <POSITION><![CDATA[32]]></POSITION>
+<!--682633A6E6A69D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6A69D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6A79D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6A79D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6A79D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6A79D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6A79D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6A79D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6A79D31E040007F010061E4-->  <NAME><![CDATA[Reference Data Description]]></NAME>
+<!--682633A6E6A79D31E040007F010061E4-->  <DESCRIPTION><![CDATA[Description for the reference data contained within the module]]></DESCRIPTION>
+<!--682633A6E6A79D31E040007F010061E4-->  <HELP><![CDATA[Description for the reference data contained within the module. When a module contains reference data this field maintains a description of this data and its purpose.]]></HELP>
+<!--682633A6E6A79D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Referencedatainfo]]></COLUMNNAME>
+<!--682633A6E6A79D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--682633A6E6A79D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[14]]></AD_REFERENCE_ID>
+<!--682633A6E6A79D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[2000]]></FIELDLENGTH>
+<!--682633A6E6A79D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6A79D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6A79D31E040007F010061E4-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--682633A6E6A79D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E6A79D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6A79D31E040007F010061E4-->  <SEQNO><![CDATA[330]]></SEQNO>
+<!--682633A6E6A79D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6A79D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6A79D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6A79D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[5E3EDD5726B6A392E040007F01007B5C]]></AD_ELEMENT_ID>
+<!--682633A6E6A79D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6A79D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6A79D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6A79D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6A79D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6A79D31E040007F010061E4-->  <POSITION><![CDATA[33]]></POSITION>
+<!--682633A6E6A79D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6A79D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6A99D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6A99D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6A99D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6A99D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6A99D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6A99D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6A99D31E040007F010061E4-->  <NAME><![CDATA[AD_Module_Dbprefix_Install_ID]]></NAME>
+<!--682633A6E6A99D31E040007F010061E4-->  <DESCRIPTION><![CDATA[Temporary table for module db prefixes]]></DESCRIPTION>
+<!--682633A6E6A99D31E040007F010061E4-->  <HELP><![CDATA[This temporary table is used to store data about module db prefixes during the update or install process.]]></HELP>
+<!--682633A6E6A99D31E040007F010061E4-->  <COLUMNNAME><![CDATA[AD_Module_Dbprefix_Install_ID]]></COLUMNNAME>
+<!--682633A6E6A99D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[70727ADC19AC4C0CB1F295A50719BD2A]]></AD_TABLE_ID>
+<!--682633A6E6A99D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[13]]></AD_REFERENCE_ID>
+<!--682633A6E6A99D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--682633A6E6A99D31E040007F010061E4-->  <ISKEY><![CDATA[Y]]></ISKEY>
+<!--682633A6E6A99D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6A99D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6A99D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--682633A6E6A99D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6A99D31E040007F010061E4-->  <SEQNO><![CDATA[10]]></SEQNO>
+<!--682633A6E6A99D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6A99D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6A99D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6A99D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[682633A6E6B49D31E040007F010061E4]]></AD_ELEMENT_ID>
+<!--682633A6E6A99D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6A99D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6A99D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6A99D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6A99D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6A99D31E040007F010061E4-->  <POSITION><![CDATA[1]]></POSITION>
+<!--682633A6E6A99D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6A99D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6AA9D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6AA9D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6AA9D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6AA9D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6AA9D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6AA9D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6AA9D31E040007F010061E4-->  <NAME><![CDATA[Client]]></NAME>
+<!--682633A6E6AA9D31E040007F010061E4-->  <DESCRIPTION><![CDATA[Client for this installation.]]></DESCRIPTION>
+<!--682633A6E6AA9D31E040007F010061E4-->  <HELP><![CDATA[A Client is a company or a legal entity. You cannot share data between Clients.]]></HELP>
+<!--682633A6E6AA9D31E040007F010061E4-->  <COLUMNNAME><![CDATA[AD_Client_ID]]></COLUMNNAME>
+<!--682633A6E6AA9D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[70727ADC19AC4C0CB1F295A50719BD2A]]></AD_TABLE_ID>
+<!--682633A6E6AA9D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--682633A6E6AA9D31E040007F010061E4-->  <AD_VAL_RULE_ID><![CDATA[103]]></AD_VAL_RULE_ID>
+<!--682633A6E6AA9D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--682633A6E6AA9D31E040007F010061E4-->  <DEFAULTVALUE><![CDATA[@AD_CLIENT_ID@]]></DEFAULTVALUE>
+<!--682633A6E6AA9D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6AA9D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6AA9D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6AA9D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--682633A6E6AA9D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6AA9D31E040007F010061E4-->  <SEQNO><![CDATA[20]]></SEQNO>
+<!--682633A6E6AA9D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6AA9D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6AA9D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6AA9D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[102]]></AD_ELEMENT_ID>
+<!--682633A6E6AA9D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--682633A6E6AA9D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6AA9D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6AA9D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6AA9D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6AA9D31E040007F010061E4-->  <POSITION><![CDATA[2]]></POSITION>
+<!--682633A6E6AA9D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6AA9D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6AB9D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6AB9D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6AB9D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6AB9D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6AB9D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6AB9D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6AB9D31E040007F010061E4-->  <NAME><![CDATA[Organization]]></NAME>
+<!--682633A6E6AB9D31E040007F010061E4-->  <DESCRIPTION><![CDATA[Organizational entity within client]]></DESCRIPTION>
+<!--682633A6E6AB9D31E040007F010061E4-->  <HELP><![CDATA[An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.]]></HELP>
+<!--682633A6E6AB9D31E040007F010061E4-->  <COLUMNNAME><![CDATA[AD_Org_ID]]></COLUMNNAME>
+<!--682633A6E6AB9D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[70727ADC19AC4C0CB1F295A50719BD2A]]></AD_TABLE_ID>
+<!--682633A6E6AB9D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--682633A6E6AB9D31E040007F010061E4-->  <AD_VAL_RULE_ID><![CDATA[104]]></AD_VAL_RULE_ID>
+<!--682633A6E6AB9D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--682633A6E6AB9D31E040007F010061E4-->  <DEFAULTVALUE><![CDATA[@AD_ORG_ID@]]></DEFAULTVALUE>
+<!--682633A6E6AB9D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6AB9D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6AB9D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6AB9D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--682633A6E6AB9D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6AB9D31E040007F010061E4-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--682633A6E6AB9D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6AB9D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6AB9D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6AB9D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[113]]></AD_ELEMENT_ID>
+<!--682633A6E6AB9D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--682633A6E6AB9D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6AB9D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6AB9D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6AB9D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6AB9D31E040007F010061E4-->  <POSITION><![CDATA[3]]></POSITION>
+<!--682633A6E6AB9D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6AB9D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6AC9D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6AC9D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6AC9D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6AC9D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6AC9D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6AC9D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6AC9D31E040007F010061E4-->  <NAME><![CDATA[Active]]></NAME>
+<!--682633A6E6AC9D31E040007F010061E4-->  <DESCRIPTION><![CDATA[A flag indicating whether this record is available for use or de-activated.]]></DESCRIPTION>
+<!--682633A6E6AC9D31E040007F010061E4-->  <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>
+<!--682633A6E6AC9D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Isactive]]></COLUMNNAME>
+<!--682633A6E6AC9D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[70727ADC19AC4C0CB1F295A50719BD2A]]></AD_TABLE_ID>
+<!--682633A6E6AC9D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--682633A6E6AC9D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--682633A6E6AC9D31E040007F010061E4-->  <DEFAULTVALUE><![CDATA[Y]]></DEFAULTVALUE>
+<!--682633A6E6AC9D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6AC9D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6AC9D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6AC9D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E6AC9D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6AC9D31E040007F010061E4-->  <SEQNO><![CDATA[40]]></SEQNO>
+<!--682633A6E6AC9D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6AC9D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6AC9D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6AC9D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[348]]></AD_ELEMENT_ID>
+<!--682633A6E6AC9D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6AC9D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6AC9D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6AC9D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6AC9D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6AC9D31E040007F010061E4-->  <POSITION><![CDATA[4]]></POSITION>
+<!--682633A6E6AC9D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6AC9D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6AD9D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6AD9D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6AD9D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6AD9D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6AD9D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6AD9D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6AD9D31E040007F010061E4-->  <NAME><![CDATA[Creation Date]]></NAME>
+<!--682633A6E6AD9D31E040007F010061E4-->  <DESCRIPTION><![CDATA[The date that this record is completed.]]></DESCRIPTION>
+<!--682633A6E6AD9D31E040007F010061E4-->  <HELP><![CDATA[The Created field indicates the date that this record was created.]]></HELP>
+<!--682633A6E6AD9D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Created]]></COLUMNNAME>
+<!--682633A6E6AD9D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[70727ADC19AC4C0CB1F295A50719BD2A]]></AD_TABLE_ID>
+<!--682633A6E6AD9D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
+<!--682633A6E6AD9D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
+<!--682633A6E6AD9D31E040007F010061E4-->  <DEFAULTVALUE><![CDATA[SYSDATE]]></DEFAULTVALUE>
+<!--682633A6E6AD9D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6AD9D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6AD9D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6AD9D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--682633A6E6AD9D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6AD9D31E040007F010061E4-->  <SEQNO><![CDATA[50]]></SEQNO>
+<!--682633A6E6AD9D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6AD9D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6AD9D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6AD9D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[245]]></AD_ELEMENT_ID>
+<!--682633A6E6AD9D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6AD9D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6AD9D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6AD9D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6AD9D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6AD9D31E040007F010061E4-->  <POSITION><![CDATA[5]]></POSITION>
+<!--682633A6E6AD9D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6AD9D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6AE9D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6AE9D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6AE9D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6AE9D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6AE9D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6AE9D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6AE9D31E040007F010061E4-->  <NAME><![CDATA[Created By]]></NAME>
+<!--682633A6E6AE9D31E040007F010061E4-->  <DESCRIPTION><![CDATA[User who created this records]]></DESCRIPTION>
+<!--682633A6E6AE9D31E040007F010061E4-->  <HELP><![CDATA[The Created By field indicates the user who created this record.]]></HELP>
+<!--682633A6E6AE9D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Createdby]]></COLUMNNAME>
+<!--682633A6E6AE9D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[70727ADC19AC4C0CB1F295A50719BD2A]]></AD_TABLE_ID>
+<!--682633A6E6AE9D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--682633A6E6AE9D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--682633A6E6AE9D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6AE9D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6AE9D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6AE9D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--682633A6E6AE9D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6AE9D31E040007F010061E4-->  <SEQNO><![CDATA[60]]></SEQNO>
+<!--682633A6E6AE9D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6AE9D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6AE9D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6AE9D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[246]]></AD_ELEMENT_ID>
+<!--682633A6E6AE9D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6AE9D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6AE9D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6AE9D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6AE9D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6AE9D31E040007F010061E4-->  <POSITION><![CDATA[6]]></POSITION>
+<!--682633A6E6AE9D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6AE9D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6AF9D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6AF9D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6AF9D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6AF9D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6AF9D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6AF9D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6AF9D31E040007F010061E4-->  <NAME><![CDATA[Updated]]></NAME>
+<!--682633A6E6AF9D31E040007F010061E4-->  <DESCRIPTION><![CDATA[x not implemented]]></DESCRIPTION>
+<!--682633A6E6AF9D31E040007F010061E4-->  <HELP><![CDATA[The Updated field indicates the date that this record was updated.]]></HELP>
+<!--682633A6E6AF9D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Updated]]></COLUMNNAME>
+<!--682633A6E6AF9D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[70727ADC19AC4C0CB1F295A50719BD2A]]></AD_TABLE_ID>
+<!--682633A6E6AF9D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
+<!--682633A6E6AF9D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
+<!--682633A6E6AF9D31E040007F010061E4-->  <DEFAULTVALUE><![CDATA[SYSDATE]]></DEFAULTVALUE>
+<!--682633A6E6AF9D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6AF9D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6AF9D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6AF9D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--682633A6E6AF9D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6AF9D31E040007F010061E4-->  <SEQNO><![CDATA[70]]></SEQNO>
+<!--682633A6E6AF9D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6AF9D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6AF9D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6AF9D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[607]]></AD_ELEMENT_ID>
+<!--682633A6E6AF9D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6AF9D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6AF9D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6AF9D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6AF9D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6AF9D31E040007F010061E4-->  <POSITION><![CDATA[7]]></POSITION>
+<!--682633A6E6AF9D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6AF9D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6B09D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6B09D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6B09D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6B09D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6B09D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6B09D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6B09D31E040007F010061E4-->  <NAME><![CDATA[Updated By]]></NAME>
+<!--682633A6E6B09D31E040007F010061E4-->  <DESCRIPTION><![CDATA[User who updated this records]]></DESCRIPTION>
+<!--682633A6E6B09D31E040007F010061E4-->  <HELP><![CDATA[The Updated By field indicates the user who updated this record.]]></HELP>
+<!--682633A6E6B09D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Updatedby]]></COLUMNNAME>
+<!--682633A6E6B09D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[70727ADC19AC4C0CB1F295A50719BD2A]]></AD_TABLE_ID>
+<!--682633A6E6B09D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--682633A6E6B09D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--682633A6E6B09D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6B09D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6B09D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6B09D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--682633A6E6B09D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6B09D31E040007F010061E4-->  <SEQNO><![CDATA[80]]></SEQNO>
+<!--682633A6E6B09D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6B09D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6B09D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6B09D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[608]]></AD_ELEMENT_ID>
+<!--682633A6E6B09D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6B09D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6B09D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6B09D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6B09D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6B09D31E040007F010061E4-->  <POSITION><![CDATA[8]]></POSITION>
+<!--682633A6E6B09D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6B09D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6B19D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6B19D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6B19D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6B19D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6B19D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6B19D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6B19D31E040007F010061E4-->  <NAME><![CDATA[DB Prefix]]></NAME>
+<!--682633A6E6B19D31E040007F010061E4-->  <DESCRIPTION><![CDATA[DB Prefix]]></DESCRIPTION>
+<!--682633A6E6B19D31E040007F010061E4-->  <HELP><![CDATA[DB Prefix]]></HELP>
+<!--682633A6E6B19D31E040007F010061E4-->  <COLUMNNAME><![CDATA[AD_Module_Dbprefix_ID]]></COLUMNNAME>
+<!--682633A6E6B19D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[70727ADC19AC4C0CB1F295A50719BD2A]]></AD_TABLE_ID>
+<!--682633A6E6B19D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
+<!--682633A6E6B19D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--682633A6E6B19D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6B19D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6B19D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6B19D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--682633A6E6B19D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6B19D31E040007F010061E4-->  <SEQNO><![CDATA[90]]></SEQNO>
+<!--682633A6E6B19D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6B19D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6B19D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6B19D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[58E839A092A30D3BE040007F01015CDF]]></AD_ELEMENT_ID>
+<!--682633A6E6B19D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6B19D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6B19D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6B19D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6B19D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6B19D31E040007F010061E4-->  <POSITION><![CDATA[9]]></POSITION>
+<!--682633A6E6B19D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6B19D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6B29D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6B29D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6B29D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6B29D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6B29D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6B29D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6B29D31E040007F010061E4-->  <NAME><![CDATA[Module]]></NAME>
+<!--682633A6E6B29D31E040007F010061E4-->  <DESCRIPTION><![CDATA[Module]]></DESCRIPTION>
+<!--682633A6E6B29D31E040007F010061E4-->  <HELP><![CDATA[Indicates the module the element forms part of.]]></HELP>
+<!--682633A6E6B29D31E040007F010061E4-->  <COLUMNNAME><![CDATA[AD_Module_ID]]></COLUMNNAME>
+<!--682633A6E6B29D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[70727ADC19AC4C0CB1F295A50719BD2A]]></AD_TABLE_ID>
+<!--682633A6E6B29D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
+<!--682633A6E6B29D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--682633A6E6B29D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6B29D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6B29D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6B29D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E6B29D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6B29D31E040007F010061E4-->  <SEQNO><![CDATA[100]]></SEQNO>
+<!--682633A6E6B29D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6B29D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6B29D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6B29D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[565E666A619A2693E040007F01002851]]></AD_ELEMENT_ID>
+<!--682633A6E6B29D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6B29D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6B29D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6B29D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6B29D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6B29D31E040007F010061E4-->  <POSITION><![CDATA[10]]></POSITION>
+<!--682633A6E6B29D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6B29D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6B39D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6B39D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6B39D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6B39D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6B39D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6B39D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6B39D31E040007F010061E4-->  <NAME><![CDATA[Name]]></NAME>
+<!--682633A6E6B39D31E040007F010061E4-->  <DESCRIPTION><![CDATA[A non-unique identifier for a record/document often used as a search tool.]]></DESCRIPTION>
+<!--682633A6E6B39D31E040007F010061E4-->  <HELP><![CDATA[A more descriptive identifier (that does need to be unique) of a record/document that is used as a default search option along with the search key (that is unique and mostly shorter). It is up to 60 characters in length.]]></HELP>
+<!--682633A6E6B39D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Name]]></COLUMNNAME>
+<!--682633A6E6B39D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[70727ADC19AC4C0CB1F295A50719BD2A]]></AD_TABLE_ID>
+<!--682633A6E6B39D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
+<!--682633A6E6B39D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[7]]></FIELDLENGTH>
+<!--682633A6E6B39D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6B39D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6B39D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6B39D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E6B39D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
+<!--682633A6E6B39D31E040007F010061E4-->  <SEQNO><![CDATA[110]]></SEQNO>
+<!--682633A6E6B39D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6B39D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6B39D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6B39D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[469]]></AD_ELEMENT_ID>
+<!--682633A6E6B39D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6B39D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6B39D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6B39D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6B39D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6B39D31E040007F010061E4-->  <POSITION><![CDATA[11]]></POSITION>
+<!--682633A6E6B39D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6B39D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6B59D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6B59D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6B59D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6B59D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6B59D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6B59D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6B59D31E040007F010061E4-->  <NAME><![CDATA[AD_Module_Dependency_Inst_ID]]></NAME>
+<!--682633A6E6B59D31E040007F010061E4-->  <DESCRIPTION><![CDATA[Temporary table for updating/installing modules]]></DESCRIPTION>
+<!--682633A6E6B59D31E040007F010061E4-->  <HELP><![CDATA[This temporary table is used to store module dependencies during the update and install processes]]></HELP>
+<!--682633A6E6B59D31E040007F010061E4-->  <COLUMNNAME><![CDATA[AD_Module_Dependency_Inst_ID]]></COLUMNNAME>
+<!--682633A6E6B59D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[93F49C7968574D99B18085A6DD3C5CC6]]></AD_TABLE_ID>
+<!--682633A6E6B59D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[13]]></AD_REFERENCE_ID>
+<!--682633A6E6B59D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--682633A6E6B59D31E040007F010061E4-->  <ISKEY><![CDATA[Y]]></ISKEY>
+<!--682633A6E6B59D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6B59D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6B59D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--682633A6E6B59D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6B59D31E040007F010061E4-->  <SEQNO><![CDATA[10]]></SEQNO>
+<!--682633A6E6B59D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6B59D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6B59D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6B59D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[682633A6E6C49D31E040007F010061E4]]></AD_ELEMENT_ID>
+<!--682633A6E6B59D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6B59D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6B59D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6B59D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6B59D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6B59D31E040007F010061E4-->  <POSITION><![CDATA[1]]></POSITION>
+<!--682633A6E6B59D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6B59D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6B69D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6B69D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6B69D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6B69D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6B69D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6B69D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6B69D31E040007F010061E4-->  <NAME><![CDATA[Client]]></NAME>
+<!--682633A6E6B69D31E040007F010061E4-->  <DESCRIPTION><![CDATA[Client for this installation.]]></DESCRIPTION>
+<!--682633A6E6B69D31E040007F010061E4-->  <HELP><![CDATA[A Client is a company or a legal entity. You cannot share data between Clients.]]></HELP>
+<!--682633A6E6B69D31E040007F010061E4-->  <COLUMNNAME><![CDATA[AD_Client_ID]]></COLUMNNAME>
+<!--682633A6E6B69D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[93F49C7968574D99B18085A6DD3C5CC6]]></AD_TABLE_ID>
+<!--682633A6E6B69D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--682633A6E6B69D31E040007F010061E4-->  <AD_VAL_RULE_ID><![CDATA[103]]></AD_VAL_RULE_ID>
+<!--682633A6E6B69D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--682633A6E6B69D31E040007F010061E4-->  <DEFAULTVALUE><![CDATA[@AD_CLIENT_ID@]]></DEFAULTVALUE>
+<!--682633A6E6B69D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6B69D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6B69D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6B69D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--682633A6E6B69D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6B69D31E040007F010061E4-->  <SEQNO><![CDATA[20]]></SEQNO>
+<!--682633A6E6B69D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6B69D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6B69D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6B69D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[102]]></AD_ELEMENT_ID>
+<!--682633A6E6B69D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--682633A6E6B69D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6B69D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6B69D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6B69D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6B69D31E040007F010061E4-->  <POSITION><![CDATA[2]]></POSITION>
+<!--682633A6E6B69D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6B69D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6B79D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6B79D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6B79D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6B79D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6B79D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6B79D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6B79D31E040007F010061E4-->  <NAME><![CDATA[Organization]]></NAME>
+<!--682633A6E6B79D31E040007F010061E4-->  <DESCRIPTION><![CDATA[Organizational entity within client]]></DESCRIPTION>
+<!--682633A6E6B79D31E040007F010061E4-->  <HELP><![CDATA[An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.]]></HELP>
+<!--682633A6E6B79D31E040007F010061E4-->  <COLUMNNAME><![CDATA[AD_Org_ID]]></COLUMNNAME>
+<!--682633A6E6B79D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[93F49C7968574D99B18085A6DD3C5CC6]]></AD_TABLE_ID>
+<!--682633A6E6B79D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--682633A6E6B79D31E040007F010061E4-->  <AD_VAL_RULE_ID><![CDATA[104]]></AD_VAL_RULE_ID>
+<!--682633A6E6B79D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--682633A6E6B79D31E040007F010061E4-->  <DEFAULTVALUE><![CDATA[@AD_ORG_ID@]]></DEFAULTVALUE>
+<!--682633A6E6B79D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6B79D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6B79D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6B79D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--682633A6E6B79D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6B79D31E040007F010061E4-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--682633A6E6B79D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6B79D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6B79D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6B79D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[113]]></AD_ELEMENT_ID>
+<!--682633A6E6B79D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--682633A6E6B79D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6B79D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6B79D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6B79D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6B79D31E040007F010061E4-->  <POSITION><![CDATA[3]]></POSITION>
+<!--682633A6E6B79D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6B79D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6B89D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6B89D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6B89D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6B89D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6B89D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6B89D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6B89D31E040007F010061E4-->  <NAME><![CDATA[Active]]></NAME>
+<!--682633A6E6B89D31E040007F010061E4-->  <DESCRIPTION><![CDATA[A flag indicating whether this record is available for use or de-activated.]]></DESCRIPTION>
+<!--682633A6E6B89D31E040007F010061E4-->  <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>
+<!--682633A6E6B89D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Isactive]]></COLUMNNAME>
+<!--682633A6E6B89D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[93F49C7968574D99B18085A6DD3C5CC6]]></AD_TABLE_ID>
+<!--682633A6E6B89D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--682633A6E6B89D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--682633A6E6B89D31E040007F010061E4-->  <DEFAULTVALUE><![CDATA[Y]]></DEFAULTVALUE>
+<!--682633A6E6B89D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6B89D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6B89D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6B89D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E6B89D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6B89D31E040007F010061E4-->  <SEQNO><![CDATA[40]]></SEQNO>
+<!--682633A6E6B89D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6B89D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6B89D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6B89D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[348]]></AD_ELEMENT_ID>
+<!--682633A6E6B89D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6B89D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6B89D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6B89D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6B89D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6B89D31E040007F010061E4-->  <POSITION><![CDATA[4]]></POSITION>
+<!--682633A6E6B89D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6B89D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6B99D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6B99D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6B99D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6B99D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6B99D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6B99D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6B99D31E040007F010061E4-->  <NAME><![CDATA[Creation Date]]></NAME>
+<!--682633A6E6B99D31E040007F010061E4-->  <DESCRIPTION><![CDATA[The date that this record is completed.]]></DESCRIPTION>
+<!--682633A6E6B99D31E040007F010061E4-->  <HELP><![CDATA[The Created field indicates the date that this record was created.]]></HELP>
+<!--682633A6E6B99D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Created]]></COLUMNNAME>
+<!--682633A6E6B99D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[93F49C7968574D99B18085A6DD3C5CC6]]></AD_TABLE_ID>
+<!--682633A6E6B99D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
+<!--682633A6E6B99D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
+<!--682633A6E6B99D31E040007F010061E4-->  <DEFAULTVALUE><![CDATA[SYSDATE]]></DEFAULTVALUE>
+<!--682633A6E6B99D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6B99D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6B99D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6B99D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--682633A6E6B99D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6B99D31E040007F010061E4-->  <SEQNO><![CDATA[50]]></SEQNO>
+<!--682633A6E6B99D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6B99D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6B99D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6B99D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[245]]></AD_ELEMENT_ID>
+<!--682633A6E6B99D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6B99D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6B99D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6B99D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6B99D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6B99D31E040007F010061E4-->  <POSITION><![CDATA[5]]></POSITION>
+<!--682633A6E6B99D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6B99D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6BA9D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6BA9D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6BA9D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6BA9D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6BA9D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6BA9D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6BA9D31E040007F010061E4-->  <NAME><![CDATA[Created By]]></NAME>
+<!--682633A6E6BA9D31E040007F010061E4-->  <DESCRIPTION><![CDATA[User who created this records]]></DESCRIPTION>
+<!--682633A6E6BA9D31E040007F010061E4-->  <HELP><![CDATA[The Created By field indicates the user who created this record.]]></HELP>
+<!--682633A6E6BA9D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Createdby]]></COLUMNNAME>
+<!--682633A6E6BA9D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[93F49C7968574D99B18085A6DD3C5CC6]]></AD_TABLE_ID>
+<!--682633A6E6BA9D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--682633A6E6BA9D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--682633A6E6BA9D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6BA9D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6BA9D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6BA9D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--682633A6E6BA9D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6BA9D31E040007F010061E4-->  <SEQNO><![CDATA[60]]></SEQNO>
+<!--682633A6E6BA9D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6BA9D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6BA9D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6BA9D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[246]]></AD_ELEMENT_ID>
+<!--682633A6E6BA9D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6BA9D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6BA9D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6BA9D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6BA9D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6BA9D31E040007F010061E4-->  <POSITION><![CDATA[6]]></POSITION>
+<!--682633A6E6BA9D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6BA9D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6BB9D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6BB9D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6BB9D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6BB9D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6BB9D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6BB9D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6BB9D31E040007F010061E4-->  <NAME><![CDATA[Updated]]></NAME>
+<!--682633A6E6BB9D31E040007F010061E4-->  <DESCRIPTION><![CDATA[x not implemented]]></DESCRIPTION>
+<!--682633A6E6BB9D31E040007F010061E4-->  <HELP><![CDATA[The Updated field indicates the date that this record was updated.]]></HELP>
+<!--682633A6E6BB9D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Updated]]></COLUMNNAME>
+<!--682633A6E6BB9D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[93F49C7968574D99B18085A6DD3C5CC6]]></AD_TABLE_ID>
+<!--682633A6E6BB9D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
+<!--682633A6E6BB9D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
+<!--682633A6E6BB9D31E040007F010061E4-->  <DEFAULTVALUE><![CDATA[SYSDATE]]></DEFAULTVALUE>
+<!--682633A6E6BB9D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6BB9D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6BB9D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6BB9D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--682633A6E6BB9D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6BB9D31E040007F010061E4-->  <SEQNO><![CDATA[70]]></SEQNO>
+<!--682633A6E6BB9D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6BB9D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6BB9D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6BB9D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[607]]></AD_ELEMENT_ID>
+<!--682633A6E6BB9D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6BB9D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6BB9D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6BB9D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6BB9D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6BB9D31E040007F010061E4-->  <POSITION><![CDATA[7]]></POSITION>
+<!--682633A6E6BB9D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6BB9D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6BC9D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6BC9D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6BC9D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6BC9D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6BC9D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6BC9D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6BC9D31E040007F010061E4-->  <NAME><![CDATA[Updated By]]></NAME>
+<!--682633A6E6BC9D31E040007F010061E4-->  <DESCRIPTION><![CDATA[User who updated this records]]></DESCRIPTION>
+<!--682633A6E6BC9D31E040007F010061E4-->  <HELP><![CDATA[The Updated By field indicates the user who updated this record.]]></HELP>
+<!--682633A6E6BC9D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Updatedby]]></COLUMNNAME>
+<!--682633A6E6BC9D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[93F49C7968574D99B18085A6DD3C5CC6]]></AD_TABLE_ID>
+<!--682633A6E6BC9D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--682633A6E6BC9D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--682633A6E6BC9D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6BC9D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6BC9D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6BC9D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--682633A6E6BC9D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6BC9D31E040007F010061E4-->  <SEQNO><![CDATA[80]]></SEQNO>
+<!--682633A6E6BC9D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6BC9D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6BC9D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6BC9D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[608]]></AD_ELEMENT_ID>
+<!--682633A6E6BC9D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6BC9D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6BC9D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6BC9D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6BC9D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6BC9D31E040007F010061E4-->  <POSITION><![CDATA[8]]></POSITION>
+<!--682633A6E6BC9D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6BC9D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6BD9D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6BD9D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6BD9D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6BD9D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6BD9D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6BD9D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6BD9D31E040007F010061E4-->  <NAME><![CDATA[Module Dependency]]></NAME>
+<!--682633A6E6BD9D31E040007F010061E4-->  <DESCRIPTION><![CDATA[Defines dependencies ammong modules]]></DESCRIPTION>
+<!--682633A6E6BD9D31E040007F010061E4-->  <HELP><![CDATA[Defines dependencies ammong modules]]></HELP>
+<!--682633A6E6BD9D31E040007F010061E4-->  <COLUMNNAME><![CDATA[AD_Module_Dependency_ID]]></COLUMNNAME>
+<!--682633A6E6BD9D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[93F49C7968574D99B18085A6DD3C5CC6]]></AD_TABLE_ID>
+<!--682633A6E6BD9D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
+<!--682633A6E6BD9D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--682633A6E6BD9D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6BD9D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6BD9D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6BD9D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--682633A6E6BD9D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6BD9D31E040007F010061E4-->  <SEQNO><![CDATA[90]]></SEQNO>
+<!--682633A6E6BD9D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6BD9D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6BD9D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6BD9D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[56EBDFF41AB75BDDE040007F0100368E]]></AD_ELEMENT_ID>
+<!--682633A6E6BD9D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6BD9D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6BD9D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6BD9D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6BD9D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6BD9D31E040007F010061E4-->  <POSITION><![CDATA[9]]></POSITION>
+<!--682633A6E6BD9D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6BD9D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6BE9D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6BE9D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6BE9D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6BE9D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6BE9D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6BE9D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6BE9D31E040007F010061E4-->  <NAME><![CDATA[Module]]></NAME>
+<!--682633A6E6BE9D31E040007F010061E4-->  <DESCRIPTION><![CDATA[Module]]></DESCRIPTION>
+<!--682633A6E6BE9D31E040007F010061E4-->  <HELP><![CDATA[Indicates the module the element forms part of.]]></HELP>
+<!--682633A6E6BE9D31E040007F010061E4-->  <COLUMNNAME><![CDATA[AD_Module_ID]]></COLUMNNAME>
+<!--682633A6E6BE9D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[93F49C7968574D99B18085A6DD3C5CC6]]></AD_TABLE_ID>
+<!--682633A6E6BE9D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
+<!--682633A6E6BE9D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--682633A6E6BE9D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6BE9D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6BE9D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6BE9D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E6BE9D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6BE9D31E040007F010061E4-->  <SEQNO><![CDATA[100]]></SEQNO>
+<!--682633A6E6BE9D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6BE9D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6BE9D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6BE9D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[565E666A619A2693E040007F01002851]]></AD_ELEMENT_ID>
+<!--682633A6E6BE9D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6BE9D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6BE9D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6BE9D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6BE9D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6BE9D31E040007F010061E4-->  <POSITION><![CDATA[10]]></POSITION>
+<!--682633A6E6BE9D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6BE9D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6BF9D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6BF9D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6BF9D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6BF9D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6BF9D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6BF9D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6BF9D31E040007F010061E4-->  <NAME><![CDATA[Dependent Module]]></NAME>
+<!--682633A6E6BF9D31E040007F010061E4-->  <DESCRIPTION><![CDATA[Dependent Module]]></DESCRIPTION>
+<!--682633A6E6BF9D31E040007F010061E4-->  <HELP><![CDATA[It is the Dependent Module for the current dependency.]]></HELP>
+<!--682633A6E6BF9D31E040007F010061E4-->  <COLUMNNAME><![CDATA[AD_Dependent_Module_ID]]></COLUMNNAME>
+<!--682633A6E6BF9D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[93F49C7968574D99B18085A6DD3C5CC6]]></AD_TABLE_ID>
+<!--682633A6E6BF9D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
+<!--682633A6E6BF9D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--682633A6E6BF9D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6BF9D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6BF9D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6BF9D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E6BF9D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6BF9D31E040007F010061E4-->  <SEQNO><![CDATA[110]]></SEQNO>
+<!--682633A6E6BF9D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6BF9D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6BF9D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6BF9D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[56ED7737A7C789BFE040007F01003A61]]></AD_ELEMENT_ID>
+<!--682633A6E6BF9D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6BF9D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6BF9D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6BF9D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6BF9D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6BF9D31E040007F010061E4-->  <POSITION><![CDATA[11]]></POSITION>
+<!--682633A6E6BF9D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6BF9D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6C09D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6C09D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6C09D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6C09D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6C09D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6C09D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6C09D31E040007F010061E4-->  <NAME><![CDATA[First Version]]></NAME>
+<!--682633A6E6C09D31E040007F010061E4-->  <DESCRIPTION><![CDATA[First compatible version]]></DESCRIPTION>
+<!--682633A6E6C09D31E040007F010061E4-->  <HELP><![CDATA[It is the first compatible version for the dependency, in case last version is blank is will be the only one.]]></HELP>
+<!--682633A6E6C09D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Startversion]]></COLUMNNAME>
+<!--682633A6E6C09D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[93F49C7968574D99B18085A6DD3C5CC6]]></AD_TABLE_ID>
+<!--682633A6E6C09D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
+<!--682633A6E6C09D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[10]]></FIELDLENGTH>
+<!--682633A6E6C09D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6C09D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6C09D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6C09D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E6C09D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6C09D31E040007F010061E4-->  <SEQNO><![CDATA[120]]></SEQNO>
+<!--682633A6E6C09D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6C09D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6C09D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6C09D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[56EBDFF41AB95BDDE040007F0100368E]]></AD_ELEMENT_ID>
+<!--682633A6E6C09D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6C09D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6C09D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6C09D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6C09D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6C09D31E040007F010061E4-->  <POSITION><![CDATA[12]]></POSITION>
+<!--682633A6E6C09D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6C09D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6C19D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6C19D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6C19D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6C19D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6C19D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6C19D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6C19D31E040007F010061E4-->  <NAME><![CDATA[Last Version]]></NAME>
+<!--682633A6E6C19D31E040007F010061E4-->  <DESCRIPTION><![CDATA[Last compatible version]]></DESCRIPTION>
+<!--682633A6E6C19D31E040007F010061E4-->  <HELP><![CDATA[It is the last compatible version to define the dependency.]]></HELP>
+<!--682633A6E6C19D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Endversion]]></COLUMNNAME>
+<!--682633A6E6C19D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[93F49C7968574D99B18085A6DD3C5CC6]]></AD_TABLE_ID>
+<!--682633A6E6C19D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
+<!--682633A6E6C19D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[10]]></FIELDLENGTH>
+<!--682633A6E6C19D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6C19D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6C19D31E040007F010061E4-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--682633A6E6C19D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E6C19D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6C19D31E040007F010061E4-->  <SEQNO><![CDATA[130]]></SEQNO>
+<!--682633A6E6C19D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6C19D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6C19D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6C19D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[56EBDFF41AB65BDDE040007F0100368E]]></AD_ELEMENT_ID>
+<!--682633A6E6C19D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6C19D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6C19D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6C19D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6C19D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6C19D31E040007F010061E4-->  <POSITION><![CDATA[13]]></POSITION>
+<!--682633A6E6C19D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6C19D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6C29D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6C29D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6C29D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6C29D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6C29D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6C29D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6C29D31E040007F010061E4-->  <NAME><![CDATA[Is Included]]></NAME>
+<!--682633A6E6C29D31E040007F010061E4-->  <DESCRIPTION><![CDATA[Defines whether it is included or just dependant
+]]></DESCRIPTION>
+<!--682633A6E6C29D31E040007F010061E4-->  <HELP><![CDATA[A dependency can include other modules in case it is a dependency for packages.]]></HELP>
+<!--682633A6E6C29D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Isincluded]]></COLUMNNAME>
+<!--682633A6E6C29D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[93F49C7968574D99B18085A6DD3C5CC6]]></AD_TABLE_ID>
+<!--682633A6E6C29D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--682633A6E6C29D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--682633A6E6C29D31E040007F010061E4-->  <DEFAULTVALUE><![CDATA[N]]></DEFAULTVALUE>
+<!--682633A6E6C29D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6C29D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6C29D31E040007F010061E4-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--682633A6E6C29D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E6C29D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6C29D31E040007F010061E4-->  <SEQNO><![CDATA[140]]></SEQNO>
+<!--682633A6E6C29D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6C29D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6C29D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6C29D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[56EBDFF41AB85BDDE040007F0100368E]]></AD_ELEMENT_ID>
+<!--682633A6E6C29D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6C29D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6C29D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6C29D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6C29D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6C29D31E040007F010061E4-->  <POSITION><![CDATA[14]]></POSITION>
+<!--682633A6E6C29D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6C29D31E040007F010061E4--></AD_COLUMN>
+
+<!--682633A6E6C39D31E040007F010061E4--><AD_COLUMN>
+<!--682633A6E6C39D31E040007F010061E4-->  <AD_COLUMN_ID><![CDATA[682633A6E6C39D31E040007F010061E4]]></AD_COLUMN_ID>
+<!--682633A6E6C39D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6C39D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6C39D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6C39D31E040007F010061E4-->  <NAME><![CDATA[Dependant Module Name]]></NAME>
+<!--682633A6E6C39D31E040007F010061E4-->  <DESCRIPTION><![CDATA[Name of the dependent module]]></DESCRIPTION>
+<!--682633A6E6C39D31E040007F010061E4-->  <HELP><![CDATA[The name of the dependent module is stored here because the dependent module can have been removed. In that case it is still relevant to show the module name to detect a broken dependency. ]]></HELP>
+<!--682633A6E6C39D31E040007F010061E4-->  <COLUMNNAME><![CDATA[Dependant_Module_Name]]></COLUMNNAME>
+<!--682633A6E6C39D31E040007F010061E4-->  <AD_TABLE_ID><![CDATA[93F49C7968574D99B18085A6DD3C5CC6]]></AD_TABLE_ID>
+<!--682633A6E6C39D31E040007F010061E4-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
+<!--682633A6E6C39D31E040007F010061E4-->  <FIELDLENGTH><![CDATA[60]]></FIELDLENGTH>
+<!--682633A6E6C39D31E040007F010061E4-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--682633A6E6C39D31E040007F010061E4-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--682633A6E6C39D31E040007F010061E4-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--682633A6E6C39D31E040007F010061E4-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--682633A6E6C39D31E040007F010061E4-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--682633A6E6C39D31E040007F010061E4-->  <SEQNO><![CDATA[150]]></SEQNO>
+<!--682633A6E6C39D31E040007F010061E4-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--682633A6E6C39D31E040007F010061E4-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--682633A6E6C39D31E040007F010061E4-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--682633A6E6C39D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[A9320956F2C011DDB115001D09C4A2FE]]></AD_ELEMENT_ID>
+<!--682633A6E6C39D31E040007F010061E4-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--682633A6E6C39D31E040007F010061E4-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--682633A6E6C39D31E040007F010061E4-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--682633A6E6C39D31E040007F010061E4-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--682633A6E6C39D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6C39D31E040007F010061E4-->  <POSITION><![CDATA[15]]></POSITION>
+<!--682633A6E6C39D31E040007F010061E4-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--682633A6E6C39D31E040007F010061E4--></AD_COLUMN>
+
 <!--7AD1D1A49C5D11DD9476001B388C05F0--><AD_COLUMN>
 <!--7AD1D1A49C5D11DD9476001B388C05F0-->  <AD_COLUMN_ID><![CDATA[7AD1D1A49C5D11DD9476001B388C05F0]]></AD_COLUMN_ID>
 <!--7AD1D1A49C5D11DD9476001B388C05F0-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -263941,6 +265809,38 @@
 <!--A75AD954EBD211DDAE570016D4EE9DB3-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--A75AD954EBD211DDAE570016D4EE9DB3--></AD_COLUMN>
 
+<!--B956EBF22FD411DE9A5F001D09C4A2FE--><AD_COLUMN>
+<!--B956EBF22FD411DE9A5F001D09C4A2FE-->  <AD_COLUMN_ID><![CDATA[B956EBF22FD411DE9A5F001D09C4A2FE]]></AD_COLUMN_ID>
+<!--B956EBF22FD411DE9A5F001D09C4A2FE-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--B956EBF22FD411DE9A5F001D09C4A2FE-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--B956EBF22FD411DE9A5F001D09C4A2FE-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--B956EBF22FD411DE9A5F001D09C4A2FE-->  <NAME><![CDATA[TreeType]]></NAME>
+<!--B956EBF22FD411DE9A5F001D09C4A2FE-->  <DESCRIPTION><![CDATA[Defines the type of tree which can hold records of this Table]]></DESCRIPTION>
+<!--B956EBF22FD411DE9A5F001D09C4A2FE-->  <HELP><![CDATA[Defines the type of tree which can hold records of this Table]]></HELP>
+<!--B956EBF22FD411DE9A5F001D09C4A2FE-->  <COLUMNNAME><![CDATA[Treetype]]></COLUMNNAME>
+<!--B956EBF22FD411DE9A5F001D09C4A2FE-->  <AD_TABLE_ID><![CDATA[100]]></AD_TABLE_ID>
+<!--B956EBF22FD411DE9A5F001D09C4A2FE-->  <AD_REFERENCE_ID><![CDATA[17]]></AD_REFERENCE_ID>
+<!--B956EBF22FD411DE9A5F001D09C4A2FE-->  <AD_REFERENCE_VALUE_ID><![CDATA[120]]></AD_REFERENCE_VALUE_ID>
+<!--B956EBF22FD411DE9A5F001D09C4A2FE-->  <FIELDLENGTH><![CDATA[60]]></FIELDLENGTH>
+<!--B956EBF22FD411DE9A5F001D09C4A2FE-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--B956EBF22FD411DE9A5F001D09C4A2FE-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--B956EBF22FD411DE9A5F001D09C4A2FE-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--B956EBF22FD411DE9A5F001D09C4A2FE-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--B956EBF22FD411DE9A5F001D09C4A2FE-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--B956EBF22FD411DE9A5F001D09C4A2FE-->  <SEQNO><![CDATA[71]]></SEQNO>
+<!--B956EBF22FD411DE9A5F001D09C4A2FE-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--B956EBF22FD411DE9A5F001D09C4A2FE-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--B956EBF22FD411DE9A5F001D09C4A2FE-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--B956EBF22FD411DE9A5F001D09C4A2FE-->  <AD_ELEMENT_ID><![CDATA[599]]></AD_ELEMENT_ID>
+<!--B956EBF22FD411DE9A5F001D09C4A2FE-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--B956EBF22FD411DE9A5F001D09C4A2FE-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--B956EBF22FD411DE9A5F001D09C4A2FE-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--B956EBF22FD411DE9A5F001D09C4A2FE-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--B956EBF22FD411DE9A5F001D09C4A2FE-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--B956EBF22FD411DE9A5F001D09C4A2FE-->  <POSITION><![CDATA[27]]></POSITION>
+<!--B956EBF22FD411DE9A5F001D09C4A2FE-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--B956EBF22FD411DE9A5F001D09C4A2FE--></AD_COLUMN>
+
 <!--D436A87CCB6611DDBF757B72CD9436D9--><AD_COLUMN>
 <!--D436A87CCB6611DDBF757B72CD9436D9-->  <AD_COLUMN_ID><![CDATA[D436A87CCB6611DDBF757B72CD9436D9]]></AD_COLUMN_ID>
 <!--D436A87CCB6611DDBF757B72CD9436D9-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_ELEMENT.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/sourcedata/AD_ELEMENT.xml	Mon May 04 14:43:04 2009 +0200
@@ -24418,6 +24418,45 @@
 <!--667AE26F6635E6A7E040007F01015B98-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--667AE26F6635E6A7E040007F01015B98--></AD_ELEMENT>
 
+<!--682633A6E6A89D31E040007F010061E4--><AD_ELEMENT>
+<!--682633A6E6A89D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[682633A6E6A89D31E040007F010061E4]]></AD_ELEMENT_ID>
+<!--682633A6E6A89D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6A89D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6A89D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6A89D31E040007F010061E4-->  <COLUMNNAME><![CDATA[AD_Module_Install_ID]]></COLUMNNAME>
+<!--682633A6E6A89D31E040007F010061E4-->  <NAME><![CDATA[AD_Module_Install_ID]]></NAME>
+<!--682633A6E6A89D31E040007F010061E4-->  <PRINTNAME><![CDATA[AD_Module_Install_ID]]></PRINTNAME>
+<!--682633A6E6A89D31E040007F010061E4-->  <DESCRIPTION><![CDATA[Temporary table used when installing/updating modules]]></DESCRIPTION>
+<!--682633A6E6A89D31E040007F010061E4-->  <HELP><![CDATA[This temporary table is used in the installation and update process for modules. It stores the information for the upcoming module.]]></HELP>
+<!--682633A6E6A89D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6A89D31E040007F010061E4--></AD_ELEMENT>
+
+<!--682633A6E6B49D31E040007F010061E4--><AD_ELEMENT>
+<!--682633A6E6B49D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[682633A6E6B49D31E040007F010061E4]]></AD_ELEMENT_ID>
+<!--682633A6E6B49D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6B49D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6B49D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6B49D31E040007F010061E4-->  <COLUMNNAME><![CDATA[AD_Module_Dbprefix_Install_ID]]></COLUMNNAME>
+<!--682633A6E6B49D31E040007F010061E4-->  <NAME><![CDATA[AD_Module_Dbprefix_Install_ID]]></NAME>
+<!--682633A6E6B49D31E040007F010061E4-->  <PRINTNAME><![CDATA[AD_Module_Dbprefix_Install_ID]]></PRINTNAME>
+<!--682633A6E6B49D31E040007F010061E4-->  <DESCRIPTION><![CDATA[Temporary table for module db prefixes]]></DESCRIPTION>
+<!--682633A6E6B49D31E040007F010061E4-->  <HELP><![CDATA[This temporary table is used to store data about module db prefixes during the update or install process.]]></HELP>
+<!--682633A6E6B49D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6B49D31E040007F010061E4--></AD_ELEMENT>
+
+<!--682633A6E6C49D31E040007F010061E4--><AD_ELEMENT>
+<!--682633A6E6C49D31E040007F010061E4-->  <AD_ELEMENT_ID><![CDATA[682633A6E6C49D31E040007F010061E4]]></AD_ELEMENT_ID>
+<!--682633A6E6C49D31E040007F010061E4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--682633A6E6C49D31E040007F010061E4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--682633A6E6C49D31E040007F010061E4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--682633A6E6C49D31E040007F010061E4-->  <COLUMNNAME><![CDATA[AD_Module_Dependency_Inst_ID]]></COLUMNNAME>
+<!--682633A6E6C49D31E040007F010061E4-->  <NAME><![CDATA[AD_Module_Dependency_Inst_ID]]></NAME>
+<!--682633A6E6C49D31E040007F010061E4-->  <PRINTNAME><![CDATA[AD_Module_Dependency_Inst_ID]]></PRINTNAME>
+<!--682633A6E6C49D31E040007F010061E4-->  <DESCRIPTION><![CDATA[Temporary table for updating/installing modules]]></DESCRIPTION>
+<!--682633A6E6C49D31E040007F010061E4-->  <HELP><![CDATA[This temporary table is used to store module dependencies during the update and install processes]]></HELP>
+<!--682633A6E6C49D31E040007F010061E4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--682633A6E6C49D31E040007F010061E4--></AD_ELEMENT>
+
 <!--6860321CEBD211DD85DF0016D4EE9DB3--><AD_ELEMENT>
 <!--6860321CEBD211DD85DF0016D4EE9DB3-->  <AD_ELEMENT_ID><![CDATA[6860321CEBD211DD85DF0016D4EE9DB3]]></AD_ELEMENT_ID>
 <!--6860321CEBD211DD85DF0016D4EE9DB3-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_EXCEPTIONS.xml	Wed Apr 22 20:58:48 2009 +0530
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<data>
-</data>
--- a/src-db/database/sourcedata/AD_FIELD.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/sourcedata/AD_FIELD.xml	Mon May 04 14:43:04 2009 +0200
@@ -868,7 +868,7 @@
 <!--147-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
 <!--147-->  <DISPLAYLENGTH><![CDATA[44]]></DISPLAYLENGTH>
 <!--147-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--147-->  <SEQNO><![CDATA[130]]></SEQNO>
+<!--147-->  <SEQNO><![CDATA[140]]></SEQNO>
 <!--147-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
 <!--147-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
 <!--147-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
@@ -2792,7 +2792,7 @@
 <!--253-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
 <!--253-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
 <!--253-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--253-->  <SEQNO><![CDATA[150]]></SEQNO>
+<!--253-->  <SEQNO><![CDATA[160]]></SEQNO>
 <!--253-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
 <!--253-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
 <!--253-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
@@ -36839,7 +36839,7 @@
 <!--3207-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
 <!--3207-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
 <!--3207-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--3207-->  <SEQNO><![CDATA[160]]></SEQNO>
+<!--3207-->  <SEQNO><![CDATA[170]]></SEQNO>
 <!--3207-->  <ISSAMELINE><![CDATA[Y]]></ISSAMELINE>
 <!--3207-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
 <!--3207-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
@@ -59639,7 +59639,7 @@
 <!--5126-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
 <!--5126-->  <DISPLAYLENGTH><![CDATA[23]]></DISPLAYLENGTH>
 <!--5126-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--5126-->  <SEQNO><![CDATA[180]]></SEQNO>
+<!--5126-->  <SEQNO><![CDATA[190]]></SEQNO>
 <!--5126-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
 <!--5126-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
 <!--5126-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
@@ -81619,7 +81619,7 @@
 <!--6554-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
 <!--6554-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
 <!--6554-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--6554-->  <SEQNO><![CDATA[120]]></SEQNO>
+<!--6554-->  <SEQNO><![CDATA[130]]></SEQNO>
 <!--6554-->  <ISSAMELINE><![CDATA[Y]]></ISSAMELINE>
 <!--6554-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
 <!--6554-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
@@ -95564,7 +95564,7 @@
 <!--7531-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
 <!--7531-->  <DISPLAYLENGTH><![CDATA[44]]></DISPLAYLENGTH>
 <!--7531-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--7531-->  <SEQNO><![CDATA[140]]></SEQNO>
+<!--7531-->  <SEQNO><![CDATA[150]]></SEQNO>
 <!--7531-->  <ISSAMELINE><![CDATA[Y]]></ISSAMELINE>
 <!--7531-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
 <!--7531-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
@@ -108426,7 +108426,7 @@
 <!--800044-->  <AD_TAB_ID><![CDATA[800002]]></AD_TAB_ID>
 <!--800044-->  <AD_COLUMN_ID><![CDATA[800136]]></AD_COLUMN_ID>
 <!--800044-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
-<!--800044-->  <DISPLAYLOGIC><![CDATA[@Processed@='N']]></DISPLAYLOGIC>
+<!--800044-->  <DISPLAYLOGIC><![CDATA[@Processed@='N' & @ProjectStatus@!'OC']]></DISPLAYLOGIC>
 <!--800044-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
 <!--800044-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
 <!--800044-->  <SEQNO><![CDATA[480]]></SEQNO>
@@ -172246,7 +172246,7 @@
 <!--804200-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
 <!--804200-->  <DISPLAYLENGTH><![CDATA[21]]></DISPLAYLENGTH>
 <!--804200-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--804200-->  <SEQNO><![CDATA[170]]></SEQNO>
+<!--804200-->  <SEQNO><![CDATA[180]]></SEQNO>
 <!--804200-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
 <!--804200-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
 <!--804200-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
@@ -190792,6 +190792,29 @@
 <!--739F4C68F44B11DD9B7A0016D4EE9DB3-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--739F4C68F44B11DD9B7A0016D4EE9DB3--></AD_FIELD>
 
+<!--781A06642FD511DE882C001D09C4A2FE--><AD_FIELD>
+<!--781A06642FD511DE882C001D09C4A2FE-->  <AD_FIELD_ID><![CDATA[781A06642FD511DE882C001D09C4A2FE]]></AD_FIELD_ID>
+<!--781A06642FD511DE882C001D09C4A2FE-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--781A06642FD511DE882C001D09C4A2FE-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--781A06642FD511DE882C001D09C4A2FE-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--781A06642FD511DE882C001D09C4A2FE-->  <NAME><![CDATA[TreeType]]></NAME>
+<!--781A06642FD511DE882C001D09C4A2FE-->  <DESCRIPTION><![CDATA[Defines the type of tree which can hold records of this Table]]></DESCRIPTION>
+<!--781A06642FD511DE882C001D09C4A2FE-->  <HELP><![CDATA[Defines the type of tree which can hold records of this Table]]></HELP>
+<!--781A06642FD511DE882C001D09C4A2FE-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--781A06642FD511DE882C001D09C4A2FE-->  <AD_TAB_ID><![CDATA[100]]></AD_TAB_ID>
+<!--781A06642FD511DE882C001D09C4A2FE-->  <AD_COLUMN_ID><![CDATA[B956EBF22FD411DE9A5F001D09C4A2FE]]></AD_COLUMN_ID>
+<!--781A06642FD511DE882C001D09C4A2FE-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--781A06642FD511DE882C001D09C4A2FE-->  <DISPLAYLENGTH><![CDATA[20]]></DISPLAYLENGTH>
+<!--781A06642FD511DE882C001D09C4A2FE-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--781A06642FD511DE882C001D09C4A2FE-->  <SEQNO><![CDATA[120]]></SEQNO>
+<!--781A06642FD511DE882C001D09C4A2FE-->  <ISSAMELINE><![CDATA[Y]]></ISSAMELINE>
+<!--781A06642FD511DE882C001D09C4A2FE-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--781A06642FD511DE882C001D09C4A2FE-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--781A06642FD511DE882C001D09C4A2FE-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--781A06642FD511DE882C001D09C4A2FE-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--781A06642FD511DE882C001D09C4A2FE-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--781A06642FD511DE882C001D09C4A2FE--></AD_FIELD>
+
 <!--7CB84C12E8A911DDAD920016D4EE9DB3--><AD_FIELD>
 <!--7CB84C12E8A911DDAD920016D4EE9DB3-->  <AD_FIELD_ID><![CDATA[7CB84C12E8A911DDAD920016D4EE9DB3]]></AD_FIELD_ID>
 <!--7CB84C12E8A911DDAD920016D4EE9DB3-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_MENU.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/sourcedata/AD_MENU.xml	Mon May 04 14:43:04 2009 +0200
@@ -5037,19 +5037,6 @@
 <!--800270-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--800270--></AD_MENU>
 
-<!--800277--><AD_MENU>
-<!--800277-->  <AD_MENU_ID><![CDATA[800277]]></AD_MENU_ID>
-<!--800277-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--800277-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--800277-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--800277-->  <NAME><![CDATA[Detailed Warehouse Inventory]]></NAME>
-<!--800277-->  <DESCRIPTION><![CDATA[Detailed Warehouse Inventory]]></DESCRIPTION>
-<!--800277-->  <ISSUMMARY><![CDATA[N]]></ISSUMMARY>
-<!--800277-->  <ACTION><![CDATA[R]]></ACTION>
-<!--800277-->  <AD_PROCESS_ID><![CDATA[800193]]></AD_PROCESS_ID>
-<!--800277-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--800277--></AD_MENU>
-
 <!--800279--><AD_MENU>
 <!--800279-->  <AD_MENU_ID><![CDATA[800279]]></AD_MENU_ID>
 <!--800279-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_MESSAGE.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/sourcedata/AD_MESSAGE.xml	Mon May 04 14:43:04 2009 +0200
@@ -63149,6 +63149,17 @@
 <!--010321C0FB2F42DAB68E93EC6FF287EC-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--010321C0FB2F42DAB68E93EC6FF287EC--></AD_MESSAGE>
 
+<!--01C801B95D4A44E2956F9057C7E38A6A--><AD_MESSAGE>
+<!--01C801B95D4A44E2956F9057C7E38A6A-->  <AD_MESSAGE_ID><![CDATA[01C801B95D4A44E2956F9057C7E38A6A]]></AD_MESSAGE_ID>
+<!--01C801B95D4A44E2956F9057C7E38A6A-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--01C801B95D4A44E2956F9057C7E38A6A-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--01C801B95D4A44E2956F9057C7E38A6A-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--01C801B95D4A44E2956F9057C7E38A6A-->  <VALUE><![CDATA[ListValueDBPrefix]]></VALUE>
+<!--01C801B95D4A44E2956F9057C7E38A6A-->  <MSGTEXT><![CDATA[Search key for list references within a module different than its header's one must start with the module's DBPrefix]]></MSGTEXT>
+<!--01C801B95D4A44E2956F9057C7E38A6A-->  <MSGTYPE><![CDATA[E]]></MSGTYPE>
+<!--01C801B95D4A44E2956F9057C7E38A6A-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--01C801B95D4A44E2956F9057C7E38A6A--></AD_MESSAGE>
+
 <!--043C7F0B055D4B01B5E9CAB6A94FCD85--><AD_MESSAGE>
 <!--043C7F0B055D4B01B5E9CAB6A94FCD85-->  <AD_MESSAGE_ID><![CDATA[043C7F0B055D4B01B5E9CAB6A94FCD85]]></AD_MESSAGE_ID>
 <!--043C7F0B055D4B01B5E9CAB6A94FCD85-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_MODEL_OBJECT.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/sourcedata/AD_MODEL_OBJECT.xml	Mon May 04 14:43:04 2009 +0200
@@ -3312,18 +3312,6 @@
 <!--801725-->  <OBJECT_TYPE><![CDATA[S]]></OBJECT_TYPE>
 <!--801725--></AD_MODEL_OBJECT>
 
-<!--801726--><AD_MODEL_OBJECT>
-<!--801726-->  <AD_MODEL_OBJECT_ID><![CDATA[801726]]></AD_MODEL_OBJECT_ID>
-<!--801726-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--801726-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--801726-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--801726-->  <ACTION><![CDATA[R]]></ACTION>
-<!--801726-->  <CLASSNAME><![CDATA[org.openbravo.erpCommon.ad_reports.ReportWarehouseDetailInventoryJR]]></CLASSNAME>
-<!--801726-->  <ISDEFAULT><![CDATA[Y]]></ISDEFAULT>
-<!--801726-->  <AD_PROCESS_ID><![CDATA[800193]]></AD_PROCESS_ID>
-<!--801726-->  <OBJECT_TYPE><![CDATA[S]]></OBJECT_TYPE>
-<!--801726--></AD_MODEL_OBJECT>
-
 <!--801727--><AD_MODEL_OBJECT>
 <!--801727-->  <AD_MODEL_OBJECT_ID><![CDATA[801727]]></AD_MODEL_OBJECT_ID>
 <!--801727-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml	Mon May 04 14:43:04 2009 +0200
@@ -3440,26 +3440,6 @@
 <!--802780-->  <ISDEFAULT><![CDATA[N]]></ISDEFAULT>
 <!--802780--></AD_MODEL_OBJECT_MAPPING>
 
-<!--802781--><AD_MODEL_OBJECT_MAPPING>
-<!--802781-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[802781]]></AD_MODEL_OBJECT_MAPPING_ID>
-<!--802781-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--802781-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--802781-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--802781-->  <AD_MODEL_OBJECT_ID><![CDATA[801726]]></AD_MODEL_OBJECT_ID>
-<!--802781-->  <MAPPINGNAME><![CDATA[/ad_reports/ReportWarehouseDetailInventoryJR.html]]></MAPPINGNAME>
-<!--802781-->  <ISDEFAULT><![CDATA[Y]]></ISDEFAULT>
-<!--802781--></AD_MODEL_OBJECT_MAPPING>
-
-<!--802782--><AD_MODEL_OBJECT_MAPPING>
-<!--802782-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[802782]]></AD_MODEL_OBJECT_MAPPING_ID>
-<!--802782-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--802782-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--802782-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--802782-->  <AD_MODEL_OBJECT_ID><![CDATA[801726]]></AD_MODEL_OBJECT_ID>
-<!--802782-->  <MAPPINGNAME><![CDATA[/ad_reports/ReportWarehouseDetailInventoryJR.pdf]]></MAPPINGNAME>
-<!--802782-->  <ISDEFAULT><![CDATA[N]]></ISDEFAULT>
-<!--802782--></AD_MODEL_OBJECT_MAPPING>
-
 <!--802787--><AD_MODEL_OBJECT_MAPPING>
 <!--802787-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[802787]]></AD_MODEL_OBJECT_MAPPING_ID>
 <!--802787-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml	Wed Apr 22 20:58:48 2009 +0530
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<data>
-</data>
--- a/src-db/database/sourcedata/AD_ORGINFO.xml	Wed Apr 22 20:58:48 2009 +0530
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,3 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<data>
-</data>
--- a/src-db/database/sourcedata/AD_PROCESS.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/sourcedata/AD_PROCESS.xml	Mon May 04 14:43:04 2009 +0200
@@ -5097,25 +5097,6 @@
 <!--800192-->  <UIPATTERN><![CDATA[M]]></UIPATTERN>
 <!--800192--></AD_PROCESS>
 
-<!--800193--><AD_PROCESS>
-<!--800193-->  <AD_PROCESS_ID><![CDATA[800193]]></AD_PROCESS_ID>
-<!--800193-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--800193-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--800193-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--800193-->  <VALUE><![CDATA[RV_ReportWarehouseDetailInventoryJR]]></VALUE>
-<!--800193-->  <NAME><![CDATA[Detailed Warehouse Inventory]]></NAME>
-<!--800193-->  <DESCRIPTION><![CDATA[Detailed Warehouse Inventory]]></DESCRIPTION>
-<!--800193-->  <HELP><![CDATA[Detailed Warehouse Inventory JR]]></HELP>
-<!--800193-->  <ACCESSLEVEL><![CDATA[3]]></ACCESSLEVEL>
-<!--800193-->  <ISUSERSTARTABLE><![CDATA[N]]></ISUSERSTARTABLE>
-<!--800193-->  <ISREPORT><![CDATA[Y]]></ISREPORT>
-<!--800193-->  <ISDIRECTPRINT><![CDATA[N]]></ISDIRECTPRINT>
-<!--800193-->  <ISBACKGROUND><![CDATA[N]]></ISBACKGROUND>
-<!--800193-->  <ISJASPER><![CDATA[N]]></ISJASPER>
-<!--800193-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--800193-->  <UIPATTERN><![CDATA[M]]></UIPATTERN>
-<!--800193--></AD_PROCESS>
-
 <!--800194--><AD_PROCESS>
 <!--800194-->  <AD_PROCESS_ID><![CDATA[800194]]></AD_PROCESS_ID>
 <!--800194-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_TABLE.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/sourcedata/AD_TABLE.xml	Mon May 04 14:43:04 2009 +0200
@@ -356,6 +356,7 @@
 <!--116-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
 <!--116-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
 <!--116-->  <AD_PACKAGE_ID><![CDATA[5A3ED54AB1CF4B84E040007F01006125]]></AD_PACKAGE_ID>
+<!--116-->  <TREETYPE><![CDATA[MM]]></TREETYPE>
 <!--116--></AD_TABLE>
 
 <!--117--><AD_TABLE>
@@ -843,6 +844,7 @@
 <!--155-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
 <!--155-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
 <!--155-->  <AD_PACKAGE_ID><![CDATA[5A3ED54AB1D54B84E040007F01006125]]></AD_PACKAGE_ID>
+<!--155-->  <TREETYPE><![CDATA[OO]]></TREETYPE>
 <!--155--></AD_TABLE>
 
 <!--156--><AD_TABLE>
@@ -1154,6 +1156,7 @@
 <!--188-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
 <!--188-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
 <!--188-->  <AD_PACKAGE_ID><![CDATA[5A3ED54AB1DF4B84E040007F01006125]]></AD_PACKAGE_ID>
+<!--188-->  <TREETYPE><![CDATA[EV]]></TREETYPE>
 <!--188--></AD_TABLE>
 
 <!--190--><AD_TABLE>
@@ -1338,6 +1341,7 @@
 <!--203-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
 <!--203-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
 <!--203-->  <AD_PACKAGE_ID><![CDATA[5A3ED54AB1F94B84E040007F01006125]]></AD_PACKAGE_ID>
+<!--203-->  <TREETYPE><![CDATA[PJ]]></TREETYPE>
 <!--203--></AD_TABLE>
 
 <!--204--><AD_TABLE>
@@ -1406,6 +1410,7 @@
 <!--208-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
 <!--208-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
 <!--208-->  <AD_PACKAGE_ID><![CDATA[5A3ED54AB1DA4B84E040007F01006125]]></AD_PACKAGE_ID>
+<!--208-->  <TREETYPE><![CDATA[PR]]></TREETYPE>
 <!--208--></AD_TABLE>
 
 <!--209--><AD_TABLE>
@@ -1428,6 +1433,7 @@
 <!--209-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
 <!--209-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
 <!--209-->  <AD_PACKAGE_ID><![CDATA[5A3ED54AB1DA4B84E040007F01006125]]></AD_PACKAGE_ID>
+<!--209-->  <TREETYPE><![CDATA[PC]]></TREETYPE>
 <!--209--></AD_TABLE>
 
 <!--210--><AD_TABLE>
@@ -1658,8 +1664,7 @@
 <!--230-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--230-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--230-->  <NAME><![CDATA[SalesRegion]]></NAME>
-<!--230-->  <DESCRIPTION><![CDATA[Sales Region
-Maintain Sales Region Accounting Dimension Tree]]></DESCRIPTION>
+<!--230-->  <DESCRIPTION><![CDATA[Sales Region<BR>Maintain Sales Region Accounting Dimension Tree]]></DESCRIPTION>
 <!--230-->  <HELP><![CDATA[The Sales Region defines the different regions where you do business.  Sales Regions can be used when generating reports or calculating commissions.]]></HELP>
 <!--230-->  <TABLENAME><![CDATA[C_SalesRegion]]></TABLENAME>
 <!--230-->  <CLASSNAME><![CDATA[SalesRegion]]></CLASSNAME>
@@ -1673,6 +1678,7 @@
 <!--230-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
 <!--230-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
 <!--230-->  <AD_PACKAGE_ID><![CDATA[5A3ED54AB1FA4B84E040007F01006125]]></AD_PACKAGE_ID>
+<!--230-->  <TREETYPE><![CDATA[SR]]></TREETYPE>
 <!--230--></AD_TABLE>
 
 <!--249--><AD_TABLE>
@@ -1995,8 +2001,7 @@
 <!--274-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--274-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--274-->  <NAME><![CDATA[MarketingCampaign]]></NAME>
-<!--274-->  <DESCRIPTION><![CDATA[Marketing Campaign
-Maintain Marketing Campaign Accounting Dimension Tree]]></DESCRIPTION>
+<!--274-->  <DESCRIPTION><![CDATA[Marketing Campaign<BR>Maintain Marketing Campaign Accounting Dimension Tree]]></DESCRIPTION>
 <!--274-->  <HELP><![CDATA[The Marketing Campaign defines the parameters for a Campaign.  These include a start and end date as well as the amount of any invoices that have been processed which reference this campaign.
 Please note that you will not be able to create new entities in this window if you have not default set for all mandatory values!]]></HELP>
 <!--274-->  <TABLENAME><![CDATA[C_Campaign]]></TABLENAME>
@@ -2011,6 +2016,7 @@
 <!--274-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
 <!--274-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
 <!--274-->  <AD_PACKAGE_ID><![CDATA[5A3ED54AB1EE4B84E040007F01006125]]></AD_PACKAGE_ID>
+<!--274-->  <TREETYPE><![CDATA[MC]]></TREETYPE>
 <!--274--></AD_TABLE>
 
 <!--275--><AD_TABLE>
@@ -2299,6 +2305,7 @@
 <!--291-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
 <!--291-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
 <!--291-->  <AD_PACKAGE_ID><![CDATA[5A3ED54AB1D34B84E040007F01006125]]></AD_PACKAGE_ID>
+<!--291-->  <TREETYPE><![CDATA[BP]]></TREETYPE>
 <!--291--></AD_TABLE>
 
 <!--293--><AD_TABLE>
@@ -2616,8 +2623,7 @@
 <!--316-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
 <!--316-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--316-->  <NAME><![CDATA[MaterialMgmtABCActivity]]></NAME>
-<!--316-->  <DESCRIPTION><![CDATA[Activity for Activity Based Costing
-Maintain Acitivity Accounting Dimension Tree]]></DESCRIPTION>
+<!--316-->  <DESCRIPTION><![CDATA[Activity for Activity Based Costing<BR>Maintain Acitivity Accounting Dimension Tree]]></DESCRIPTION>
 <!--316-->  <HELP><![CDATA[Defines tasks that are preformed and in Activity Based Costing.]]></HELP>
 <!--316-->  <TABLENAME><![CDATA[C_Activity]]></TABLENAME>
 <!--316-->  <CLASSNAME><![CDATA[ABCActivity]]></CLASSNAME>
@@ -2631,6 +2637,7 @@
 <!--316-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
 <!--316-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
 <!--316-->  <AD_PACKAGE_ID><![CDATA[5A3ED54AB1EF4B84E040007F01006125]]></AD_PACKAGE_ID>
+<!--316-->  <TREETYPE><![CDATA[AY]]></TREETYPE>
 <!--316--></AD_TABLE>
 
 <!--318--><AD_TABLE>
@@ -3371,6 +3378,7 @@
 <!--383-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
 <!--383-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
 <!--383-->  <AD_PACKAGE_ID><![CDATA[5A3ED54AB1DA4B84E040007F01006125]]></AD_PACKAGE_ID>
+<!--383-->  <TREETYPE><![CDATA[BB]]></TREETYPE>
 <!--383--></AD_TABLE>
 
 <!--385--><AD_TABLE>
@@ -3915,7 +3923,7 @@
 <!--422-->  <TABLENAME><![CDATA[AD_Role_OrgAccess]]></TABLENAME>
 <!--422-->  <CLASSNAME><![CDATA[RoleOrganization]]></CLASSNAME>
 <!--422-->  <ISVIEW><![CDATA[N]]></ISVIEW>
-<!--422-->  <ACCESSLEVEL><![CDATA[3]]></ACCESSLEVEL>
+<!--422-->  <ACCESSLEVEL><![CDATA[7]]></ACCESSLEVEL>
 <!--422-->  <AD_WINDOW_ID><![CDATA[111]]></AD_WINDOW_ID>
 <!--422-->  <ISSECURITYENABLED><![CDATA[N]]></ISSECURITYENABLED>
 <!--422-->  <ISDELETEABLE><![CDATA[Y]]></ISDELETEABLE>
@@ -9337,6 +9345,7 @@
 <!--800223-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
 <!--800223-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
 <!--800223-->  <AD_PACKAGE_ID><![CDATA[5A3ED54AB1E14B84E040007F01006125]]></AD_PACKAGE_ID>
+<!--800223-->  <TREETYPE><![CDATA[AR]]></TREETYPE>
 <!--800223--></AD_TABLE>
 
 <!--800224--><AD_TABLE>
@@ -9399,6 +9408,7 @@
 <!--800226-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
 <!--800226-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
 <!--800226-->  <AD_PACKAGE_ID><![CDATA[5A3ED54AB1E74B84E040007F01006125]]></AD_PACKAGE_ID>
+<!--800226-->  <TREETYPE><![CDATA[TR]]></TREETYPE>
 <!--800226--></AD_TABLE>
 
 <!--800227--><AD_TABLE>
@@ -10106,6 +10116,28 @@
 <!--686694E77C424953BC759965AB2D19C5-->  <AD_PACKAGE_ID><![CDATA[5A3ED54AB1D04B84E040007F01006125]]></AD_PACKAGE_ID>
 <!--686694E77C424953BC759965AB2D19C5--></AD_TABLE>
 
+<!--70727ADC19AC4C0CB1F295A50719BD2A--><AD_TABLE>
+<!--70727ADC19AC4C0CB1F295A50719BD2A-->  <AD_TABLE_ID><![CDATA[70727ADC19AC4C0CB1F295A50719BD2A]]></AD_TABLE_ID>
+<!--70727ADC19AC4C0CB1F295A50719BD2A-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--70727ADC19AC4C0CB1F295A50719BD2A-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--70727ADC19AC4C0CB1F295A50719BD2A-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--70727ADC19AC4C0CB1F295A50719BD2A-->  <NAME><![CDATA[ADModuleDBPrefixInstall]]></NAME>
+<!--70727ADC19AC4C0CB1F295A50719BD2A-->  <DESCRIPTION><![CDATA[Temporary table for module db prefixes]]></DESCRIPTION>
+<!--70727ADC19AC4C0CB1F295A50719BD2A-->  <HELP><![CDATA[A Client is a company or a legal entity. You cannot share data between Clients.]]></HELP>
+<!--70727ADC19AC4C0CB1F295A50719BD2A-->  <TABLENAME><![CDATA[AD_Module_DBPrefix_Install]]></TABLENAME>
+<!--70727ADC19AC4C0CB1F295A50719BD2A-->  <CLASSNAME><![CDATA[ModuleDBPrefixInstall]]></CLASSNAME>
+<!--70727ADC19AC4C0CB1F295A50719BD2A-->  <ISVIEW><![CDATA[N]]></ISVIEW>
+<!--70727ADC19AC4C0CB1F295A50719BD2A-->  <ACCESSLEVEL><![CDATA[4]]></ACCESSLEVEL>
+<!--70727ADC19AC4C0CB1F295A50719BD2A-->  <ISSECURITYENABLED><![CDATA[N]]></ISSECURITYENABLED>
+<!--70727ADC19AC4C0CB1F295A50719BD2A-->  <ISDELETEABLE><![CDATA[N]]></ISDELETEABLE>
+<!--70727ADC19AC4C0CB1F295A50719BD2A-->  <ISHIGHVOLUME><![CDATA[N]]></ISHIGHVOLUME>
+<!--70727ADC19AC4C0CB1F295A50719BD2A-->  <IMPORTTABLE><![CDATA[N]]></IMPORTTABLE>
+<!--70727ADC19AC4C0CB1F295A50719BD2A-->  <ISCHANGELOG><![CDATA[N]]></ISCHANGELOG>
+<!--70727ADC19AC4C0CB1F295A50719BD2A-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
+<!--70727ADC19AC4C0CB1F295A50719BD2A-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--70727ADC19AC4C0CB1F295A50719BD2A-->  <AD_PACKAGE_ID><![CDATA[5A3ED54AB1CC4B84E040007F01006125]]></AD_PACKAGE_ID>
+<!--70727ADC19AC4C0CB1F295A50719BD2A--></AD_TABLE>
+
 <!--7F900CBEF00C45D2833F897E12BAE86E--><AD_TABLE>
 <!--7F900CBEF00C45D2833F897E12BAE86E-->  <AD_TABLE_ID><![CDATA[7F900CBEF00C45D2833F897E12BAE86E]]></AD_TABLE_ID>
 <!--7F900CBEF00C45D2833F897E12BAE86E-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -10174,6 +10206,50 @@
 <!--84B117B791D9407187EB929BB2B3DD19-->  <AD_PACKAGE_ID><![CDATA[5A3ED54AB1E34B84E040007F01006125]]></AD_PACKAGE_ID>
 <!--84B117B791D9407187EB929BB2B3DD19--></AD_TABLE>
 
+<!--8FD3DEA921D74CAFB5D4296A0375E958--><AD_TABLE>
+<!--8FD3DEA921D74CAFB5D4296A0375E958-->  <AD_TABLE_ID><![CDATA[8FD3DEA921D74CAFB5D4296A0375E958]]></AD_TABLE_ID>
+<!--8FD3DEA921D74CAFB5D4296A0375E958-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--8FD3DEA921D74CAFB5D4296A0375E958-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--8FD3DEA921D74CAFB5D4296A0375E958-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--8FD3DEA921D74CAFB5D4296A0375E958-->  <NAME><![CDATA[ADModuleInstall]]></NAME>
+<!--8FD3DEA921D74CAFB5D4296A0375E958-->  <DESCRIPTION><![CDATA[Temporary table used when installing/updating modules]]></DESCRIPTION>
+<!--8FD3DEA921D74CAFB5D4296A0375E958-->  <HELP><![CDATA[This temporary table is used in the installation and update process for modules. It stores the information for the upcoming module.]]></HELP>
+<!--8FD3DEA921D74CAFB5D4296A0375E958-->  <TABLENAME><![CDATA[AD_Module_Install]]></TABLENAME>
+<!--8FD3DEA921D74CAFB5D4296A0375E958-->  <CLASSNAME><![CDATA[ModuleInstall]]></CLASSNAME>
+<!--8FD3DEA921D74CAFB5D4296A0375E958-->  <ISVIEW><![CDATA[N]]></ISVIEW>
+<!--8FD3DEA921D74CAFB5D4296A0375E958-->  <ACCESSLEVEL><![CDATA[4]]></ACCESSLEVEL>
+<!--8FD3DEA921D74CAFB5D4296A0375E958-->  <ISSECURITYENABLED><![CDATA[N]]></ISSECURITYENABLED>
+<!--8FD3DEA921D74CAFB5D4296A0375E958-->  <ISDELETEABLE><![CDATA[N]]></ISDELETEABLE>
+<!--8FD3DEA921D74CAFB5D4296A0375E958-->  <ISHIGHVOLUME><![CDATA[N]]></ISHIGHVOLUME>
+<!--8FD3DEA921D74CAFB5D4296A0375E958-->  <IMPORTTABLE><![CDATA[N]]></IMPORTTABLE>
+<!--8FD3DEA921D74CAFB5D4296A0375E958-->  <ISCHANGELOG><![CDATA[N]]></ISCHANGELOG>
+<!--8FD3DEA921D74CAFB5D4296A0375E958-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
+<!--8FD3DEA921D74CAFB5D4296A0375E958-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--8FD3DEA921D74CAFB5D4296A0375E958-->  <AD_PACKAGE_ID><![CDATA[5A3ED54AB1CC4B84E040007F01006125]]></AD_PACKAGE_ID>
+<!--8FD3DEA921D74CAFB5D4296A0375E958--></AD_TABLE>
+
+<!--93F49C7968574D99B18085A6DD3C5CC6--><AD_TABLE>
+<!--93F49C7968574D99B18085A6DD3C5CC6-->  <AD_TABLE_ID><![CDATA[93F49C7968574D99B18085A6DD3C5CC6]]></AD_TABLE_ID>
+<!--93F49C7968574D99B18085A6DD3C5CC6-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--93F49C7968574D99B18085A6DD3C5CC6-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--93F49C7968574D99B18085A6DD3C5CC6-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--93F49C7968574D99B18085A6DD3C5CC6-->  <NAME><![CDATA[ADModuleDependencyInst]]></NAME>
+<!--93F49C7968574D99B18085A6DD3C5CC6-->  <DESCRIPTION><![CDATA[Temporary table for updating/installing modules]]></DESCRIPTION>
+<!--93F49C7968574D99B18085A6DD3C5CC6-->  <HELP><![CDATA[This temporary table is used to store module dependencies during the update and install processes]]></HELP>
+<!--93F49C7968574D99B18085A6DD3C5CC6-->  <TABLENAME><![CDATA[AD_Module_Dependency_Inst]]></TABLENAME>
+<!--93F49C7968574D99B18085A6DD3C5CC6-->  <CLASSNAME><![CDATA[ModuleDependencyInst]]></CLASSNAME>
+<!--93F49C7968574D99B18085A6DD3C5CC6-->  <ISVIEW><![CDATA[N]]></ISVIEW>
+<!--93F49C7968574D99B18085A6DD3C5CC6-->  <ACCESSLEVEL><![CDATA[4]]></ACCESSLEVEL>
+<!--93F49C7968574D99B18085A6DD3C5CC6-->  <ISSECURITYENABLED><![CDATA[N]]></ISSECURITYENABLED>
+<!--93F49C7968574D99B18085A6DD3C5CC6-->  <ISDELETEABLE><![CDATA[N]]></ISDELETEABLE>
+<!--93F49C7968574D99B18085A6DD3C5CC6-->  <ISHIGHVOLUME><![CDATA[N]]></ISHIGHVOLUME>
+<!--93F49C7968574D99B18085A6DD3C5CC6-->  <IMPORTTABLE><![CDATA[N]]></IMPORTTABLE>
+<!--93F49C7968574D99B18085A6DD3C5CC6-->  <ISCHANGELOG><![CDATA[N]]></ISCHANGELOG>
+<!--93F49C7968574D99B18085A6DD3C5CC6-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
+<!--93F49C7968574D99B18085A6DD3C5CC6-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--93F49C7968574D99B18085A6DD3C5CC6-->  <AD_PACKAGE_ID><![CDATA[5A3ED54AB1C84B84E040007F01006125]]></AD_PACKAGE_ID>
+<!--93F49C7968574D99B18085A6DD3C5CC6--></AD_TABLE>
+
 <!--97EFB890E1994E5CADC833B04157B3AC--><AD_TABLE>
 <!--97EFB890E1994E5CADC833B04157B3AC-->  <AD_TABLE_ID><![CDATA[97EFB890E1994E5CADC833B04157B3AC]]></AD_TABLE_ID>
 <!--97EFB890E1994E5CADC833B04157B3AC-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_TEXTINTERFACES.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/sourcedata/AD_TEXTINTERFACES.xml	Mon May 04 14:43:04 2009 +0200
@@ -21879,6 +21879,39 @@
 <!--11F70E8CA2FD11DD8474FF0609901605-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--11F70E8CA2FD11DD8474FF0609901605--></AD_TEXTINTERFACES>
 
+<!--198E64E82E6611DEB506A739ACCB7F46--><AD_TEXTINTERFACES>
+<!--198E64E82E6611DEB506A739ACCB7F46-->  <AD_TEXTINTERFACES_ID><![CDATA[198E64E82E6611DEB506A739ACCB7F46]]></AD_TEXTINTERFACES_ID>
+<!--198E64E82E6611DEB506A739ACCB7F46-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--198E64E82E6611DEB506A739ACCB7F46-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--198E64E82E6611DEB506A739ACCB7F46-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--198E64E82E6611DEB506A739ACCB7F46-->  <TEXT><![CDATA[Include taxes]]></TEXT>
+<!--198E64E82E6611DEB506A739ACCB7F46-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/ad_forms/GenerateInvoicesmanual.html]]></FILENAME>
+<!--198E64E82E6611DEB506A739ACCB7F46-->  <ISUSED><![CDATA[Y]]></ISUSED>
+<!--198E64E82E6611DEB506A739ACCB7F46-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--198E64E82E6611DEB506A739ACCB7F46--></AD_TEXTINTERFACES>
+
+<!--199B61A22E6611DEAEAFD7A72D7304ED--><AD_TEXTINTERFACES>
+<!--199B61A22E6611DEAEAFD7A72D7304ED-->  <AD_TEXTINTERFACES_ID><![CDATA[199B61A22E6611DEAEAFD7A72D7304ED]]></AD_TEXTINTERFACES_ID>
+<!--199B61A22E6611DEAEAFD7A72D7304ED-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--199B61A22E6611DEAEAFD7A72D7304ED-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--199B61A22E6611DEAEAFD7A72D7304ED-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--199B61A22E6611DEAEAFD7A72D7304ED-->  <TEXT><![CDATA[Pending to inv.]]></TEXT>
+<!--199B61A22E6611DEAEAFD7A72D7304ED-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/ad_forms/GenerateInvoicesmanual.html]]></FILENAME>
+<!--199B61A22E6611DEAEAFD7A72D7304ED-->  <ISUSED><![CDATA[Y]]></ISUSED>
+<!--199B61A22E6611DEAEAFD7A72D7304ED-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--199B61A22E6611DEAEAFD7A72D7304ED--></AD_TEXTINTERFACES>
+
+<!--199C71AA2E6611DEA609DF011C2C76FB--><AD_TEXTINTERFACES>
+<!--199C71AA2E6611DEA609DF011C2C76FB-->  <AD_TEXTINTERFACES_ID><![CDATA[199C71AA2E6611DEA609DF011C2C76FB]]></AD_TEXTINTERFACES_ID>
+<!--199C71AA2E6611DEA609DF011C2C76FB-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--199C71AA2E6611DEA609DF011C2C76FB-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--199C71AA2E6611DEA609DF011C2C76FB-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--199C71AA2E6611DEA609DF011C2C76FB-->  <TEXT><![CDATA[Invoice term]]></TEXT>
+<!--199C71AA2E6611DEA609DF011C2C76FB-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/ad_forms/GenerateInvoicesmanual.html]]></FILENAME>
+<!--199C71AA2E6611DEA609DF011C2C76FB-->  <ISUSED><![CDATA[Y]]></ISUSED>
+<!--199C71AA2E6611DEA609DF011C2C76FB-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--199C71AA2E6611DEA609DF011C2C76FB--></AD_TEXTINTERFACES>
+
 <!--1F6A906C2E5211DEA13517F5229BDBE0--><AD_TEXTINTERFACES>
 <!--1F6A906C2E5211DEA13517F5229BDBE0-->  <AD_TEXTINTERFACES_ID><![CDATA[1F6A906C2E5211DEA13517F5229BDBE0]]></AD_TEXTINTERFACES_ID>
 <!--1F6A906C2E5211DEA13517F5229BDBE0-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -22208,6 +22241,17 @@
 <!--27B5251AA1F411DD8EAED3B037B9C016-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--27B5251AA1F411DD8EAED3B037B9C016--></AD_TEXTINTERFACES>
 
+<!--2817A5882E6611DEB369EB51B72082F4--><AD_TEXTINTERFACES>
+<!--2817A5882E6611DEB369EB51B72082F4-->  <AD_TEXTINTERFACES_ID><![CDATA[2817A5882E6611DEB369EB51B72082F4]]></AD_TEXTINTERFACES_ID>
+<!--2817A5882E6611DEB369EB51B72082F4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--2817A5882E6611DEB369EB51B72082F4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--2817A5882E6611DEB369EB51B72082F4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--2817A5882E6611DEB369EB51B72082F4-->  <TEXT><![CDATA[Sales Rep.]]></TEXT>
+<!--2817A5882E6611DEB369EB51B72082F4-->  <FILENAME><![CDATA[/org/openbravo/erpCommon/ad_reports/ReportDebtPayment.html]]></FILENAME>
+<!--2817A5882E6611DEB369EB51B72082F4-->  <ISUSED><![CDATA[Y]]></ISUSED>
+<!--2817A5882E6611DEB369EB51B72082F4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--2817A5882E6611DEB369EB51B72082F4--></AD_TEXTINTERFACES>
+
 <!--2DD0E85EA59A11DD93D1B7F7941B0A40--><AD_TEXTINTERFACES>
 <!--2DD0E85EA59A11DD93D1B7F7941B0A40-->  <AD_TEXTINTERFACES_ID><![CDATA[2DD0E85EA59A11DD93D1B7F7941B0A40]]></AD_TEXTINTERFACES_ID>
 <!--2DD0E85EA59A11DD93D1B7F7941B0A40-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_TREENODE.xml	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-db/database/sourcedata/AD_TREENODE.xml	Mon May 04 14:43:04 2009 +0200
@@ -4267,17 +4267,6 @@
 <!--52118BF1A36E4D84E040007F01005FEC-->  <SEQNO><![CDATA[90]]></SEQNO>
 <!--52118BF1A36E4D84E040007F01005FEC--></AD_TREENODE>
 
-<!--52118BF1A36F4D84E040007F01005FEC--><AD_TREENODE>
-<!--52118BF1A36F4D84E040007F01005FEC-->  <AD_TREENODE_ID><![CDATA[52118BF1A36F4D84E040007F01005FEC]]></AD_TREENODE_ID>
-<!--52118BF1A36F4D84E040007F01005FEC-->  <AD_TREE_ID><![CDATA[10]]></AD_TREE_ID>
-<!--52118BF1A36F4D84E040007F01005FEC-->  <NODE_ID><![CDATA[800277]]></NODE_ID>
-<!--52118BF1A36F4D84E040007F01005FEC-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--52118BF1A36F4D84E040007F01005FEC-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--52118BF1A36F4D84E040007F01005FEC-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--52118BF1A36F4D84E040007F01005FEC-->  <PARENT_ID><![CDATA[800078]]></PARENT_ID>
-<!--52118BF1A36F4D84E040007F01005FEC-->  <SEQNO><![CDATA[170]]></SEQNO>
-<!--52118BF1A36F4D84E040007F01005FEC--></AD_TREENODE>
-
 <!--52118BF1A3704D84E040007F01005FEC--><AD_TREENODE>
 <!--52118BF1A3704D84E040007F01005FEC-->  <AD_TREENODE_ID><![CDATA[52118BF1A3704D84E040007F01005FEC]]></AD_TREENODE_ID>
 <!--52118BF1A3704D84E040007F01005FEC-->  <AD_TREE_ID><![CDATA[10]]></AD_TREE_ID>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-test/org/openbravo/test/AllAntTaskTests.java	Mon May 04 14:43:04 2009 +0200
@@ -0,0 +1,124 @@
+/*
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.0  (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 SL 
+ * All portions are Copyright (C) 2009 Openbravo SL 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+ */
+
+package org.openbravo.test;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+import org.openbravo.test.dal.DalComplexQueryRequisitionTest;
+import org.openbravo.test.dal.DalComplexQueryTestOrderLine;
+import org.openbravo.test.dal.DalPerformanceInventoryLineTest;
+import org.openbravo.test.dal.DalPerformanceProductTest;
+import org.openbravo.test.dal.DalQueryTest;
+import org.openbravo.test.dal.DalTest;
+import org.openbravo.test.dal.DynamicEntityTest;
+import org.openbravo.test.dal.HiddenUpdateTest;
+import org.openbravo.test.dal.MappingGenerationTest;
+import org.openbravo.test.dal.OBContextTest;
+import org.openbravo.test.dal.ValidationTest;
+import org.openbravo.test.expression.EvaluationTest;
+import org.openbravo.test.model.OneToManyTest;
+import org.openbravo.test.model.RuntimeModelTest;
+import org.openbravo.test.model.UniqueConstraintTest;
+import org.openbravo.test.modularity.DBPrefixTest;
+import org.openbravo.test.modularity.DatasetServiceTest;
+import org.openbravo.test.modularity.MergePropertiesTest;
+import org.openbravo.test.modularity.TableNameTest;
+import org.openbravo.test.security.AccessLevelTest;
+import org.openbravo.test.security.AllowedOrganizationsTest;
+import org.openbravo.test.security.EntityAccessTest;
+import org.openbravo.test.security.WritableReadableOrganizationClientTest;
+import org.openbravo.test.system.SystemServiceTest;
+import org.openbravo.test.system.SystemValidatorTest;
+import org.openbravo.test.xml.ClientExportImportTest;
+import org.openbravo.test.xml.DatasetExportTest;
+import org.openbravo.test.xml.EntityXMLImportTestBusinessObject;
+import org.openbravo.test.xml.EntityXMLImportTestReference;
+import org.openbravo.test.xml.EntityXMLImportTestSingle;
+import org.openbravo.test.xml.EntityXMLImportTestWarning;
+import org.openbravo.test.xml.EntityXMLIssues;
+import org.openbravo.test.xml.UniqueConstraintImportTest;
+
+/**
+ * This test class is called from the ant task run.tests. It contains all the testcases which are
+ * runnable and valid.
+ * 
+ * @author mtaal
+ */
+public class AllAntTaskTests {
+
+  public static Test suite() {
+    final TestSuite suite = new TestSuite("Test for org.openbravo.test.dal");
+    // $JUnit-BEGIN$
+    // suite.addTestSuite(CompositeIdTest.class);
+
+    // dal
+    suite.addTestSuite(DalComplexQueryRequisitionTest.class);
+    suite.addTestSuite(DalComplexQueryTestOrderLine.class);
+    suite.addTestSuite(DalPerformanceInventoryLineTest.class);
+    suite.addTestSuite(DalPerformanceProductTest.class);
+    suite.addTestSuite(DalQueryTest.class);
+    suite.addTestSuite(DalTest.class);
+    suite.addTestSuite(DynamicEntityTest.class);
+    suite.addTestSuite(HiddenUpdateTest.class);
+    // suite.addTestSuite(HqlTest.class);
+    suite.addTestSuite(MappingGenerationTest.class);
+    suite.addTestSuite(ValidationTest.class);
+    suite.addTestSuite(OBContextTest.class);
+
+    // expression
+    suite.addTestSuite(EvaluationTest.class);
+
+    // model
+    suite.addTestSuite(RuntimeModelTest.class);
+    suite.addTestSuite(OneToManyTest.class);
+    suite.addTestSuite(UniqueConstraintTest.class);
+
+    // modularity
+    suite.addTestSuite(DatasetServiceTest.class);
+    suite.addTestSuite(DBPrefixTest.class);
+    suite.addTestSuite(MergePropertiesTest.class);
+    suite.addTestSuite(TableNameTest.class);
+
+    // security
+    suite.addTestSuite(AccessLevelTest.class);
+    suite.addTestSuite(AllowedOrganizationsTest.class);
+    suite.addTestSuite(EntityAccessTest.class);
+    suite.addTestSuite(WritableReadableOrganizationClientTest.class);
+
+    // system
+    suite.addTestSuite(SystemServiceTest.class);
+    suite.addTestSuite(SystemValidatorTest.class);
+
+    // xml
+    suite.addTestSuite(ClientExportImportTest.class);
+    suite.addTestSuite(EntityXMLImportTestBusinessObject.class);
+    suite.addTestSuite(EntityXMLImportTestReference.class);
+    suite.addTestSuite(EntityXMLImportTestSingle.class);
+    suite.addTestSuite(EntityXMLImportTestWarning.class);
+    suite.addTestSuite(EntityXMLIssues.class);
+    suite.addTestSuite(UniqueConstraintImportTest.class);
+    suite.addTestSuite(DatasetExportTest.class);
+
+    // $JUnit-END$
+    return suite;
+  }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-test/org/openbravo/test/AllQuickAntTaskTests.java	Mon May 04 14:43:04 2009 +0200
@@ -0,0 +1,109 @@
+/*
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.0  (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 SL 
+ * All portions are Copyright (C) 2009 Openbravo SL 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+ */
+
+package org.openbravo.test;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+import org.openbravo.test.dal.DalTest;
+import org.openbravo.test.dal.OBContextTest;
+import org.openbravo.test.dal.ValidationTest;
+import org.openbravo.test.model.UniqueConstraintTest;
+import org.openbravo.test.modularity.DBPrefixTest;
+import org.openbravo.test.security.AccessLevelTest;
+import org.openbravo.test.security.AllowedOrganizationsTest;
+import org.openbravo.test.security.EntityAccessTest;
+import org.openbravo.test.security.WritableReadableOrganizationClientTest;
+import org.openbravo.test.system.SystemServiceTest;
+import org.openbravo.test.system.SystemValidatorTest;
+import org.openbravo.test.xml.EntityXMLImportTestBusinessObject;
+import org.openbravo.test.xml.EntityXMLImportTestReference;
+import org.openbravo.test.xml.EntityXMLImportTestSingle;
+import org.openbravo.test.xml.EntityXMLImportTestWarning;
+import org.openbravo.test.xml.EntityXMLIssues;
+import org.openbravo.test.xml.UniqueConstraintImportTest;
+
+/**
+ * This test suite should only contain test cases which are quick to run. This makes it possible as
+ * a developer to run tests in between without waiting to long for results. Testcases which should
+ * not be here is for example the import of a complete client.
+ * 
+ * NOTE: this suite should not contact test classes which have side-effects (change the database
+ * without cleaning up).
+ * 
+ * @author mtaal
+ */
+public class AllQuickAntTaskTests {
+
+  public static Test suite() {
+    final TestSuite suite = new TestSuite("Test for org.openbravo.test.dal");
+    // $JUnit-BEGIN$
+    // suite.addTestSuite(CompositeIdTest.class);
+
+    // dal
+    // suite.addTestSuite(DalComplexQueryRequisitionTest.class);
+    // suite.addTestSuite(DalComplexQueryTestOrderLine.class);
+    // suite.addTestSuite(DalPerformanceInventoryLineTest.class);
+    // suite.addTestSuite(DalPerformanceProductTest.class);
+    // suite.addTestSuite(DalQueryTest.class);
+    suite.addTestSuite(DalTest.class);
+    // suite.addTestSuite(DynamicEntityTest.class);
+    // suite.addTestSuite(HiddenUpdateTest.class);
+    // suite.addTestSuite(HqlTest.class);
+    // suite.addTestSuite(MappingGenerationTest.class);
+    suite.addTestSuite(ValidationTest.class);
+    suite.addTestSuite(OBContextTest.class);
+
+    // expression
+    // suite.addTestSuite(EvaluationTest.class);
+
+    // model
+    // suite.addTestSuite(RuntimeModelTest.class);
+    // suite.addTestSuite(OneToManyTest.class);
+    suite.addTestSuite(UniqueConstraintTest.class);
+
+    // modularity
+    // suite.addTestSuite(DatasetServiceTest.class);
+    suite.addTestSuite(DBPrefixTest.class);
+
+    // security
+    suite.addTestSuite(AccessLevelTest.class);
+    suite.addTestSuite(AllowedOrganizationsTest.class);
+    suite.addTestSuite(EntityAccessTest.class);
+    suite.addTestSuite(WritableReadableOrganizationClientTest.class);
+
+    // system
+    suite.addTestSuite(SystemServiceTest.class);
+    suite.addTestSuite(SystemValidatorTest.class);
+
+    // xml
+    // suite.addTestSuite(ClientExportImportTest.class);
+    suite.addTestSuite(EntityXMLImportTestBusinessObject.class);
+    suite.addTestSuite(EntityXMLImportTestReference.class);
+    suite.addTestSuite(EntityXMLImportTestSingle.class);
+    suite.addTestSuite(EntityXMLImportTestWarning.class);
+    suite.addTestSuite(EntityXMLIssues.class);
+    suite.addTestSuite(UniqueConstraintImportTest.class);
+
+    // $JUnit-END$
+    return suite;
+  }
+
+}
--- a/src-test/org/openbravo/test/AllTests.java	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-test/org/openbravo/test/AllTests.java	Mon May 04 14:43:04 2009 +0200
@@ -26,7 +26,6 @@
 import org.openbravo.test.dal.DalTest;
 import org.openbravo.test.dal.DynamicEntityTest;
 import org.openbravo.test.dal.HiddenUpdateTest;
-import org.openbravo.test.dal.HqlTest;
 import org.openbravo.test.dal.MappingGenerationTest;
 import org.openbravo.test.dal.ValidationTest;
 import org.openbravo.test.expression.EvaluationTest;
@@ -35,12 +34,14 @@
 import org.openbravo.test.security.AccessLevelTest;
 import org.openbravo.test.security.AllowedOrganizationsTest;
 import org.openbravo.test.security.EntityAccessTest;
-import org.openbravo.test.security.WritableReadableOrganizationTest;
-import org.openbravo.test.xml.EntityXMLExportTest;
+import org.openbravo.test.security.WritableReadableOrganizationClientTest;
+import org.openbravo.test.xml.ClientExportImportTest;
 import org.openbravo.test.xml.EntityXMLImportTestBusinessObject;
 import org.openbravo.test.xml.EntityXMLImportTestReference;
 import org.openbravo.test.xml.EntityXMLImportTestSingle;
 import org.openbravo.test.xml.EntityXMLImportTestWarning;
+import org.openbravo.test.xml.EntityXMLIssues;
+import org.openbravo.test.xml.UniqueConstraintImportTest;
 
 public class AllTests {
 
@@ -53,7 +54,7 @@
     suite.addTestSuite(EntityAccessTest.class);
     suite.addTestSuite(AccessLevelTest.class);
     suite.addTestSuite(AllowedOrganizationsTest.class);
-    suite.addTestSuite(WritableReadableOrganizationTest.class);
+    suite.addTestSuite(WritableReadableOrganizationClientTest.class);
 
     // dal
     suite.addTestSuite(HiddenUpdateTest.class);
@@ -62,7 +63,6 @@
     suite.addTestSuite(DynamicEntityTest.class);
     suite.addTestSuite(DalTest.class);
     suite.addTestSuite(DalQueryTest.class);
-    suite.addTestSuite(HqlTest.class);
 
     // model
     suite.addTestSuite(RuntimeModelTest.class);
@@ -72,11 +72,13 @@
     suite.addTestSuite(EvaluationTest.class);
 
     // xml
-    suite.addTestSuite(EntityXMLExportTest.class);
+    suite.addTestSuite(ClientExportImportTest.class);
     suite.addTestSuite(EntityXMLImportTestBusinessObject.class);
+    suite.addTestSuite(EntityXMLImportTestReference.class);
     suite.addTestSuite(EntityXMLImportTestSingle.class);
-    suite.addTestSuite(EntityXMLImportTestReference.class);
     suite.addTestSuite(EntityXMLImportTestWarning.class);
+    suite.addTestSuite(EntityXMLIssues.class);
+    suite.addTestSuite(UniqueConstraintImportTest.class);
 
     // $JUnit-END$
     return suite;
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-test/org/openbravo/test/AntTaskTests.java	Mon May 04 14:43:04 2009 +0200
@@ -0,0 +1,128 @@
+/*
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.0  (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 SL 
+ * All portions are Copyright (C) 2009 Openbravo SL 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+ */
+
+package org.openbravo.test;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+import org.openbravo.test.dal.DalComplexQueryRequisitionTest;
+import org.openbravo.test.dal.DalComplexQueryTestOrderLine;
+import org.openbravo.test.dal.DalPerformanceInventoryLineTest;
+import org.openbravo.test.dal.DalPerformanceProductTest;
+import org.openbravo.test.dal.DalQueryTest;
+import org.openbravo.test.dal.DalTest;
+import org.openbravo.test.dal.DynamicEntityTest;
+import org.openbravo.test.dal.HiddenUpdateTest;
+import org.openbravo.test.dal.MappingGenerationTest;
+import org.openbravo.test.dal.OBContextTest;
+import org.openbravo.test.dal.ValidationTest;
+import org.openbravo.test.expression.EvaluationTest;
+import org.openbravo.test.model.OneToManyTest;
+import org.openbravo.test.model.RuntimeModelTest;
+import org.openbravo.test.model.UniqueConstraintTest;
+import org.openbravo.test.modularity.DBPrefixTest;
+import org.openbravo.test.modularity.DatasetServiceTest;
+import org.openbravo.test.modularity.MergePropertiesTest;
+import org.openbravo.test.modularity.TableNameTest;
+import org.openbravo.test.security.AccessLevelTest;
+import org.openbravo.test.security.AllowedOrganizationsTest;
+import org.openbravo.test.security.EntityAccessTest;
+import org.openbravo.test.security.WritableReadableOrganizationClientTest;
+import org.openbravo.test.system.SystemServiceTest;
+import org.openbravo.test.system.SystemValidatorTest;
+import org.openbravo.test.xml.DatasetExportTest;
+import org.openbravo.test.xml.EntityXMLImportTestBusinessObject;
+import org.openbravo.test.xml.EntityXMLImportTestReference;
+import org.openbravo.test.xml.EntityXMLImportTestSingle;
+import org.openbravo.test.xml.EntityXMLImportTestWarning;
+import org.openbravo.test.xml.EntityXMLIssues;
+import org.openbravo.test.xml.UniqueConstraintImportTest;
+
+/**
+ * This test class is called from the ant task run.tests. It contains all the testcases which are
+ * runnable and valid. With the exception of test classes with side effects, i.e. change the
+ * database without cleaning up.
+ * 
+ * NOTE: this suite should not contact test classes which have side-effects (change the database
+ * without cleaning up).
+ * 
+ * @author mtaal
+ */
+public class AntTaskTests {
+
+  public static Test suite() {
+    final TestSuite suite = new TestSuite("Test for org.openbravo.test.dal");
+    // $JUnit-BEGIN$
+    // suite.addTestSuite(CompositeIdTest.class);
+
+    // dal
+    suite.addTestSuite(DalComplexQueryRequisitionTest.class);
+    suite.addTestSuite(DalComplexQueryTestOrderLine.class);
+    suite.addTestSuite(DalPerformanceInventoryLineTest.class);
+    suite.addTestSuite(DalPerformanceProductTest.class);
+    suite.addTestSuite(DalQueryTest.class);
+    suite.addTestSuite(DalTest.class);
+    suite.addTestSuite(DynamicEntityTest.class);
+    suite.addTestSuite(HiddenUpdateTest.class);
+    // suite.addTestSuite(HqlTest.class);
+    suite.addTestSuite(MappingGenerationTest.class);
+    suite.addTestSuite(ValidationTest.class);
+    suite.addTestSuite(OBContextTest.class);
+
+    // expression
+    suite.addTestSuite(EvaluationTest.class);
+
+    // model
+    suite.addTestSuite(RuntimeModelTest.class);
+    suite.addTestSuite(OneToManyTest.class);
+    suite.addTestSuite(UniqueConstraintTest.class);
+
+    // modularity
+    suite.addTestSuite(DatasetServiceTest.class);
+    suite.addTestSuite(DBPrefixTest.class);
+    suite.addTestSuite(MergePropertiesTest.class);
+    suite.addTestSuite(TableNameTest.class);
+
+    // security
+    suite.addTestSuite(AccessLevelTest.class);
+    suite.addTestSuite(AllowedOrganizationsTest.class);
+    suite.addTestSuite(EntityAccessTest.class);
+    suite.addTestSuite(WritableReadableOrganizationClientTest.class);
+
+    // system
+    suite.addTestSuite(SystemServiceTest.class);
+    suite.addTestSuite(SystemValidatorTest.class);
+
+    // xml
+    // not executing has side effects
+    // suite.addTestSuite(ClientExportImportTest.class);
+    suite.addTestSuite(EntityXMLImportTestBusinessObject.class);
+    suite.addTestSuite(EntityXMLImportTestReference.class);
+    suite.addTestSuite(EntityXMLImportTestSingle.class);
+    suite.addTestSuite(EntityXMLImportTestWarning.class);
+    suite.addTestSuite(EntityXMLIssues.class);
+    suite.addTestSuite(UniqueConstraintImportTest.class);
+    suite.addTestSuite(DatasetExportTest.class);
+
+    // $JUnit-END$
+    return suite;
+  }
+
+}
--- a/src-test/org/openbravo/test/ant/AntTasksTest.java	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-test/org/openbravo/test/ant/AntTasksTest.java	Mon May 04 14:43:04 2009 +0200
@@ -19,19 +19,37 @@
 
 package org.openbravo.test.ant;
 
+import org.openbravo.dal.service.OBDal;
+
 /**
- * Tests an ant task.
+ * Several calls to ant tasks present in the build.xml file. Enable the one relevant for the test.
+ * 
+ * NOTE: this test case class is used to debug ant task calls.
  * 
  * @author mtaal
  */
 
 public class AntTasksTest extends BaseAntTest {
 
-  public void _testCompileComplete() {
+  public void testCompileComplete() {
     doTest("compile.complete");
   }
 
   public void testUpdateDatabase() {
     doTest("update.database");
   }
+
+  public void testWad() {
+    doTest("wad", "src");
+  }
+
+  public void testImportReferenceData() {
+    doTest("import.reference.data");
+    OBDal.getInstance().commitAndClose();
+  }
+
+  public void testCreateDatabase() {
+    doTest("create.database");
+  }
+
 }
\ No newline at end of file
--- a/src-test/org/openbravo/test/ant/BaseAntTest.java	Wed Apr 22 20:58:48 2009 +0530
+++ b/src-test/org/openbravo/test/ant/BaseAntTest.java	Mon May 04 14:43:04 2009 +0200
@@ -31,7 +31,7 @@
 import org.openbravo.erpCommon.utility.AntExecutor;
 
 /**
- * Base test class for ant test cases.
+ * Base test class for ant test cases. It uses the {@link AntExecutor} to execute the ant tasks,
  * 
  * @author mtaal
  */
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src-test/org/openbravo/test/ant/CallWadTest.java	Mon May 04 14:43:04 2009 +0200
@@ -0,0 +1,58 @@
+/*
+ *************************************************************************
+ * The contents of this file are subject to the Openbravo  Public  License
+ * Version  1.0  (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 SL 
+ * All portions are Copyright (C) 2008 Openbravo SL 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+ */
+
+package org.openbravo.test.ant;
+
+import org.apache.log4j.PropertyConfigurator;
+import org.openbravo.base.exception.OBException;
+import org.openbravo.wad.Wad;
+
+/**
+ * An example test of calling Wad directly with command line arguments.
+ * 
+ * @author mtaal
+ */
+public class CallWadTest extends BaseAntTest {
+
+  /**
+   * Calls Wad.main(String[]) with a number of commandline arguments.
+   */
+  public void testWad() {
+    PropertyConfigurator.configure(this.getClass().getResource("/log4j.properties"));
+
+    final String[] args = new String[5];
+    args[0] = "config"; // ${base.config}'
+    args[1] = "%";// '${tab}'
+    args[2] = "srcAD/org/openbravo/erpWindows"; // '${build.AD}/org/openbravo/erpWindows'
+    args[3] = "srcAD/org/openbravo/erpCommon"; //
+    args[4] = "build/javasqlc/src"; // '${build.sqlc}/src'
+    // args[5] = '${webTab}'
+    // '${build.AD}/org/openbravo/erpCommon/ad_actionButton'
+    // '${base.design}' '${base.translate.structure}' '${client.web.xml}'
+    // '..' '${attach.path}' '${web.url}' '${base.src}' '${complete}'
+    // '${module}'
+    try {
+      Wad.main(args);
+    } catch (final Exception e) {
+      throw new OBException(e);
+    }
+
+    // doTest("compile");
+  }
+}
\ No newline at end of file
--- a/src-test/org/openbravo/test/ant/CompileTest.java	Wed Apr 22 20:58:48 2009 +0530
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,56 +0,0 @@
-/*
- *************************************************************************
- * The contents of this file are subject to the Openbravo  Public  License
- * Version  1.0  (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 SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
- * All Rights Reserved. 
- * Contributor(s):  ______________________________________.
- ************************************************************************
- */
-
-package org.openbravo.test.ant;
-
-import org.apache.log4j.PropertyConfigurator;
-import org.openbravo.base.exception.OBException;
-import org.openbravo.wad.Wad;
-
-/**
- * Tests an ant task.
- * 
- * @author mtaal
- */
-
-public class CompileTest extends BaseAntTest {
-
-  public void testCompileComplete() {
-    PropertyConfigurator.configure(this.getClass().getResource("/log4j.properties"));
-
-    final String[] args = new String[5];
-    args[0] = "config"; // ${base.config}'
-    args[1] = "%";// '${tab}'
-    args[2] = "srcAD/org/openbravo/erpWindows"; // '${build.AD}/org/openbravo/erpWindows'
-    args[3] = "srcAD/org/openbravo/erpCommon"; //
-    args[4] = "build/javasqlc/src"; // '${build.sqlc}/src'
-    // args[5] = '${webTab}'
-    // '${build.AD}/org/openbravo/erpCommon/ad_actionButton'
-    // '${base.design}' '${base.translate.structure}' '${client.web.xml}'
-    // '..' '${attach.path}' '${web.url}' '${base.src}' '${complete}'
-    // '${module}'
-    try {
-      Wad.main(args);
-    } catch (final Exception e) {
-      throw new OBException(e);
-    }
-
-    // doTest("compile");
-  }
-}
\ No newline at end of file
--- a/src-test/org/openbravo/test/ant/CreateDatabaseTest.java	Wed Apr 22 20:58:48 2009 +0530
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-/*
- *************************************************************************
- * The contents of this file are subject to the Openbravo  Public  License
- * Version  1.0  (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 SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
- * All Rights Reserved. 
- * Contributor(s):  ______________________________________.
- ************************************************************************
- */
-
-package org.openbravo.test.ant;
-
-/**
- * Tests an ant task.
- * 
- * @author mtaal
- */
-
-public class CreateDatabaseTest extends BaseAntTest {
-
-  public void testCompileComplete() {
-    doTest("create.database");
-  }
-}
\ No newline at end of file
--- a/src-test/org/openbravo/test/ant/ImportReferenceDataTest.java	Wed Apr 22 20:58:48 2009 +0530
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,36 +0,0 @@
-/*
- *************************************************************************
- * The contents of this file are subject to the Openbravo  Public  License
- * Version  1.0  (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 SL 
- * All portions are Copyright (C) 2008 Openbravo SL 
- * All Rights Reserved. 
- * Contributor(s):  ______________________________________.
- ************************************************************************
- */
-
-package org.openbravo.test.ant;
-
-import org.openbravo.dal.service.OBDal;
-
-/**
- * Tests an ant task.
- * 
- * @author mtaal
- */
-
-public class ImportReferenceDataTest extends BaseAntTest {
-
-  public void testImportReferenceData() {
-    doTest("import.reference.data");
-    OBDal.getInstance().commitAndClose();
-  }
-}
\ No newline at end of file
--- a/src-test/org/openbravo/test/ant/LeakTest.java	Wed Apr 22 20:58:48 2009 +0530
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,70 +0,0 @@
-/*
- *************************************************************************
- * The contents of this file are subject to the Openbravo  Public  License
- * Version  1.0  (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
-