[cleanup] Removed AD_TREENODEBP table
authorVíctor Martínez Romanos <victor.martinez@openbravo.com>
Tue, 10 May 2011 15:35:00 +0200
changeset 12103 347e6802d41c
parent 12102 21e64ced4610
child 12104 f2a9b4e64e2c
child 12106 aa63d51a7b54
[cleanup] Removed AD_TREENODEBP table
referencedata/sampledata/F_B_International_Group.xml
referencedata/sampledata/QA_Testing.xml
src-db/database/model/tables/AD_TREENODEBP.xml
src-db/database/model/triggers/AD_TREE_TRG.xml
src-db/database/model/triggers/C_BPARTNER_TRG.xml
src-db/database/model/triggers/C_BPARTNER_TRG2.xml
src-db/database/sourcedata/AD_COLUMN.xml
src-db/database/sourcedata/AD_DATASET_TABLE.xml
src-db/database/sourcedata/AD_TABLE.xml
src-db/database/sourcedata/referencedData/AD_TREENODEBP.xml
src-db/src/com/openbravo/db/OpenbravoDataFilter.java
src-db/src/com/openbravo/db/OpenbravoMetadataFilter.java
src/org/openbravo/erpCommon/utility/WindowTreeUtility.java
src/org/openbravo/erpCommon/utility/WindowTree_data.xsql
--- a/referencedata/sampledata/F_B_International_Group.xml	Tue May 10 10:28:58 2011 +0200
+++ b/referencedata/sampledata/F_B_International_Group.xml	Tue May 10 15:35:00 2011 +0200
@@ -313336,236 +313336,6 @@
     <active>true</active>
     <orgAdmin>false</orgAdmin>
   </ADRoleOrganization>
-  <BusinessPartnerTreeNode id="12EFF49D8DDA4D869DC563F32EF3DBF4">
-    <id>12EFF49D8DDA4D869DC563F32EF3DBF4</id>
-    <tree id="FF8080812AFBCB14012AFBD3E3B80023"/>
-    <node>8A64B71A2B0B2946012B0FE1E51401C1</node>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="B9C7088AB859483A9B1FB342AC2BE17A"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="136720C2CFAD49E493706F48E2E45570">
-    <id>136720C2CFAD49E493706F48E2E45570</id>
-    <tree id="FF8080812AFBCB14012AFBD3E3B80023"/>
-    <node>8A64B71A2B0B2946012B0FE1E9730210</node>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="4F68EB1C1B734E79B27DE9D2DF56089F"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="207377C722464E4C936F1C30C6AA6D62">
-    <id>207377C722464E4C936F1C30C6AA6D62</id>
-    <tree id="FF8080812AFBCB14012AFBD3E3B80023"/>
-    <node>8A64B71A2B0B2946012B0FE1E7DB01EE</node>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="4F68EB1C1B734E79B27DE9D2DF56089F"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="2199293141554CF28A97375CA3117966">
-    <id>2199293141554CF28A97375CA3117966</id>
-    <tree id="FF8080812AFBCB14012AFBD3E3B80023"/>
-    <node>8A64B71A2B0B2946012B0FE1E93B020C</node>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="4F68EB1C1B734E79B27DE9D2DF56089F"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="2C849EE6DE3F40AA9D74732734945B29">
-    <id>2C849EE6DE3F40AA9D74732734945B29</id>
-    <tree id="FF8080812AFBCB14012AFBD3E3B80023"/>
-    <node>8A64B71A2B0B2946012B0FE1E56F01C7</node>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="B9C7088AB859483A9B1FB342AC2BE17A"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="2EBE5B411E3941D39ECDD79240E5668F">
-    <id>2EBE5B411E3941D39ECDD79240E5668F</id>
-    <tree id="FF8080812AFBCB14012AFBD3E3B80023"/>
-    <node>8A64B71A2B0B2946012B0FE1E72401DF</node>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="B9C7088AB859483A9B1FB342AC2BE17A"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="38A9DCFA72C345459E93CCE6C2B21AA8">
-    <id>38A9DCFA72C345459E93CCE6C2B21AA8</id>
-    <tree id="FF8080812AFBCB14012AFBD3E3B80023"/>
-    <node>8A64B71A2B0B2946012B0FE1E49501B5</node>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="B9C7088AB859483A9B1FB342AC2BE17A"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="409B3E872A87496B9ABC98D48A175BF3">
-    <id>409B3E872A87496B9ABC98D48A175BF3</id>
-    <tree id="FF8080812AFBCB14012AFBD3E3B80023"/>
-    <node>8A64B71A2B0B2946012B0FE1E9080206</node>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="4F68EB1C1B734E79B27DE9D2DF56089F"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="4C96525ED06B4765B9345EE7604ECF4D">
-    <id>4C96525ED06B4765B9345EE7604ECF4D</id>
-    <tree id="FF8080812AFBCB14012AFBD3E3B80023"/>
-    <node>8A64B71A2B0B2946012B0FE1E99F0214</node>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="4F68EB1C1B734E79B27DE9D2DF56089F"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="6F9390D940F04B8E8D7420AF1EF2CD12">
-    <id>6F9390D940F04B8E8D7420AF1EF2CD12</id>
-    <tree id="FF8080812AFBCB14012AFBD3E3B80023"/>
-    <node>8A64B71A2B0B2946012B0FE1E9F10218</node>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="4F68EB1C1B734E79B27DE9D2DF56089F"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="8565A8959E024FCB9710CB153E383989">
-    <id>8565A8959E024FCB9710CB153E383989</id>
-    <tree id="FF8080812AFBCB14012AFBD3E3B80023"/>
-    <node>8A64B71A2B0B2946012B0FE1E4D501BB</node>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="B9C7088AB859483A9B1FB342AC2BE17A"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="897AB585F60B442AB5C25EDAB45AE909">
-    <id>897AB585F60B442AB5C25EDAB45AE909</id>
-    <tree id="FF8080812AFBCB14012AFBD3E3B80023"/>
-    <node>8A64B71A2B0B2946012B0FE1E77001E4</node>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="4F68EB1C1B734E79B27DE9D2DF56089F"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="8A37814E9A5445D7902CDE2EFFBA58D1">
-    <id>8A37814E9A5445D7902CDE2EFFBA58D1</id>
-    <tree id="FF8080812AFBCB14012AFBD3E3B80023"/>
-    <node>8A64B71A2B0B2946012B0FE1E37001AB</node>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="B9C7088AB859483A9B1FB342AC2BE17A"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="8D17DB29451D47FAADC4B5B4CB6531C5">
-    <id>8D17DB29451D47FAADC4B5B4CB6531C5</id>
-    <tree id="FF8080812AFBCB14012AFBD3E3B80023"/>
-    <node>8A64B71A2B0B2946012B0FE1E6E301DB</node>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="B9C7088AB859483A9B1FB342AC2BE17A"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="9F566B11FDA347E6B78EF844F5B8E6F6">
-    <id>9F566B11FDA347E6B78EF844F5B8E6F6</id>
-    <tree id="FF8080812AFBCB14012AFBD3E3B80023"/>
-    <node>8A64B71A2B0B2946012B0FE1E66C01D3</node>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="B9C7088AB859483A9B1FB342AC2BE17A"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="B8E82C665A764DDC88B49F04AB2B2F85">
-    <id>B8E82C665A764DDC88B49F04AB2B2F85</id>
-    <tree id="FF8080812AFBCB14012AFBD3E3B80023"/>
-    <node>8A64B71A2B0B2946012B0FE1E8B50200</node>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="4F68EB1C1B734E79B27DE9D2DF56089F"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="D1981D4779C1402B97D2BEC7CF5F4FD5">
-    <id>D1981D4779C1402B97D2BEC7CF5F4FD5</id>
-    <tree id="FF8080812AFBCB14012AFBD3E3B80023"/>
-    <node>8A64B71A2B0B2946012B0FE1E82201F4</node>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="4F68EB1C1B734E79B27DE9D2DF56089F"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="D61BA2F8D2FA4FE3B7F05D0A64AEAABE">
-    <id>D61BA2F8D2FA4FE3B7F05D0A64AEAABE</id>
-    <tree id="FF8080812AFBCB14012AFBD3E3B80023"/>
-    <node>8A64B71A2B0B2946012B0FE1E86301FA</node>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="4F68EB1C1B734E79B27DE9D2DF56089F"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="D65C4E7E73D04341B3EA36E13143CBA5">
-    <id>D65C4E7E73D04341B3EA36E13143CBA5</id>
-    <tree id="FF8080812AFBCB14012AFBD3E3B80023"/>
-    <node>8A64B71A2B0B2946012B0FE1E69D01D7</node>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="B9C7088AB859483A9B1FB342AC2BE17A"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="DE686D6A04884C049C0E4BAB56E82C14">
-    <id>DE686D6A04884C049C0E4BAB56E82C14</id>
-    <tree id="FF8080812AFBCB14012AFBD3E3B80023"/>
-    <node>8A64B71A2B0B2946012B0FE1E7A301E9</node>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="4F68EB1C1B734E79B27DE9D2DF56089F"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="E107A9F557114236AD75BD7109F7363D">
-    <id>E107A9F557114236AD75BD7109F7363D</id>
-    <tree id="FF8080812AFBCB14012AFBD3E3B80023"/>
-    <node>8A64B71A2B0B2946012B0FE1E45F01B0</node>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="B9C7088AB859483A9B1FB342AC2BE17A"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="E21B54C82165487A983CB1A19C29C27A">
-    <id>E21B54C82165487A983CB1A19C29C27A</id>
-    <tree id="FF8080812AFBCB14012AFBD3E3B80023"/>
-    <node>0</node>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="0"/>
-    <active>true</active>
-    <reportSet xsi:nil="true"/>
-    <sequenceNumber>0</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="E4308B125A4E4A82BEDDF4681510288C">
-    <id>E4308B125A4E4A82BEDDF4681510288C</id>
-    <tree id="FF8080812AFBCB14012AFBD3E3B80023"/>
-    <node>8A64B71A2B0B2946012B0FE1E5A701CD</node>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="B9C7088AB859483A9B1FB342AC2BE17A"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
   <ADImage id="402880E92E2F838E012E307772B20108">
     <id>402880E92E2F838E012E307772B20108</id>
     <client id="FF8080812AFBCB14012AFBD3E373001F"/>
