[cleanup] Removed R_MAILTEXT table, Send Mail Text process and Mail Template window
authorVíctor Martínez Romanos <victor.martinez@openbravo.com>
Wed, 27 Apr 2011 17:28:33 +0200
changeset 11787 9b57ff97d81b
parent 11786 70d1781d87c7
child 11788 3cff364cc772
[cleanup] Removed R_MAILTEXT table, Send Mail Text process and Mail Template window
referencedata/sampledata/F_B_International_Group.xml
referencedata/sampledata/QA_Testing.xml
src-db/database/model/tables/R_MAILTEXT.xml
src-db/database/sourcedata/AD_COLUMN.xml
src-db/database/sourcedata/AD_DATASET_TABLE.xml
src-db/database/sourcedata/AD_FIELD.xml
src-db/database/sourcedata/AD_MENU.xml
src-db/database/sourcedata/AD_MODEL_OBJECT.xml
src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml
src-db/database/sourcedata/AD_PROCESS.xml
src-db/database/sourcedata/AD_PROCESS_PARA.xml
src-db/database/sourcedata/AD_REFERENCE.xml
src-db/database/sourcedata/AD_REF_TABLE.xml
src-db/database/sourcedata/AD_TAB.xml
src-db/database/sourcedata/AD_TABLE.xml
src-db/database/sourcedata/AD_TREENODE.xml
src-db/database/sourcedata/AD_WINDOW.xml
src/org/openbravo/erpCommon/ad_process/SendMailText.html
src/org/openbravo/erpCommon/ad_process/SendMailText.java
src/org/openbravo/erpCommon/ad_process/SendMailText.xml
src/org/openbravo/erpCommon/ad_process/SendMailText_data.xsql
--- a/referencedata/sampledata/F_B_International_Group.xml	Wed Apr 27 16:08:09 2011 +0200
+++ b/referencedata/sampledata/F_B_International_Group.xml	Wed Apr 27 17:28:33 2011 +0200
@@ -13735,42 +13735,6 @@
     <suffix xsi:nil="true"/>
     <restartSequenceEveryYear>false</restartSequenceEveryYear>
   </ADSequence>
-  <ADSequence id="FF8081812F539E8E012F53B6B85B0009">
-    <id>FF8081812F539E8E012F53B6B85B0009</id>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="0"/>
-    <active>true</active>
-    <name>Reversed Sales Invoice</name>
-    <description>Reversed Sales Invoice</description>
-    <valueFormat xsi:nil="true"/>
-    <autoNumbering>true</autoNumbering>
-    <incrementBy>1</incrementBy>
-    <startingNo>1000000</startingNo>
-    <nextAssignedNumber>1000000</nextAssignedNumber>
-    <currentNextSystem>100</currentNextSystem>
-    <usedForRecordID>false</usedForRecordID>
-    <prefix xsi:nil="true"/>
-    <suffix xsi:nil="true"/>
-    <restartSequenceEveryYear>false</restartSequenceEveryYear>
-  </ADSequence>
-  <ADSequence id="FF8081812F539E8E012F53B84FDF0010">
-    <id>FF8081812F539E8E012F53B84FDF0010</id>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="0"/>
-    <active>true</active>
-    <name>Reversed Purchase Invoice</name>
-    <description>Reversed Purchase Invoice</description>
-    <valueFormat xsi:nil="true"/>
-    <autoNumbering>true</autoNumbering>
-    <incrementBy>1</incrementBy>
-    <startingNo>1000000</startingNo>
-    <nextAssignedNumber>1000000</nextAssignedNumber>
-    <currentNextSystem>100</currentNextSystem>
-    <usedForRecordID>false</usedForRecordID>
-    <prefix xsi:nil="true"/>
-    <suffix xsi:nil="true"/>
-    <restartSequenceEveryYear>false</restartSequenceEveryYear>
-  </ADSequence>
   <ADSequence id="FFB42B38D6A34634B534AB499B13644C">
     <id>FFB42B38D6A34634B534AB499B13644C</id>
     <client id="FF8080812AFBCB14012AFBD3E373001F"/>
@@ -84776,6 +84740,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="02DA3A95A6BD4C0BAA0F9D077FECA369">
+    <id>02DA3A95A6BD4C0BAA0F9D077FECA369</id>
+    <process id="800023"/>
+    <role id="5E7548CC7E0543D985D6C27C484F9256"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="03009637636F40B7A9E4A79DB2A953BF">
     <id>03009637636F40B7A9E4A79DB2A953BF</id>
     <process id="800182"/>
@@ -85811,6 +85784,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="0C47AC03FF5C4994889759EF6164E196">
+    <id>0C47AC03FF5C4994889759EF6164E196</id>
+    <process id="800023"/>
+    <role id="5CDB22F60411492E8716401BF5203770"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="0C70F0E8E66B4C829D9378F569C5C019">
     <id>0C70F0E8E66B4C829D9378F569C5C019</id>
     <process id="1002100002"/>
@@ -86594,6 +86576,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="150F7E9A980547F3B20107EDECBC3A97">
+    <id>150F7E9A980547F3B20107EDECBC3A97</id>
+    <process id="800022"/>
+    <role id="1700BE6E97C947A0A765C68976366234"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="1519C4E73BC243C498A37952C6EF48F5">
     <id>1519C4E73BC243C498A37952C6EF48F5</id>
     <process id="211"/>
@@ -87170,6 +87161,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="1A7F93D346BC4DE996B0AA55416F2D4C">
+    <id>1A7F93D346BC4DE996B0AA55416F2D4C</id>
+    <process id="800023"/>
+    <role id="FF8080812AFBCB14012AFBD3E4340031"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="1AA0FB9F425C4A0AA4BC6E32F3EB4D91">
     <id>1AA0FB9F425C4A0AA4BC6E32F3EB4D91</id>
     <process id="800024"/>
@@ -87215,6 +87215,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="1B30E90B13F1489BAD6E199816693D77">
+    <id>1B30E90B13F1489BAD6E199816693D77</id>
+    <process id="800023"/>
+    <role id="43720ABF2A244050BB11E2C5AC652B5B"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="1B3D80DEDAE34A109F2DCBEBC4D0E8C6">
     <id>1B3D80DEDAE34A109F2DCBEBC4D0E8C6</id>
     <process id="1002100000"/>
@@ -87404,6 +87413,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="1D22542CDF7D4D7CB14F87D043B99CE1">
+    <id>1D22542CDF7D4D7CB14F87D043B99CE1</id>
+    <process id="800023"/>
+    <role id="9E980E565D804FBDA90453DD1B601BF3"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="1D22D7312FD240DB962E5DB7DA4F2759">
     <id>1D22D7312FD240DB962E5DB7DA4F2759</id>
     <process id="800136"/>
@@ -87710,6 +87728,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="20897B96649C4443A9E16EE8FABC050D">
+    <id>20897B96649C4443A9E16EE8FABC050D</id>
+    <process id="800022"/>
+    <role id="9E980E565D804FBDA90453DD1B601BF3"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="208EF63E46284476B07951A53D154465">
     <id>208EF63E46284476B07951A53D154465</id>
     <process id="D16966FBF9604A3D91A50DC83C6EA8E3"/>
@@ -91949,6 +91976,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="4AC5CBAEE54D47B19A5254EC24464A41">
+    <id>4AC5CBAEE54D47B19A5254EC24464A41</id>
+    <process id="800022"/>
+    <role id="5E7548CC7E0543D985D6C27C484F9256"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="4ADCB8CF2450477FA6CC4A9A5BCFED2D">
     <id>4ADCB8CF2450477FA6CC4A9A5BCFED2D</id>
     <process id="800092"/>
@@ -93956,6 +93992,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="5EB63BBE3E7D40DDA7586F7FDA74C2F2">
+    <id>5EB63BBE3E7D40DDA7586F7FDA74C2F2</id>
+    <process id="800022"/>
+    <role id="43720ABF2A244050BB11E2C5AC652B5B"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="5F307C5FBF374D5C96E21E5BC51D2991">
     <id>5F307C5FBF374D5C96E21E5BC51D2991</id>
     <process id="219"/>
@@ -96044,6 +96089,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="7260665CE1AD416A8E5F58A9FEF71776">
+    <id>7260665CE1AD416A8E5F58A9FEF71776</id>
+    <process id="800023"/>
+    <role id="D260159822F9431E99214DD016765CD3"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="72631D65482848FEB5BB1C14D51DAC8E">
     <id>72631D65482848FEB5BB1C14D51DAC8E</id>
     <process id="134"/>
@@ -97763,6 +97817,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="81EB3678EC8D496D9FA4A044CEB3FA12">
+    <id>81EB3678EC8D496D9FA4A044CEB3FA12</id>
+    <process id="800023"/>
+    <role id="0216E47FFEEC4049BF3FD35F6476D0C2"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="81EE9FDA27CA44C3A0CF1C42B9F9FEA9">
     <id>81EE9FDA27CA44C3A0CF1C42B9F9FEA9</id>
     <process id="800187"/>
@@ -98222,6 +98285,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="87607F2967CE49ADB1AEAF17A50864DF">
+    <id>87607F2967CE49ADB1AEAF17A50864DF</id>
+    <process id="800022"/>
+    <role id="808C1DC2670B40B8985F3948D22D339C"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="87C95CACF66C4FB0A692EC065A7933FB">
     <id>87C95CACF66C4FB0A692EC065A7933FB</id>
     <process id="D5B90B539C254B959045EDCA1DC99BDF"/>
@@ -98915,6 +98987,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="8E67DEEC24C74CB89C799EF7990B8D96">
+    <id>8E67DEEC24C74CB89C799EF7990B8D96</id>
+    <process id="800022"/>
+    <role id="0216E47FFEEC4049BF3FD35F6476D0C2"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="8E78F6E208874F1680F518A75E3A74CB">
     <id>8E78F6E208874F1680F518A75E3A74CB</id>
     <process id="800176"/>
@@ -100994,15 +101075,6 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
-  <ADProcessAccess id="A481373FFBA1493D803BAF0661947B08">
-    <id>A481373FFBA1493D803BAF0661947B08</id>
-    <process id="209"/>
-    <role id="FF8080812AFBCB14012AFBD3E4340031"/>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADProcessAccess>
   <ADProcessAccess id="A4A67F65BDF349798EAD2568E9548345">
     <id>A4A67F65BDF349798EAD2568E9548345</id>
     <process id="53863D4359114ADE92133F772135AEEB"/>
@@ -102335,6 +102407,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="B01096EC41C9416891A24F46D19D9967">
+    <id>B01096EC41C9416891A24F46D19D9967</id>
+    <process id="800022"/>
+    <role id="D260159822F9431E99214DD016765CD3"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="B02C995CE7BE4CAB8DB66A723B7093EB">
     <id>B02C995CE7BE4CAB8DB66A723B7093EB</id>
     <process id="1005400002"/>
@@ -102704,15 +102785,6 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
-  <ADProcessAccess id="B46C27F7BB124FB885948D2A87F79DCA">
-    <id>B46C27F7BB124FB885948D2A87F79DCA</id>
-    <process id="209"/>
-    <role id="5CDB22F60411492E8716401BF5203770"/>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADProcessAccess>
   <ADProcessAccess id="B4C01CBAF3F1498390B8BE306ACCD402">
     <id>B4C01CBAF3F1498390B8BE306ACCD402</id>
     <process id="103"/>
@@ -103100,6 +103172,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="B88B38B13AB14E1EA806558C1BF7A801">
+    <id>B88B38B13AB14E1EA806558C1BF7A801</id>
+    <process id="800022"/>
+    <role id="FF8080812AFBCB14012AFBD3E4340031"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="B8A02B529C7548BBB8744906F4D08E88">
     <id>B8A02B529C7548BBB8744906F4D08E88</id>
     <process id="800026"/>
@@ -103424,6 +103505,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="BBC4F8683D684AB8BAFEF96D62D39408">
+    <id>BBC4F8683D684AB8BAFEF96D62D39408</id>
+    <process id="800022"/>
+    <role id="D14389DC0EE74A22AE41C4F9060B24E5"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="BBE1C57E0A19420484C0508113B1940A">
     <id>BBE1C57E0A19420484C0508113B1940A</id>
     <process id="800020"/>
@@ -105242,6 +105332,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="CC9BC10123704CE68F83797541408FAF">
+    <id>CC9BC10123704CE68F83797541408FAF</id>
+    <process id="800023"/>
+    <role id="D14389DC0EE74A22AE41C4F9060B24E5"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="CC9FB092DD0E439581DE5DC03198B361">
     <id>CC9FB092DD0E439581DE5DC03198B361</id>
     <process id="800105"/>
@@ -105467,6 +105566,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="CEE19DD175664F34A389CCE48B5CB526">
+    <id>CEE19DD175664F34A389CCE48B5CB526</id>
+    <process id="800023"/>
+    <role id="808C1DC2670B40B8985F3948D22D339C"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="CEF8B4BC6AC5421A8D37E03DCD3C1D7D">
     <id>CEF8B4BC6AC5421A8D37E03DCD3C1D7D</id>
     <process id="202"/>
@@ -107546,15 +107654,6 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
-  <ADProcessAccess id="E348B528008D4F748B5D6B2B48B55A02">
-    <id>E348B528008D4F748B5D6B2B48B55A02</id>
-    <process id="209"/>
-    <role id="1700BE6E97C947A0A765C68976366234"/>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADProcessAccess>
   <ADProcessAccess id="E3498C2179A946FD81F0C354706193B0">
     <id>E3498C2179A946FD81F0C354706193B0</id>
     <process id="800099"/>
@@ -108680,6 +108779,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="F0866E5C980F4C8CB194D86163C59D70">
+    <id>F0866E5C980F4C8CB194D86163C59D70</id>
+    <process id="800023"/>
+    <role id="1700BE6E97C947A0A765C68976366234"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="F0ABF19209544E1DA7F43D70C193593B">
     <id>F0ABF19209544E1DA7F43D70C193593B</id>
     <process id="800020"/>
@@ -109400,6 +109508,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="F8274BE550944AE8AA4B5B543830BC6B">
+    <id>F8274BE550944AE8AA4B5B543830BC6B</id>
+    <process id="800022"/>
+    <role id="5CDB22F60411492E8716401BF5203770"/>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="F8535586D8FD4917BCA9BFB4BE13F6D8">
     <id>F8535586D8FD4917BCA9BFB4BE13F6D8</id>
     <process id="132"/>
@@ -111686,15 +111803,6 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADWindowAccess>
-  <ADWindowAccess id="11D1B96094A2450AAF4EDB3A0F44F684">
-    <id>11D1B96094A2450AAF4EDB3A0F44F684</id>
-    <window id="204"/>
-    <role id="808C1DC2670B40B8985F3948D22D339C"/>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADWindowAccess>
   <ADWindowAccess id="11DE593093D94D6F8F5CCC1B300B6E0E">
     <id>11DE593093D94D6F8F5CCC1B300B6E0E</id>
     <window id="800088"/>
@@ -114935,15 +115043,6 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADWindowAccess>
-  <ADWindowAccess id="4AF59D6DB8E148088D1B6EA298535DD6">
-    <id>4AF59D6DB8E148088D1B6EA298535DD6</id>
-    <window id="204"/>
-    <role id="5E7548CC7E0543D985D6C27C484F9256"/>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADWindowAccess>
   <ADWindowAccess id="4B03C6C228984D608E426E40E83D97C1">
     <id>4B03C6C228984D608E426E40E83D97C1</id>
     <window id="138"/>
@@ -115277,15 +115376,6 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADWindowAccess>
-  <ADWindowAccess id="51E72BAC678841038E49E95B5C79636F">
-    <id>51E72BAC678841038E49E95B5C79636F</id>
-    <window id="204"/>
-    <role id="5CDB22F60411492E8716401BF5203770"/>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADWindowAccess>
   <ADWindowAccess id="51EB24B6D60B439A9D398A0E6BA2D0B5">
     <id>51EB24B6D60B439A9D398A0E6BA2D0B5</id>
     <window id="192"/>
@@ -116474,15 +116564,6 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADWindowAccess>
-  <ADWindowAccess id="64E182DB60CA406B85F2838A48FCE310">
-    <id>64E182DB60CA406B85F2838A48FCE310</id>
-    <window id="204"/>
-    <role id="FF8080812AFBCB14012AFBD3E4340031"/>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADWindowAccess>
   <ADWindowAccess id="652AB3180C6C44E3A9832474F85BAD86">
     <id>652AB3180C6C44E3A9832474F85BAD86</id>
     <window id="153"/>
@@ -116744,15 +116825,6 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADWindowAccess>
-  <ADWindowAccess id="6948ADDC4BB6492E9107DA60CCFBEE00">
-    <id>6948ADDC4BB6492E9107DA60CCFBEE00</id>
-    <window id="204"/>
-    <role id="D14389DC0EE74A22AE41C4F9060B24E5"/>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADWindowAccess>
   <ADWindowAccess id="6973E6B21A1841C9A44BB7691667A143">
     <id>6973E6B21A1841C9A44BB7691667A143</id>
     <window id="143"/>
@@ -117518,15 +117590,6 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADWindowAccess>
-  <ADWindowAccess id="78A07CC0CA704B5DB26FDF3976839C37">
-    <id>78A07CC0CA704B5DB26FDF3976839C37</id>
-    <window id="204"/>
-    <role id="0216E47FFEEC4049BF3FD35F6476D0C2"/>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADWindowAccess>
   <ADWindowAccess id="7968211836524A1685AC4586F7898C29">
     <id>7968211836524A1685AC4586F7898C29</id>
     <window id="800002"/>
