[Tree Extension] Copy fields from ADTreeType to ADTableTree
authorAugusto Mauch <augusto.mauch@openbravo.com>
Wed, 19 Feb 2014 17:19:06 +0100
changeset 22513 1582762c9d89
parent 22512 106d5d070f33
child 22514 e6803bd2527d
[Tree Extension] Copy fields from ADTreeType to ADTableTree

We are going to get rid of ADTreeType. First step is to move its fields to ADTableTree.
src-db/database/model/tables/AD_TABLE_TREE.xml
src-db/database/sourcedata/AD_COLUMN.xml
src-db/database/sourcedata/AD_ELEMENT.xml
src-db/database/sourcedata/AD_FIELD.xml
--- a/src-db/database/model/tables/AD_TABLE_TREE.xml	Wed Feb 19 15:38:52 2014 +0100
+++ b/src-db/database/model/tables/AD_TABLE_TREE.xml	Wed Feb 19 17:19:06 2014 +0100
@@ -61,6 +61,30 @@
         <default><![CDATA[Y]]></default>
         <onCreateDefault/>
       </column>
+      <column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="200" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="ISPARENTSELECTIONALLOWED" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
+        <default><![CDATA[Y]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="ISORDERED" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
+        <default><![CDATA[N]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="TREESTRUCTURE" primaryKey="false" required="false" type="VARCHAR" size="60" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="OBSERDS_DATASOURCE_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="ISHANDLENODESMANUALLY" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
+        <default><![CDATA[N]]></default>
+        <onCreateDefault/>
+      </column>
       <foreign-key foreignTable="AD_CLIENT" name="AD_TABLETREE_AD_CLIENT">
         <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
       </foreign-key>
--- a/src-db/database/sourcedata/AD_COLUMN.xml	Wed Feb 19 15:38:52 2014 +0100
+++ b/src-db/database/sourcedata/AD_COLUMN.xml	Wed Feb 19 17:19:06 2014 +0100
@@ -228501,6 +228501,45 @@
 <!--2B9E746AE09F4E88AE00CBA9DBFC4062-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
 <!--2B9E746AE09F4E88AE00CBA9DBFC4062--></AD_COLUMN>
 
+<!--2BF196792D1E4585857593DA16E0FEDD--><AD_COLUMN>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <AD_COLUMN_ID><![CDATA[2BF196792D1E4585857593DA16E0FEDD]]></AD_COLUMN_ID>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <NAME><![CDATA[Tree Structure]]></NAME>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <DESCRIPTION><![CDATA[Inner structure of the tree]]></DESCRIPTION>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <HELP><![CDATA[Three different tree structures are available:
+- AD Tree Node: The information regarding the hierarchy of the data is stored in the ADTree and ADTreeNode tables.
+- Link to Parent in Table: This structure can be used when the informartion regarding the hierarchy of the data can be fetched from the own table. In this case, there has to be a column in the table that points to the row that represents the parent node of the record.
+- Custom: For other tree tables, a manual datasource can be defined]]></HELP>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <COLUMNNAME><![CDATA[Treestructure]]></COLUMNNAME>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <AD_TABLE_ID><![CDATA[48F5363A7C0C44DE8114627C64DB4BDA]]></AD_TABLE_ID>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <AD_REFERENCE_ID><![CDATA[17]]></AD_REFERENCE_ID>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <AD_REFERENCE_VALUE_ID><![CDATA[3C8CD031B6514878807DF3F198BD4EC6]]></AD_REFERENCE_VALUE_ID>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <FIELDLENGTH><![CDATA[60]]></FIELDLENGTH>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <SEQNO><![CDATA[200]]></SEQNO>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <AD_ELEMENT_ID><![CDATA[FC6AA883E5FE4A338C509A0A5A05B873]]></AD_ELEMENT_ID>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <POSITION><![CDATA[20]]></POSITION>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--2BF196792D1E4585857593DA16E0FEDD-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--2BF196792D1E4585857593DA16E0FEDD--></AD_COLUMN>
+
 <!--2C18C72E50CB499BB466F65C2E06F66D--><AD_COLUMN>
 <!--2C18C72E50CB499BB466F65C2E06F66D-->  <AD_COLUMN_ID><![CDATA[2C18C72E50CB499BB466F65C2E06F66D]]></AD_COLUMN_ID>
 <!--2C18C72E50CB499BB466F65C2E06F66D-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -232541,6 +232580,41 @@
 <!--422EF05FDE18485394B3C2D2C5602F71-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
 <!--422EF05FDE18485394B3C2D2C5602F71--></AD_COLUMN>
 
+<!--4244EF30C51A4F94A7169E489E39D427--><AD_COLUMN>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <AD_COLUMN_ID><![CDATA[4244EF30C51A4F94A7169E489E39D427]]></AD_COLUMN_ID>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <NAME><![CDATA[Datasource]]></NAME>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <DESCRIPTION><![CDATA[Datasource used to feed the table]]></DESCRIPTION>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <HELP><![CDATA[Datasource used to feed the table]]></HELP>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <COLUMNNAME><![CDATA[Obserds_Datasource_ID]]></COLUMNNAME>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <AD_TABLE_ID><![CDATA[48F5363A7C0C44DE8114627C64DB4BDA]]></AD_TABLE_ID>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <SEQNO><![CDATA[210]]></SEQNO>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <AD_ELEMENT_ID><![CDATA[6CF319AF55D2424888E4B8A6C8C4C789]]></AD_ELEMENT_ID>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <POSITION><![CDATA[21]]></POSITION>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--4244EF30C51A4F94A7169E489E39D427-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--4244EF30C51A4F94A7169E489E39D427--></AD_COLUMN>
+
 <!--42558940E6FE4127B2ABAD5C9DDBDFD6--><AD_COLUMN>
 <!--42558940E6FE4127B2ABAD5C9DDBDFD6-->  <AD_COLUMN_ID><![CDATA[42558940E6FE4127B2ABAD5C9DDBDFD6]]></AD_COLUMN_ID>
 <!--42558940E6FE4127B2ABAD5C9DDBDFD6-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -254299,6 +254373,42 @@
 <!--67569A52C05E49AE99E313F799EC65F5-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
 <!--67569A52C05E49AE99E313F799EC65F5--></AD_COLUMN>
 
+<!--6758510A59BE44D993496328046F05F8--><AD_COLUMN>
+<!--6758510A59BE44D993496328046F05F8-->  <AD_COLUMN_ID><![CDATA[6758510A59BE44D993496328046F05F8]]></AD_COLUMN_ID>
+<!--6758510A59BE44D993496328046F05F8-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--6758510A59BE44D993496328046F05F8-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--6758510A59BE44D993496328046F05F8-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--6758510A59BE44D993496328046F05F8-->  <NAME><![CDATA[Is Ordered]]></NAME>
+<!--6758510A59BE44D993496328046F05F8-->  <DESCRIPTION><![CDATA[Defines if the tree is ordered]]></DESCRIPTION>
+<!--6758510A59BE44D993496328046F05F8-->  <HELP><![CDATA[The trees that use the ADTreeNode structure can be defined as ordered. In that case, the position of a node among its brothers is defined by a sequence number. ]]></HELP>
+<!--6758510A59BE44D993496328046F05F8-->  <COLUMNNAME><![CDATA[Isordered]]></COLUMNNAME>
+<!--6758510A59BE44D993496328046F05F8-->  <AD_TABLE_ID><![CDATA[48F5363A7C0C44DE8114627C64DB4BDA]]></AD_TABLE_ID>
+<!--6758510A59BE44D993496328046F05F8-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--6758510A59BE44D993496328046F05F8-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--6758510A59BE44D993496328046F05F8-->  <DEFAULTVALUE><![CDATA[N]]></DEFAULTVALUE>
+<!--6758510A59BE44D993496328046F05F8-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--6758510A59BE44D993496328046F05F8-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--6758510A59BE44D993496328046F05F8-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--6758510A59BE44D993496328046F05F8-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--6758510A59BE44D993496328046F05F8-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--6758510A59BE44D993496328046F05F8-->  <SEQNO><![CDATA[190]]></SEQNO>
+<!--6758510A59BE44D993496328046F05F8-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--6758510A59BE44D993496328046F05F8-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--6758510A59BE44D993496328046F05F8-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--6758510A59BE44D993496328046F05F8-->  <AD_ELEMENT_ID><![CDATA[64108E30EB9C4C80ACA6CD9DF8EE27AF]]></AD_ELEMENT_ID>
+<!--6758510A59BE44D993496328046F05F8-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--6758510A59BE44D993496328046F05F8-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--6758510A59BE44D993496328046F05F8-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--6758510A59BE44D993496328046F05F8-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--6758510A59BE44D993496328046F05F8-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--6758510A59BE44D993496328046F05F8-->  <POSITION><![CDATA[19]]></POSITION>
+<!--6758510A59BE44D993496328046F05F8-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--6758510A59BE44D993496328046F05F8-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--6758510A59BE44D993496328046F05F8-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--6758510A59BE44D993496328046F05F8-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--6758510A59BE44D993496328046F05F8-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--6758510A59BE44D993496328046F05F8--></AD_COLUMN>
+
 <!--6769A5EF62DF47F3A68B04AF8298AA5A--><AD_COLUMN>
 <!--6769A5EF62DF47F3A68B04AF8298AA5A-->  <AD_COLUMN_ID><![CDATA[6769A5EF62DF47F3A68B04AF8298AA5A]]></AD_COLUMN_ID>
 <!--6769A5EF62DF47F3A68B04AF8298AA5A-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -283620,6 +283730,41 @@
 <!--8CF19279ED644C7CAE6D4B28286A4A3C-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
 <!--8CF19279ED644C7CAE6D4B28286A4A3C--></AD_COLUMN>
 
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6--><AD_COLUMN>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <AD_COLUMN_ID><![CDATA[8D00A9AA33E0408FB41D4A57F3AFE0C6]]></AD_COLUMN_ID>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <NAME><![CDATA[Name]]></NAME>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <DESCRIPTION><![CDATA[A non-unique identifier for a record/document often used as a search tool.]]></DESCRIPTION>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <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>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <COLUMNNAME><![CDATA[Name]]></COLUMNNAME>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <AD_TABLE_ID><![CDATA[48F5363A7C0C44DE8114627C64DB4BDA]]></AD_TABLE_ID>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <FIELDLENGTH><![CDATA[200]]></FIELDLENGTH>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <SEQNO><![CDATA[170]]></SEQNO>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <AD_ELEMENT_ID><![CDATA[469]]></AD_ELEMENT_ID>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <POSITION><![CDATA[17]]></POSITION>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--8D00A9AA33E0408FB41D4A57F3AFE0C6--></AD_COLUMN>
+
 <!--8D0DC9E1C9F5B172E040007F01012587--><AD_COLUMN>
 <!--8D0DC9E1C9F5B172E040007F01012587-->  <AD_COLUMN_ID><![CDATA[8D0DC9E1C9F5B172E040007F01012587]]></AD_COLUMN_ID>
 <!--8D0DC9E1C9F5B172E040007F01012587-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -312110,6 +312255,42 @@
 <!--D1BA6C3D01714981AE40690180B364AC-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
 <!--D1BA6C3D01714981AE40690180B364AC--></AD_COLUMN>
 
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70--><AD_COLUMN>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <AD_COLUMN_ID><![CDATA[D1FA35E7BC7442A5BF3E44E8C3170F70]]></AD_COLUMN_ID>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <NAME><![CDATA[Is Parent Selection Allowed]]></NAME>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <DESCRIPTION><![CDATA[Defines if parent nodes can be selected when using a tree reference]]></DESCRIPTION>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <HELP><![CDATA[This property is used to define if non-leaf nodes are allowed to be selected in a tree reference.]]></HELP>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <COLUMNNAME><![CDATA[Isparentselectionallowed]]></COLUMNNAME>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <AD_TABLE_ID><![CDATA[48F5363A7C0C44DE8114627C64DB4BDA]]></AD_TABLE_ID>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <DEFAULTVALUE><![CDATA[Y]]></DEFAULTVALUE>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <SEQNO><![CDATA[180]]></SEQNO>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <AD_ELEMENT_ID><![CDATA[2EFB8D83C9CC4E2AB8E6FB9AC558ADE4]]></AD_ELEMENT_ID>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <POSITION><![CDATA[18]]></POSITION>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--D1FA35E7BC7442A5BF3E44E8C3170F70--></AD_COLUMN>
+
 <!--D243A6CF3B804A92A59633006740DE1D--><AD_COLUMN>
 <!--D243A6CF3B804A92A59633006740DE1D-->  <AD_COLUMN_ID><![CDATA[D243A6CF3B804A92A59633006740DE1D]]></AD_COLUMN_ID>
 <!--D243A6CF3B804A92A59633006740DE1D-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -320608,6 +320789,45 @@
 <!--EB992339CCE64AADA78054C7AC108C09-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
 <!--EB992339CCE64AADA78054C7AC108C09--></AD_COLUMN>
 
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA--><AD_COLUMN>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <AD_COLUMN_ID><![CDATA[EBA50C5405F44DC6887DFE6A1B15DFEA]]></AD_COLUMN_ID>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <NAME><![CDATA[handleNodesManually]]></NAME>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <DESCRIPTION><![CDATA[If this flag is checked the creation and deletion of tree nodes will be handled manually.]]></DESCRIPTION>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <HELP><![CDATA[Tree node creation and deletion can be handled:
+- Automatically: With an Openbravo handler that creates the tree node when a record is created, and deletes the tree node when the record is deleted.
+- Manually: With a custom trigger, event handler, etc.
+If this flag is checked the creation and deletion of tree nodes will be handled manually.]]></HELP>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <COLUMNNAME><![CDATA[Ishandlenodesmanually]]></COLUMNNAME>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <AD_TABLE_ID><![CDATA[48F5363A7C0C44DE8114627C64DB4BDA]]></AD_TABLE_ID>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <DEFAULTVALUE><![CDATA[N]]></DEFAULTVALUE>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <SEQNO><![CDATA[220]]></SEQNO>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <AD_ELEMENT_ID><![CDATA[C29CB8BD66B54FA3ABAB6216039219C3]]></AD_ELEMENT_ID>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <POSITION><![CDATA[22]]></POSITION>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--EBA50C5405F44DC6887DFE6A1B15DFEA--></AD_COLUMN>
+
 <!--ECB2E6217957452592B24F63D4DFAC88--><AD_COLUMN>
 <!--ECB2E6217957452592B24F63D4DFAC88-->  <AD_COLUMN_ID><![CDATA[ECB2E6217957452592B24F63D4DFAC88]]></AD_COLUMN_ID>
 <!--ECB2E6217957452592B24F63D4DFAC88-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_ELEMENT.xml	Wed Feb 19 15:38:52 2014 +0100
+++ b/src-db/database/sourcedata/AD_ELEMENT.xml	Wed Feb 19 17:19:06 2014 +0100
@@ -30171,6 +30171,23 @@
 <!--C1FC934106F24E9A82DDD748FC66F7ED-->  <ISGLOSSARY><![CDATA[N]]></ISGLOSSARY>
 <!--C1FC934106F24E9A82DDD748FC66F7ED--></AD_ELEMENT>
 
+<!--C29CB8BD66B54FA3ABAB6216039219C3--><AD_ELEMENT>
+<!--C29CB8BD66B54FA3ABAB6216039219C3-->  <AD_ELEMENT_ID><![CDATA[C29CB8BD66B54FA3ABAB6216039219C3]]></AD_ELEMENT_ID>
+<!--C29CB8BD66B54FA3ABAB6216039219C3-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--C29CB8BD66B54FA3ABAB6216039219C3-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--C29CB8BD66B54FA3ABAB6216039219C3-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--C29CB8BD66B54FA3ABAB6216039219C3-->  <COLUMNNAME><![CDATA[Ishandlenodesmanually]]></COLUMNNAME>
+<!--C29CB8BD66B54FA3ABAB6216039219C3-->  <NAME><![CDATA[Handle Nodes Manually]]></NAME>
+<!--C29CB8BD66B54FA3ABAB6216039219C3-->  <PRINTNAME><![CDATA[Handle Nodes Manually]]></PRINTNAME>
+<!--C29CB8BD66B54FA3ABAB6216039219C3-->  <DESCRIPTION><![CDATA[If this flag is checked the creation and deletion of tree nodes will be handled manually.]]></DESCRIPTION>
+<!--C29CB8BD66B54FA3ABAB6216039219C3-->  <HELP><![CDATA[Tree node creation and deletion can be handled:
+- Automatically: With an Openbravo handler that creates the tree node when a record is created, and deletes the tree node when the record is deleted.
+- Manually: With a custom trigger, event handler, etc.
+If this flag is checked the creation and deletion of tree nodes will be handled manually.]]></HELP>
+<!--C29CB8BD66B54FA3ABAB6216039219C3-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--C29CB8BD66B54FA3ABAB6216039219C3-->  <ISGLOSSARY><![CDATA[N]]></ISGLOSSARY>
+<!--C29CB8BD66B54FA3ABAB6216039219C3--></AD_ELEMENT>
+
 <!--C2FE8DEF5C13482F8758744125B6251E--><AD_ELEMENT>
 <!--C2FE8DEF5C13482F8758744125B6251E-->  <AD_ELEMENT_ID><![CDATA[C2FE8DEF5C13482F8758744125B6251E]]></AD_ELEMENT_ID>
 <!--C2FE8DEF5C13482F8758744125B6251E-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_FIELD.xml	Wed Feb 19 15:38:52 2014 +0100
+++ b/src-db/database/sourcedata/AD_FIELD.xml	Wed Feb 19 17:19:06 2014 +0100
@@ -175376,6 +175376,34 @@
 <!--0267FE152A9843E3B65B9F07F434ACA6-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
 <!--0267FE152A9843E3B65B9F07F434ACA6--></AD_FIELD>
 
+<!--027351EBEF8B480C9C2CA72E1D349275--><AD_FIELD>
+<!--027351EBEF8B480C9C2CA72E1D349275-->  <AD_FIELD_ID><![CDATA[027351EBEF8B480C9C2CA72E1D349275]]></AD_FIELD_ID>
+<!--027351EBEF8B480C9C2CA72E1D349275-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--027351EBEF8B480C9C2CA72E1D349275-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--027351EBEF8B480C9C2CA72E1D349275-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--027351EBEF8B480C9C2CA72E1D349275-->  <NAME><![CDATA[Is Ordered]]></NAME>
+<!--027351EBEF8B480C9C2CA72E1D349275-->  <DESCRIPTION><![CDATA[Defines if the tree is ordered]]></DESCRIPTION>
+<!--027351EBEF8B480C9C2CA72E1D349275-->  <HELP><![CDATA[The trees that use the ADTreeNode structure can be defined as ordered. In that case, the position of a node among its brothers is defined by a sequence number. ]]></HELP>
+<!--027351EBEF8B480C9C2CA72E1D349275-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--027351EBEF8B480C9C2CA72E1D349275-->  <AD_TAB_ID><![CDATA[708B2569E609493E818B5F6E1563A9A0]]></AD_TAB_ID>
+<!--027351EBEF8B480C9C2CA72E1D349275-->  <AD_COLUMN_ID><![CDATA[6758510A59BE44D993496328046F05F8]]></AD_COLUMN_ID>
+<!--027351EBEF8B480C9C2CA72E1D349275-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
+<!--027351EBEF8B480C9C2CA72E1D349275-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--027351EBEF8B480C9C2CA72E1D349275-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
+<!--027351EBEF8B480C9C2CA72E1D349275-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--027351EBEF8B480C9C2CA72E1D349275-->  <SEQNO><![CDATA[40]]></SEQNO>
+<!--027351EBEF8B480C9C2CA72E1D349275-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--027351EBEF8B480C9C2CA72E1D349275-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--027351EBEF8B480C9C2CA72E1D349275-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--027351EBEF8B480C9C2CA72E1D349275-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--027351EBEF8B480C9C2CA72E1D349275-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--027351EBEF8B480C9C2CA72E1D349275-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--027351EBEF8B480C9C2CA72E1D349275-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--027351EBEF8B480C9C2CA72E1D349275-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--027351EBEF8B480C9C2CA72E1D349275-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--027351EBEF8B480C9C2CA72E1D349275-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
+<!--027351EBEF8B480C9C2CA72E1D349275--></AD_FIELD>
+
 <!--028FDDA79E0E45FD9C15E7C7FAB57D40--><AD_FIELD>
 <!--028FDDA79E0E45FD9C15E7C7FAB57D40-->  <AD_FIELD_ID><![CDATA[028FDDA79E0E45FD9C15E7C7FAB57D40]]></AD_FIELD_ID>
 <!--028FDDA79E0E45FD9C15E7C7FAB57D40-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -179153,6 +179181,34 @@
 <!--10EE6FF9FCFD4194A110F11C7DB8115A-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
 <!--10EE6FF9FCFD4194A110F11C7DB8115A--></AD_FIELD>
 
+<!--10F19D07807549C7A9AA896055869360--><AD_FIELD>
+<!--10F19D07807549C7A9AA896055869360-->  <AD_FIELD_ID><![CDATA[10F19D07807549C7A9AA896055869360]]></AD_FIELD_ID>
+<!--10F19D07807549C7A9AA896055869360-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--10F19D07807549C7A9AA896055869360-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--10F19D07807549C7A9AA896055869360-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--10F19D07807549C7A9AA896055869360-->  <NAME><![CDATA[Name]]></NAME>
+<!--10F19D07807549C7A9AA896055869360-->  <DESCRIPTION><![CDATA[A non-unique identifier for a record/document often used as a search tool.]]></DESCRIPTION>
+<!--10F19D07807549C7A9AA896055869360-->  <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>
+<!--10F19D07807549C7A9AA896055869360-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--10F19D07807549C7A9AA896055869360-->  <AD_TAB_ID><![CDATA[708B2569E609493E818B5F6E1563A9A0]]></AD_TAB_ID>
+<!--10F19D07807549C7A9AA896055869360-->  <AD_COLUMN_ID><![CDATA[8D00A9AA33E0408FB41D4A57F3AFE0C6]]></AD_COLUMN_ID>
+<!--10F19D07807549C7A9AA896055869360-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
+<!--10F19D07807549C7A9AA896055869360-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--10F19D07807549C7A9AA896055869360-->  <DISPLAYLENGTH><![CDATA[200]]></DISPLAYLENGTH>
+<!--10F19D07807549C7A9AA896055869360-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--10F19D07807549C7A9AA896055869360-->  <SEQNO><![CDATA[20]]></SEQNO>
+<!--10F19D07807549C7A9AA896055869360-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--10F19D07807549C7A9AA896055869360-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--10F19D07807549C7A9AA896055869360-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--10F19D07807549C7A9AA896055869360-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--10F19D07807549C7A9AA896055869360-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--10F19D07807549C7A9AA896055869360-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--10F19D07807549C7A9AA896055869360-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--10F19D07807549C7A9AA896055869360-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--10F19D07807549C7A9AA896055869360-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--10F19D07807549C7A9AA896055869360-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
+<!--10F19D07807549C7A9AA896055869360--></AD_FIELD>
+
 <!--10F44D767CA9479B9061C09E0E52EA3E--><AD_FIELD>
 <!--10F44D767CA9479B9061C09E0E52EA3E-->  <AD_FIELD_ID><![CDATA[10F44D767CA9479B9061C09E0E52EA3E]]></AD_FIELD_ID>
 <!--10F44D767CA9479B9061C09E0E52EA3E-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -185235,7 +185291,7 @@
 <!--24C4D5D4AB334A568DAC7A8141BF4E3F-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
 <!--24C4D5D4AB334A568DAC7A8141BF4E3F-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
 <!--24C4D5D4AB334A568DAC7A8141BF4E3F-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--24C4D5D4AB334A568DAC7A8141BF4E3F-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--24C4D5D4AB334A568DAC7A8141BF4E3F-->  <SEQNO><![CDATA[80]]></SEQNO>
 <!--24C4D5D4AB334A568DAC7A8141BF4E3F-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
 <!--24C4D5D4AB334A568DAC7A8141BF4E3F-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
 <!--24C4D5D4AB334A568DAC7A8141BF4E3F-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
@@ -185243,7 +185299,7 @@
 <!--24C4D5D4AB334A568DAC7A8141BF4E3F-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
 <!--24C4D5D4AB334A568DAC7A8141BF4E3F-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--24C4D5D4AB334A568DAC7A8141BF4E3F-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
-<!--24C4D5D4AB334A568DAC7A8141BF4E3F-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--24C4D5D4AB334A568DAC7A8141BF4E3F-->  <STARTNEWLINE><![CDATA[Y]]></STARTNEWLINE>
 <!--24C4D5D4AB334A568DAC7A8141BF4E3F-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
 <!--24C4D5D4AB334A568DAC7A8141BF4E3F-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
 <!--24C4D5D4AB334A568DAC7A8141BF4E3F--></AD_FIELD>
@@ -191810,7 +191866,7 @@
 <!--39CACFEB349E473D9C222A78B77CFC72-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
 <!--39CACFEB349E473D9C222A78B77CFC72-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
 <!--39CACFEB349E473D9C222A78B77CFC72-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--39CACFEB349E473D9C222A78B77CFC72-->  <SEQNO><![CDATA[110]]></SEQNO>
+<!--39CACFEB349E473D9C222A78B77CFC72-->  <SEQNO><![CDATA[70]]></SEQNO>
 <!--39CACFEB349E473D9C222A78B77CFC72-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
 <!--39CACFEB349E473D9C222A78B77CFC72-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
 <!--39CACFEB349E473D9C222A78B77CFC72-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
@@ -197167,6 +197223,34 @@
 <!--4E2652978D69484B8468FC3975CEB0DB-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
 <!--4E2652978D69484B8468FC3975CEB0DB--></AD_FIELD>
 
+<!--4E277C7DCF1A4440B81AB9D7D12FCE53--><AD_FIELD>
+<!--4E277C7DCF1A4440B81AB9D7D12FCE53-->  <AD_FIELD_ID><![CDATA[4E277C7DCF1A4440B81AB9D7D12FCE53]]></AD_FIELD_ID>
+<!--4E277C7DCF1A4440B81AB9D7D12FCE53-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--4E277C7DCF1A4440B81AB9D7D12FCE53-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--4E277C7DCF1A4440B81AB9D7D12FCE53-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--4E277C7DCF1A4440B81AB9D7D12FCE53-->  <NAME><![CDATA[Datasource]]></NAME>
+<!--4E277C7DCF1A4440B81AB9D7D12FCE53-->  <DESCRIPTION><![CDATA[Datasource used to feed the table]]></DESCRIPTION>
+<!--4E277C7DCF1A4440B81AB9D7D12FCE53-->  <HELP><![CDATA[Datasource used to feed the table]]></HELP>
+<!--4E277C7DCF1A4440B81AB9D7D12FCE53-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--4E277C7DCF1A4440B81AB9D7D12FCE53-->  <AD_TAB_ID><![CDATA[708B2569E609493E818B5F6E1563A9A0]]></AD_TAB_ID>
+<!--4E277C7DCF1A4440B81AB9D7D12FCE53-->  <AD_COLUMN_ID><![CDATA[4244EF30C51A4F94A7169E489E39D427]]></AD_COLUMN_ID>
+<!--4E277C7DCF1A4440B81AB9D7D12FCE53-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
+<!--4E277C7DCF1A4440B81AB9D7D12FCE53-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--4E277C7DCF1A4440B81AB9D7D12FCE53-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
+<!--4E277C7DCF1A4440B81AB9D7D12FCE53-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--4E277C7DCF1A4440B81AB9D7D12FCE53-->  <SEQNO><![CDATA[100]]></SEQNO>
+<!--4E277C7DCF1A4440B81AB9D7D12FCE53-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--4E277C7DCF1A4440B81AB9D7D12FCE53-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--4E277C7DCF1A4440B81AB9D7D12FCE53-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--4E277C7DCF1A4440B81AB9D7D12FCE53-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--4E277C7DCF1A4440B81AB9D7D12FCE53-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--4E277C7DCF1A4440B81AB9D7D12FCE53-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--4E277C7DCF1A4440B81AB9D7D12FCE53-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--4E277C7DCF1A4440B81AB9D7D12FCE53-->  <STARTNEWLINE><![CDATA[Y]]></STARTNEWLINE>
+<!--4E277C7DCF1A4440B81AB9D7D12FCE53-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--4E277C7DCF1A4440B81AB9D7D12FCE53-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
+<!--4E277C7DCF1A4440B81AB9D7D12FCE53--></AD_FIELD>
+
 <!--4E94D12948864A1D92461F87C9595B0D--><AD_FIELD>
 <!--4E94D12948864A1D92461F87C9595B0D-->  <AD_FIELD_ID><![CDATA[4E94D12948864A1D92461F87C9595B0D]]></AD_FIELD_ID>
 <!--4E94D12948864A1D92461F87C9595B0D-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -224659,7 +224743,7 @@
 <!--7FBD12C6C55D46BDAF73119282933F98-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
 <!--7FBD12C6C55D46BDAF73119282933F98-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
 <!--7FBD12C6C55D46BDAF73119282933F98-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--7FBD12C6C55D46BDAF73119282933F98-->  <SEQNO><![CDATA[100]]></SEQNO>
+<!--7FBD12C6C55D46BDAF73119282933F98-->  <SEQNO><![CDATA[120]]></SEQNO>
 <!--7FBD12C6C55D46BDAF73119282933F98-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
 <!--7FBD12C6C55D46BDAF73119282933F98-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
 <!--7FBD12C6C55D46BDAF73119282933F98-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
@@ -234106,6 +234190,37 @@
 <!--8E7CC7A39198B541E040007F01004601-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
 <!--8E7CC7A39198B541E040007F01004601--></AD_FIELD>
 
+<!--8E833CE511F24D1E8C717B6841176ECD--><AD_FIELD>
+<!--8E833CE511F24D1E8C717B6841176ECD-->  <AD_FIELD_ID><![CDATA[8E833CE511F24D1E8C717B6841176ECD]]></AD_FIELD_ID>
+<!--8E833CE511F24D1E8C717B6841176ECD-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--8E833CE511F24D1E8C717B6841176ECD-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--8E833CE511F24D1E8C717B6841176ECD-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--8E833CE511F24D1E8C717B6841176ECD-->  <NAME><![CDATA[Handle Nodes Manually]]></NAME>
+<!--8E833CE511F24D1E8C717B6841176ECD-->  <DESCRIPTION><![CDATA[If this flag is checked the creation and deletion of tree nodes will be handled manually.]]></DESCRIPTION>
+<!--8E833CE511F24D1E8C717B6841176ECD-->  <HELP><![CDATA[Tree node creation and deletion can be handled:
+- Automatically: With an Openbravo handler that creates the tree node when a record is created, and deletes the tree node when the record is deleted.
+- Manually: With a custom trigger, event handler, etc.
+If this flag is checked the creation and deletion of tree nodes will be handled manually.]]></HELP>
+<!--8E833CE511F24D1E8C717B6841176ECD-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--8E833CE511F24D1E8C717B6841176ECD-->  <AD_TAB_ID><![CDATA[708B2569E609493E818B5F6E1563A9A0]]></AD_TAB_ID>
+<!--8E833CE511F24D1E8C717B6841176ECD-->  <AD_COLUMN_ID><![CDATA[EBA50C5405F44DC6887DFE6A1B15DFEA]]></AD_COLUMN_ID>
+<!--8E833CE511F24D1E8C717B6841176ECD-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
+<!--8E833CE511F24D1E8C717B6841176ECD-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--8E833CE511F24D1E8C717B6841176ECD-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
+<!--8E833CE511F24D1E8C717B6841176ECD-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--8E833CE511F24D1E8C717B6841176ECD-->  <SEQNO><![CDATA[110]]></SEQNO>
+<!--8E833CE511F24D1E8C717B6841176ECD-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--8E833CE511F24D1E8C717B6841176ECD-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--8E833CE511F24D1E8C717B6841176ECD-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--8E833CE511F24D1E8C717B6841176ECD-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--8E833CE511F24D1E8C717B6841176ECD-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--8E833CE511F24D1E8C717B6841176ECD-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--8E833CE511F24D1E8C717B6841176ECD-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--8E833CE511F24D1E8C717B6841176ECD-->  <STARTNEWLINE><![CDATA[Y]]></STARTNEWLINE>
+<!--8E833CE511F24D1E8C717B6841176ECD-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--8E833CE511F24D1E8C717B6841176ECD-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
+<!--8E833CE511F24D1E8C717B6841176ECD--></AD_FIELD>
+
 <!--8E8ECFD3E962479DBBCAFC21A421DB59--><AD_FIELD>
 <!--8E8ECFD3E962479DBBCAFC21A421DB59-->  <AD_FIELD_ID><![CDATA[8E8ECFD3E962479DBBCAFC21A421DB59]]></AD_FIELD_ID>
 <!--8E8ECFD3E962479DBBCAFC21A421DB59-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -241111,6 +241226,34 @@
 <!--A1B64F8B403741F78F39A08AA6A84B69-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
 <!--A1B64F8B403741F78F39A08AA6A84B69--></AD_FIELD>
 
+<!--A1BA3BD7630D4A6D88373888DD04643E--><AD_FIELD>
+<!--A1BA3BD7630D4A6D88373888DD04643E-->  <AD_FIELD_ID><![CDATA[A1BA3BD7630D4A6D88373888DD04643E]]></AD_FIELD_ID>
+<!--A1BA3BD7630D4A6D88373888DD04643E-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--A1BA3BD7630D4A6D88373888DD04643E-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--A1BA3BD7630D4A6D88373888DD04643E-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--A1BA3BD7630D4A6D88373888DD04643E-->  <NAME><![CDATA[Organization]]></NAME>
+<!--A1BA3BD7630D4A6D88373888DD04643E-->  <DESCRIPTION><![CDATA[Organizational entity within client]]></DESCRIPTION>
+<!--A1BA3BD7630D4A6D88373888DD04643E-->  <HELP><![CDATA[An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.]]></HELP>
+<!--A1BA3BD7630D4A6D88373888DD04643E-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--A1BA3BD7630D4A6D88373888DD04643E-->  <AD_TAB_ID><![CDATA[708B2569E609493E818B5F6E1563A9A0]]></AD_TAB_ID>
+<!--A1BA3BD7630D4A6D88373888DD04643E-->  <AD_COLUMN_ID><![CDATA[4FCD8990102D476987278166B95BF518]]></AD_COLUMN_ID>
+<!--A1BA3BD7630D4A6D88373888DD04643E-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
+<!--A1BA3BD7630D4A6D88373888DD04643E-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--A1BA3BD7630D4A6D88373888DD04643E-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
+<!--A1BA3BD7630D4A6D88373888DD04643E-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--A1BA3BD7630D4A6D88373888DD04643E-->  <SEQNO><![CDATA[10]]></SEQNO>
+<!--A1BA3BD7630D4A6D88373888DD04643E-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--A1BA3BD7630D4A6D88373888DD04643E-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--A1BA3BD7630D4A6D88373888DD04643E-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--A1BA3BD7630D4A6D88373888DD04643E-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--A1BA3BD7630D4A6D88373888DD04643E-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--A1BA3BD7630D4A6D88373888DD04643E-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--A1BA3BD7630D4A6D88373888DD04643E-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--A1BA3BD7630D4A6D88373888DD04643E-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--A1BA3BD7630D4A6D88373888DD04643E-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--A1BA3BD7630D4A6D88373888DD04643E-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
+<!--A1BA3BD7630D4A6D88373888DD04643E--></AD_FIELD>
+
 <!--A1C2E154D053428592D17282AAD175F2--><AD_FIELD>
 <!--A1C2E154D053428592D17282AAD175F2-->  <AD_FIELD_ID><![CDATA[A1C2E154D053428592D17282AAD175F2]]></AD_FIELD_ID>
 <!--A1C2E154D053428592D17282AAD175F2-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -243920,6 +244063,37 @@
 <!--AC52D73941C5497CAD587EA8E562BAF4-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
 <!--AC52D73941C5497CAD587EA8E562BAF4--></AD_FIELD>
 
+<!--AC7150867BCE4C9E8246AB3DF529CE9E--><AD_FIELD>
+<!--AC7150867BCE4C9E8246AB3DF529CE9E-->  <AD_FIELD_ID><![CDATA[AC7150867BCE4C9E8246AB3DF529CE9E]]></AD_FIELD_ID>
+<!--AC7150867BCE4C9E8246AB3DF529CE9E-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--AC7150867BCE4C9E8246AB3DF529CE9E-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--AC7150867BCE4C9E8246AB3DF529CE9E-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--AC7150867BCE4C9E8246AB3DF529CE9E-->  <NAME><![CDATA[Tree Structure]]></NAME>
+<!--AC7150867BCE4C9E8246AB3DF529CE9E-->  <DESCRIPTION><![CDATA[Inner structure of the tree]]></DESCRIPTION>
+<!--AC7150867BCE4C9E8246AB3DF529CE9E-->  <HELP><![CDATA[Three different tree structures are available:
+- AD Tree Node: The information regarding the hierarchy of the data is stored in the ADTree and ADTreeNode tables.
+- Link to Parent in Table: This structure can be used when the informartion regarding the hierarchy of the data can be fetched from the own table. In this case, there has to be a column in the table that points to the row that represents the parent node of the record.
+- Custom: For other tree tables, a manual datasource can be defined]]></HELP>
+<!--AC7150867BCE4C9E8246AB3DF529CE9E-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--AC7150867BCE4C9E8246AB3DF529CE9E-->  <AD_TAB_ID><![CDATA[708B2569E609493E818B5F6E1563A9A0]]></AD_TAB_ID>
+<!--AC7150867BCE4C9E8246AB3DF529CE9E-->  <AD_COLUMN_ID><![CDATA[2BF196792D1E4585857593DA16E0FEDD]]></AD_COLUMN_ID>
+<!--AC7150867BCE4C9E8246AB3DF529CE9E-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
+<!--AC7150867BCE4C9E8246AB3DF529CE9E-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--AC7150867BCE4C9E8246AB3DF529CE9E-->  <DISPLAYLENGTH><![CDATA[60]]></DISPLAYLENGTH>
+<!--AC7150867BCE4C9E8246AB3DF529CE9E-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--AC7150867BCE4C9E8246AB3DF529CE9E-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--AC7150867BCE4C9E8246AB3DF529CE9E-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--AC7150867BCE4C9E8246AB3DF529CE9E-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--AC7150867BCE4C9E8246AB3DF529CE9E-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--AC7150867BCE4C9E8246AB3DF529CE9E-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--AC7150867BCE4C9E8246AB3DF529CE9E-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--AC7150867BCE4C9E8246AB3DF529CE9E-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--AC7150867BCE4C9E8246AB3DF529CE9E-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--AC7150867BCE4C9E8246AB3DF529CE9E-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--AC7150867BCE4C9E8246AB3DF529CE9E-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--AC7150867BCE4C9E8246AB3DF529CE9E-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
+<!--AC7150867BCE4C9E8246AB3DF529CE9E--></AD_FIELD>
+
 <!--AC84A50FAE7A4B82975FF0766AA3BAAC--><AD_FIELD>
 <!--AC84A50FAE7A4B82975FF0766AA3BAAC-->  <AD_FIELD_ID><![CDATA[AC84A50FAE7A4B82975FF0766AA3BAAC]]></AD_FIELD_ID>
 <!--AC84A50FAE7A4B82975FF0766AA3BAAC-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -250878,7 +251052,7 @@
 <!--AFCEF7EBBB6943A5B47B0C529E0372D8-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
 <!--AFCEF7EBBB6943A5B47B0C529E0372D8-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
 <!--AFCEF7EBBB6943A5B47B0C529E0372D8-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--AFCEF7EBBB6943A5B47B0C529E0372D8-->  <SEQNO><![CDATA[40]]></SEQNO>
+<!--AFCEF7EBBB6943A5B47B0C529E0372D8-->  <SEQNO><![CDATA[90]]></SEQNO>
 <!--AFCEF7EBBB6943A5B47B0C529E0372D8-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
 <!--AFCEF7EBBB6943A5B47B0C529E0372D8-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
 <!--AFCEF7EBBB6943A5B47B0C529E0372D8-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
@@ -276187,7 +276361,7 @@
 <!--E8DDFA3322CCCBCDE040007F01004143-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
 <!--E8DDFA3322CCCBCDE040007F01004143-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
 <!--E8DDFA3322CCCBCDE040007F01004143-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--E8DDFA3322CCCBCDE040007F01004143-->  <SEQNO><![CDATA[50]]></SEQNO>
+<!--E8DDFA3322CCCBCDE040007F01004143-->  <SEQNO><![CDATA[60]]></SEQNO>
 <!--E8DDFA3322CCCBCDE040007F01004143-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
 <!--E8DDFA3322CCCBCDE040007F01004143-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
 <!--E8DDFA3322CCCBCDE040007F01004143-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
@@ -277021,6 +277195,34 @@
 <!--ECF01F0517E14A0D851E1B7A49676EF1-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
 <!--ECF01F0517E14A0D851E1B7A49676EF1--></AD_FIELD>
 
+<!--ECFB3F67F97C469196D81514404EF26A--><AD_FIELD>
+<!--ECFB3F67F97C469196D81514404EF26A-->  <AD_FIELD_ID><![CDATA[ECFB3F67F97C469196D81514404EF26A]]></AD_FIELD_ID>
+<!--ECFB3F67F97C469196D81514404EF26A-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--ECFB3F67F97C469196D81514404EF26A-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--ECFB3F67F97C469196D81514404EF26A-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--ECFB3F67F97C469196D81514404EF26A-->  <NAME><![CDATA[Is Parent Selection Allowed]]></NAME>
+<!--ECFB3F67F97C469196D81514404EF26A-->  <DESCRIPTION><![CDATA[Defines if parent nodes can be selected when using a tree reference]]></DESCRIPTION>
+<!--ECFB3F67F97C469196D81514404EF26A-->  <HELP><![CDATA[This property is used to define if non-leaf nodes are allowed to be selected in a tree reference.]]></HELP>
+<!--ECFB3F67F97C469196D81514404EF26A-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--ECFB3F67F97C469196D81514404EF26A-->  <AD_TAB_ID><![CDATA[708B2569E609493E818B5F6E1563A9A0]]></AD_TAB_ID>
+<!--ECFB3F67F97C469196D81514404EF26A-->  <AD_COLUMN_ID><![CDATA[D1FA35E7BC7442A5BF3E44E8C3170F70]]></AD_COLUMN_ID>
+<!--ECFB3F67F97C469196D81514404EF26A-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
+<!--ECFB3F67F97C469196D81514404EF26A-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--ECFB3F67F97C469196D81514404EF26A-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
+<!--ECFB3F67F97C469196D81514404EF26A-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--ECFB3F67F97C469196D81514404EF26A-->  <SEQNO><![CDATA[50]]></SEQNO>
+<!--ECFB3F67F97C469196D81514404EF26A-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--ECFB3F67F97C469196D81514404EF26A-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--ECFB3F67F97C469196D81514404EF26A-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--ECFB3F67F97C469196D81514404EF26A-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--ECFB3F67F97C469196D81514404EF26A-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--ECFB3F67F97C469196D81514404EF26A-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
+<!--ECFB3F67F97C469196D81514404EF26A-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--ECFB3F67F97C469196D81514404EF26A-->  <STARTNEWLINE><![CDATA[Y]]></STARTNEWLINE>
+<!--ECFB3F67F97C469196D81514404EF26A-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--ECFB3F67F97C469196D81514404EF26A-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
+<!--ECFB3F67F97C469196D81514404EF26A--></AD_FIELD>
+
 <!--ED25D01BDDB340AB850689C093A91E38--><AD_FIELD>
 <!--ED25D01BDDB340AB850689C093A91E38-->  <AD_FIELD_ID><![CDATA[ED25D01BDDB340AB850689C093A91E38]]></AD_FIELD_ID>
 <!--ED25D01BDDB340AB850689C093A91E38-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -278259,34 +278461,6 @@
 <!--F0D8B508CD3C468B802DC57CFC905508-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
 <!--F0D8B508CD3C468B802DC57CFC905508--></AD_FIELD>
 
-<!--F0E23F12A81844A49AE962D35DE6CE17--><AD_FIELD>
-<!--F0E23F12A81844A49AE962D35DE6CE17-->  <AD_FIELD_ID><![CDATA[F0E23F12A81844A49AE962D35DE6CE17]]></AD_FIELD_ID>
-<!--F0E23F12A81844A49AE962D35DE6CE17-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--F0E23F12A81844A49AE962D35DE6CE17-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--F0E23F12A81844A49AE962D35DE6CE17-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--F0E23F12A81844A49AE962D35DE6CE17-->  <NAME><![CDATA[Tree Category]]></NAME>
-<!--F0E23F12A81844A49AE962D35DE6CE17-->  <DESCRIPTION><![CDATA[Tree Category that defines how the data of this table can be structured hierarchically]]></DESCRIPTION>
-<!--F0E23F12A81844A49AE962D35DE6CE17-->  <HELP><![CDATA[Tree Category that defines how the data of this table can be structured hierarchically. ]]></HELP>
-<!--F0E23F12A81844A49AE962D35DE6CE17-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
-<!--F0E23F12A81844A49AE962D35DE6CE17-->  <AD_TAB_ID><![CDATA[708B2569E609493E818B5F6E1563A9A0]]></AD_TAB_ID>
-<!--F0E23F12A81844A49AE962D35DE6CE17-->  <AD_COLUMN_ID><![CDATA[6B1E028E4792469884813D7BF6453F2C]]></AD_COLUMN_ID>
-<!--F0E23F12A81844A49AE962D35DE6CE17-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
-<!--F0E23F12A81844A49AE962D35DE6CE17-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
-<!--F0E23F12A81844A49AE962D35DE6CE17-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
-<!--F0E23F12A81844A49AE962D35DE6CE17-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--F0E23F12A81844A49AE962D35DE6CE17-->  <SEQNO><![CDATA[20]]></SEQNO>
-<!--F0E23F12A81844A49AE962D35DE6CE17-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
-<!--F0E23F12A81844A49AE962D35DE6CE17-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
-<!--F0E23F12A81844A49AE962D35DE6CE17-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--F0E23F12A81844A49AE962D35DE6CE17-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
-<!--F0E23F12A81844A49AE962D35DE6CE17-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
-<!--F0E23F12A81844A49AE962D35DE6CE17-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--F0E23F12A81844A49AE962D35DE6CE17-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
-<!--F0E23F12A81844A49AE962D35DE6CE17-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
-<!--F0E23F12A81844A49AE962D35DE6CE17-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
-<!--F0E23F12A81844A49AE962D35DE6CE17-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
-<!--F0E23F12A81844A49AE962D35DE6CE17--></AD_FIELD>
-
 <!--F100F74DDDF145B0BC97F745252E1974--><AD_FIELD>
 <!--F100F74DDDF145B0BC97F745252E1974-->  <AD_FIELD_ID><![CDATA[F100F74DDDF145B0BC97F745252E1974]]></AD_FIELD_ID>
 <!--F100F74DDDF145B0BC97F745252E1974-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>