--- a/referencedata/sampledata/QA_Testing.xml	Tue May 10 10:28:58 2011 +0200
+++ b/referencedata/sampledata/QA_Testing.xml	Tue May 10 15:35:00 2011 +0200
@@ -171534,336 +171534,6 @@
     <active>true</active>
     <orgAdmin>false</orgAdmin>
   </ADRoleOrganization>
-  <BusinessPartnerTreeNode id="0AC5988673EC430A9664DF4B16DCC99A">
-    <id>0AC5988673EC430A9664DF4B16DCC99A</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>4028E6C72959682B01295F40D1580323</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="357947E87C284935AD1D783CF6F099A1"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="158DD4EA0C534FEFA90AB7333872B84D">
-    <id>158DD4EA0C534FEFA90AB7333872B84D</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>3E74DE00AB4F499B85EA926762E7E875</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="357947E87C284935AD1D783CF6F099A1"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="1FBB8F2C4EEF4282AEC62E7624E7BA96">
-    <id>1FBB8F2C4EEF4282AEC62E7624E7BA96</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>E1E7B615C0E84857BEFE6B869646F6B3</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="357947E87C284935AD1D783CF6F099A1"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="209F34CF635A41008B6470A38956205F">
-    <id>209F34CF635A41008B6470A38956205F</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>4028E6C72959682B01295F40C3CB02EC</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="0"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="242F436051FB42C282B0FAC0F5AE7358">
-    <id>242F436051FB42C282B0FAC0F5AE7358</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>A85C7C53E58C4163BEA42D10C5988967</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="357947E87C284935AD1D783CF6F099A1"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="27E2ACF2E1F44B8C8136C41600B3F77C">
-    <id>27E2ACF2E1F44B8C8136C41600B3F77C</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>0</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="0"/>
-    <active>true</active>
-    <reportSet xsi:nil="true"/>
-    <sequenceNumber>0</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="2955FA3ACBE3461283F8E4F6CEA29D25">
-    <id>2955FA3ACBE3461283F8E4F6CEA29D25</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>4028E6C72959682B01295F40D4D20333</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="5EFF95EB540740A3B10510D9814EFAD5"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="3AD0FED53B054EB899CAF9710A0D66EA">
-    <id>3AD0FED53B054EB899CAF9710A0D66EA</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>4028E6C72959682B01295F40D5AD0337</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="5EFF95EB540740A3B10510D9814EFAD5"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="42EAFA1B707A40FC871F474D84626BF4">
-    <id>42EAFA1B707A40FC871F474D84626BF4</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>4028E6C72959682B01295F40C5CF02F5</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="0"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="5AC1AD9092824E27A8E9A69557254B56">
-    <id>5AC1AD9092824E27A8E9A69557254B56</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>F879ED57D9084DFAB40AA90BB26E5D69</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="0"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="5B0401AE95A44EB9AFD7DC8EA30C8819">
-    <id>5B0401AE95A44EB9AFD7DC8EA30C8819</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>4028E6C72959682B01295F40BDDF02E3</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="0"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="5CBFDA92F5AF44429522AC5254A6E26A">
-    <id>5CBFDA92F5AF44429522AC5254A6E26A</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>4028E6C72959682B01295F40D3F8032F</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="5EFF95EB540740A3B10510D9814EFAD5"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="5E54967666664D028BDC4E78C5D04E89">
-    <id>5E54967666664D028BDC4E78C5D04E89</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>4028E6C72959682B01295F40C7F102FE</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="0"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="68E8BCB6BBBF4DA99956439B13CE3B3D">
-    <id>68E8BCB6BBBF4DA99956439B13CE3B3D</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>4028E6C72959682B01295F40CCB4030F</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="0"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="74D38A730F6E4BFFBB0E6010F5B1B4D9">
-    <id>74D38A730F6E4BFFBB0E6010F5B1B4D9</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>4028E6C72959682B01295F40CFE1031B</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="357947E87C284935AD1D783CF6F099A1"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="7DFDC20686604BB88803BA8D22118D0A">
-    <id>7DFDC20686604BB88803BA8D22118D0A</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>2CF55E52C22D4BCFAC324233DA1D6440</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="0"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="958589B3A7F44E46975873FB7B4EE2E6">
-    <id>958589B3A7F44E46975873FB7B4EE2E6</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>4028E6C72959682B01295F40CAEF030B</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="0"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="9E77DE12F5814B44AD080C6AA2EACABC">
-    <id>9E77DE12F5814B44AD080C6AA2EACABC</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>2EBD4581EFE44BCABD89A8718903FEA6</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="0"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="A1EE0D80C26B46859619AB807F97344D">
-    <id>A1EE0D80C26B46859619AB807F97344D</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>4028E6C72959682B01295F40D2230327</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="357947E87C284935AD1D783CF6F099A1"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="A5029FDF292D4031A1BF7BA2C5576C4A">
-    <id>A5029FDF292D4031A1BF7BA2C5576C4A</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>4028E6C72959682B01295F40C6D802F9</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="0"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="B4B8BB662FB841F29FB804C98F703EDD">
-    <id>B4B8BB662FB841F29FB804C98F703EDD</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>E2D8276DF54D4B568F24B9448C32C69B</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="357947E87C284935AD1D783CF6F099A1"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="B592B2EEBFDB411ABFAFF6302C26831B">
-    <id>B592B2EEBFDB411ABFAFF6302C26831B</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>4028E6C72959682B01295F40D0AC031F</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="357947E87C284935AD1D783CF6F099A1"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="B5BFD611656840B29194F9A860CFC8B0">
-    <id>B5BFD611656840B29194F9A860CFC8B0</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>4028E6C72959682B01295F40CE2B0313</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="0"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="B976320C9E9449B7A5875701A35BEFC8">
-    <id>B976320C9E9449B7A5875701A35BEFC8</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>A0323708D93341E9BEF9783156185DAF</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="5EFF95EB540740A3B10510D9814EFAD5"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="BE2CBA5C7E19409585D8265C04A7FCB2">
-    <id>BE2CBA5C7E19409585D8265C04A7FCB2</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>4028E6C72959682B01295F40CA140307</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="0"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="C7FD6B90BE07407D9CAC06D2947E1593">
-    <id>C7FD6B90BE07407D9CAC06D2947E1593</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>4028E6C72959682B01295F40D2DE032B</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="5EFF95EB540740A3B10510D9814EFAD5"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="D4071506929647A48E5D1EAAFFCC4780">
-    <id>D4071506929647A48E5D1EAAFFCC4780</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>D4D4F99504A44A94BD96E283F1897848</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="357947E87C284935AD1D783CF6F099A1"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="E7C239DD5F894C1496FFFD57020898BC">
-    <id>E7C239DD5F894C1496FFFD57020898BC</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>4028E6C72959682B01295F40C4C502F0</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="0"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="EBD78AF521074BDDAFD08252B5904F42">
-    <id>EBD78AF521074BDDAFD08252B5904F42</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>4028E6C72959682B01295F40C8EB0302</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="0"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="F2327ECF1D5C4747A3354E9FEB059BC4">
-    <id>F2327ECF1D5C4747A3354E9FEB059BC4</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>4028E6C72959682B01295F40C2A202E7</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="0"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="FD34E3516EEF46DE964E6B4EFE7E291D">
-    <id>FD34E3516EEF46DE964E6B4EFE7E291D</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>4028E6C72959682B01295F40CF060317</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="0"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="FECCBD293D6C42AC8F84DD97B9EE1D86">
-    <id>FECCBD293D6C42AC8F84DD97B9EE1D86</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>A9693D21D3EA4CBEA50DBC70D872F168</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="0"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
-  <BusinessPartnerTreeNode id="FF917FEF65614F6AA47ABA984C589443">
-    <id>FF917FEF65614F6AA47ABA984C589443</id>
-    <tree id="4028E6C72959682B01295A0712160111"/>
-    <node>B26632ADA9FE429283C5EFC862C171E1</node>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="0"/>
-    <active>true</active>
-    <reportSet>0</reportSet>
-    <sequenceNumber>999</sequenceNumber>
-  </BusinessPartnerTreeNode>
   <ADImage id="4028E6C72959682B01295A0713FA011B">
     <id>4028E6C72959682B01295A0713FA011B</id>
     <client id="4028E6C72959682B01295A070852010D"/>