@@ -119102,15 +119165,6 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADWindowAccess>
-  <ADWindowAccess id="97D6367028144758998282685CF4DCA4">
-    <id>97D6367028144758998282685CF4DCA4</id>
-    <window id="204"/>
-    <role id="1700BE6E97C947A0A765C68976366234"/>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADWindowAccess>
   <ADWindowAccess id="98308BF6360844B695369F14D2C3DE75">
     <id>98308BF6360844B695369F14D2C3DE75</id>
     <window id="800031"/>
@@ -121460,15 +121514,6 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADWindowAccess>
-  <ADWindowAccess id="C8A8BD18E431447ABB7796605E16C879">
-    <id>C8A8BD18E431447ABB7796605E16C879</id>
-    <window id="204"/>
-    <role id="D260159822F9431E99214DD016765CD3"/>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADWindowAccess>
   <ADWindowAccess id="C8AD34B205A04BA286E3419E85D4BCE7">
     <id>C8AD34B205A04BA286E3419E85D4BCE7</id>
     <window id="117"/>
@@ -121955,15 +122000,6 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADWindowAccess>
-  <ADWindowAccess id="D1E3BAEEEB4B481E83DAB7DA90C0A672">
-    <id>D1E3BAEEEB4B481E83DAB7DA90C0A672</id>
-    <window id="204"/>
-    <role id="9E980E565D804FBDA90453DD1B601BF3"/>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADWindowAccess>
   <ADWindowAccess id="D1F5AB9982894BCB81D45BBB235B9EB7">
     <id>D1F5AB9982894BCB81D45BBB235B9EB7</id>
     <window id="800069"/>
@@ -123818,15 +123854,6 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADWindowAccess>
-  <ADWindowAccess id="FB44B70EB90644BBA1925332539CC3FD">
-    <id>FB44B70EB90644BBA1925332539CC3FD</id>
-    <window id="204"/>
-    <role id="43720ABF2A244050BB11E2C5AC652B5B"/>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADWindowAccess>
   <ADWindowAccess id="FB747801B69343A5B67FB468D0C1F654">
     <id>FB747801B69343A5B67FB468D0C1F654</id>
     <window id="800014"/>
@@ -129019,7 +129046,7 @@
     <numberOfCopies>0</numberOfCopies>
     <table id="318"/>
     <filterByOrganization>false</filterByOrganization>
-    <documentCancelled id="FF8081812F539E8E012F53B780DB000C"/>
+    <documentCancelled xsi:nil="true"/>
     <expense>false</expense>
     <reversal>false</reversal>
   </DocumentType>
@@ -129194,7 +129221,7 @@
     <numberOfCopies>0</numberOfCopies>
     <table id="318"/>
     <filterByOrganization>false</filterByOrganization>
-    <documentCancelled id="FF8081812F539E8E012F53BB1BD10012"/>
+    <documentCancelled xsi:nil="true"/>
     <expense>false</expense>
     <reversal>false</reversal>
   </DocumentType>
@@ -129773,56 +129800,6 @@
     <expense>false</expense>
     <reversal>false</reversal>
   </DocumentType>
-  <DocumentType id="FF8081812F539E8E012F53B780DB000C">
-    <id>FF8081812F539E8E012F53B780DB000C</id>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="0"/>
-    <active>true</active>
-    <name>Reversed Sales Invoice</name>
-    <printText>Reversed Sales Invoice</printText>
-    <description xsi:nil="true"/>
-    <documentCategory>ARI</documentCategory>
-    <salesTransaction>true</salesTransaction>
-    <sOSubType xsi:nil="true"/>
-    <documentTypeForShipment xsi:nil="true"/>
-    <documentTypeForInvoice xsi:nil="true"/>
-    <sequencedDocument>true</sequencedDocument>
-    <documentSequence id="FF8081812F539E8E012F53B6B85B0009"/>
-    <gLCategory id="102C08DF5D4341D5B7FDF758632503D2"/>
-    <comments xsi:nil="true"/>
-    <default>false</default>
-    <numberOfCopies>1</numberOfCopies>
-    <table id="318"/>
-    <filterByOrganization>false</filterByOrganization>
-    <documentCancelled xsi:nil="true"/>
-    <expense>false</expense>
-    <reversal>true</reversal>
-  </DocumentType>
-  <DocumentType id="FF8081812F539E8E012F53BB1BD10012">
-    <id>FF8081812F539E8E012F53BB1BD10012</id>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="0"/>
-    <active>true</active>
-    <name>Reversed Purchase Invoice</name>
-    <printText>Reversed Purchase Invoice</printText>
-    <description xsi:nil="true"/>
-    <documentCategory>API</documentCategory>
-    <salesTransaction>false</salesTransaction>
-    <sOSubType xsi:nil="true"/>
-    <documentTypeForShipment xsi:nil="true"/>
-    <documentTypeForInvoice xsi:nil="true"/>
-    <sequencedDocument>true</sequencedDocument>
-    <documentSequence id="FF8081812F539E8E012F53B84FDF0010"/>
-    <gLCategory id="A431AFE1356141728139523053B672C4"/>
-    <comments xsi:nil="true"/>
-    <default>false</default>
-    <numberOfCopies>1</numberOfCopies>
-    <table id="318"/>
-    <filterByOrganization>false</filterByOrganization>
-    <documentCancelled xsi:nil="true"/>
-    <expense>false</expense>
-    <reversal>true</reversal>
-  </DocumentType>
   <FinancialMgmtGLCategory id="0881F8B0B3134347AD537E83E737B9EF">
     <id>0881F8B0B3134347AD537E83E737B9EF</id>
     <client id="FF8080812AFBCB14012AFBD3E373001F"/>
@@ -256891,30 +256868,6 @@
     <comments xsi:nil="true"/>
     <translation>false</translation>
   </DocumentTypeTrl>
-  <DocumentTypeTrl id="EE0242677CA946A98CD0F4000D848707">
-    <id>EE0242677CA946A98CD0F4000D848707</id>
-    <documentType id="FF8081812F539E8E012F53BB1BD10012"/>
-    <language id="192"/>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="B9C7088AB859483A9B1FB342AC2BE17A"/>
-    <active>true</active>
-    <name>Reversed Purchase Invoice</name>
-    <printText>Reversed Purchase Invoice</printText>
-    <comments xsi:nil="true"/>
-    <translation>false</translation>
-  </DocumentTypeTrl>
-  <DocumentTypeTrl id="EFBC9610D3774637BF878AD775F43D2E">
-    <id>EFBC9610D3774637BF878AD775F43D2E</id>
-    <documentType id="FF8081812F539E8E012F53B780DB000C"/>
-    <language id="192"/>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
-    <organization id="B9C7088AB859483A9B1FB342AC2BE17A"/>
-    <active>true</active>
-    <name>Reversed Sales Invoice</name>
-    <printText>Reversed Sales Invoice</printText>
-    <comments xsi:nil="true"/>
-    <translation>false</translation>
-  </DocumentTypeTrl>
   <DocumentTypeTrl id="FA028BB749CC485DAFD90C6559C3600C">
     <id>FA028BB749CC485DAFD90C6559C3600C</id>
     <documentType id="3DDDC41E36534A79B7CC1B725472882D"/>
@@ -371866,12 +371819,12 @@
     <subAccountLength xsi:nil="true"/>
   </OrganizationAcctSchema>
   <FIN_Payment id="16248F4ADAE448F482815CB91E1B6AE7">
+    <id>16248F4ADAE448F482815CB91E1B6AE7</id>
     <documentNo>400003</documentNo>
-    <id>16248F4ADAE448F482815CB91E1B6AE7</id>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
     <paymentDate>2010-08-27T00:00:00.0Z</paymentDate>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="90A1F59849E84AFABD04814B3D15A691"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E56F01C7"/>
-    <organization id="90A1F59849E84AFABD04814B3D15A691"/>
     <amount>3.00</amount>
     <active>true</active>
     <receipt>true</receipt>
@@ -371902,12 +371855,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="22F7D21FB4104C089194547F00D0626B">
+    <id>22F7D21FB4104C089194547F00D0626B</id>
     <documentNo>700007</documentNo>
-    <id>22F7D21FB4104C089194547F00D0626B</id>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
     <paymentDate>2010-09-08T00:00:00.0Z</paymentDate>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0D8E225ADA6E425E98EAA0F34E5912D7"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E7A301E9"/>
-    <organization id="0D8E225ADA6E425E98EAA0F34E5912D7"/>
     <amount>550.18</amount>
     <active>true</active>
     <receipt>false</receipt>
@@ -371938,12 +371891,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="3D048FCA18DF41A1B09D2FDD088B562B">
+    <id>3D048FCA18DF41A1B09D2FDD088B562B</id>
     <documentNo>400001</documentNo>
-    <id>3D048FCA18DF41A1B09D2FDD088B562B</id>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
     <paymentDate>2010-08-11T00:00:00.0Z</paymentDate>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="90A1F59849E84AFABD04814B3D15A691"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E56F01C7"/>
-    <organization id="90A1F59849E84AFABD04814B3D15A691"/>
     <amount>610.07</amount>
     <active>true</active>
     <receipt>true</receipt>
@@ -371974,12 +371927,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="4A5808566ECC40DEAF4A5C05D225D81E">
+    <id>4A5808566ECC40DEAF4A5C05D225D81E</id>
     <documentNo>700005</documentNo>
-    <id>4A5808566ECC40DEAF4A5C05D225D81E</id>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
     <paymentDate>2010-08-27T00:00:00.0Z</paymentDate>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="7A8E888A4B4C4E638CD5EB3A41A3289A"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E77001E4"/>
-    <organization id="7A8E888A4B4C4E638CD5EB3A41A3289A"/>
     <amount>202.68</amount>
     <active>true</active>
     <receipt>false</receipt>
@@ -372010,12 +371963,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="4CBE98FC1EF44556B499DB99EDA26C1B">
+    <id>4CBE98FC1EF44556B499DB99EDA26C1B</id>
     <documentNo>700002</documentNo>
-    <id>4CBE98FC1EF44556B499DB99EDA26C1B</id>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
     <paymentDate>2010-09-06T00:00:00.0Z</paymentDate>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="90A1F59849E84AFABD04814B3D15A691"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E49501B5"/>
-    <organization id="90A1F59849E84AFABD04814B3D15A691"/>
     <amount>50.00</amount>
     <active>true</active>
     <receipt>false</receipt>
@@ -372046,12 +371999,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="53CC001E6036491080266E38A54D73DF">
+    <id>53CC001E6036491080266E38A54D73DF</id>
     <documentNo>700006</documentNo>
-    <id>53CC001E6036491080266E38A54D73DF</id>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
     <paymentDate>2010-09-06T00:00:00.0Z</paymentDate>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="7A8E888A4B4C4E638CD5EB3A41A3289A"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E77001E4"/>
-    <organization id="7A8E888A4B4C4E638CD5EB3A41A3289A"/>
     <amount>300.00</amount>
     <active>true</active>
     <receipt>false</receipt>
@@ -372082,12 +372035,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="8A64B71A2B68AAA5012B7D1849130026">
+    <id>8A64B71A2B68AAA5012B7D1849130026</id>
     <documentNo>400005</documentNo>
-    <id>8A64B71A2B68AAA5012B7D1849130026</id>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
     <paymentDate>2010-09-08T00:00:00.0Z</paymentDate>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="378AF0EAE1A2479EAAA33436645E9433"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E4D501BB"/>
-    <organization id="378AF0EAE1A2479EAAA33436645E9433"/>
     <amount>1383.20</amount>
     <active>true</active>
     <receipt>true</receipt>
@@ -372118,12 +372071,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="A9310A008E744E50929ADE299B724D1E">
+    <id>A9310A008E744E50929ADE299B724D1E</id>
     <documentNo>700003</documentNo>
-    <id>A9310A008E744E50929ADE299B724D1E</id>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
     <paymentDate>2010-09-08T00:00:00.0Z</paymentDate>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="378AF0EAE1A2479EAAA33436645E9433"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E37001AB"/>
-    <organization id="378AF0EAE1A2479EAAA33436645E9433"/>
     <amount>628.79</amount>
     <active>true</active>
     <receipt>false</receipt>
@@ -372154,12 +372107,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="B67C90A29C734646ABB52EE1F8F64974">
+    <id>B67C90A29C734646ABB52EE1F8F64974</id>
     <documentNo>400008</documentNo>
-    <id>B67C90A29C734646ABB52EE1F8F64974</id>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
     <paymentDate>2010-09-06T00:00:00.0Z</paymentDate>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="7A8E888A4B4C4E638CD5EB3A41A3289A"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E8B50200"/>
-    <organization id="7A8E888A4B4C4E638CD5EB3A41A3289A"/>
     <amount>846.83</amount>
     <active>true</active>
     <receipt>true</receipt>
@@ -372190,12 +372143,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="BE8D60B5AFF8448CBD44DAF62260D2B5">
+    <id>BE8D60B5AFF8448CBD44DAF62260D2B5</id>
     <documentNo>400010</documentNo>
-    <id>BE8D60B5AFF8448CBD44DAF62260D2B5</id>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
     <paymentDate>2010-09-08T00:00:00.0Z</paymentDate>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="0D8E225ADA6E425E98EAA0F34E5912D7"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E86301FA"/>
-    <organization id="0D8E225ADA6E425E98EAA0F34E5912D7"/>
     <amount>97.94</amount>
     <active>true</active>
     <receipt>true</receipt>
@@ -372226,12 +372179,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="C3783FC1B5C2436C81247DDAEF9D1738">
+    <id>C3783FC1B5C2436C81247DDAEF9D1738</id>
     <documentNo>400007</documentNo>
-    <id>C3783FC1B5C2436C81247DDAEF9D1738</id>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
     <paymentDate>2010-08-27T00:00:00.0Z</paymentDate>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="7A8E888A4B4C4E638CD5EB3A41A3289A"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E8B50200"/>
-    <organization id="7A8E888A4B4C4E638CD5EB3A41A3289A"/>
     <amount>500.00</amount>
     <active>true</active>
     <receipt>true</receipt>
@@ -372262,12 +372215,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="C40A8A65B0FB4522A40830387B93E5CB">
+    <id>C40A8A65B0FB4522A40830387B93E5CB</id>
     <documentNo>400004</documentNo>
-    <id>C40A8A65B0FB4522A40830387B93E5CB</id>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
     <paymentDate>2010-09-06T00:00:00.0Z</paymentDate>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="90A1F59849E84AFABD04814B3D15A691"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E56F01C7"/>
-    <organization id="90A1F59849E84AFABD04814B3D15A691"/>
     <amount>3.31</amount>
     <active>true</active>
     <receipt>true</receipt>
@@ -372298,12 +372251,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="E80E742A75F94BB0AA623EA9BBD40758">
+    <id>E80E742A75F94BB0AA623EA9BBD40758</id>
     <documentNo>400006</documentNo>
-    <id>E80E742A75F94BB0AA623EA9BBD40758</id>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
     <paymentDate>2010-08-11T00:00:00.0Z</paymentDate>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="7A8E888A4B4C4E638CD5EB3A41A3289A"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E82201F4"/>
-    <organization id="7A8E888A4B4C4E638CD5EB3A41A3289A"/>
     <amount>317.19</amount>
     <active>true</active>
     <receipt>true</receipt>
@@ -372334,12 +372287,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="F9C59628E69F413386585EDBC9DDDD34">
+    <id>F9C59628E69F413386585EDBC9DDDD34</id>
     <documentNo>700004</documentNo>
-    <id>F9C59628E69F413386585EDBC9DDDD34</id>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
     <paymentDate>2010-08-11T00:00:00.0Z</paymentDate>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="7A8E888A4B4C4E638CD5EB3A41A3289A"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E77001E4"/>
-    <organization id="7A8E888A4B4C4E638CD5EB3A41A3289A"/>
     <amount>0</amount>
     <active>true</active>
     <receipt>false</receipt>
@@ -372368,12 +372321,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="FAE31E5467274E86BC7CDF5FBF1788C2">
+    <id>FAE31E5467274E86BC7CDF5FBF1788C2</id>
     <documentNo>700001</documentNo>
-    <id>FAE31E5467274E86BC7CDF5FBF1788C2</id>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
     <paymentDate>2010-08-27T00:00:00.0Z</paymentDate>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="90A1F59849E84AFABD04814B3D15A691"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E49501B5"/>
-    <organization id="90A1F59849E84AFABD04814B3D15A691"/>
     <amount>75.03</amount>
     <active>true</active>
     <receipt>false</receipt>
@@ -372404,12 +372357,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="FF8080812E38E087012E38EA0ACE000C">
+    <id>FF8080812E38E087012E38EA0ACE000C</id>
     <documentNo>700010</documentNo>
-    <id>FF8080812E38E087012E38EA0ACE000C</id>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
     <paymentDate>2011-02-18T00:00:00.0Z</paymentDate>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="90A1F59849E84AFABD04814B3D15A691"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E49501B5"/>
-    <organization id="90A1F59849E84AFABD04814B3D15A691"/>
     <amount>1089.26</amount>
     <active>true</active>
     <receipt>false</receipt>
@@ -372440,12 +372393,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="FF8080812E38E087012E38EF47FE0016">
+    <id>FF8080812E38E087012E38EF47FE0016</id>
     <documentNo>700011</documentNo>