--- a/src-db/database/model/tables/AD_TREENODEBP.xml	Tue May 10 10:28:58 2011 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,74 +0,0 @@
-<?xml version="1.0"?>
-  <database name="TABLE AD_TREENODEBP">
-    <table name="AD_TREENODEBP" primaryKey="AD_TREENODEBP_KEY">
-      <column name="AD_TREENODEBP_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
-        <default/>
-        <onCreateDefault><![CDATA[get_uuid()]]></onCreateDefault>
-      </column>
-      <column name="AD_TREE_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
-        <default/>
-        <onCreateDefault/>
-      </column>
-      <column name="NODE_ID" primaryKey="false" 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="PARENT_ID" primaryKey="false" required="false" type="VARCHAR" size="32" autoIncrement="false">
-        <default/>
-        <onCreateDefault/>
-      </column>
-      <column name="SEQNO" primaryKey="false" required="false" type="DECIMAL" size="10,0" autoIncrement="false">
-        <default/>
-        <onCreateDefault/>
-      </column>
-      <foreign-key foreignTable="AD_CLIENT" name="AD_TREENODEBP_AD_CLIENT">
-        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
-      </foreign-key>
-      <foreign-key foreignTable="AD_ORG" name="AD_TREENODEBP_AD_ORG">
-        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
-      </foreign-key>
-      <foreign-key foreignTable="AD_TREE" name="AD_TREENODEBP_AD_TREE" onDelete="cascade">
-        <reference local="AD_TREE_ID" foreign="AD_TREE_ID"/>
-      </foreign-key>
-      <index name="AD_TREENODEBP_PARENT" unique="false">
-        <index-column name="PARENT_ID"/>
-      </index>
-      <index name="AD_TREENODEBP_PARENT2" unique="false">
-        <index-column name="AD_TREE_ID"/>
-        <index-column name="PARENT_ID"/>
-      </index>
-      <unique name="AD_TREENODEBP_TREE_NODE_UN">
-        <unique-column name="AD_TREE_ID"/>
-        <unique-column name="NODE_ID"/>
-      </unique>
-      <check name="AD_TREENODEBP_ISACTIVE_CHECK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
-    </table>
-  </database>
--- a/src-db/database/model/triggers/AD_TREE_TRG.xml	Tue May 10 10:28:58 2011 +0200
+++ b/src-db/database/model/triggers/AD_TREE_TRG.xml	Tue May 10 15:35:00 2011 +0200
@@ -70,25 +70,6 @@
       )
       ;
   END IF;
-  --  Insert into TreeNodeBP
-  IF(:new.TREETYPE='BP') THEN
-    INSERT
-    INTO AD_TreeNodeBP
-      (
-        AD_TreeNodeBP_ID, AD_Client_ID, AD_Org_ID, IsActive,
-        Created, CreatedBy, Updated,
-        UpdatedBy, AD_Tree_ID, Node_ID,
-        Parent_ID, SeqNo
-      )
-      VALUES
-      (
-        get_uuid(), :new.AD_Client_ID, :new.AD_Org_ID, :new.IsActive,
-        :new.Created, :new.CreatedBy, :new.Updated,
-        :new.UpdatedBy, :new.AD_Tree_ID, '0',
-        NULL, 0
-      )
-      ;
-  END IF;
 END AD_TREE_TRG
 ]]></body>
     </trigger>
--- a/src-db/database/model/triggers/C_BPARTNER_TRG.xml	Tue May 10 10:28:58 2011 +0200
+++ b/src-db/database/model/triggers/C_BPARTNER_TRG.xml	Tue May 10 15:35:00 2011 +0200
@@ -34,8 +34,6 @@
    Cur_Defaults RECORD;
    Cur_Defaults2 RECORD;
 
-  v_xTree_ID                  varchar2(32);
-  v_xParent_ID                varchar2(32);
   v_BP_Acct_ID                varchar2(32);
   v_C_Receivable_Acct         varchar2(32);
   v_C_Prepayment_Acct         varchar2(32);
@@ -240,33 +238,6 @@
     
      END LOOP;
 
-     /*
-       Create TreeNode --
-         
-       get AD_Tree_ID + ParentID
-    */
-     SELECT  c.AD_Tree_BPartner_ID, n.Node_ID
-     INTO  v_xTree_ID, v_xParent_ID
-     FROM    AD_ClientInfo c, AD_TreeNodeBP n
-     WHERE   c.AD_Tree_BPartner_ID=n.AD_Tree_ID
-         AND n.Parent_ID IS NULL
-         AND c.AD_Client_ID=:new.AD_Client_ID;
-
-     --  DBMS_OUTPUT.PUT_LINE('Tree='||v_xTree_ID||'  Node='||:new.AD_Menu_ID||'  Parent='||v_xParent_ID);
-
-     /*
-      Insert into TreeNode
-     */
-     INSERT INTO AD_TreeNodeBP
-         (AD_TreeNodeBP_ID, AD_Client_ID, AD_Org_ID,
-         IsActive, Created, CreatedBy, Updated, UpdatedBy,
-         AD_Tree_ID, Node_ID,
-         Parent_ID, SeqNo)
-     VALUES
-         (get_uuid(), :new.AD_Client_ID, :new.AD_Org_ID,
-         :new.IsActive, :new.Created, :new.CreatedBy, :new.Updated, :new.UpdatedBy,
-         v_xTree_ID, :new.C_BPartner_ID,
-         v_xParent_ID, (CASE :new.IsSummary WHEN 'Y' THEN 100 ELSE 999 END));     -- Summary Nodes first
   ELSIF (UPDATING) THEN
      UPDATE C_BP_CUSTOMER_ACCT SET AD_ORG_ID = :new.AD_Org_ID
      WHERE C_BPARTNER_ID = :new.C_BPartner_ID;
--- a/src-db/database/model/triggers/C_BPARTNER_TRG2.xml	Tue May 10 10:28:58 2011 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,41 +0,0 @@
-<?xml version="1.0"?>
-  <database name="TRIGGER C_BPARTNER_TRG2">
-    <trigger name="C_BPARTNER_TRG2" table="C_BPARTNER" fires="before" insert="false" update="false" delete="true" foreach="row">
-      <body><![CDATA[
-  /*************************************************************************
-  * The contents of this file are subject to the Compiere Public
-  * License 1.1 ("License"); You may not use this file except in
-  * compliance with the License. You may obtain a copy of the License in
-  * the legal folder of your Openbravo installation.
-  * 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  Compiere  ERP &  Business Solution
-  * The Initial Developer of the Original Code is Jorg Janke and ComPiere, Inc.
-  * Portions created by Jorg Janke are Copyright (C) 1999-2001 Jorg Janke,
-  * parts created by ComPiere are Copyright (C) ComPiere, Inc.;
-  * All Rights Reserved.
-  * Contributor(s): Openbravo SLU
-  * Contributions are Copyright (C) 2001-2010 Openbravo, S.L.U.
-  *
-  * Specifically, this derivative work is based upon the following Compiere
-  * file and version.
-  *************************************************************************
-  * $Id: C_BPartner_Trg2.sql,v 1.4 2002/10/23 03:16:57 jjanke Exp $
-  ***
-  * Title: Business Partner delete necord
-  * Description:
-  ************************************************************************/
-    
-BEGIN
-    
-	IF AD_isTriggerEnabled()='N' THEN RETURN;
-	END IF;
- 
-	DELETE FROM AD_TreeNodeBP WHERE AD_Client_ID = :old.AD_Client_ID AND Node_ID = :old.C_BPartner_ID;
-     
-END C_BPARTNER_TRG2
-]]></body>
-    </trigger>
-  </database>
--- a/src-db/database/sourcedata/AD_COLUMN.xml	Tue May 10 10:28:58 2011 +0200
+++ b/src-db/database/sourcedata/AD_COLUMN.xml	Tue May 10 15:35:00 2011 +0200
@@ -89700,375 +89700,6 @@
 <!--6125-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
 <!--6125--></AD_COLUMN>
 