-    <id>FF8080812E38E087012E38EF47FE0016</id>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
     <paymentDate>2011-02-18T00:00:00.0Z</paymentDate>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="7A8E888A4B4C4E638CD5EB3A41A3289A"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E77001E4"/>
-    <organization id="7A8E888A4B4C4E638CD5EB3A41A3289A"/>
     <amount>3910.23</amount>
     <active>true</active>
     <receipt>false</receipt>
@@ -372476,12 +372429,12 @@
     <createdByAlgorithm>false</createdByAlgorithm>
   </FIN_Payment>
   <FIN_Payment id="FF8080812E39520D012E396BFE590014">
+    <id>FF8080812E39520D012E396BFE590014</id>
     <documentNo>400012</documentNo>
-    <id>FF8080812E39520D012E396BFE590014</id>
+    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
     <paymentDate>2011-02-18T00:00:00.0Z</paymentDate>
-    <client id="FF8080812AFBCB14012AFBD3E373001F"/>
+    <organization id="378AF0EAE1A2479EAAA33436645E9433"/>
     <businessPartner id="8A64B71A2B0B2946012B0FE1E51401C1"/>
-    <organization id="378AF0EAE1A2479EAAA33436645E9433"/>
     <amount>48.46</amount>
     <active>true</active>
     <receipt>true</receipt>
--- a/referencedata/sampledata/QA_Testing.xml	Wed Apr 27 16:08:09 2011 +0200
+++ b/referencedata/sampledata/QA_Testing.xml	Wed Apr 27 17:28:33 2011 +0200
@@ -61438,6 +61438,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="1A059CB275894EB5BCE85CA8B129DBE2">
+    <id>1A059CB275894EB5BCE85CA8B129DBE2</id>
+    <process id="800022"/>
+    <role id="CC6AB5B4C4B54CB79103C96AD2B90750"/>
+    <client id="4028E6C72959682B01295A070852010D"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="1A864C0F9FB64A2B87EE1D3A213973C7">
     <id>1A864C0F9FB64A2B87EE1D3A213973C7</id>
     <process id="184"/>
@@ -62590,15 +62599,6 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
-  <ADProcessAccess id="40F6C59BFCA94CAE88375120565448D4">
-    <id>40F6C59BFCA94CAE88375120565448D4</id>
-    <process id="209"/>
-    <role id="0256D4272D82412C9CDF41B67E362599"/>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADProcessAccess>
   <ADProcessAccess id="40FDD3065E9142DE8438F7292514EF22">
     <id>40FDD3065E9142DE8438F7292514EF22</id>
     <process id="228"/>
@@ -64264,6 +64264,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="76989718164347B7980E2214CCDED1C3">
+    <id>76989718164347B7980E2214CCDED1C3</id>
+    <process id="800023"/>
+    <role id="4028E6C72959682B01295A071429011E"/>
+    <client id="4028E6C72959682B01295A070852010D"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="77390005C546471EBA944B8DBCE12367">
     <id>77390005C546471EBA944B8DBCE12367</id>
     <process id="186"/>
@@ -64444,6 +64453,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="7CFB0F4ED1E246EC94FCB22079A7455D">
+    <id>7CFB0F4ED1E246EC94FCB22079A7455D</id>
+    <process id="800022"/>
+    <role id="4028E6C72959682B01295A071429011E"/>
+    <client id="4028E6C72959682B01295A070852010D"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="7D1C4BFDB7814F49A6F061E9D094AB4A">
     <id>7D1C4BFDB7814F49A6F061E9D094AB4A</id>
     <process id="800006"/>
@@ -64651,6 +64669,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="82073260A68742DFAFBCDE15F01D9D1E">
+    <id>82073260A68742DFAFBCDE15F01D9D1E</id>
+    <process id="800023"/>
+    <role id="0256D4272D82412C9CDF41B67E362599"/>
+    <client id="4028E6C72959682B01295A070852010D"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="826C7FB76C844251BCBECC3EDB50D394">
     <id>826C7FB76C844251BCBECC3EDB50D394</id>
     <process id="1000500003"/>
@@ -65398,15 +65425,6 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
-  <ADProcessAccess id="98F6B31D00764C8EA67D7BCB7DE3B64B">
-    <id>98F6B31D00764C8EA67D7BCB7DE3B64B</id>
-    <process id="209"/>
-    <role id="4028E6C72959682B01295A071429011E"/>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADProcessAccess>
   <ADProcessAccess id="9A786108BC2B462BA4FEBF8EFEB8C98F">
     <id>9A786108BC2B462BA4FEBF8EFEB8C98F</id>
     <process id="192"/>
@@ -66433,6 +66451,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="B816DFAA07D74DD4AE4FAF7238F3C538">
+    <id>B816DFAA07D74DD4AE4FAF7238F3C538</id>
+    <process id="800023"/>
+    <role id="CC6AB5B4C4B54CB79103C96AD2B90750"/>
+    <client id="4028E6C72959682B01295A070852010D"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="B82D6C8BF6CB46D8B421A708D4986E5D">
     <id>B82D6C8BF6CB46D8B421A708D4986E5D</id>
     <process id="800006"/>
@@ -67414,6 +67441,15 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
+  <ADProcessAccess id="D9725BFCBD9444E4A2A8F5BD30EAFDB9">
+    <id>D9725BFCBD9444E4A2A8F5BD30EAFDB9</id>
+    <process id="800022"/>
+    <role id="0256D4272D82412C9CDF41B67E362599"/>
+    <client id="4028E6C72959682B01295A070852010D"/>
+    <organization id="0"/>
+    <active>true</active>
+    <editableField>true</editableField>
+  </ADProcessAccess>
   <ADProcessAccess id="D9D7CBDB083E40339CFED6CC2013F2F7">
     <id>D9D7CBDB083E40339CFED6CC2013F2F7</id>
     <process id="800038"/>
@@ -67756,15 +67792,6 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADProcessAccess>
-  <ADProcessAccess id="E34609D54A2E439AA2C0B93780B74BD4">
-    <id>E34609D54A2E439AA2C0B93780B74BD4</id>
-    <process id="209"/>
-    <role id="CC6AB5B4C4B54CB79103C96AD2B90750"/>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADProcessAccess>
   <ADProcessAccess id="E35CCF63576A4710B0A6AC1246374CF0">
     <id>E35CCF63576A4710B0A6AC1246374CF0</id>
     <process id="3C4A5FB206B74C3CA9FE20116FCA0464"/>
@@ -68890,15 +68917,6 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADWindowAccess>
-  <ADWindowAccess id="070EB7E9369B4FD8BB6F6767176CB9DF">
-    <id>070EB7E9369B4FD8BB6F6767176CB9DF</id>
-    <window id="204"/>
-    <role id="4028E6C72959682B01295A071429011E"/>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADWindowAccess>
   <ADWindowAccess id="0787C007CE3142599065E47025AFC687">
     <id>0787C007CE3142599065E47025AFC687</id>
     <window id="AFE6BDF360C44B99ACA6FB5E9F51EA45"/>
@@ -69943,15 +69961,6 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADWindowAccess>
-  <ADWindowAccess id="4E398B4964DE48888B6818CD597EAA4D">
-    <id>4E398B4964DE48888B6818CD597EAA4D</id>
-    <window id="204"/>
-    <role id="FA057013C10148828D2430F66F42EF1A"/>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADWindowAccess>
   <ADWindowAccess id="4E5F99516F1F4DBFA0F7A4E92B5796A8">
     <id>4E5F99516F1F4DBFA0F7A4E92B5796A8</id>
     <window id="234"/>
@@ -71194,15 +71203,6 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADWindowAccess>
-  <ADWindowAccess id="942122C3ED1D44678E0328CD1ACC88A3">
-    <id>942122C3ED1D44678E0328CD1ACC88A3</id>
-    <window id="204"/>
-    <role id="0256D4272D82412C9CDF41B67E362599"/>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADWindowAccess>
   <ADWindowAccess id="9446FFC509E944CC8333AD892276239E">
     <id>9446FFC509E944CC8333AD892276239E</id>
     <window id="800008"/>
@@ -71392,15 +71392,6 @@
     <active>true</active>
     <editableField>true</editableField>
   </ADWindowAccess>
-  <ADWindowAccess id="A05FC961705C422E8795DB185EA0A1D4">
-    <id>A05FC961705C422E8795DB185EA0A1D4</id>
-    <window id="204"/>
-    <role id="CC6AB5B4C4B54CB79103C96AD2B90750"/>
-    <client id="4028E6C72959682B01295A070852010D"/>
-    <organization id="0"/>
-    <active>true</active>
-    <editableField>true</editableField>
-  </ADWindowAccess>
   <ADWindowAccess id="A072D33DF9C240DCAD665DA35C2FE40E">
     <id>A072D33DF9C240DCAD665DA35C2FE40E</id>
     <window id="800063"/>
--- a/src-db/database/model/tables/R_MAILTEXT.xml	Wed Apr 27 16:08:09 2011 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,61 +0,0 @@
-<?xml version="1.0"?>
-  <database name="TABLE R_MAILTEXT">
-    <table name="R_MAILTEXT" primaryKey="R_MAILTEXT_KEY">
-      <column name="R_MAILTEXT_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
-        <default/>
-        <onCreateDefault/>
-      </column>
-      <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
-        <default/>
-        <onCreateDefault/>
-      </column>
-      <column name="AD_ORG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
-        <default/>
-        <onCreateDefault/>
-      </column>
-      <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
-        <default><![CDATA[Y]]></default>
-        <onCreateDefault/>
-      </column>
-      <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
-        <default><![CDATA[SYSDATE]]></default>
-        <onCreateDefault/>
-      </column>
-      <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
-        <default/>
-        <onCreateDefault/>
-      </column>
-      <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
-        <default><![CDATA[SYSDATE]]></default>
-        <onCreateDefault/>
-      </column>
-      <column name="UPDATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
-        <default/>
-        <onCreateDefault/>
-      </column>
-      <column name="NAME" primaryKey="false" required="true" type="NVARCHAR" size="60" autoIncrement="false">
-        <default/>
-        <onCreateDefault/>
-      </column>
-      <column name="ISHTML" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
-        <default><![CDATA[N]]></default>
-        <onCreateDefault/>
-      </column>
-      <column name="MAILHEADER" primaryKey="false" required="false" type="NVARCHAR" size="2000" autoIncrement="false">
-        <default/>
-        <onCreateDefault/>
-      </column>
-      <column name="MAILTEXT" primaryKey="false" required="true" type="NVARCHAR" size="2000" autoIncrement="false">
-        <default/>
-        <onCreateDefault/>
-      </column>
-      <foreign-key foreignTable="AD_CLIENT" name="R_MAILTEXT_AD_CLIENT">
-        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
-      </foreign-key>
-      <foreign-key foreignTable="AD_ORG" name="R_MAILTEXT_AD_ORG">
-        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
-      </foreign-key>
-      <check name="R_MAILTEXT_ISACTIVE_CHK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
-      <check name="R_MAILTEXT_ISHTML_CHK"><![CDATA[ISHTML IN ('Y', 'N')]]></check>
-    </table>
-  </database>
--- a/src-db/database/sourcedata/AD_COLUMN.xml	Wed Apr 27 16:08:09 2011 +0200
+++ b/src-db/database/sourcedata/AD_COLUMN.xml	Wed Apr 27 17:28:33 2011 +0200
@@ -81216,394 +81216,6 @@
 <!--5402-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
 <!--5402--></AD_COLUMN>
 