-<!--6135--><AD_COLUMN>
-<!--6135-->  <AD_COLUMN_ID><![CDATA[6135]]></AD_COLUMN_ID>
-<!--6135-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--6135-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--6135-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--6135-->  <NAME><![CDATA[Tree]]></NAME>
-<!--6135-->  <DESCRIPTION><![CDATA[Identifies a Tree]]></DESCRIPTION>
-<!--6135-->  <HELP><![CDATA[The Tree field identifies a unique Tree in the system. Trees define roll ups or summary levels of information.  They are used in reports for defining report points and summarization levels.]]></HELP>
-<!--6135-->  <COLUMNNAME><![CDATA[AD_Tree_ID]]></COLUMNNAME>
-<!--6135-->  <AD_TABLE_ID><![CDATA[451]]></AD_TABLE_ID>
-<!--6135-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
-<!--6135-->  <FIELDLENGTH><![CDATA[10]]></FIELDLENGTH>
-<!--6135-->  <ISKEY><![CDATA[N]]></ISKEY>
-<!--6135-->  <ISPARENT><![CDATA[N]]></ISPARENT>
-<!--6135-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
-<!--6135-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
-<!--6135-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
-<!--6135-->  <SEQNO><![CDATA[0]]></SEQNO>
-<!--6135-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
-<!--6135-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--6135-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
-<!--6135-->  <AD_ELEMENT_ID><![CDATA[132]]></AD_ELEMENT_ID>
-<!--6135-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
-<!--6135-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
-<!--6135-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
-<!--6135-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
-<!--6135-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--6135-->  <POSITION><![CDATA[2]]></POSITION>
-<!--6135-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
-<!--6135-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
-<!--6135-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
-<!--6135--></AD_COLUMN>
-
-<!--6136--><AD_COLUMN>
-<!--6136-->  <AD_COLUMN_ID><![CDATA[6136]]></AD_COLUMN_ID>
-<!--6136-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--6136-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--6136-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--6136-->  <NAME><![CDATA[Node_ID]]></NAME>
-<!--6136-->  <DESCRIPTION><![CDATA[Identifies a tree node]]></DESCRIPTION>
-<!--6136-->  <HELP><![CDATA[Identifies a tree node.]]></HELP>
-<!--6136-->  <COLUMNNAME><![CDATA[Node_ID]]></COLUMNNAME>
-<!--6136-->  <AD_TABLE_ID><![CDATA[451]]></AD_TABLE_ID>
-<!--6136-->  <AD_REFERENCE_ID><![CDATA[13]]></AD_REFERENCE_ID>
-<!--6136-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
-<!--6136-->  <ISKEY><![CDATA[N]]></ISKEY>
-<!--6136-->  <ISPARENT><![CDATA[N]]></ISPARENT>
-<!--6136-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
-<!--6136-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
-<!--6136-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
-<!--6136-->  <SEQNO><![CDATA[0]]></SEQNO>
-<!--6136-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
-<!--6136-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--6136-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
-<!--6136-->  <AD_ELEMENT_ID><![CDATA[472]]></AD_ELEMENT_ID>
-<!--6136-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
-<!--6136-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
-<!--6136-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
-<!--6136-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
-<!--6136-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--6136-->  <POSITION><![CDATA[3]]></POSITION>
-<!--6136-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
-<!--6136-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
-<!--6136-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
-<!--6136--></AD_COLUMN>
-
-<!--6137--><AD_COLUMN>
-<!--6137-->  <AD_COLUMN_ID><![CDATA[6137]]></AD_COLUMN_ID>
-<!--6137-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--6137-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--6137-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--6137-->  <NAME><![CDATA[Client]]></NAME>
-<!--6137-->  <DESCRIPTION><![CDATA[Client for this installation.]]></DESCRIPTION>
-<!--6137-->  <HELP><![CDATA[A Client is a company or a legal entity. You cannot share data between Clients.]]></HELP>
-<!--6137-->  <COLUMNNAME><![CDATA[AD_Client_ID]]></COLUMNNAME>
-<!--6137-->  <AD_TABLE_ID><![CDATA[451]]></AD_TABLE_ID>
-<!--6137-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
-<!--6137-->  <AD_VAL_RULE_ID><![CDATA[103]]></AD_VAL_RULE_ID>
-<!--6137-->  <FIELDLENGTH><![CDATA[22]]></FIELDLENGTH>
-<!--6137-->  <DEFAULTVALUE><![CDATA[@AD_CLIENT_ID@]]></DEFAULTVALUE>
-<!--6137-->  <ISKEY><![CDATA[N]]></ISKEY>
-<!--6137-->  <ISPARENT><![CDATA[N]]></ISPARENT>
-<!--6137-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
-<!--6137-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
-<!--6137-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
-<!--6137-->  <SEQNO><![CDATA[0]]></SEQNO>
-<!--6137-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
-<!--6137-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--6137-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
-<!--6137-->  <AD_ELEMENT_ID><![CDATA[102]]></AD_ELEMENT_ID>
-<!--6137-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
-<!--6137-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
-<!--6137-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
-<!--6137-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
-<!--6137-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--6137-->  <POSITION><![CDATA[4]]></POSITION>
-<!--6137-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
-<!--6137-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
-<!--6137-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
-<!--6137--></AD_COLUMN>
-
-<!--6138--><AD_COLUMN>
-<!--6138-->  <AD_COLUMN_ID><![CDATA[6138]]></AD_COLUMN_ID>
-<!--6138-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--6138-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--6138-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--6138-->  <NAME><![CDATA[Organization]]></NAME>
-<!--6138-->  <DESCRIPTION><![CDATA[Organizational entity within client]]></DESCRIPTION>
-<!--6138-->  <HELP><![CDATA[An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.]]></HELP>
-<!--6138-->  <COLUMNNAME><![CDATA[AD_Org_ID]]></COLUMNNAME>
-<!--6138-->  <AD_TABLE_ID><![CDATA[451]]></AD_TABLE_ID>
-<!--6138-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
-<!--6138-->  <FIELDLENGTH><![CDATA[22]]></FIELDLENGTH>
-<!--6138-->  <DEFAULTVALUE><![CDATA[@AD_Org_ID@]]></DEFAULTVALUE>
-<!--6138-->  <ISKEY><![CDATA[N]]></ISKEY>
-<!--6138-->  <ISPARENT><![CDATA[N]]></ISPARENT>
-<!--6138-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
-<!--6138-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
-<!--6138-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
-<!--6138-->  <SEQNO><![CDATA[0]]></SEQNO>
-<!--6138-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
-<!--6138-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--6138-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
-<!--6138-->  <AD_ELEMENT_ID><![CDATA[113]]></AD_ELEMENT_ID>
-<!--6138-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
-<!--6138-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
-<!--6138-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
-<!--6138-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
-<!--6138-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--6138-->  <POSITION><![CDATA[5]]></POSITION>
-<!--6138-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
-<!--6138-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
-<!--6138-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
-<!--6138--></AD_COLUMN>
-
-<!--6139--><AD_COLUMN>
-<!--6139-->  <AD_COLUMN_ID><![CDATA[6139]]></AD_COLUMN_ID>
-<!--6139-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--6139-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--6139-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--6139-->  <NAME><![CDATA[Active]]></NAME>
-<!--6139-->  <DESCRIPTION><![CDATA[A flag indicating whether this record is available for use or de-activated.]]></DESCRIPTION>
-<!--6139-->  <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>
-<!--6139-->  <COLUMNNAME><![CDATA[IsActive]]></COLUMNNAME>
-<!--6139-->  <AD_TABLE_ID><![CDATA[451]]></AD_TABLE_ID>
-<!--6139-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
-<!--6139-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
-<!--6139-->  <ISKEY><![CDATA[N]]></ISKEY>
-<!--6139-->  <ISPARENT><![CDATA[N]]></ISPARENT>
-<!--6139-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
-<!--6139-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
-<!--6139-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
-<!--6139-->  <SEQNO><![CDATA[0]]></SEQNO>
-<!--6139-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
-<!--6139-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--6139-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
-<!--6139-->  <AD_ELEMENT_ID><![CDATA[348]]></AD_ELEMENT_ID>
-<!--6139-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
-<!--6139-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
-<!--6139-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
-<!--6139-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
-<!--6139-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--6139-->  <POSITION><![CDATA[6]]></POSITION>
-<!--6139-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
-<!--6139-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
-<!--6139-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
-<!--6139--></AD_COLUMN>
-
-<!--6140--><AD_COLUMN>
-<!--6140-->  <AD_COLUMN_ID><![CDATA[6140]]></AD_COLUMN_ID>
-<!--6140-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--6140-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--6140-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--6140-->  <NAME><![CDATA[Creation Date]]></NAME>
-<!--6140-->  <DESCRIPTION><![CDATA[The date that this record is completed.]]></DESCRIPTION>
-<!--6140-->  <HELP><![CDATA[The Created field indicates the date that this record was created.]]></HELP>
-<!--6140-->  <COLUMNNAME><![CDATA[Created]]></COLUMNNAME>
-<!--6140-->  <AD_TABLE_ID><![CDATA[451]]></AD_TABLE_ID>
-<!--6140-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
-<!--6140-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
-<!--6140-->  <ISKEY><![CDATA[N]]></ISKEY>
-<!--6140-->  <ISPARENT><![CDATA[N]]></ISPARENT>
-<!--6140-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
-<!--6140-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
-<!--6140-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
-<!--6140-->  <SEQNO><![CDATA[0]]></SEQNO>
-<!--6140-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
-<!--6140-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--6140-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
-<!--6140-->  <AD_ELEMENT_ID><![CDATA[245]]></AD_ELEMENT_ID>
-<!--6140-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
-<!--6140-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
-<!--6140-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
-<!--6140-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
-<!--6140-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--6140-->  <POSITION><![CDATA[7]]></POSITION>
-<!--6140-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
-<!--6140-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
-<!--6140-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
-<!--6140--></AD_COLUMN>
-
-<!--6141--><AD_COLUMN>
-<!--6141-->  <AD_COLUMN_ID><![CDATA[6141]]></AD_COLUMN_ID>
-<!--6141-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--6141-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--6141-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--6141-->  <NAME><![CDATA[Created By]]></NAME>
-<!--6141-->  <DESCRIPTION><![CDATA[User who created this records]]></DESCRIPTION>
-<!--6141-->  <HELP><![CDATA[The Created By field indicates the user who created this record.]]></HELP>
-<!--6141-->  <COLUMNNAME><![CDATA[CreatedBy]]></COLUMNNAME>
-<!--6141-->  <AD_TABLE_ID><![CDATA[451]]></AD_TABLE_ID>
-<!--6141-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
-<!--6141-->  <FIELDLENGTH><![CDATA[22]]></FIELDLENGTH>
-<!--6141-->  <ISKEY><![CDATA[N]]></ISKEY>
-<!--6141-->  <ISPARENT><![CDATA[N]]></ISPARENT>
-<!--6141-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
-<!--6141-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
-<!--6141-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
-<!--6141-->  <SEQNO><![CDATA[0]]></SEQNO>
-<!--6141-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
-<!--6141-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--6141-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
-<!--6141-->  <AD_ELEMENT_ID><![CDATA[246]]></AD_ELEMENT_ID>
-<!--6141-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
-<!--6141-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
-<!--6141-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
-<!--6141-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
-<!--6141-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--6141-->  <POSITION><![CDATA[8]]></POSITION>
-<!--6141-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
-<!--6141-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
-<!--6141-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
-<!--6141--></AD_COLUMN>
-
-<!--6142--><AD_COLUMN>
-<!--6142-->  <AD_COLUMN_ID><![CDATA[6142]]></AD_COLUMN_ID>
-<!--6142-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--6142-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--6142-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--6142-->  <NAME><![CDATA[Updated]]></NAME>
-<!--6142-->  <DESCRIPTION><![CDATA[x not implemented]]></DESCRIPTION>
-<!--6142-->  <HELP><![CDATA[The Updated field indicates the date that this record was updated.]]></HELP>
-<!--6142-->  <COLUMNNAME><![CDATA[Updated]]></COLUMNNAME>
-<!--6142-->  <AD_TABLE_ID><![CDATA[451]]></AD_TABLE_ID>
-<!--6142-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
-<!--6142-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
-<!--6142-->  <ISKEY><![CDATA[N]]></ISKEY>
-<!--6142-->  <ISPARENT><![CDATA[N]]></ISPARENT>
-<!--6142-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
-<!--6142-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
-<!--6142-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
-<!--6142-->  <SEQNO><![CDATA[0]]></SEQNO>
-<!--6142-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
-<!--6142-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--6142-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
-<!--6142-->  <AD_ELEMENT_ID><![CDATA[607]]></AD_ELEMENT_ID>
-<!--6142-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
-<!--6142-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
-<!--6142-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
-<!--6142-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
-<!--6142-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--6142-->  <POSITION><![CDATA[9]]></POSITION>
-<!--6142-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
-<!--6142-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
-<!--6142-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
-<!--6142--></AD_COLUMN>
-
-<!--6143--><AD_COLUMN>
-<!--6143-->  <AD_COLUMN_ID><![CDATA[6143]]></AD_COLUMN_ID>
-<!--6143-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--6143-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--6143-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--6143-->  <NAME><![CDATA[Updated By]]></NAME>
-<!--6143-->  <DESCRIPTION><![CDATA[User who updated this records]]></DESCRIPTION>
-<!--6143-->  <HELP><![CDATA[The Updated By field indicates the user who updated this record.]]></HELP>
-<!--6143-->  <COLUMNNAME><![CDATA[UpdatedBy]]></COLUMNNAME>
-<!--6143-->  <AD_TABLE_ID><![CDATA[451]]></AD_TABLE_ID>
-<!--6143-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
-<!--6143-->  <FIELDLENGTH><![CDATA[22]]></FIELDLENGTH>
-<!--6143-->  <ISKEY><![CDATA[N]]></ISKEY>
-<!--6143-->  <ISPARENT><![CDATA[N]]></ISPARENT>
-<!--6143-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
-<!--6143-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
-<!--6143-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
-<!--6143-->  <SEQNO><![CDATA[0]]></SEQNO>
-<!--6143-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
-<!--6143-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--6143-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
-<!--6143-->  <AD_ELEMENT_ID><![CDATA[608]]></AD_ELEMENT_ID>
-<!--6143-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
-<!--6143-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
-<!--6143-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
-<!--6143-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
-<!--6143-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--6143-->  <POSITION><![CDATA[10]]></POSITION>
-<!--6143-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
-<!--6143-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
-<!--6143-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
-<!--6143--></AD_COLUMN>
-
-<!--6144--><AD_COLUMN>
-<!--6144-->  <AD_COLUMN_ID><![CDATA[6144]]></AD_COLUMN_ID>
-<!--6144-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--6144-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--6144-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--6144-->  <NAME><![CDATA[Report Set]]></NAME>
-<!--6144-->  <DESCRIPTION><![CDATA[A means of grouping reports in order to view and print summary and individual information.]]></DESCRIPTION>
-<!--6144-->  <HELP><![CDATA[The Parent indicates the value used to represent a summary level or report to level for a record]]></HELP>
-<!--6144-->  <COLUMNNAME><![CDATA[Parent_ID]]></COLUMNNAME>
-<!--6144-->  <AD_TABLE_ID><![CDATA[451]]></AD_TABLE_ID>
-<!--6144-->  <AD_REFERENCE_ID><![CDATA[13]]></AD_REFERENCE_ID>
-<!--6144-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
-<!--6144-->  <ISKEY><![CDATA[N]]></ISKEY>
-<!--6144-->  <ISPARENT><![CDATA[N]]></ISPARENT>
-<!--6144-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
-<!--6144-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
-<!--6144-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
-<!--6144-->  <SEQNO><![CDATA[0]]></SEQNO>
-<!--6144-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
-<!--6144-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--6144-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
-<!--6144-->  <AD_ELEMENT_ID><![CDATA[496]]></AD_ELEMENT_ID>
-<!--6144-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
-<!--6144-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
-<!--6144-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
-<!--6144-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
-<!--6144-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--6144-->  <POSITION><![CDATA[11]]></POSITION>
-<!--6144-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
-<!--6144-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
-<!--6144-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
-<!--6144--></AD_COLUMN>
-
-<!--6146--><AD_COLUMN>
-<!--6146-->  <AD_COLUMN_ID><![CDATA[6146]]></AD_COLUMN_ID>
-<!--6146-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--6146-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--6146-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--6146-->  <NAME><![CDATA[Sequence Number]]></NAME>
-<!--6146-->  <DESCRIPTION><![CDATA[The order of records in a specified document.]]></DESCRIPTION>
-<!--6146-->  <HELP><![CDATA[The Sequence indicates the order of records]]></HELP>
-<!--6146-->  <COLUMNNAME><![CDATA[SeqNo]]></COLUMNNAME>
-<!--6146-->  <AD_TABLE_ID><![CDATA[451]]></AD_TABLE_ID>
-<!--6146-->  <AD_REFERENCE_ID><![CDATA[11]]></AD_REFERENCE_ID>
-<!--6146-->  <FIELDLENGTH><![CDATA[10]]></FIELDLENGTH>
-<!--6146-->  <DEFAULTVALUE><![CDATA[@SQL=SELECT COALESCE(MAX(SeqNo),0)+10 AS DefaultValue FROM AD_TreeNodeBP WHERE AD_Tree_ID=@AD_Tree_ID@]]></DEFAULTVALUE>
-<!--6146-->  <ISKEY><![CDATA[N]]></ISKEY>
-<!--6146-->  <ISPARENT><![CDATA[N]]></ISPARENT>
-<!--6146-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
-<!--6146-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
-<!--6146-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
-<!--6146-->  <SEQNO><![CDATA[0]]></SEQNO>
-<!--6146-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
-<!--6146-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--6146-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
-<!--6146-->  <AD_ELEMENT_ID><![CDATA[566]]></AD_ELEMENT_ID>
-<!--6146-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
-<!--6146-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
-<!--6146-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
-<!--6146-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
-<!--6146-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--6146-->  <POSITION><![CDATA[12]]></POSITION>
-<!--6146-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
-<!--6146-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
-<!--6146-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
-<!--6146--></AD_COLUMN>
-
 <!--6149--><AD_COLUMN>
 <!--6149-->  <AD_COLUMN_ID><![CDATA[6149]]></AD_COLUMN_ID>
 <!--6149-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -231396,36 +231027,6 @@
 <!--521F823118F76C29E040007F01001B31-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
 <!--521F823118F76C29E040007F01001B31--></AD_COLUMN>
 