-<!--5403--><AD_COLUMN>
-<!--5403-->  <AD_COLUMN_ID><![CDATA[5403]]></AD_COLUMN_ID>
-<!--5403-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--5403-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--5403-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--5403-->  <NAME><![CDATA[Mail Template]]></NAME>
-<!--5403-->  <DESCRIPTION><![CDATA[A template used to organize and send mail using a standard format.]]></DESCRIPTION>
-<!--5403-->  <HELP><![CDATA[The Mail Template indicates the mail template for return messages.]]></HELP>
-<!--5403-->  <COLUMNNAME><![CDATA[R_MailText_ID]]></COLUMNNAME>
-<!--5403-->  <AD_TABLE_ID><![CDATA[416]]></AD_TABLE_ID>
-<!--5403-->  <AD_REFERENCE_ID><![CDATA[13]]></AD_REFERENCE_ID>
-<!--5403-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
-<!--5403-->  <ISKEY><![CDATA[Y]]></ISKEY>
-<!--5403-->  <ISPARENT><![CDATA[N]]></ISPARENT>
-<!--5403-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
-<!--5403-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
-<!--5403-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
-<!--5403-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
-<!--5403-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--5403-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
-<!--5403-->  <AD_ELEMENT_ID><![CDATA[1515]]></AD_ELEMENT_ID>
-<!--5403-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
-<!--5403-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
-<!--5403-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
-<!--5403-->  <DEVELOPMENTSTATUS><![CDATA[NI]]></DEVELOPMENTSTATUS>
-<!--5403-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--5403-->  <POSITION><![CDATA[1]]></POSITION>
-<!--5403-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
-<!--5403-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
-<!--5403-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
-<!--5403--></AD_COLUMN>
-
-<!--5404--><AD_COLUMN>
-<!--5404-->  <AD_COLUMN_ID><![CDATA[5404]]></AD_COLUMN_ID>
-<!--5404-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--5404-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--5404-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--5404-->  <NAME><![CDATA[Client]]></NAME>
-<!--5404-->  <DESCRIPTION><![CDATA[Client for this installation.]]></DESCRIPTION>
-<!--5404-->  <HELP><![CDATA[A Client is a company or a legal entity. You cannot share data between Clients.]]></HELP>
-<!--5404-->  <COLUMNNAME><![CDATA[AD_Client_ID]]></COLUMNNAME>
-<!--5404-->  <AD_TABLE_ID><![CDATA[416]]></AD_TABLE_ID>
-<!--5404-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
-<!--5404-->  <AD_VAL_RULE_ID><![CDATA[103]]></AD_VAL_RULE_ID>
-<!--5404-->  <FIELDLENGTH><![CDATA[22]]></FIELDLENGTH>
-<!--5404-->  <DEFAULTVALUE><![CDATA[@AD_CLIENT_ID@]]></DEFAULTVALUE>
-<!--5404-->  <ISKEY><![CDATA[N]]></ISKEY>
-<!--5404-->  <ISPARENT><![CDATA[N]]></ISPARENT>
-<!--5404-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
-<!--5404-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
-<!--5404-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
-<!--5404-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
-<!--5404-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--5404-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
-<!--5404-->  <AD_ELEMENT_ID><![CDATA[102]]></AD_ELEMENT_ID>
-<!--5404-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
-<!--5404-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
-<!--5404-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
-<!--5404-->  <DEVELOPMENTSTATUS><![CDATA[NI]]></DEVELOPMENTSTATUS>
-<!--5404-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--5404-->  <POSITION><![CDATA[2]]></POSITION>
-<!--5404-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
-<!--5404-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
-<!--5404-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
-<!--5404--></AD_COLUMN>
-
-<!--5405--><AD_COLUMN>
-<!--5405-->  <AD_COLUMN_ID><![CDATA[5405]]></AD_COLUMN_ID>
-<!--5405-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--5405-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--5405-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--5405-->  <NAME><![CDATA[Organization]]></NAME>
-<!--5405-->  <DESCRIPTION><![CDATA[Organizational entity within client]]></DESCRIPTION>
-<!--5405-->  <HELP><![CDATA[An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.]]></HELP>
-<!--5405-->  <COLUMNNAME><![CDATA[AD_Org_ID]]></COLUMNNAME>
-<!--5405-->  <AD_TABLE_ID><![CDATA[416]]></AD_TABLE_ID>
-<!--5405-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
-<!--5405-->  <FIELDLENGTH><![CDATA[22]]></FIELDLENGTH>
-<!--5405-->  <DEFAULTVALUE><![CDATA[@AD_Org_ID@]]></DEFAULTVALUE>
-<!--5405-->  <ISKEY><![CDATA[N]]></ISKEY>
-<!--5405-->  <ISPARENT><![CDATA[N]]></ISPARENT>
-<!--5405-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
-<!--5405-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
-<!--5405-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
-<!--5405-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
-<!--5405-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--5405-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
-<!--5405-->  <AD_ELEMENT_ID><![CDATA[113]]></AD_ELEMENT_ID>
-<!--5405-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
-<!--5405-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
-<!--5405-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
-<!--5405-->  <DEVELOPMENTSTATUS><![CDATA[NI]]></DEVELOPMENTSTATUS>
-<!--5405-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--5405-->  <POSITION><![CDATA[3]]></POSITION>
-<!--5405-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
-<!--5405-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
-<!--5405-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
-<!--5405--></AD_COLUMN>
-
-<!--5406--><AD_COLUMN>
-<!--5406-->  <AD_COLUMN_ID><![CDATA[5406]]></AD_COLUMN_ID>
-<!--5406-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--5406-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--5406-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--5406-->  <NAME><![CDATA[Active]]></NAME>
-<!--5406-->  <DESCRIPTION><![CDATA[A flag indicating whether this record is available for use or de-activated.]]></DESCRIPTION>
-<!--5406-->  <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>
-<!--5406-->  <COLUMNNAME><![CDATA[IsActive]]></COLUMNNAME>
-<!--5406-->  <AD_TABLE_ID><![CDATA[416]]></AD_TABLE_ID>
-<!--5406-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
-<!--5406-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
-<!--5406-->  <ISKEY><![CDATA[N]]></ISKEY>
-<!--5406-->  <ISPARENT><![CDATA[N]]></ISPARENT>
-<!--5406-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
-<!--5406-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
-<!--5406-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
-<!--5406-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
-<!--5406-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--5406-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
-<!--5406-->  <AD_ELEMENT_ID><![CDATA[348]]></AD_ELEMENT_ID>
-<!--5406-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
-<!--5406-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
-<!--5406-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
-<!--5406-->  <DEVELOPMENTSTATUS><![CDATA[NI]]></DEVELOPMENTSTATUS>
-<!--5406-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--5406-->  <POSITION><![CDATA[4]]></POSITION>
-<!--5406-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
-<!--5406-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
-<!--5406-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
-<!--5406--></AD_COLUMN>
-
-<!--5407--><AD_COLUMN>
-<!--5407-->  <AD_COLUMN_ID><![CDATA[5407]]></AD_COLUMN_ID>
-<!--5407-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--5407-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--5407-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--5407-->  <NAME><![CDATA[Creation Date]]></NAME>
-<!--5407-->  <DESCRIPTION><![CDATA[The date that this record is completed.]]></DESCRIPTION>
-<!--5407-->  <HELP><![CDATA[The Created field indicates the date that this record was created.]]></HELP>
-<!--5407-->  <COLUMNNAME><![CDATA[Created]]></COLUMNNAME>
-<!--5407-->  <AD_TABLE_ID><![CDATA[416]]></AD_TABLE_ID>
-<!--5407-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
-<!--5407-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
-<!--5407-->  <ISKEY><![CDATA[N]]></ISKEY>
-<!--5407-->  <ISPARENT><![CDATA[N]]></ISPARENT>
-<!--5407-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
-<!--5407-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
-<!--5407-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
-<!--5407-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
-<!--5407-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--5407-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
-<!--5407-->  <AD_ELEMENT_ID><![CDATA[245]]></AD_ELEMENT_ID>
-<!--5407-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
-<!--5407-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
-<!--5407-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
-<!--5407-->  <DEVELOPMENTSTATUS><![CDATA[NI]]></DEVELOPMENTSTATUS>
-<!--5407-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--5407-->  <POSITION><![CDATA[5]]></POSITION>
-<!--5407-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
-<!--5407-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
-<!--5407-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
-<!--5407--></AD_COLUMN>
-
-<!--5408--><AD_COLUMN>
-<!--5408-->  <AD_COLUMN_ID><![CDATA[5408]]></AD_COLUMN_ID>
-<!--5408-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--5408-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--5408-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--5408-->  <NAME><![CDATA[Created By]]></NAME>
-<!--5408-->  <DESCRIPTION><![CDATA[User who created this records]]></DESCRIPTION>
-<!--5408-->  <HELP><![CDATA[The Created By field indicates the user who created this record.]]></HELP>
-<!--5408-->  <COLUMNNAME><![CDATA[CreatedBy]]></COLUMNNAME>
-<!--5408-->  <AD_TABLE_ID><![CDATA[416]]></AD_TABLE_ID>
-<!--5408-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
-<!--5408-->  <FIELDLENGTH><![CDATA[22]]></FIELDLENGTH>
-<!--5408-->  <ISKEY><![CDATA[N]]></ISKEY>
-<!--5408-->  <ISPARENT><![CDATA[N]]></ISPARENT>
-<!--5408-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
-<!--5408-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
-<!--5408-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
-<!--5408-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
-<!--5408-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--5408-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
-<!--5408-->  <AD_ELEMENT_ID><![CDATA[246]]></AD_ELEMENT_ID>
-<!--5408-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
-<!--5408-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
-<!--5408-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
-<!--5408-->  <DEVELOPMENTSTATUS><![CDATA[NI]]></DEVELOPMENTSTATUS>
-<!--5408-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--5408-->  <POSITION><![CDATA[6]]></POSITION>
-<!--5408-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
-<!--5408-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
-<!--5408-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
-<!--5408--></AD_COLUMN>
-
-<!--5409--><AD_COLUMN>
-<!--5409-->  <AD_COLUMN_ID><![CDATA[5409]]></AD_COLUMN_ID>
-<!--5409-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--5409-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--5409-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--5409-->  <NAME><![CDATA[Updated]]></NAME>
-<!--5409-->  <DESCRIPTION><![CDATA[x not implemented]]></DESCRIPTION>
-<!--5409-->  <HELP><![CDATA[The Updated field indicates the date that this record was updated.]]></HELP>
-<!--5409-->  <COLUMNNAME><![CDATA[Updated]]></COLUMNNAME>
-<!--5409-->  <AD_TABLE_ID><![CDATA[416]]></AD_TABLE_ID>
-<!--5409-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
-<!--5409-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
-<!--5409-->  <ISKEY><![CDATA[N]]></ISKEY>
-<!--5409-->  <ISPARENT><![CDATA[N]]></ISPARENT>
-<!--5409-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
-<!--5409-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
-<!--5409-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
-<!--5409-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
-<!--5409-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--5409-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
-<!--5409-->  <AD_ELEMENT_ID><![CDATA[607]]></AD_ELEMENT_ID>
-<!--5409-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
-<!--5409-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
-<!--5409-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
-<!--5409-->  <DEVELOPMENTSTATUS><![CDATA[NI]]></DEVELOPMENTSTATUS>
-<!--5409-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--5409-->  <POSITION><![CDATA[7]]></POSITION>
-<!--5409-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
-<!--5409-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
-<!--5409-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
-<!--5409--></AD_COLUMN>
-
-<!--5410--><AD_COLUMN>
-<!--5410-->  <AD_COLUMN_ID><![CDATA[5410]]></AD_COLUMN_ID>
-<!--5410-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--5410-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--5410-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--5410-->  <NAME><![CDATA[Updated By]]></NAME>
-<!--5410-->  <DESCRIPTION><![CDATA[User who updated this records]]></DESCRIPTION>
-<!--5410-->  <HELP><![CDATA[The Updated By field indicates the user who updated this record.]]></HELP>
-<!--5410-->  <COLUMNNAME><![CDATA[UpdatedBy]]></COLUMNNAME>
-<!--5410-->  <AD_TABLE_ID><![CDATA[416]]></AD_TABLE_ID>
-<!--5410-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
-<!--5410-->  <FIELDLENGTH><![CDATA[22]]></FIELDLENGTH>
-<!--5410-->  <ISKEY><![CDATA[N]]></ISKEY>
-<!--5410-->  <ISPARENT><![CDATA[N]]></ISPARENT>
-<!--5410-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
-<!--5410-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
-<!--5410-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
-<!--5410-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
-<!--5410-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--5410-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
-<!--5410-->  <AD_ELEMENT_ID><![CDATA[608]]></AD_ELEMENT_ID>
-<!--5410-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
-<!--5410-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
-<!--5410-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
-<!--5410-->  <DEVELOPMENTSTATUS><![CDATA[NI]]></DEVELOPMENTSTATUS>
-<!--5410-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--5410-->  <POSITION><![CDATA[8]]></POSITION>
-<!--5410-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
-<!--5410-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
-<!--5410-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
-<!--5410--></AD_COLUMN>
-
-<!--5411--><AD_COLUMN>
-<!--5411-->  <AD_COLUMN_ID><![CDATA[5411]]></AD_COLUMN_ID>
-<!--5411-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--5411-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--5411-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--5411-->  <NAME><![CDATA[Name]]></NAME>
-<!--5411-->  <DESCRIPTION><![CDATA[A non-unique identifier for a record/document often used as a search tool.]]></DESCRIPTION>
-<!--5411-->  <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>
-<!--5411-->  <COLUMNNAME><![CDATA[Name]]></COLUMNNAME>
-<!--5411-->  <AD_TABLE_ID><![CDATA[416]]></AD_TABLE_ID>
-<!--5411-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
-<!--5411-->  <FIELDLENGTH><![CDATA[60]]></FIELDLENGTH>
-<!--5411-->  <ISKEY><![CDATA[N]]></ISKEY>
-<!--5411-->  <ISPARENT><![CDATA[N]]></ISPARENT>
-<!--5411-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
-<!--5411-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
-<!--5411-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
-<!--5411-->  <SEQNO><![CDATA[1]]></SEQNO>
-<!--5411-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
-<!--5411-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--5411-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
-<!--5411-->  <AD_ELEMENT_ID><![CDATA[469]]></AD_ELEMENT_ID>
-<!--5411-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
-<!--5411-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
-<!--5411-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
-<!--5411-->  <DEVELOPMENTSTATUS><![CDATA[NI]]></DEVELOPMENTSTATUS>
-<!--5411-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--5411-->  <POSITION><![CDATA[9]]></POSITION>
-<!--5411-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
-<!--5411-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
-<!--5411-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
-<!--5411--></AD_COLUMN>
-
-<!--5412--><AD_COLUMN>
-<!--5412-->  <AD_COLUMN_ID><![CDATA[5412]]></AD_COLUMN_ID>
-<!--5412-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--5412-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--5412-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--5412-->  <NAME><![CDATA[HTML]]></NAME>
-<!--5412-->  <DESCRIPTION><![CDATA[Text has HTML tags]]></DESCRIPTION>
-<!--5412-->  <HELP><![CDATA[Text has HTML tags]]></HELP>
-<!--5412-->  <COLUMNNAME><![CDATA[IsHtml]]></COLUMNNAME>
-<!--5412-->  <AD_TABLE_ID><![CDATA[416]]></AD_TABLE_ID>
-<!--5412-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
-<!--5412-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
-<!--5412-->  <ISKEY><![CDATA[N]]></ISKEY>
-<!--5412-->  <ISPARENT><![CDATA[N]]></ISPARENT>
-<!--5412-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
-<!--5412-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
-<!--5412-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
-<!--5412-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
-<!--5412-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--5412-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
-<!--5412-->  <AD_ELEMENT_ID><![CDATA[1510]]></AD_ELEMENT_ID>
-<!--5412-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
-<!--5412-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
-<!--5412-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
-<!--5412-->  <DEVELOPMENTSTATUS><![CDATA[NI]]></DEVELOPMENTSTATUS>
-<!--5412-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--5412-->  <POSITION><![CDATA[10]]></POSITION>
-<!--5412-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
-<!--5412-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
-<!--5412-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
-<!--5412--></AD_COLUMN>
-
-<!--5413--><AD_COLUMN>
-<!--5413-->  <AD_COLUMN_ID><![CDATA[5413]]></AD_COLUMN_ID>
-<!--5413-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--5413-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--5413-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--5413-->  <NAME><![CDATA[Mail header]]></NAME>
-<!--5413-->  <COLUMNNAME><![CDATA[MailHeader]]></COLUMNNAME>
-<!--5413-->  <AD_TABLE_ID><![CDATA[416]]></AD_TABLE_ID>
-<!--5413-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
-<!--5413-->  <FIELDLENGTH><![CDATA[2000]]></FIELDLENGTH>
-<!--5413-->  <ISKEY><![CDATA[N]]></ISKEY>
-<!--5413-->  <ISPARENT><![CDATA[N]]></ISPARENT>
-<!--5413-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
-<!--5413-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
-<!--5413-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
-<!--5413-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
-<!--5413-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--5413-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
-<!--5413-->  <AD_ELEMENT_ID><![CDATA[1511]]></AD_ELEMENT_ID>
-<!--5413-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
-<!--5413-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
-<!--5413-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
-<!--5413-->  <DEVELOPMENTSTATUS><![CDATA[NI]]></DEVELOPMENTSTATUS>
-<!--5413-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--5413-->  <POSITION><![CDATA[11]]></POSITION>
-<!--5413-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
-<!--5413-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
-<!--5413-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
-<!--5413--></AD_COLUMN>
-
-<!--5414--><AD_COLUMN>
-<!--5414-->  <AD_COLUMN_ID><![CDATA[5414]]></AD_COLUMN_ID>
-<!--5414-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--5414-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--5414-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--5414-->  <NAME><![CDATA[Mail Text]]></NAME>
-<!--5414-->  <DESCRIPTION><![CDATA[The text located in a mail document to be sent.]]></DESCRIPTION>
-<!--5414-->  <HELP><![CDATA[The Mail Text indicates the text used for mail messages.]]></HELP>
-<!--5414-->  <COLUMNNAME><![CDATA[MailText]]></COLUMNNAME>
-<!--5414-->  <AD_TABLE_ID><![CDATA[416]]></AD_TABLE_ID>
-<!--5414-->  <AD_REFERENCE_ID><![CDATA[14]]></AD_REFERENCE_ID>
-<!--5414-->  <FIELDLENGTH><![CDATA[2000]]></FIELDLENGTH>
-<!--5414-->  <ISKEY><![CDATA[N]]></ISKEY>
-<!--5414-->  <ISPARENT><![CDATA[N]]></ISPARENT>
-<!--5414-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
-<!--5414-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
-<!--5414-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
-<!--5414-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
-<!--5414-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--5414-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
-<!--5414-->  <AD_ELEMENT_ID><![CDATA[1512]]></AD_ELEMENT_ID>
-<!--5414-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
-<!--5414-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
-<!--5414-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
-<!--5414-->  <DEVELOPMENTSTATUS><![CDATA[NI]]></DEVELOPMENTSTATUS>
-<!--5414-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--5414-->  <POSITION><![CDATA[12]]></POSITION>
-<!--5414-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
-<!--5414-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
-<!--5414-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
-<!--5414--></AD_COLUMN>
-
 <!--5507--><AD_COLUMN>
 <!--5507-->  <AD_COLUMN_ID><![CDATA[5507]]></AD_COLUMN_ID>
 <!--5507-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_DATASET_TABLE.xml	Wed Apr 27 16:08:09 2011 +0200
+++ b/src-db/database/sourcedata/AD_DATASET_TABLE.xml	Wed Apr 27 17:28:33 2011 +0200
@@ -2492,20 +2492,6 @@
 <!--A734E2B6BAE111DD805C001B388C61A4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--A734E2B6BAE111DD805C001B388C61A4--></AD_DATASET_TABLE>
 
-<!--A734ED4CBAE111DDA5B8001B388C61A4--><AD_DATASET_TABLE>
-<!--A734ED4CBAE111DDA5B8001B388C61A4-->  <AD_DATASET_TABLE_ID><![CDATA[A734ED4CBAE111DDA5B8001B388C61A4]]></AD_DATASET_TABLE_ID>
-<!--A734ED4CBAE111DDA5B8001B388C61A4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--A734ED4CBAE111DDA5B8001B388C61A4-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--A734ED4CBAE111DDA5B8001B388C61A4-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--A734ED4CBAE111DDA5B8001B388C61A4-->  <AD_DATASET_ID><![CDATA[D81C5C810AEF47C690E4F688ABC8AAC8]]></AD_DATASET_ID>
-<!--A734ED4CBAE111DDA5B8001B388C61A4-->  <AD_TABLE_ID><![CDATA[416]]></AD_TABLE_ID>
-<!--A734ED4CBAE111DDA5B8001B388C61A4-->  <INCLUDEALLCOLUMNS><![CDATA[Y]]></INCLUDEALLCOLUMNS>
-<!--A734ED4CBAE111DDA5B8001B388C61A4-->  <WHERECLAUSE><![CDATA[client.id=:ClientID]]></WHERECLAUSE>
-<!--A734ED4CBAE111DDA5B8001B388C61A4-->  <EXCLUDEAUDITINFO><![CDATA[N]]></EXCLUDEAUDITINFO>
-<!--A734ED4CBAE111DDA5B8001B388C61A4-->  <ISBUSINESSOBJECT><![CDATA[N]]></ISBUSINESSOBJECT>
-<!--A734ED4CBAE111DDA5B8001B388C61A4-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--A734ED4CBAE111DDA5B8001B388C61A4--></AD_DATASET_TABLE>
-
 <!--A7351614BAE111DDB0F6001B388C61A4--><AD_DATASET_TABLE>
 <!--A7351614BAE111DDB0F6001B388C61A4-->  <AD_DATASET_TABLE_ID><![CDATA[A7351614BAE111DDB0F6001B388C61A4]]></AD_DATASET_TABLE_ID>
 <!--A7351614BAE111DDB0F6001B388C61A4-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_FIELD.xml	Wed Apr 27 16:08:09 2011 +0200
+++ b/src-db/database/sourcedata/AD_FIELD.xml	Wed Apr 27 17:28:33 2011 +0200
@@ -52705,215 +52705,6 @@
 <!--4281-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
 <!--4281--></AD_FIELD>
 