-<!--521F823118FA6C29E040007F01001B31--><AD_COLUMN>
-<!--521F823118FA6C29E040007F01001B31-->  <AD_COLUMN_ID><![CDATA[521F823118FA6C29E040007F01001B31]]></AD_COLUMN_ID>
-<!--521F823118FA6C29E040007F01001B31-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--521F823118FA6C29E040007F01001B31-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--521F823118FA6C29E040007F01001B31-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--521F823118FA6C29E040007F01001B31-->  <NAME><![CDATA[AD_TreeNodeBP_ID]]></NAME>
-<!--521F823118FA6C29E040007F01001B31-->  <COLUMNNAME><![CDATA[AD_TreeNodeBP_ID]]></COLUMNNAME>
-<!--521F823118FA6C29E040007F01001B31-->  <AD_TABLE_ID><![CDATA[451]]></AD_TABLE_ID>
-<!--521F823118FA6C29E040007F01001B31-->  <AD_REFERENCE_ID><![CDATA[13]]></AD_REFERENCE_ID>
-<!--521F823118FA6C29E040007F01001B31-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
-<!--521F823118FA6C29E040007F01001B31-->  <ISKEY><![CDATA[Y]]></ISKEY>
-<!--521F823118FA6C29E040007F01001B31-->  <ISPARENT><![CDATA[N]]></ISPARENT>
-<!--521F823118FA6C29E040007F01001B31-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
-<!--521F823118FA6C29E040007F01001B31-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
-<!--521F823118FA6C29E040007F01001B31-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
-<!--521F823118FA6C29E040007F01001B31-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
-<!--521F823118FA6C29E040007F01001B31-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--521F823118FA6C29E040007F01001B31-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
-<!--521F823118FA6C29E040007F01001B31-->  <AD_ELEMENT_ID><![CDATA[5221067DBED552DEE040007F01001FE1]]></AD_ELEMENT_ID>
-<!--521F823118FA6C29E040007F01001B31-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
-<!--521F823118FA6C29E040007F01001B31-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
-<!--521F823118FA6C29E040007F01001B31-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
-<!--521F823118FA6C29E040007F01001B31-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
-<!--521F823118FA6C29E040007F01001B31-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--521F823118FA6C29E040007F01001B31-->  <POSITION><![CDATA[1]]></POSITION>
-<!--521F823118FA6C29E040007F01001B31-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
-<!--521F823118FA6C29E040007F01001B31-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
-<!--521F823118FA6C29E040007F01001B31-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
-<!--521F823118FA6C29E040007F01001B31--></AD_COLUMN>
-
 <!--521F823118FD6C29E040007F01001B31--><AD_COLUMN>
 <!--521F823118FD6C29E040007F01001B31-->  <AD_COLUMN_ID><![CDATA[521F823118FD6C29E040007F01001B31]]></AD_COLUMN_ID>
 <!--521F823118FD6C29E040007F01001B31-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_DATASET_TABLE.xml	Tue May 10 10:28:58 2011 +0200