-<!--4337--><AD_FIELD>
-<!--4337-->  <AD_FIELD_ID><![CDATA[4337]]></AD_FIELD_ID>
-<!--4337-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--4337-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--4337-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--4337-->  <NAME><![CDATA[Client]]></NAME>
-<!--4337-->  <DESCRIPTION><![CDATA[Client for this installation.]]></DESCRIPTION>
-<!--4337-->  <HELP><![CDATA[A Client is a company or a legal entity. You cannot share data between Clients.]]></HELP>
-<!--4337-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
-<!--4337-->  <AD_TAB_ID><![CDATA[347]]></AD_TAB_ID>
-<!--4337-->  <AD_COLUMN_ID><![CDATA[5404]]></AD_COLUMN_ID>
-<!--4337-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
-<!--4337-->  <DISPLAYLENGTH><![CDATA[44]]></DISPLAYLENGTH>
-<!--4337-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--4337-->  <SEQNO><![CDATA[20]]></SEQNO>
-<!--4337-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
-<!--4337-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
-<!--4337-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--4337-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
-<!--4337-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
-<!--4337-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--4337-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
-<!--4337-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
-<!--4337-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
-<!--4337--></AD_FIELD>
-
-<!--4338--><AD_FIELD>
-<!--4338-->  <AD_FIELD_ID><![CDATA[4338]]></AD_FIELD_ID>
-<!--4338-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--4338-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--4338-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--4338-->  <NAME><![CDATA[Organization]]></NAME>
-<!--4338-->  <DESCRIPTION><![CDATA[Organizational entity within client]]></DESCRIPTION>
-<!--4338-->  <HELP><![CDATA[An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.]]></HELP>
-<!--4338-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
-<!--4338-->  <AD_TAB_ID><![CDATA[347]]></AD_TAB_ID>
-<!--4338-->  <AD_COLUMN_ID><![CDATA[5405]]></AD_COLUMN_ID>
-<!--4338-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
-<!--4338-->  <DISPLAYLENGTH><![CDATA[44]]></DISPLAYLENGTH>
-<!--4338-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--4338-->  <SEQNO><![CDATA[30]]></SEQNO>
-<!--4338-->  <ISSAMELINE><![CDATA[Y]]></ISSAMELINE>
-<!--4338-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
-<!--4338-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--4338-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
-<!--4338-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
-<!--4338-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--4338-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
-<!--4338-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
-<!--4338-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
-<!--4338--></AD_FIELD>
-
-<!--4339--><AD_FIELD>
-<!--4339-->  <AD_FIELD_ID><![CDATA[4339]]></AD_FIELD_ID>
-<!--4339-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--4339-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--4339-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--4339-->  <NAME><![CDATA[HTML]]></NAME>
-<!--4339-->  <DESCRIPTION><![CDATA[Text has HTML tags]]></DESCRIPTION>
-<!--4339-->  <HELP><![CDATA[Text has HTML tags]]></HELP>
-<!--4339-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
-<!--4339-->  <AD_TAB_ID><![CDATA[347]]></AD_TAB_ID>
-<!--4339-->  <AD_COLUMN_ID><![CDATA[5412]]></AD_COLUMN_ID>
-<!--4339-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
-<!--4339-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
-<!--4339-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--4339-->  <SEQNO><![CDATA[80]]></SEQNO>
-<!--4339-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
-<!--4339-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
-<!--4339-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--4339-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
-<!--4339-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
-<!--4339-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--4339-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
-<!--4339-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
-<!--4339-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
-<!--4339--></AD_FIELD>
-
-<!--4340--><AD_FIELD>
-<!--4340-->  <AD_FIELD_ID><![CDATA[4340]]></AD_FIELD_ID>
-<!--4340-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--4340-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--4340-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--4340-->  <NAME><![CDATA[Active]]></NAME>
-<!--4340-->  <DESCRIPTION><![CDATA[A flag indicating whether this record is available for use or de-activated.]]></DESCRIPTION>
-<!--4340-->  <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>
-<!--4340-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
-<!--4340-->  <AD_TAB_ID><![CDATA[347]]></AD_TAB_ID>
-<!--4340-->  <AD_COLUMN_ID><![CDATA[5406]]></AD_COLUMN_ID>
-<!--4340-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
-<!--4340-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
-<!--4340-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--4340-->  <SEQNO><![CDATA[50]]></SEQNO>
-<!--4340-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
-<!--4340-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
-<!--4340-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--4340-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
-<!--4340-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
-<!--4340-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--4340-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
-<!--4340-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
-<!--4340-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
-<!--4340--></AD_FIELD>
-
-<!--4341--><AD_FIELD>
-<!--4341-->  <AD_FIELD_ID><![CDATA[4341]]></AD_FIELD_ID>
-<!--4341-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--4341-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--4341-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--4341-->  <NAME><![CDATA[Mail header]]></NAME>
-<!--4341-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
-<!--4341-->  <AD_TAB_ID><![CDATA[347]]></AD_TAB_ID>
-<!--4341-->  <AD_COLUMN_ID><![CDATA[5413]]></AD_COLUMN_ID>
-<!--4341-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
-<!--4341-->  <DISPLAYLENGTH><![CDATA[60]]></DISPLAYLENGTH>
-<!--4341-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--4341-->  <SEQNO><![CDATA[60]]></SEQNO>
-<!--4341-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
-<!--4341-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
-<!--4341-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--4341-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
-<!--4341-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
-<!--4341-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--4341-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
-<!--4341-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
-<!--4341-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
-<!--4341--></AD_FIELD>
-
-<!--4342--><AD_FIELD>
-<!--4342-->  <AD_FIELD_ID><![CDATA[4342]]></AD_FIELD_ID>
-<!--4342-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--4342-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--4342-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--4342-->  <NAME><![CDATA[Mail Text]]></NAME>
-<!--4342-->  <DESCRIPTION><![CDATA[The text located in a mail document to be sent.]]></DESCRIPTION>
-<!--4342-->  <HELP><![CDATA[The Mail Text indicates the text used for mail messages.]]></HELP>
-<!--4342-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
-<!--4342-->  <AD_TAB_ID><![CDATA[347]]></AD_TAB_ID>
-<!--4342-->  <AD_COLUMN_ID><![CDATA[5414]]></AD_COLUMN_ID>
-<!--4342-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
-<!--4342-->  <DISPLAYLENGTH><![CDATA[60]]></DISPLAYLENGTH>
-<!--4342-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--4342-->  <SEQNO><![CDATA[70]]></SEQNO>
-<!--4342-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
-<!--4342-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
-<!--4342-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--4342-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
-<!--4342-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
-<!--4342-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--4342-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
-<!--4342-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
-<!--4342-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
-<!--4342--></AD_FIELD>
-
-<!--4343--><AD_FIELD>
-<!--4343-->  <AD_FIELD_ID><![CDATA[4343]]></AD_FIELD_ID>
-<!--4343-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--4343-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--4343-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--4343-->  <NAME><![CDATA[Name]]></NAME>
-<!--4343-->  <DESCRIPTION><![CDATA[A non-unique identifier for a record/document often used as a search tool.]]></DESCRIPTION>
-<!--4343-->  <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>
-<!--4343-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
-<!--4343-->  <AD_TAB_ID><![CDATA[347]]></AD_TAB_ID>
-<!--4343-->  <AD_COLUMN_ID><![CDATA[5411]]></AD_COLUMN_ID>
-<!--4343-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
-<!--4343-->  <DISPLAYLENGTH><![CDATA[60]]></DISPLAYLENGTH>
-<!--4343-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--4343-->  <SEQNO><![CDATA[40]]></SEQNO>
-<!--4343-->  <SORTNO><![CDATA[1]]></SORTNO>
-<!--4343-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
-<!--4343-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
-<!--4343-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--4343-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
-<!--4343-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
-<!--4343-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--4343-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
-<!--4343-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
-<!--4343-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
-<!--4343--></AD_FIELD>
-
-<!--4344--><AD_FIELD>
-<!--4344-->  <AD_FIELD_ID><![CDATA[4344]]></AD_FIELD_ID>
-<!--4344-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--4344-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--4344-->  <ISACTIVE><![CDATA[N]]></ISACTIVE>
-<!--4344-->  <NAME><![CDATA[Mail Template]]></NAME>
-<!--4344-->  <DESCRIPTION><![CDATA[A template used to organize and send mail using a standard format.]]></DESCRIPTION>
-<!--4344-->  <HELP><![CDATA[The Mail Template indicates the mail template for return messages.]]></HELP>
-<!--4344-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
-<!--4344-->  <AD_TAB_ID><![CDATA[347]]></AD_TAB_ID>
-<!--4344-->  <AD_COLUMN_ID><![CDATA[5403]]></AD_COLUMN_ID>
-<!--4344-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
-<!--4344-->  <DISPLAYLENGTH><![CDATA[10]]></DISPLAYLENGTH>
-<!--4344-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--4344-->  <SEQNO><![CDATA[10]]></SEQNO>
-<!--4344-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
-<!--4344-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
-<!--4344-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
-<!--4344-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
-<!--4344-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
-<!--4344-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--4344-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
-<!--4344-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
-<!--4344-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
-<!--4344--></AD_FIELD>
-
 <!--4365--><AD_FIELD>
 <!--4365-->  <AD_FIELD_ID><![CDATA[4365]]></AD_FIELD_ID>
 <!--4365-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_MENU.xml	Wed Apr 27 16:08:09 2011 +0200
+++ b/src-db/database/sourcedata/AD_MENU.xml	Wed Apr 27 17:28:33 2011 +0200
@@ -1184,19 +1184,6 @@
 <!--236-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--236--></AD_MENU>
 
-<!--238--><AD_MENU>
-<!--238-->  <AD_MENU_ID><![CDATA[238]]></AD_MENU_ID>
-<!--238-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--238-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--238-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--238-->  <NAME><![CDATA[Mail Template]]></NAME>
-<!--238-->  <DESCRIPTION><![CDATA[Maintain Mail Template]]></DESCRIPTION>
-<!--238-->  <ISSUMMARY><![CDATA[N]]></ISSUMMARY>
-<!--238-->  <ACTION><![CDATA[W]]></ACTION>
-<!--238-->  <AD_WINDOW_ID><![CDATA[204]]></AD_WINDOW_ID>
-<!--238-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--238--></AD_MENU>
-
 <!--240--><AD_MENU>
 <!--240-->  <AD_MENU_ID><![CDATA[240]]></AD_MENU_ID>
 <!--240-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -1888,19 +1875,6 @@
 <!--394-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
 <!--394--></AD_MENU>
 
-<!--396--><AD_MENU>
-<!--396-->  <AD_MENU_ID><![CDATA[396]]></AD_MENU_ID>
-<!--396-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--396-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--396-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--396-->  <NAME><![CDATA[Send Mail Text]]></NAME>
-<!--396-->  <DESCRIPTION><![CDATA[Send EMails to active subscribers of the Areas of Interest or Business Partner Group]]></DESCRIPTION>
-<!--396-->  <ISSUMMARY><![CDATA[N]]></ISSUMMARY>
-<!--396-->  <ACTION><![CDATA[P]]></ACTION>
-<!--396-->  <AD_PROCESS_ID><![CDATA[209]]></AD_PROCESS_ID>
-<!--396-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--396--></AD_MENU>
-
 <!--398--><AD_MENU>
 <!--398-->  <AD_MENU_ID><![CDATA[398]]></AD_MENU_ID>
 <!--398-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_MODEL_OBJECT.xml	Wed Apr 27 16:08:09 2011 +0200
+++ b/src-db/database/sourcedata/AD_MODEL_OBJECT.xml	Wed Apr 27 17:28:33 2011 +0200
@@ -1116,18 +1116,6 @@
 <!--800723-->  <OBJECT_TYPE><![CDATA[S]]></OBJECT_TYPE>
 <!--800723--></AD_MODEL_OBJECT>
 
-<!--800731--><AD_MODEL_OBJECT>
-<!--800731-->  <AD_MODEL_OBJECT_ID><![CDATA[800731]]></AD_MODEL_OBJECT_ID>
-<!--800731-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--800731-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--800731-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--800731-->  <ACTION><![CDATA[P]]></ACTION>
-<!--800731-->  <CLASSNAME><![CDATA[org.openbravo.erpCommon.ad_process.SendMailText]]></CLASSNAME>
-<!--800731-->  <ISDEFAULT><![CDATA[Y]]></ISDEFAULT>
-<!--800731-->  <AD_PROCESS_ID><![CDATA[209]]></AD_PROCESS_ID>
-<!--800731-->  <OBJECT_TYPE><![CDATA[S]]></OBJECT_TYPE>
-<!--800731--></AD_MODEL_OBJECT>
-
 <!--800734--><AD_MODEL_OBJECT>
 <!--800734-->  <AD_MODEL_OBJECT_ID><![CDATA[800734]]></AD_MODEL_OBJECT_ID>
 <!--800734-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml	Wed Apr 27 16:08:09 2011 +0200
+++ b/src-db/database/sourcedata/AD_MODEL_OBJECT_MAPPING.xml	Wed Apr 27 17:28:33 2011 +0200
@@ -920,16 +920,6 @@
 <!--800929-->  <ISDEFAULT><![CDATA[Y]]></ISDEFAULT>
 <!--800929--></AD_MODEL_OBJECT_MAPPING>
 
-<!--800937--><AD_MODEL_OBJECT_MAPPING>
-<!--800937-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[800937]]></AD_MODEL_OBJECT_MAPPING_ID>
-<!--800937-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--800937-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--800937-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--800937-->  <AD_MODEL_OBJECT_ID><![CDATA[800731]]></AD_MODEL_OBJECT_ID>
-<!--800937-->  <MAPPINGNAME><![CDATA[/ad_process/SendMailText.html]]></MAPPINGNAME>
-<!--800937-->  <ISDEFAULT><![CDATA[Y]]></ISDEFAULT>
-<!--800937--></AD_MODEL_OBJECT_MAPPING>
-
 <!--800940--><AD_MODEL_OBJECT_MAPPING>
 <!--800940-->  <AD_MODEL_OBJECT_MAPPING_ID><![CDATA[800940]]></AD_MODEL_OBJECT_MAPPING_ID>
 <!--800940-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_PROCESS.xml	Wed Apr 27 16:08:09 2011 +0200
+++ b/src-db/database/sourcedata/AD_PROCESS.xml	Wed Apr 27 17:28:33 2011 +0200
@@ -1583,26 +1583,6 @@
 <!--208-->  <UIPATTERN><![CDATA[M]]></UIPATTERN>
 <!--208--></AD_PROCESS>
 
-<!--209--><AD_PROCESS>
-<!--209-->  <AD_PROCESS_ID><![CDATA[209]]></AD_PROCESS_ID>
-<!--209-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--209-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--209-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--209-->  <VALUE><![CDATA[R_MailText Send]]></VALUE>
-<!--209-->  <NAME><![CDATA[Send Mail Text]]></NAME>
-<!--209-->  <DESCRIPTION><![CDATA[Send EMails to Business Partner Group]]></DESCRIPTION>
-<!--209-->  <HELP><![CDATA[You can send mails to the Contacts of a Business Partner Group. The User to send emails from needs to have valid EMail information.]]></HELP>
-<!--209-->  <ACCESSLEVEL><![CDATA[6]]></ACCESSLEVEL>
-<!--209-->  <ISUSERSTARTABLE><![CDATA[N]]></ISUSERSTARTABLE>
-<!--209-->  <ISREPORT><![CDATA[N]]></ISREPORT>
-<!--209-->  <ISDIRECTPRINT><![CDATA[N]]></ISDIRECTPRINT>
-<!--209-->  <CLASSNAME><![CDATA[ad_process/SendMailText.html]]></CLASSNAME>
-<!--209-->  <ISBACKGROUND><![CDATA[N]]></ISBACKGROUND>
-<!--209-->  <ISJASPER><![CDATA[N]]></ISJASPER>
-<!--209-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--209-->  <UIPATTERN><![CDATA[M]]></UIPATTERN>
-<!--209--></AD_PROCESS>
-
 <!--210--><AD_PROCESS>
 <!--210-->  <AD_PROCESS_ID><![CDATA[210]]></AD_PROCESS_ID>
 <!--210-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_PROCESS_PARA.xml	Wed Apr 27 16:08:09 2011 +0200
+++ b/src-db/database/sourcedata/AD_PROCESS_PARA.xml	Wed Apr 27 17:28:33 2011 +0200
@@ -2338,83 +2338,6 @@
 <!--312-->  <AD_ELEMENT_ID><![CDATA[2153]]></AD_ELEMENT_ID>
 <!--312--></AD_PROCESS_PARA>
 
-<!--313--><AD_PROCESS_PARA>
-<!--313-->  <AD_PROCESS_PARA_ID><![CDATA[313]]></AD_PROCESS_PARA_ID>
-<!--313-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--313-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--313-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--313-->  <NAME><![CDATA[Areas of Interest]]></NAME>
-<!--313-->  <DESCRIPTION><![CDATA[Areas of Interest or Topic]]></DESCRIPTION>
-<!--313-->  <HELP><![CDATA[Areas of Interest reflect interest in a topic by a contact. Areas of Interest can be used for marketing campaigns.]]></HELP>
-<!--313-->  <AD_PROCESS_ID><![CDATA[209]]></AD_PROCESS_ID>
-<!--313-->  <SEQNO><![CDATA[20]]></SEQNO>
-<!--313-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
-<!--313-->  <COLUMNNAME><![CDATA[R_InterestArea_ID]]></COLUMNNAME>
-<!--313-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
-<!--313-->  <FIELDLENGTH><![CDATA[0]]></FIELDLENGTH>
-<!--313-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
-<!--313-->  <ISRANGE><![CDATA[N]]></ISRANGE>
-<!--313-->  <AD_ELEMENT_ID><![CDATA[1893]]></AD_ELEMENT_ID>
-<!--313--></AD_PROCESS_PARA>
-
-<!--314--><AD_PROCESS_PARA>
-<!--314-->  <AD_PROCESS_PARA_ID><![CDATA[314]]></AD_PROCESS_PARA_ID>
-<!--314-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--314-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--314-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--314-->  <NAME><![CDATA[Mail Template]]></NAME>
-<!--314-->  <DESCRIPTION><![CDATA[A template used to organize and send mail using a standard format.]]></DESCRIPTION>
-<!--314-->  <HELP><![CDATA[The Mail Template indicates the mail template for return messages.]]></HELP>
-<!--314-->  <AD_PROCESS_ID><![CDATA[209]]></AD_PROCESS_ID>
-<!--314-->  <SEQNO><![CDATA[10]]></SEQNO>
-<!--314-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
-<!--314-->  <COLUMNNAME><![CDATA[R_MailText_ID]]></COLUMNNAME>
-<!--314-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
-<!--314-->  <FIELDLENGTH><![CDATA[0]]></FIELDLENGTH>
-<!--314-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
-<!--314-->  <ISRANGE><![CDATA[N]]></ISRANGE>
-<!--314-->  <AD_ELEMENT_ID><![CDATA[1515]]></AD_ELEMENT_ID>
-<!--314--></AD_PROCESS_PARA>
-
-<!--315--><AD_PROCESS_PARA>
-<!--315-->  <AD_PROCESS_PARA_ID><![CDATA[315]]></AD_PROCESS_PARA_ID>
-<!--315-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--315-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--315-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--315-->  <NAME><![CDATA[User/Contact]]></NAME>
-<!--315-->  <DESCRIPTION><![CDATA[An acquaintance to reach for information related to the business partner.]]></DESCRIPTION>
-<!--315-->  <HELP><![CDATA[The User identifies a unique user in the system. This could be an internal user or a business partner contact]]></HELP>
-<!--315-->  <AD_PROCESS_ID><![CDATA[209]]></AD_PROCESS_ID>
-<!--315-->  <SEQNO><![CDATA[40]]></SEQNO>
-<!--315-->  <AD_REFERENCE_ID><![CDATA[18]]></AD_REFERENCE_ID>
-<!--315-->  <AD_REFERENCE_VALUE_ID><![CDATA[286]]></AD_REFERENCE_VALUE_ID>
-<!--315-->  <COLUMNNAME><![CDATA[AD_User_ID]]></COLUMNNAME>
-<!--315-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
-<!--315-->  <FIELDLENGTH><![CDATA[0]]></FIELDLENGTH>
-<!--315-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
-<!--315-->  <ISRANGE><![CDATA[N]]></ISRANGE>
-<!--315-->  <AD_ELEMENT_ID><![CDATA[138]]></AD_ELEMENT_ID>
-<!--315--></AD_PROCESS_PARA>
-
-<!--316--><AD_PROCESS_PARA>
-<!--316-->  <AD_PROCESS_PARA_ID><![CDATA[316]]></AD_PROCESS_PARA_ID>
-<!--316-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--316-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--316-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--316-->  <NAME><![CDATA[Business Partner Category]]></NAME>
-<!--316-->  <DESCRIPTION><![CDATA[A classification of business partners based on defined similarities.]]></DESCRIPTION>
-<!--316-->  <HELP><![CDATA[A way of grouping business partners together for classification and reporting purposes. Provides a method of defining certain defaults to be used when opening new business partners.]]></HELP>
-<!--316-->  <AD_PROCESS_ID><![CDATA[209]]></AD_PROCESS_ID>
-<!--316-->  <SEQNO><![CDATA[30]]></SEQNO>
-<!--316-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
-<!--316-->  <COLUMNNAME><![CDATA[C_BP_Group_ID]]></COLUMNNAME>
-<!--316-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
-<!--316-->  <FIELDLENGTH><![CDATA[0]]></FIELDLENGTH>
-<!--316-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
-<!--316-->  <ISRANGE><![CDATA[N]]></ISRANGE>
-<!--316-->  <AD_ELEMENT_ID><![CDATA[1383]]></AD_ELEMENT_ID>
-<!--316--></AD_PROCESS_PARA>
-
 <!--317--><AD_PROCESS_PARA>
 <!--317-->  <AD_PROCESS_PARA_ID><![CDATA[317]]></AD_PROCESS_PARA_ID>
 <!--317-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_REFERENCE.xml	Wed Apr 27 16:08:09 2011 +0200
+++ b/src-db/database/sourcedata/AD_REFERENCE.xml	Wed Apr 27 17:28:33 2011 +0200
@@ -2596,20 +2596,6 @@
 <!--273-->  <ISVALUEDISPLAYED><![CDATA[N]]></ISVALUEDISPLAYED>
 <!--273--></AD_REFERENCE>
 
-<!--274--><AD_REFERENCE>
-<!--274-->  <AD_REFERENCE_ID><![CDATA[274]]></AD_REFERENCE_ID>
-<!--274-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--274-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--274-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--274-->  <NAME><![CDATA[R_MailText]]></NAME>
-<!--274-->  <DESCRIPTION><![CDATA[Mail Text]]></DESCRIPTION>
-<!--274-->  <VALIDATIONTYPE><![CDATA[T]]></VALIDATIONTYPE>
-<!--274-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--274-->  <ISBASEREFERENCE><![CDATA[N]]></ISBASEREFERENCE>
-<!--274-->  <PARENTREFERENCE_ID><![CDATA[18]]></PARENTREFERENCE_ID>
-<!--274-->  <ISVALUEDISPLAYED><![CDATA[N]]></ISVALUEDISPLAYED>
-<!--274--></AD_REFERENCE>
-
 <!--275--><AD_REFERENCE>
 <!--275-->  <AD_REFERENCE_ID><![CDATA[275]]></AD_REFERENCE_ID>
 <!--275-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_REF_TABLE.xml	Wed Apr 27 16:08:09 2011 +0200
+++ b/src-db/database/sourcedata/AD_REF_TABLE.xml	Wed Apr 27 17:28:33 2011 +0200
@@ -796,17 +796,6 @@
 <!--273-->  <WHERECLAUSE><![CDATA[C_ElementValue.IsSummary='Y']]></WHERECLAUSE>
 <!--273--></AD_REF_TABLE>
 
-<!--274--><AD_REF_TABLE>
-<!--274-->  <AD_REFERENCE_ID><![CDATA[274]]></AD_REFERENCE_ID>
-<!--274-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--274-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--274-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--274-->  <AD_TABLE_ID><![CDATA[416]]></AD_TABLE_ID>
-<!--274-->  <AD_KEY><![CDATA[5403]]></AD_KEY>
-<!--274-->  <AD_DISPLAY><![CDATA[5411]]></AD_DISPLAY>
-<!--274-->  <ISVALUEDISPLAYED><![CDATA[N]]></ISVALUEDISPLAYED>
-<!--274--></AD_REF_TABLE>
-
 <!--275--><AD_REF_TABLE>
 <!--275-->  <AD_REFERENCE_ID><![CDATA[275]]></AD_REFERENCE_ID>
 <!--275-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_TAB.xml	Wed Apr 27 16:08:09 2011 +0200
+++ b/src-db/database/sourcedata/AD_TAB.xml	Wed Apr 27 17:28:33 2011 +0200
@@ -3644,29 +3644,6 @@
 <!--343-->  <UIPATTERN><![CDATA[STD]]></UIPATTERN>
 <!--343--></AD_TAB>
 
-<!--347--><AD_TAB>
-<!--347-->  <AD_TAB_ID><![CDATA[347]]></AD_TAB_ID>
-<!--347-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--347-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--347-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--347-->  <NAME><![CDATA[Mail Template]]></NAME>
-<!--347-->  <DESCRIPTION><![CDATA[Mail template configuration]]></DESCRIPTION>
-<!--347-->  <HELP><![CDATA[The mail template configuration includes all template parameter configurations for the use.]]></HELP>
-<!--347-->  <AD_TABLE_ID><![CDATA[416]]></AD_TABLE_ID>
-<!--347-->  <AD_WINDOW_ID><![CDATA[204]]></AD_WINDOW_ID>
-<!--347-->  <SEQNO><![CDATA[10]]></SEQNO>
-<!--347-->  <TABLEVEL><![CDATA[0]]></TABLEVEL>
-<!--347-->  <ISSINGLEROW><![CDATA[Y]]></ISSINGLEROW>
-<!--347-->  <ISINFOTAB><![CDATA[N]]></ISINFOTAB>
-<!--347-->  <ISTRANSLATIONTAB><![CDATA[N]]></ISTRANSLATIONTAB>
-<!--347-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
-<!--347-->  <HASTREE><![CDATA[N]]></HASTREE>
-<!--347-->  <PROCESSING><![CDATA[N]]></PROCESSING>
-<!--347-->  <ISSORTTAB><![CDATA[N]]></ISSORTTAB>
-<!--347-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--347-->  <UIPATTERN><![CDATA[STD]]></UIPATTERN>
-<!--347--></AD_TAB>
-
 <!--351--><AD_TAB>
 <!--351-->  <AD_TAB_ID><![CDATA[351]]></AD_TAB_ID>
 <!--351-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_TABLE.xml	Wed Apr 27 16:08:09 2011 +0200
+++ b/src-db/database/sourcedata/AD_TABLE.xml	Wed Apr 27 17:28:33 2011 +0200
@@ -3392,28 +3392,6 @@
 <!--415-->  <AD_PACKAGE_ID><![CDATA[5A3ED54AB1CF4B84E040007F01006125]]></AD_PACKAGE_ID>
 <!--415--></AD_TABLE>
 
-<!--416--><AD_TABLE>
-<!--416-->  <AD_TABLE_ID><![CDATA[416]]></AD_TABLE_ID>
-<!--416-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--416-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--416-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--416-->  <NAME><![CDATA[MarketingMailText]]></NAME>
-<!--416-->  <DESCRIPTION><![CDATA[Mail template configuration]]></DESCRIPTION>
-<!--416-->  <HELP><![CDATA[The mail template configuration includes all template parameter configurations for the use.]]></HELP>
-<!--416-->  <TABLENAME><![CDATA[R_MailText]]></TABLENAME>
-<!--416-->  <CLASSNAME><![CDATA[MailText]]></CLASSNAME>
-<!--416-->  <ISVIEW><![CDATA[N]]></ISVIEW>
-<!--416-->  <ACCESSLEVEL><![CDATA[7]]></ACCESSLEVEL>
-<!--416-->  <AD_WINDOW_ID><![CDATA[204]]></AD_WINDOW_ID>
-<!--416-->  <ISSECURITYENABLED><![CDATA[N]]></ISSECURITYENABLED>
-<!--416-->  <ISDELETEABLE><![CDATA[Y]]></ISDELETEABLE>
-<!--416-->  <ISHIGHVOLUME><![CDATA[N]]></ISHIGHVOLUME>
-<!--416-->  <ISCHANGELOG><![CDATA[N]]></ISCHANGELOG>
-<!--416-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
-<!--416-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
-<!--416-->  <AD_PACKAGE_ID><![CDATA[5A3ED54AB1EE4B84E040007F01006125]]></AD_PACKAGE_ID>
-<!--416--></AD_TABLE>
-
 <!--422--><AD_TABLE>
 <!--422-->  <AD_TABLE_ID><![CDATA[422]]></AD_TABLE_ID>
 <!--422-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src-db/database/sourcedata/AD_TREENODE.xml	Wed Apr 27 16:08:09 2011 +0200
+++ b/src-db/database/sourcedata/AD_TREENODE.xml	Wed Apr 27 17:28:33 2011 +0200
@@ -1066,17 +1066,6 @@
 <!--52118BF1A2564D84E040007F01005FEC-->  <SEQNO><![CDATA[10]]></SEQNO>
 <!--52118BF1A2564D84E040007F01005FEC--></AD_TREENODE>
 
-<!--52118BF1A2584D84E040007F01005FEC--><AD_TREENODE>
-<!--52118BF1A2584D84E040007F01005FEC-->  <AD_TREENODE_ID><![CDATA[52118BF1A2584D84E040007F01005FEC]]></AD_TREENODE_ID>
-<!--52118BF1A2584D84E040007F01005FEC-->  <AD_TREE_ID><![CDATA[10]]></AD_TREE_ID>
-<!--52118BF1A2584D84E040007F01005FEC-->  <NODE_ID><![CDATA[238]]></NODE_ID>
-<!--52118BF1A2584D84E040007F01005FEC-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--52118BF1A2584D84E040007F01005FEC-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--52118BF1A2584D84E040007F01005FEC-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--52118BF1A2584D84E040007F01005FEC-->  <PARENT_ID><![CDATA[272]]></PARENT_ID>
-<!--52118BF1A2584D84E040007F01005FEC-->  <SEQNO><![CDATA[60]]></SEQNO>
-<!--52118BF1A2584D84E040007F01005FEC--></AD_TREENODE>
-
 <!--52118BF1A2594D84E040007F01005FEC--><AD_TREENODE>
 <!--52118BF1A2594D84E040007F01005FEC-->  <AD_TREENODE_ID><![CDATA[52118BF1A2594D84E040007F01005FEC]]></AD_TREENODE_ID>
 <!--52118BF1A2594D84E040007F01005FEC-->  <AD_TREE_ID><![CDATA[10]]></AD_TREE_ID>
@@ -1605,17 +1594,6 @@
 <!--52118BF1A2A64D84E040007F01005FEC-->  <SEQNO><![CDATA[70]]></SEQNO>
 <!--52118BF1A2A64D84E040007F01005FEC--></AD_TREENODE>
 
-<!--52118BF1A2A74D84E040007F01005FEC--><AD_TREENODE>
-<!--52118BF1A2A74D84E040007F01005FEC-->  <AD_TREENODE_ID><![CDATA[52118BF1A2A74D84E040007F01005FEC]]></AD_TREENODE_ID>
-<!--52118BF1A2A74D84E040007F01005FEC-->  <AD_TREE_ID><![CDATA[10]]></AD_TREE_ID>
-<!--52118BF1A2A74D84E040007F01005FEC-->  <NODE_ID><![CDATA[396]]></NODE_ID>
-<!--52118BF1A2A74D84E040007F01005FEC-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--52118BF1A2A74D84E040007F01005FEC-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--52118BF1A2A74D84E040007F01005FEC-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--52118BF1A2A74D84E040007F01005FEC-->  <PARENT_ID><![CDATA[800237]]></PARENT_ID>
-<!--52118BF1A2A74D84E040007F01005FEC-->  <SEQNO><![CDATA[30]]></SEQNO>
-<!--52118BF1A2A74D84E040007F01005FEC--></AD_TREENODE>
-
 <!--52118BF1A2A94D84E040007F01005FEC--><AD_TREENODE>
 <!--52118BF1A2A94D84E040007F01005FEC-->  <AD_TREENODE_ID><![CDATA[52118BF1A2A94D84E040007F01005FEC]]></AD_TREENODE_ID>
 <!--52118BF1A2A94D84E040007F01005FEC-->  <AD_TREE_ID><![CDATA[10]]></AD_TREE_ID>
--- a/src-db/database/sourcedata/AD_WINDOW.xml	Wed Apr 27 16:08:09 2011 +0200
+++ b/src-db/database/sourcedata/AD_WINDOW.xml	Wed Apr 27 17:28:33 2011 +0200
@@ -1023,21 +1023,6 @@
 <!--200-->  <ISTHREADSAFE><![CDATA[N]]></ISTHREADSAFE>
 <!--200--></AD_WINDOW>
 
-<!--204--><AD_WINDOW>
-<!--204-->  <AD_WINDOW_ID><![CDATA[204]]></AD_WINDOW_ID>
-<!--204-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
-<!--204-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
-<!--204-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
-<!--204-->  <NAME><![CDATA[Mail Template]]></NAME>
-<!--204-->  <DESCRIPTION><![CDATA[Maintain Mail Template]]></DESCRIPTION>
-<!--204-->  <WINDOWTYPE><![CDATA[M]]></WINDOWTYPE>
-<!--204-->  <ISSOTRX><![CDATA[Y]]></ISSOTRX>
-<!--204-->  <PROCESSING><![CDATA[N]]></PROCESSING>
-<!--204-->  <ISDEFAULT><![CDATA[N]]></ISDEFAULT>
-<!--204-->  <AD_MODULE_ID><![CDATA[0]]></AD_MODULE_ID>
-<!--204-->  <ISTHREADSAFE><![CDATA[N]]></ISTHREADSAFE>
-<!--204--></AD_WINDOW>
-
 <!--207--><AD_WINDOW>
 <!--207-->  <AD_WINDOW_ID><![CDATA[207]]></AD_WINDOW_ID>
 <!--207-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/src/org/openbravo/erpCommon/ad_process/SendMailText.html	Wed Apr 27 16:08:09 2011 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,362 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD Xhtml 1.0 Transitional//EN" "http://www.w3.org/tr/xhtml1/Dtd/xhtml1-transitional.dtd">