+++ b/src-db/database/sourcedata/AD_DATASET_TABLE.xml	Tue May 10 15:35:00 2011 +0200
@@ -2576,20 +2576,6 @@
 <!--A7354F58BAE111DDB046001B388C61A4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--A7354F58BAE111DDB046001B388C61A4--></AD_DATASET_TABLE>
 
-<!--A7356B32BAE111DD8289001B388C61A4--><AD_DATASET_TABLE>
-<!--A7356B32BAE111DD8289001B388C61A4-->  <AD_DATASET_TABLE_ID><![CDATA[A7356B32BAE111DD8289001B388C61A4]]></AD_DATASET_TABLE_ID>
-<!--A7356B32BAE111DD8289001B388C61A4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--A7356B32BAE111DD8289001B388C61A4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--A7356B32BAE111DD8289001B388C61A4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--A7356B32BAE111DD8289001B388C61A4-->  <AD_DATASET_ID><![CDATA[D81C5C810AEF47C690E4F688ABC8AAC8]]></AD_DATASET_ID>
-<!--A7356B32BAE111DD8289001B388C61A4-->  <AD_TABLE_ID><![CDATA[451]]></AD_TABLE_ID>
-<!--A7356B32BAE111DD8289001B388C61A4-->  <INCLUDEALLCOLUMNS><![CDATA[Y]]></INCLUDEALLCOLUMNS>
-<!--A7356B32BAE111DD8289001B388C61A4-->  <WHERECLAUSE><![CDATA[client.id=:ClientID]]></WHERECLAUSE>
-<!--A7356B32BAE111DD8289001B388C61A4-->  <EXCLUDEAUDITINFO><![CDATA[N]]></EXCLUDEAUDITINFO>
-<!--A7356B32BAE111DD8289001B388C61A4-->  <ISBUSINESSOBJECT><![CDATA[N]]></ISBUSINESSOBJECT>
-<!--A7356B32BAE111DD8289001B388C61A4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--A7356B32BAE111DD8289001B388C61A4--></AD_DATASET_TABLE>
-
 <!--A7357636BAE111DDAE3B001B388C61A4--><AD_DATASET_TABLE>
 <!--A7357636BAE111DDAE3B001B388C61A4-->  <AD_DATASET_TABLE_ID><![CDATA[A7357636BAE111DDAE3B001B388C61A4]]></AD_DATASET_TABLE_ID>
 <!--A7357636BAE111DDAE3B001B388C61A4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -5419,20 +5405,6 @@
 <!--C9E9E59296DB11DDB70F001B388C61A4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--C9E9E59296DB11DDB70F001B388C61A4--></AD_DATASET_TABLE>
 
-<!--CAD50C6096E111DDAE90001B388C61A4--><AD_DATASET_TABLE>
-<!--CAD50C6096E111DDAE90001B388C61A4-->  <AD_DATASET_TABLE_ID><![CDATA[CAD50C6096E111DDAE90001B388C61A4]]></AD_DATASET_TABLE_ID>
-<!--CAD50C6096E111DDAE90001B388C61A4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--CAD50C6096E111DDAE90001B388C61A4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--CAD50C6096E111DDAE90001B388C61A4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--CAD50C6096E111DDAE90001B388C61A4-->  <AD_DATASET_ID><![CDATA[1]]></AD_DATASET_ID>
-<!--CAD50C6096E111DDAE90001B388C61A4-->  <AD_TABLE_ID><![CDATA[451]]></AD_TABLE_ID>
-<!--CAD50C6096E111DDAE90001B388C61A4-->  <INCLUDEALLCOLUMNS><![CDATA[Y]]></INCLUDEALLCOLUMNS>
-<!--CAD50C6096E111DDAE90001B388C61A4-->  <WHERECLAUSE><![CDATA[ad_client_id='0']]></WHERECLAUSE>
-<!--CAD50C6096E111DDAE90001B388C61A4-->  <EXCLUDEAUDITINFO><![CDATA[Y]]></EXCLUDEAUDITINFO>
-<!--CAD50C6096E111DDAE90001B388C61A4-->  <ISBUSINESSOBJECT><![CDATA[N]]></ISBUSINESSOBJECT>
-<!--CAD50C6096E111DDAE90001B388C61A4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--CAD50C6096E111DDAE90001B388C61A4--></AD_DATASET_TABLE>
-
 <!--CDAC10B183BA4D66A12668319F7C02C6--><AD_DATASET_TABLE>
 <!--CDAC10B183BA4D66A12668319F7C02C6-->  <AD_DATASET_TABLE_ID><![CDATA[CDAC10B183BA4D66A12668319F7C02C6]]></AD_DATASET_TABLE_ID>
 <!--CDAC10B183BA4D66A12668319F7C02C6-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_TABLE.xml	Tue May 10 10:28:58 2011 +0200
+++ b/src-db/database/sourcedata/AD_TABLE.xml	Tue May 10 15:35:00 2011 +0200
@@ -3648,27 +3648,6 @@
 <!--437-->  <AD_PACKAGE_ID><![CDATA[5A3ED54AB1FA4B84E040007F01006125]]></AD_PACKAGE_ID>
 <!--437--></AD_TABLE>
 
-<!--451--><AD_TABLE>
-<!--451-->  <AD_TABLE_ID><![CDATA[451]]></AD_TABLE_ID>
-<!--451-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--451-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--451-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--451-->  <NAME><![CDATA[BusinessPartnerTreeNode]]></NAME>
-<!--451-->  <DESCRIPTION><![CDATA[Business Partner trees]]></DESCRIPTION>
-<!--451-->  <HELP><![CDATA[This table defines relations of nodes for trees of Business Partners.]]></HELP>
-<!--451-->  <TABLENAME><![CDATA[AD_TreeNodeBP]]></TABLENAME>
-<!--451-->  <CLASSNAME><![CDATA[BusinessPartnerTreeNode]]></CLASSNAME>
-<!--451-->  <ISVIEW><![CDATA[N]]></ISVIEW>
-<!--451-->  <ACCESSLEVEL><![CDATA[7]]></ACCESSLEVEL>
-<!--451-->  <ISSECURITYENABLED><![CDATA[N]]></ISSECURITYENABLED>
-<!--451-->  <ISDELETEABLE><![CDATA[Y]]></ISDELETEABLE>
-<!--451-->  <ISHIGHVOLUME><![CDATA[N]]></ISHIGHVOLUME>
-<!--451-->  <ISCHANGELOG><![CDATA[N]]></ISCHANGELOG>
-<!--451-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
-<!--451-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
-<!--451-->  <AD_PACKAGE_ID><![CDATA[5A3ED54AB1D34B84E040007F01006125]]></AD_PACKAGE_ID>
-<!--451--></AD_TABLE>
-
 <!--452--><AD_TABLE>
 <!--452-->  <AD_TABLE_ID><![CDATA[452]]></AD_TABLE_ID>
 <!--452-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/referencedData/AD_TREENODEBP.xml	Tue May 10 10:28:58 2011 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-<?xml version='1.0' encoding='UTF-8'?>