-<!--
- *************************************************************************
- * The contents of this file are subject to the Openbravo  Public  License
- * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
- * Version 1.1  with a permitted attribution clause; you may not  use this
- * file except in compliance with the License. You  may  obtain  a copy of
- * the License at http://www.openbravo.com/legal/license.html 
- * Software distributed under the License  is  distributed  on  an "AS IS"
- * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
- * License for the specific  language  governing  rights  and  limitations
- * under the License. 
- * The Original Code is Openbravo ERP. 
- * The Initial Developer of the Original Code is Openbravo SLU 
- * All portions are Copyright (C) 2001-2011 Openbravo SLU 
- * All Rights Reserved. 
- * Contributor(s):  ______________________________________.
- ************************************************************************
--->
-<html xmlns="http://www.w3.org/1999/xhtml">
-  <head>
-    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-    <title>Send mail text</title>
-    <link rel="shortcut icon" href="../../../../../web/images/favicon.ico" type="image/x-icon" />
-    <link rel="stylesheet" type="text/css" href="../../../../../web/skins/Default/Openbravo_ERP_250.css" id="paramCSS"></link>
-    <script language="JavaScript" type="text/javascript" id="paramDirectory">
-      var baseDirectory = "../../../../../web/";
-    </script>
-    <script language="JavaScript" src="../utility/DynamicJS.js" type="text/javascript"></script>
-    <script language="JavaScript" type="text/javascript" id="paramLanguage">
-      var defaultLang = "en_US";
-    </script>
-    <script language="JavaScript" src="../../../../../web/js/shortcuts.js" type="text/javascript"></script>
-    <script language="JavaScript" src="../../../../../web/js/utils.js" type="text/javascript"></script>
-    <script language="JavaScript" src="../../../../../web/js/windowKeyboard.js" type="text/javascript"></script>
-    <script language="JavaScript" src="../../../../../web/js/searchs.js" type="text/javascript"></script>
-    <script language="JavaScript" src="../../../../../web/js/jscalendar/calendar.js" type="text/javascript"></script>
-    <script language="JavaScript" src="../../../../../web/js/ajax.js" type="text/javascript"></script>
-    <script language="JavaScript" src="../../../../../web/js/default/MessageBox.js" type="text/javascript"></script>
-    <script language="JavaScript" src="../../../../../web/js/messages.js" type="text/javascript"></script>
-    <script language="JavaScript" src="../utility/DynamicJS.js" type="text/javascript"></script>
-    <script language="JavaScript" type="text/javascript" id="paramDirectory">var baseDirectory = "../../../../web/";</script>
-    <script language="JavaScript" type="text/javascript">
-      function validate() {
-        var frm = document.frmMain;
-        if (frm.inpMailTemplate.value==null || frm.inpMailTemplate.value=="") {
-          setWindowElementFocus(frm.inpMailTemplate);
-          showJSMessage(7);
-          return false;
-        }
-        return true;
-      }
-
-      function onloadFunctions() {
-      }
-    </script>
-  	<script language="JavaScript" type="text/javascript">
-	function onLoadDo(){
-		this.windowTables = new Array(
-		  new windowTableId('client', 'buttonOK')
-		);
-		setWindowTableParentElement();
-		this.tabsTables = new Array(
-		  new tabTableId('tdtopTabs')
-		);
-		setTabTableParentElement();
-		enableShortcuts('edition');
-		setBrowserAutoComplete(false);
-		
-		try {
-		  onloadFunctions();
-		} catch (e) {}
-		setFocusFirstControl(null, 'inpMailTemplate');
-		xx();
-		resizeArea();
-		updateMenuIcon('buttonMenu');
-
-		setWindowElementFocus('firstElement');
-	}
-
-	function onResizeDo(){
-		resizeArea();
-	}
-	</script>
-</head>
-  <body onload="onLoadDo();" onresize="onResizeDo();" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" id="paramBody">
-    <form id="form" method="post" action="SendMailText.html" name="frmMain">
-      <input type="hidden" name="Command"></input>
-      <input type="hidden" name="IsPopUpCall" value="1"></input>
-      <input type="hidden" name="inpLastFieldChanged"></input>
-      <table height="100%" border="0" cellpadding="0" cellspacing="0" id="main">
-        <tr>
-          <td valign="top" id="tdleftTabs"></td>
-          <td valign="top">
-            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_Left">
-              <tr>
-                <td class="Main_NavBar_bg_left" id="tdleftSeparator"></td>
-              </tr>
-              <tr>
-                <td class="Main_ToolBar_bg_left" valign="top"></td>
-              </tr>
-              <tr>
-                <td class="Main_Client_bg_left"></td>
-              </tr>
-              <tr>
-                <td class="Main_Bottom_bg_left"></td>
-              </tr>
-            </table>
-          </td>
-          <td valign="top">
-            <div class="Main_ContentPane_NavBar" id="tdtopButtons"></div>
-            <div class="Main_ContentPane_ToolBar" id="paramToolBar"></div>
-            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_TabPane" id="tdtopTabs">
-              <tr id="paramParentTabContainer"></tr>
-              <tr id="paramMainTabContainer"></tr>
-              <tr id="paramChildTabContainer"></tr>
-            </table>
-            <div class="Main_ContentPane_Client" style="overflow: auto;" id="client">
-              <table class="dojoTabContainer" border="0" cellpadding="0" cellspacing="0" width="100%" summary="">
-                <tr>
-                  <td>
-                    <table class="dojoTabPaneWrapper" border="0" cellpadding="0" cellspacing="0" width="100%" summary="">
-                      <tr>
-                        <td>
-                          <!-- MessageBox -->
-                          <table cellpadding="0" cellspacing="0" id="messageBoxID" class="MessageBoxyy">
-                            <tbody>
-                              <tr class="MessageBox_TopMargin">
-                                <td class="MessageBox_LeftMargin"></td>
-                                <td></td>
-                                <td class="MessageBox_RightMargin"></td>
-                              </tr>
-                              <tr>
-                                <td class="MessageBox_LeftMargin"></td>
-                                <td>
-                                  <table cellpadding="0" cellspacing="0" class="MessageBox_Container">
-                                    <tbody>
-                                      <tr>
-                                        <td class="MessageBox_LeftTrans">
-                                          <table style="width: 100%; height: 100%" cellpadding="0" cellspacing="0">
-                                            <tbody>
-                                            <tr>
-                                              <td class="MessageBox_TopLeft"></td>
-                                            </tr>
-                                            <tr>
-                                              <td class="MessageBox_Left"></td>
-                                            </tr>
-                                            </tbody>
-                                          </table>
-                                        </td>
-                                        <td class="MessageBox_bg">
-                                          <table class="MessageBox_Top">
-                                            <tbody>
-                                              <tr>
-                                                <td>
-                                                  <span>
-                                                    <table cellpadding="0" cellspacing="0" class="MessageBox_Body_ContentCell">
-                                                      <tbody>
-                                                        <tr>
-                                                          <td class="MessageBox_Icon_ContentCell">
-                                                            <div class="MessageBox_Icon"></div>
-                                                          </td>
-                                                          <td style="vertical-align: top;" id="messageBoxIDContent">
-                                                            <span>
-                                                              <div class="MessageBox_TextTitle" id="messageBoxIDTitle">
-                                                                xxInfo: AccessTableWithNoView
-                                                              </div>
-                                                              <div class="MessageBox_TextDescription" id="messageBoxIDMessage">
-                                                                xxThe current information is empty.
-                                                              </div>
-                                                              <div class="MessageBox_TextSeparator"></div>
-                                                            </span>
-                                                          </td>
-                                                        </tr>
-                                                      </tbody>
-                                                    </table>
-                                                  </span>
-                                                </td>
-                                              </tr>
-                                            </tbody>
-                                          </table>
-                                        </td>
-                                        <td class="MessageBox_RightTrans">
-                                          <table style="width: 100%; height: 100%" cellpadding="0" cellspacing="0">
-                                            <tbody>
-                                            <tr>
-                                              <td class="MessageBox_TopRight"></td>
-                                            </tr>
-                                            <tr>
-                                              <td class="MessageBox_Right"></td>
-                                            </tr>
-                                            </tbody>
-                                          </table>
-                                        </td>
-                                      </tr>
-                                      <tr>
-                                        <td rowspan="2" class="MessageBox_BottomLeft"></td>
-                                        <td class="MessageBox_BottomTrans MessageBox_bg"></td>
-                                        <td rowspan="2" class="MessageBox_BottomRight"></td>
-                                      </tr>
-                                      <tr>
-                                        <td class="MessageBox_Bottom"></td>
-                                      </tr>
-                                    </tbody>
-                                  </table>
-                                </td>
-                                <td class="MessageBox_RightMargin"></td>
-                              </tr>
-                              <tr class="MessageBox_BottomMargin">
-                                <td class="MessageBox_LeftMargin"></td>
-                                <td></td>
-                                <td class="MessageBox_RightMargin"></td>
-                              </tr>
-                            </tbody>
-                          </table>
-                          <!-- USER CONTROLS -->
-                          <table class="Main_Client_TableEdition">
-                            <tr>
-                              <td class="TableEdition_OneCell_width"></td>
-                              <td class="TableEdition_OneCell_width"></td>
-                              <td class="TableEdition_OneCell_width"></td>
-                              <td class="TableEdition_OneCell_width"></td>
-                              <td class="TableEdition_OneCell_width"></td>
-                              <td class="TableEdition_OneCell_width"></td>
-                            </tr>
-                            <tr>
-                              <td colspan="6">
-                                <table cellspacing="0" cellpadding="0" class="Popup_ContentPane_InfoBar">
-                                  <tr>
-                                    <td class="Popup_InfoBar_Icon_cell">
-                                      <img src="../../../../../web/images/blank.gif" border="0" class="Popup_InfoBar_Icon_info"></img>
-                                    </td>
-                                    <td class="Popup_InfoBar_text_table">
-                                      <table>
-                                        <tr>
-                                          <td class="Popup_InfoBar_text" id="helpDiscard">
-                                            <span id="processHelp">&nbsp;</span>
-                                          </td>
-                                        </tr>
-                                      </table>
-                                    </td>
-                                  </tr>
-                                </table>
-                              </td>
-                            </tr>
-                            <tr>
-                              <td colspan="6" height="15px"></td>
-                            </tr>
-                            <tr>
-                              <td class="TitleCell">
-                                <span class="LabelText">Email template</span>
-                              </td>
-                              <td class="Combo_ContentCell" colspan="2">
-                                <select name="inpMailTemplate" id="inpMailTemplate" class="ComboKey Combo_TwoCells_width" onchange="logChanges(this);return true;">
-                                  <option value=""></option>
-                                  <div id="reportMailTemplate"></div>
-                                </select>
-                              </td>
-                            </tr>
-                            <tr>
-                              <td class="TitleCell">
-                                <span class="LabelText">Business Partner Group</span>
-                              </td>
-                              <td class="Combo_ContentCell" colspan="2">
-                                <select name="inpBPGroup" id="inpBPGroup" class="Combo Combo_TwoCells_width">
-                                  <option value=""></option>
-                                  <div id="reportBPGroup"></div>
-                                </select>
-                              </td>
-                              <td class="TitleCell">
-                                <span class="LabelText">User/Contact</span>
-                              </td>
-                              <td class="Combo_ContentCell" colspan="2">
-                                <select name="inpUser" id="inpUser" class="Combo Combo_TwoCells_width">
-                                  <option value=""></option>
-                                  <div id="reportUser"></div>
-                                </select>
-                              </td>
-                            </tr>
-                            <tr>
-                              <td colspan="6" height="5px"></td>
-                            </tr>
-                            <tr>
-                              <td class="TitleCell"></td>
-                              <td class="TableEdition_FiveCells_width" colspan="5">
-                                <span class="LabelText" id="question"></span>
-                              </td>
-                            </tr>
-                            <tr>
-                              <td colspan="6" height="5px"></td>
-                            </tr>
-                            <tr>
-                              <td class="TitleCell"></td>
-                              <td class="Button_RightAlign_ContentCell">
-                                <div>
-                                  <button type="button" 
-                                    id="buttonOK" 
-                                    class="ButtonLink" 
-                                    onclick="submitCommandForm('SEND', true);return false;" 
-                                    onfocus="buttonEvent('onfocus', this); window.status='Accept'; return true;" 
-                                    onblur="buttonEvent('onblur', this);" 
-                                    onkeyup="buttonEvent('onkeyup', this);" 
-                                    onkeydown="buttonEvent('onkeydown', this);" 
-                                    onkeypress="buttonEvent('onkeypress', this);" 
-                                    onmouseup="buttonEvent('onmouseup', this);" 
-                                    onmousedown="buttonEvent('onmousedown', this);" 
-                                    onmouseover="buttonEvent('onmouseover', this); window.status='Accept'; return true;" 
-                                    onmouseout="buttonEvent('onmouseout', this);">
-                                    <table class="Button">
-                                      <tr>
-                                        <td class="Button_left"><img class="Button_Icon Button_Icon_ok" alt="Accept" title="Accept" src="../../../../../web/images/blank.gif" border="0" /></td>
-                                        <td class="Button_text Button_width">OK</td>
-                                        <td class="Button_right"></td>
-                                      </tr>
-                                    </table>
-                                  </button>
-                                </div>
-                              </td>
-                              <td class="Button_LeftAlign_ContentCell"></td>
-                              <td class="ContentCell"></td>
-                              <td class="TitleCell"></td>
-                              <td class="ContentCell"></td>
-                            </tr>
-                          </table>
-                          <!-- USER CONTROLS -->
-                        </td>
-                      </tr>
-                    </table>
-                  </td>
-                </tr>
-              </table>
-            </div>
-            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="Menu_ContentPane_Bottom" id="tdbottomSeparator">
-              <tr>
-                <td class="Main_Bottom_bg">
-                  <img src="../../../../../web/images/blank.gif" border="0"></img>
-                </td>
-              </tr>
-            </table>
-          </td>
-          <td valign="top">
-            <table width="100%" border="0" cellspacing="0" cellpadding="0" class="Main_ContentPane_Right" id="tdrightSeparator">
-              <tr>
-                <td class="Main_NavBar_bg_right"></td>
-              </tr>
-              <tr>
-                <td class="Main_ToolBar_bg_right" valign="top"></td>
-              </tr>
-              <tr>
-                <td class="Main_Client_bg_right"></td>
-              </tr>
-              <tr>
-                <td class="Main_Bottom_bg_right"></td>
-              </tr>
-            </table>
-          </td>
-        </tr>
-      </table>
-    </form>
-  </body>
-</html>
--- a/src/org/openbravo/erpCommon/ad_process/SendMailText.java	Wed Apr 27 16:08:09 2011 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,333 +0,0 @@
-/*
- ******************************************************************************
- * The contents of this file are subject to the   Compiere License  Version 1.1
- * ("License"); You may not use this file except in compliance with the License
- * You may obtain a copy of the License at http://www.compiere.org/license.html
- * Software distributed under the License is distributed on an  "AS IS"  basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
- * the specific language governing rights and limitations under the License.
- * The Original Code is                  Compiere  ERP & CRM  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-2011 Openbravo S.L.U.
- ******************************************************************************
- */
-package org.openbravo.erpCommon.ad_process;
-
-import java.io.IOException;
-import java.io.PrintWriter;
-import java.sql.Connection;
-
-import javax.servlet.ServletException;
-import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
-
-import org.openbravo.base.secureApp.HttpSecureAppServlet;
-import org.openbravo.base.secureApp.VariablesSecureApp;
-import org.openbravo.erpCommon.ad_actionButton.ActionButtonDefaultData;
-import org.openbravo.erpCommon.businessUtility.EMail;
-import org.openbravo.erpCommon.businessUtility.EmailData;
-import org.openbravo.erpCommon.businessUtility.WindowTabs;
-import org.openbravo.erpCommon.utility.ComboTableData;
-import org.openbravo.erpCommon.utility.LeftTabsBar;
-import org.openbravo.erpCommon.utility.NavigationBar;
-import org.openbravo.erpCommon.utility.OBError;
-import org.openbravo.erpCommon.utility.ToolBar;
-import org.openbravo.erpCommon.utility.Utility;
-import org.openbravo.utils.FormatUtilities;
-import org.openbravo.xmlEngine.XmlDocument;
-
-public class SendMailText extends HttpSecureAppServlet {
-  private static final long serialVersionUID = 1L;
-
-  private enum resultEnum {
-    SUCCESS, INFO, ERRORS
-  };
-
-  private resultEnum mailResult = resultEnum.SUCCESS;
-
-  public void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException,
-      ServletException {
-    VariablesSecureApp vars = new VariablesSecureApp(request);
-    OBError myMessage = new OBError();
-    vars.setMessage("SendMailText", myMessage);
-
-    if (vars.commandIn("DEFAULT")) {
-      String strMailTemplate = vars.getGlobalVariable("inpMailTemplate",
-          "SendMailText|mailTemplate", "");
-      String strInterestArea = vars.getGlobalVariable("inpInterestArea",
-          "SendMailText|interestArea", "");
-      String strBPGroup = vars.getGlobalVariable("inpBPGroup", "SendMailText|bpGroup", "");
-      String strUser = vars.getGlobalVariable("inpUser", "SendMailText|user", "");
-      printPage(response, vars, strMailTemplate, strBPGroup, strUser);
-    } else if (vars.commandIn("SEND")) {
-      String strMailTemplate = vars.getRequiredGlobalVariable("inpMailTemplate",
-          "SendMailText|mailTemplate");
-      String strBPGroup = vars.getRequestGlobalVariable("inpBPGroup", "SendMailText|bpGroup");
-      String strUser = vars.getRequestGlobalVariable("inpUser", "SendMailText|user");
-
-      vars.removeMessage("SendMailText");
-      String strMessage = processSend(vars, strMailTemplate, strBPGroup, strUser);
-      // New message system
-      myMessage = new OBError();
-      String result = getResult();
-      myMessage.setType(result);
-      myMessage.setTitle(result);
-      myMessage.setMessage(strMessage);
-      vars.setMessage("SendMailText", myMessage);
-
-      printPage(response, vars, strMailTemplate, strBPGroup, strUser);
-    } else
-      pageErrorPopUp(response);
-  }
-
-  private void printPage(HttpServletResponse response, VariablesSecureApp vars,
-      String strMailTemplate, String strBPGroup, String strUser) throws IOException,
-      ServletException {
-    if (log4j.isDebugEnabled())
-      log4j.debug("Output: SendMailText select page");
-
-    ActionButtonDefaultData[] data = null;
-    String strHelp = "", strDescription = "", strProcessId = "209";
-    String[] discard = { "" };
-    if (vars.getLanguage().equals("en_US"))
-      data = ActionButtonDefaultData.select(this, strProcessId);
-    else
-      data = ActionButtonDefaultData.selectLanguage(this, vars.getLanguage(), strProcessId);
-    if (data != null && data.length != 0) {
-      strDescription = data[0].description;
-      strHelp = data[0].help;
-    }
-    if (strHelp.equals(""))
-      discard[0] = new String("helpDiscard");
-
-    XmlDocument xmlDocument = xmlEngine.readXmlTemplate(
-        "org/openbravo/erpCommon/ad_process/SendMailText", discard).createXmlDocument();
-
-    ToolBar toolbar = new ToolBar(this, vars.getLanguage(), "SendMailText", false, "", "", "",
-        false, "ad_process", strReplaceWith, false, true);
-    toolbar.prepareSimpleToolBarTemplate();
-    xmlDocument.setParameter("toolbar", toolbar.toString());
-
-    xmlDocument.setParameter("directory", "var baseDirectory = \"" + strReplaceWith + "/\";\n");
-    xmlDocument.setParameter("paramLanguage", "defaultLang=\"" + vars.getLanguage() + "\";");
-    xmlDocument.setParameter("question", Utility.messageBD(this, "StartProcess?", vars
-        .getLanguage()));
-    xmlDocument.setParameter("description", strDescription);
-    xmlDocument.setParameter("help", strHelp);
-    xmlDocument.setParameter("mailTemplate", strMailTemplate);
-    xmlDocument.setParameter("bpGroup", strBPGroup);
-    xmlDocument.setParameter("user", strUser);
-    try {
-      WindowTabs tabs = new WindowTabs(this, vars,
-          "org.openbravo.erpCommon.ad_process.SendMailText");
-      xmlDocument.setParameter("parentTabContainer", tabs.parentTabs());
-      xmlDocument.setParameter("mainTabContainer", tabs.mainTabs());
-      xmlDocument.setParameter("childTabContainer", tabs.childTabs());
-      xmlDocument.setParameter("theme", vars.getTheme());
-      NavigationBar nav = new NavigationBar(this, vars.getLanguage(), "SendMailText.html",
-          classInfo.id, classInfo.type, strReplaceWith, tabs.breadcrumb());
-      xmlDocument.setParameter("navigationBar", nav.toString());
-      LeftTabsBar lBar = new LeftTabsBar(this, vars.getLanguage(), "SendMailText.html",
-          strReplaceWith);
-      xmlDocument.setParameter("leftTabs", lBar.manualTemplate());
-    } catch (Exception ex) {
-      throw new ServletException(ex);
-    }
-    {
-      OBError myMessage = vars.getMessage("SendMailText");
-      vars.removeMessage("SendMailText");
-      if (myMessage != null) {
-        xmlDocument.setParameter("messageType", myMessage.getType());
-        xmlDocument.setParameter("messageTitle", myMessage.getTitle());
-        xmlDocument.setParameter("messageMessage", myMessage.getMessage());
-      }
-    }
-
-    try {
-      ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR", "R_MailText_ID",
-          "", "", Utility.getContext(this, vars, "#AccessibleOrgTree", "SendMailText"), Utility
-              .getContext(this, vars, "#User_Client", "SendMailText"), 0);
-      Utility.fillSQLParameters(this, vars, null, comboTableData, "SendMailText", strMailTemplate);
-      xmlDocument.setData("reportMailTemplate", "liststructure", comboTableData.select(false));
-      comboTableData = null;
-    } catch (Exception ex) {
-      throw new ServletException(ex);
-    }
-
-    try {
-      ComboTableData comboTableData = new ComboTableData(vars, this, "TABLEDIR", "C_BP_Group_ID",
-          "", "", Utility.getContext(this, vars, "#AccessibleOrgTree", "SendMailText"), Utility
-              .getContext(this, vars, "#User_Client", "SendMailText"), 0);
-      Utility.fillSQLParameters(this, vars, null, comboTableData, "SendMailText", strBPGroup);
-      xmlDocument.setData("reportBPGroup", "liststructure", comboTableData.select(false));
-      comboTableData = null;
-    } catch (Exception ex) {
-      throw new ServletException(ex);
-    }
-
-    try {
-      ComboTableData comboTableData = new ComboTableData(vars, this, "TABLE", "User",
-          "AD_User - Internal", "", Utility.getContext(this, vars, "#AccessibleOrgTree",
-              "SendMailText"), Utility.getContext(this, vars, "#User_Client", "SendMailText"), 0);
-      Utility.fillSQLParameters(this, vars, null, comboTableData, "SendMailText", strUser);
-      xmlDocument.setData("reportUser", "liststructure", comboTableData.select(false));
-      comboTableData = null;
-    } catch (Exception ex) {
-      throw new ServletException(ex);
-    }
-
-    response.setContentType("text/html; charset=UTF-8");
-    PrintWriter out = response.getWriter();
-    out.println(xmlDocument.print());
-    out.close();
-  }
-
-  private String processSend(VariablesSecureApp vars, String strMailTemplate, String strBPGroup,
-      String strUser) throws IOException, ServletException {
-    String client = vars.getClient();
-    long start = 0;
-    int counter = 0;
-    int errors = 0;
-    StringBuffer g_log = new StringBuffer();
-    String language = vars.getLanguage();
-    Connection conn = null;
-    try {
-      conn = getTransactionConnection();
-      if (log4j.isDebugEnabled())
-        log4j.debug("processSend - R_MailText_ID=" + strMailTemplate);
-      if (strMailTemplate.equals(""))
-        return (Utility.messageBD(this, "NotFound", language) + " " + Utility.messageBD(this,
-            "R_MailText_ID", language));
-      if (log4j.isDebugEnabled())
-        log4j.debug("processSend - AD_Client_ID=" + client);
-      if (client.equals("0"))
-        return (Utility.messageBD(this, "NotFound", language) + " - " + Utility.messageBD(this,
-            "AD_Client_ID", language));
-      String smtpHost = EmailData.selectSMTPHost(conn, this, client);
-      if (log4j.isDebugEnabled())
-        log4j.debug("processSend - SMTP Host=" + smtpHost);
-      if (smtpHost.equals(""))
-        return (Utility.messageBD(this, "NotFound", language) + " " + Utility.messageBD(this,
-            "SMTPHost", language));
-      String from = "";
-      String fromID = "";
-      String fromPW = "";
-      SendMailTextData[] mailTextData = SendMailTextData
-          .selectMailData(conn, this, strMailTemplate);
-      if (mailTextData == null || mailTextData.length == 0)
-        return (Utility.messageBD(this, "NotFound", language) + " "
-            + Utility.messageBD(this, "R_MailText_ID", language) + ": " + strMailTemplate);
-      String subject = mailTextData[0].mailheader;
-      String message = mailTextData[0].mailtext;
-      EmailData[] mails = null;
-      if (!strUser.equals("")) {
-        mails = EmailData.selectEmail(conn, this, strUser);
-        if (mails == null || mails.length == 0)
-          return ("From EMail not complete - " + from + "(" + fromID + "/" + fromPW + ")");
-        from = mails[0].email;
-        from = from.trim().toLowerCase();
-        for (int pos = from.indexOf(" "); pos != -1; pos = from.indexOf(" ")) {
-          from = from.substring(0, pos) + from.substring(pos + 1);
-        }
-        fromID = mails[0].emailuser;
-        fromPW = FormatUtilities.encryptDecrypt(mails[0].emailuserpw, false);
-      } else {
-        mails = EmailData.selectEmailRequest(conn, this, client);
-        if (mails == null || mails.length == 0)
-          return ("From EMail not complete - " + from + "(" + fromID + "/" + fromPW + ")" + " - selectEmailRequest");
-        from = mails[0].email;
-        from = from.trim().toLowerCase();
-        for (int pos = from.indexOf(" "); pos != -1; pos = from.indexOf(" ")) {
-          from = from.substring(0, pos) + from.substring(pos + 1);
-        }
-        fromID = mails[0].emailuser;
-        fromPW = FormatUtilities.encryptDecrypt(mails[0].emailuserpw, false);
-      }
-      if (from.equals("") || fromID.equals("") || fromPW.equals(""))
-        return ("From EMail not complete - " + from + "(" + fromID + "/" + fromPW + ")" + " - from/fromId/fromPW is empty.");
-      if (log4j.isDebugEnabled())
-        log4j.debug("processSend - from " + from + "(" + fromID + "/" + fromPW + ")");
-
-      SendMailTextData[] mailData;
-      start = System.currentTimeMillis();
-      if (strBPGroup != null && !strBPGroup.equals("")) {
-        log4j.info("processSend - Send to M_BP_Group_ID=" + strBPGroup);
-        mailData = SendMailTextData.selectBPGroup(conn, this, strBPGroup);
-        if (mailData != null && mailData.length > 0) {
-          for (int i = 0; i < mailData.length; i++) {
-            if (sendIndividualMail(conn, vars, smtpHost, from, subject, message, mailData[i].name,
-                mailData[i].email, mailData[i].adUserId, fromID, fromPW, g_log))
-              counter++;
-            else {
-              errors++;
-              mailResult = resultEnum.ERRORS;
-            }
-          }
-        }
-      }
-      if (counter > 0 && errors > 0)
-        mailResult = resultEnum.INFO;
-      releaseCommitConnection(conn);
-    } catch (Exception e) {
-      try {
-        releaseRollbackConnection(conn);
-      } catch (Exception ignored) {
-      }
-      e.printStackTrace();
-      log4j.warn("Rollback in transaction");
-      mailResult = resultEnum.ERRORS;
-      return (Utility.messageBD(this, "ProcessRunError", language));
-    }
-    return (g_log.toString() + "\n" + Utility.messageBD(this, "Created", language) + "=" + counter
-        + ", " + Utility.messageBD(this, "Errors", language) + "=" + errors + " - "
-        + (System.currentTimeMillis() - start) + "ms");
-  }
-
-  private boolean sendIndividualMail(Connection conn, VariablesSecureApp vars, String smtpHost,
-      String from, String subject, String message, String name, String EMailAddress,
-      String AD_User_ID, String fromID, String fromPW, StringBuffer g_log) throws IOException,
-      ServletException {
-    EMail email = new EMail(vars, smtpHost, from, EMailAddress, subject, message);
-    if (!email.isValid()) {
-      log4j.warn("sendIndividualMail NOT VALID - " + EMailAddress);
-      try {
-        SendMailTextData.update(conn, this, AD_User_ID);
-        g_log.append(Utility.messageBD(this, "AD_User_ID", vars.getLanguage()) + ": " + AD_User_ID
-            + " " + Utility.messageBD(this, "Deactivated", vars.getLanguage()) + "<br>");
-      } catch (ServletException e) {
-        e.printStackTrace();
-        log4j.warn("Rollback in transaction");
-      }
-      return false;
-    }
-    email.setEMailUser(fromID, fromPW);
-    boolean OK = "OK".equals(email.send());
-    if (OK) {
-      if (log4j.isDebugEnabled())
-        log4j.debug("sendIndividualMail OK - " + EMailAddress);
-    } else
-      log4j.warn("sendIndividualMail FAILURE - " + EMailAddress);
-    if (log4j.isDebugEnabled())
-      log4j.debug("adding log message to strMessage for " + EMailAddress);
-    g_log.append(Utility.messageBD(this, "EMailAddress", vars.getLanguage()) + ": " + EMailAddress
-        + " " + Utility.messageBD(this, (OK ? "OK" : "ERROR"), vars.getLanguage()) + "<br>");
-    return OK;
-  }
-
-  private String getResult() {
-    String result = "Success";
-    if (mailResult == resultEnum.INFO) {
-      result = "Info";
-    } else if (mailResult == resultEnum.ERRORS) {
-      result = "Error";
-    }
-    return result;
-  }
-
-  public String getServletInfo() {
-    return "Servlet SendMailText";
-  } // end of getServletInfo() method
-}
--- a/src/org/openbravo/erpCommon/ad_process/SendMailText.xml	Wed Apr 27 16:08:09 2011 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
- *************************************************************************
- * The contents of this file are subject to the Openbravo  Public  License
- * Version  1.1  (the  "License"),  being   the  Mozilla   Public  License
- * Version 1.1  with a permitted attribution clause; you may not  use this
- * file except in compliance with the License. You  may  obtain  a copy of
- * the License at http://www.openbravo.com/legal/license.html 
- * Software distributed under the License  is  distributed  on  an "AS IS"
- * basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
- * License for the specific  language  governing  rights  and  limitations
- * under the License. 
- * The Original Code is Openbravo ERP. 
- * The Initial Developer of the Original Code is Openbravo SLU 
- * All portions are Copyright (C) 2001-2011 Openbravo SLU 
- * All Rights Reserved. 
- * Contributor(s):  ______________________________________.
- ************************************************************************
--->
-<REPORT>
-	<template file="SendMailText.html"/>
-	<PARAMETER id="paramToolBar" name="toolbar" default=""/>
-	<PARAMETER id="paramDirectory" name="directory" default=""/>
-	<PARAMETER id="paramLanguage" name="paramLanguage"/>
-	<PARAMETER id="question" name="question" default=""/>
-	<PARAMETER id="processDescription" name="description" replaceCharacters="htmlHelp" default=""/>
-	<PARAMETER id="processHelp" name="help" replaceCharacters="htmlHelp" default=""/>
-	<PARAMETER id="paramMailTemplate" name="mailTemplate" default=""/>
-	<PARAMETER id="paramBPGroup" name="bpGroup" default=""/>
-	<PARAMETER id="paramUser" name="user" default=""/>
-  <PARAMETER id="paramCSS" name="theme" attribute="href" replace="Default"/>
-  <PARAMETER id="tdleftTabs" name="leftTabs" default=""/>
-  <PARAMETER id="paramParentTabContainer" name="parentTabContainer" default=" "/>
-  <PARAMETER id="paramMainTabContainer" name="mainTabContainer" default=" "/>
-  <PARAMETER id="paramChildTabContainer" name="childTabContainer" default=" "/>
-  <PARAMETER id="tdtopButtons" name="navigationBar" default=""/>
-  <PARAMETER id="messageBoxID" name="messageType" attribute="class" replace="yy" default="HIDDEN"/>
-  <PARAMETER id="messageBoxIDTitle" name="messageTitle" default=""/>
-  <PARAMETER id="messageBoxIDMessage" name="messageMessage" default=""/>
-	<SUBREPORT id="reportMailTemplate" name="reportMailTemplate" report="org/openbravo/erpCommon/reference/List">
-		<ARGUMENT name="parameterListSelected" withId="paramMailTemplate"/>
-	</SUBREPORT>
-	<SUBREPORT id="reportBPGroup" name="reportBPGroup" report="org/openbravo/erpCommon/reference/List">
-		<ARGUMENT name="parameterListSelected" withId="paramBPGroup"/>
-	</SUBREPORT>
-	<SUBREPORT id="reportUser" name="reportUser" report="org/openbravo/erpCommon/reference/List">
-		<ARGUMENT name="parameterListSelected" withId="paramUser"/>
-	</SUBREPORT>
-</REPORT>
--- a/src/org/openbravo/erpCommon/ad_process/SendMailText_data.xsql	Wed Apr 27 16:08:09 2011 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,60 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" ?>
-<!--
- ******************************************************************************
- * The contents of this file are subject to the   Compiere License  Version 1.1
- * ("License"); You may not use this file except in compliance with the License
- * You may obtain a copy of the License at http://www.compiere.org/license.html
- * Software distributed under the License is distributed on an  "AS IS"  basis,
- * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for
- * the specific language governing rights and limitations under the License.
- * The Original Code is                  Compiere  ERP & CRM  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-2011 Openbravo S.L.U.
- ******************************************************************************
--->
-
-
-
-
-
-<SqlClass name="SendMailTextData" package="org.openbravo.erpCommon.ad_process">
-  <SqlMethod name="selectBPGroup" type="preparedStatement" connection="true" return="multiple">
-    <SqlMethodComment></SqlMethodComment>
-    <Sql>
-      <![CDATA[
-        SELECT u.Name, u.EMail, u.AD_User_ID, '' as mailheader, '' as mailtext
-        FROM AD_User u, C_BPartner bp
-        WHERE u.C_BPartner_ID=bp.C_BPartner_ID 
-        AND u.IsActive='Y' 
-        AND bp.IsActive='Y' 
-        AND u.EMail IS NOT NULL 
-        AND bp.C_BP_Group_ID = ? 
-      ]]>
-    </Sql>
-    <Parameter name="cBpGroupId"/>
-  </SqlMethod>
-  <SqlMethod name="selectMailData" type="preparedStatement" connection="true" return="multiple">
-    <SqlMethodComment></SqlMethodComment>
-    <Sql>
-      <![CDATA[
-        SELECT mailheader, mailtext
-        FROM R_MailText
-        WHERE IsActive='Y' 
-        AND R_MailText_ID = ?
-      ]]>
-    </Sql>
-    <Parameter name="rMailtextId"/>
-  </SqlMethod>
-  <SqlMethod name="update" type="preparedStatement" connection="true" return="rowCount">
-    <SqlMethodComment></SqlMethodComment>
-    <Sql>
-      <![CDATA[
-        UPDATE AD_User SET IsActive='N', Help=Help||' - Invalid User EMail' WHERE AD_User_ID=?
-      ]]>
-    </Sql>
-    <Parameter name="adUserId"/>
-  </SqlMethod>
-</SqlClass>