-<data>
-<!--52118BF1A9CC4D84E040007F01005FEC--><AD_TREENODEBP>
-<!--52118BF1A9CC4D84E040007F01005FEC-->  <AD_TREENODEBP_ID><![CDATA[52118BF1A9CC4D84E040007F01005FEC]]></AD_TREENODEBP_ID>
-<!--52118BF1A9CC4D84E040007F01005FEC-->  <AD_TREE_ID><![CDATA[40]]></AD_TREE_ID>
-<!--52118BF1A9CC4D84E040007F01005FEC-->  <NODE_ID><![CDATA[0]]></NODE_ID>
-<!--52118BF1A9CC4D84E040007F01005FEC-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--52118BF1A9CC4D84E040007F01005FEC-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--52118BF1A9CC4D84E040007F01005FEC-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--52118BF1A9CC4D84E040007F01005FEC-->  <SEQNO><![CDATA[0]]></SEQNO>
-<!--52118BF1A9CC4D84E040007F01005FEC--></AD_TREENODEBP>
-
-</data>
--- a/src-db/src/com/openbravo/db/OpenbravoDataFilter.java	Tue May 10 10:28:58 2011 +0200
+++ b/src-db/src/com/openbravo/db/OpenbravoDataFilter.java	Tue May 10 15:35:00 2011 +0200
@@ -101,7 +101,6 @@
     removeTable("AD_TEXTINTERFACES_TRL");
     addTable("AD_TREE", "AD_CLIENT_ID <> '0'");
     addTable("AD_TREENODE", "AD_CLIENT_ID <> '0'");
-    addTable("AD_TREENODEBP", "AD_CLIENT_ID <> '0'");
     removeTable("AD_VAL_RULE");
     removeTable("AD_WINDOW");
     removeTable("AD_WINDOW_TRL");
--- a/src-db/src/com/openbravo/db/OpenbravoMetadataFilter.java	Tue May 10 10:28:58 2011 +0200
+++ b/src-db/src/com/openbravo/db/OpenbravoMetadataFilter.java	Tue May 10 15:35:00 2011 +0200
@@ -83,7 +83,6 @@
     addTable("AD_TEXTINTERFACES_TRL", "AD_CLIENT_ID = '0'");
     addTable("AD_TREE", "AD_CLIENT_ID = '0'");
     addTable("AD_TREENODE", "AD_CLIENT_ID = '0'");
-    addTable("AD_TREENODEBP", "AD_CLIENT_ID = '0'");
     addTable("AD_VAL_RULE", "AD_CLIENT_ID = '0'");
     addTable("AD_WINDOW", "AD_CLIENT_ID = '0'");
     addTable("AD_WINDOW_TRL", "AD_CLIENT_ID = '0'");
--- a/src/org/openbravo/erpCommon/utility/WindowTreeUtility.java	Tue May 10 10:28:58 2011 +0200
+++ b/src/org/openbravo/erpCommon/utility/WindowTreeUtility.java	Tue May 10 15:35:00 2011 +0200
@@ -124,10 +124,7 @@
           + "|C_Element_ID");
       data = WindowTreeData.selectElementValue(conn, vars.getLanguage(), vars.getUser(),
           strEditable, strParentID, strNodeId, TreeID, strElementId);
-    } else if (TreeType.equals("BP"))
-      data = WindowTreeData.selectBPartner(conn, vars.getUser(), strEditable, strParentID,
-          strNodeId, TreeID);
-    else if (TreeType.equals("MC"))
+    } else if (TreeType.equals("MC"))
       data = WindowTreeData.selectCampaign(conn, vars.getUser(), strEditable, strParentID,
           strNodeId, TreeID);
     else if (TreeType.equals("PJ"))
@@ -325,10 +322,7 @@
     if (log4j.isDebugEnabled())
       log4j.debug("WindowTreeUtility.setNode() - TreeID: " + TreeID);
 
-    if (TreeType.equals("BP"))
-      WindowTreeData.updateBP(conn, vars.getUser(), strParentID, strSeqNo, TreeID, strLink);
-    else
-      WindowTreeData.update(conn, vars.getUser(), strParentID, strSeqNo, TreeID, strLink);
+    WindowTreeData.update(conn, vars.getUser(), strParentID, strSeqNo, TreeID, strLink);
   }
 
 }
--- a/src/org/openbravo/erpCommon/utility/WindowTree_data.xsql	Tue May 10 10:28:58 2011 +0200
+++ b/src/org/openbravo/erpCommon/utility/WindowTree_data.xsql	Tue May 10 15:35:00 2011 +0200
@@ -155,24 +155,6 @@
         <Parameter name="adTreeId"/>
         <Parameter name="cElementId"/>
    </SqlMethod>
-   <SqlMethod name="selectBPartner" type="preparedStatement" return="multiple">
-      <SqlMethodComment></SqlMethodComment>
-      <Sql>
-        SELECT tn.Node_ID,tn.Parent_ID,tn.SeqNo,tb.IsActive, m.C_BPartner_ID AS ID, m.Name,m.Description,m.IsSummary 
-        FROM AD_TreeNodeBP tn left join AD_TreeBar tb on tn.AD_Tree_ID=tb.AD_Tree_ID 
-                              AND tn.Node_ID=tb.Node_ID 
-                              AND tb.AD_User_ID  = ?  , 
-             C_BPartner m
-        WHERE tn.Node_ID = m.C_BPartner_ID 
-        AND tn.AD_Tree_ID = ? 
-        ORDER BY COALESCE(tn.Parent_ID, '-1'), tn.SeqNo
-      </Sql>
-        <Parameter name="adUserId"/>
-        <Parameter name="editable" optional="true" type="none" after="WHERE " text="tn.IsActive='Y' AND m.isActive='Y' AND "/>
-        <Parameter name="parentId" optional="true" after="WHERE " text="tn.Parent_ID = ? AND "/>
-        <Parameter name="nodeId" optional="true" after="WHERE " text="tn.Node_ID = ? AND "/>
-        <Parameter name="adTreeId"/>
-   </SqlMethod>
    <SqlMethod name="selectCampaign" type="preparedStatement" return="multiple">
       <SqlMethodComment></SqlMethodComment>
       <Sql>
@@ -390,17 +372,4 @@
         <Parameter name="adTreeId"/>
         <Parameter name="nodeId"/>
    </SqlMethod>
-   <SqlMethod name="updateBP" type="preparedStatement" return="rowCount">
-      <SqlMethodComment></SqlMethodComment>
-      <Sql>
-        UPDATE AD_TREENODEBP SET UPDATED=now(), UPDATEDBY = ?, PARENT_id = ?, SEQNO=TO_NUMBER(?) 
-        WHERE AD_TREE_ID = ? 
-        AND NODE_ID = ?
-      </Sql>
-        <Parameter name="updatedby"/>
-        <Parameter name="parentId"/>
-        <Parameter name="seqno"/>
-        <Parameter name="adTreeId"/>
-        <Parameter name="nodeId"/>
-   </SqlMethod>
 </SqlClass>