Related to issue 22874: Implement rich and masked text field
authorMartin Taal <martin.taal@openbravo.com>
Thu, 24 Jan 2013 00:29:43 +0100
changeset 19417 bdbc4e96cb77
parent 19408 6c1c82b172f4
child 19418 15b14b0cb32f
Related to issue 22874: Implement rich and masked text field
First implementation
modules/org.openbravo.client.application/src-db/database/sourcedata/AD_COLUMN.xml
modules/org.openbravo.client.application/src-db/database/sourcedata/AD_FIELD.xml
modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MESSAGE.xml
modules/org.openbravo.client.application/src/org/openbravo/client/application/ApplicationComponentProvider.java
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-richtext.js
modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-text.js
modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-form-styles.js
modules/org.openbravo.client.kernel/src-db/database/model/tables/OBCLKER_REF_MASK.xml
modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_COLUMN.xml
modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_ELEMENT.xml
modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_FIELD.xml
modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_REFERENCE.xml
modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_TAB.xml
modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_TABLE.xml
modules/org.openbravo.client.kernel/src-db/database/sourcedata/OBCLKER_UIDEFINITION.xml
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/MaskedStringUIDefinition.java
modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/RichTextUIDefinition.java
--- a/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_COLUMN.xml	Wed Jan 23 18:16:09 2013 +0100
+++ b/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_COLUMN.xml	Thu Jan 24 00:29:43 2013 +0100
@@ -5865,7 +5865,7 @@
 <!--CD3A95C8A05D45A0A2B6D250E9C83170-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
 <!--CD3A95C8A05D45A0A2B6D250E9C83170-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
 <!--CD3A95C8A05D45A0A2B6D250E9C83170-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
-<!--CD3A95C8A05D45A0A2B6D250E9C83170-->  <POSITION><![CDATA[51]]></POSITION>
+<!--CD3A95C8A05D45A0A2B6D250E9C83170-->  <POSITION><![CDATA[52]]></POSITION>
 <!--CD3A95C8A05D45A0A2B6D250E9C83170-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
 <!--CD3A95C8A05D45A0A2B6D250E9C83170-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
 <!--CD3A95C8A05D45A0A2B6D250E9C83170-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
--- a/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_FIELD.xml	Wed Jan 23 18:16:09 2013 +0100
+++ b/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_FIELD.xml	Thu Jan 24 00:29:43 2013 +0100
@@ -2148,7 +2148,8 @@
 <!--87DDE03149A94326BE55DC158625D244-->  <AD_COLUMN_ID><![CDATA[B2DDC4BECBF24431AB1940C2A38F9C54]]></AD_COLUMN_ID>
 <!--87DDE03149A94326BE55DC158625D244-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
 <!--87DDE03149A94326BE55DC158625D244-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
-<!--87DDE03149A94326BE55DC158625D244-->  <DISPLAYLOGIC><![CDATA[@OBUIAPP_Field_Reference@ = 'FF8080813123BF670131241C2BB30012' | @OBUIAPP_Field_Reference@ = '14']]></DISPLAYLOGIC>
+<!--87DDE03149A94326BE55DC158625D244-->  <DISPLAYLOGIC><![CDATA[@OBUIAPP_Field_Reference@ = 'FF8080813123BF670131241C2BB30012' | @OBUIAPP_Field_Reference@ = '14' | 
+@OBUIAPP_Field_Reference@ = '7CB371C13D204EB69BF370217F692999']]></DISPLAYLOGIC>
 <!--87DDE03149A94326BE55DC158625D244-->  <DISPLAYLENGTH><![CDATA[12]]></DISPLAYLENGTH>
 <!--87DDE03149A94326BE55DC158625D244-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
 <!--87DDE03149A94326BE55DC158625D244-->  <SEQNO><![CDATA[62]]></SEQNO>
@@ -2682,7 +2683,8 @@
 <!--B79252A201AA41C091F9498DF820A0AC-->  <AD_COLUMN_ID><![CDATA[1A96C47A27AC49D7BEA41E57BBD59948]]></AD_COLUMN_ID>
 <!--B79252A201AA41C091F9498DF820A0AC-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
 <!--B79252A201AA41C091F9498DF820A0AC-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
-<!--B79252A201AA41C091F9498DF820A0AC-->  <DISPLAYLOGIC><![CDATA[@OBUIAPP_Field_Reference@ = 'FF8080813123BF670131241C2BB30012' | @OBUIAPP_Field_Reference@ = '14']]></DISPLAYLOGIC>
+<!--B79252A201AA41C091F9498DF820A0AC-->  <DISPLAYLOGIC><![CDATA[@OBUIAPP_Field_Reference@ = 'FF8080813123BF670131241C2BB30012' | @OBUIAPP_Field_Reference@ = '14'|
+@OBUIAPP_Field_Reference@ = '7CB371C13D204EB69BF370217F692999' ]]></DISPLAYLOGIC>
 <!--B79252A201AA41C091F9498DF820A0AC-->  <DISPLAYLENGTH><![CDATA[12]]></DISPLAYLENGTH>
 <!--B79252A201AA41C091F9498DF820A0AC-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
 <!--B79252A201AA41C091F9498DF820A0AC-->  <SEQNO><![CDATA[64]]></SEQNO>
--- a/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MESSAGE.xml	Wed Jan 23 18:16:09 2013 +0100
+++ b/modules/org.openbravo.client.application/src-db/database/sourcedata/AD_MESSAGE.xml	Thu Jan 24 00:29:43 2013 +0100
@@ -541,6 +541,17 @@
 <!--6504DF0738A142D599C824644653BA88-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
 <!--6504DF0738A142D599C824644653BA88--></AD_MESSAGE>
 
+<!--66D4232BC6894DCEB71DAB06F9757BB3--><AD_MESSAGE>
+<!--66D4232BC6894DCEB71DAB06F9757BB3-->  <AD_MESSAGE_ID><![CDATA[66D4232BC6894DCEB71DAB06F9757BB3]]></AD_MESSAGE_ID>
+<!--66D4232BC6894DCEB71DAB06F9757BB3-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--66D4232BC6894DCEB71DAB06F9757BB3-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--66D4232BC6894DCEB71DAB06F9757BB3-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--66D4232BC6894DCEB71DAB06F9757BB3-->  <VALUE><![CDATA[OBUIAPP_MakeSelectionBold]]></VALUE>
+<!--66D4232BC6894DCEB71DAB06F9757BB3-->  <MSGTEXT><![CDATA[Make Selection Bold]]></MSGTEXT>
+<!--66D4232BC6894DCEB71DAB06F9757BB3-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
+<!--66D4232BC6894DCEB71DAB06F9757BB3-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
+<!--66D4232BC6894DCEB71DAB06F9757BB3--></AD_MESSAGE>
+
 <!--675524506E80458799E39F8CC309CBFD--><AD_MESSAGE>
 <!--675524506E80458799E39F8CC309CBFD-->  <AD_MESSAGE_ID><![CDATA[675524506E80458799E39F8CC309CBFD]]></AD_MESSAGE_ID>
 <!--675524506E80458799E39F8CC309CBFD-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -552,6 +563,17 @@
 <!--675524506E80458799E39F8CC309CBFD-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
 <!--675524506E80458799E39F8CC309CBFD--></AD_MESSAGE>
 
+<!--67995E233DA64EDE9029395E900C21ED--><AD_MESSAGE>
+<!--67995E233DA64EDE9029395E900C21ED-->  <AD_MESSAGE_ID><![CDATA[67995E233DA64EDE9029395E900C21ED]]></AD_MESSAGE_ID>
+<!--67995E233DA64EDE9029395E900C21ED-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--67995E233DA64EDE9029395E900C21ED-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--67995E233DA64EDE9029395E900C21ED-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--67995E233DA64EDE9029395E900C21ED-->  <VALUE><![CDATA[OBUIAPP_MakeSelectionItalic]]></VALUE>
+<!--67995E233DA64EDE9029395E900C21ED-->  <MSGTEXT><![CDATA[Make Selection Italic]]></MSGTEXT>
+<!--67995E233DA64EDE9029395E900C21ED-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
+<!--67995E233DA64EDE9029395E900C21ED-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
+<!--67995E233DA64EDE9029395E900C21ED--></AD_MESSAGE>
+
 <!--6831E84EB2124F08B3FCEF6F50CF8AD1--><AD_MESSAGE>
 <!--6831E84EB2124F08B3FCEF6F50CF8AD1-->  <AD_MESSAGE_ID><![CDATA[6831E84EB2124F08B3FCEF6F50CF8AD1]]></AD_MESSAGE_ID>
 <!--6831E84EB2124F08B3FCEF6F50CF8AD1-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -674,6 +696,17 @@
 <!--7ACEA04C52F349C08E1157F64262ECC9-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
 <!--7ACEA04C52F349C08E1157F64262ECC9--></AD_MESSAGE>
 
+<!--7E82DFE4E6964861B0B9A8AA968E5AC7--><AD_MESSAGE>
+<!--7E82DFE4E6964861B0B9A8AA968E5AC7-->  <AD_MESSAGE_ID><![CDATA[7E82DFE4E6964861B0B9A8AA968E5AC7]]></AD_MESSAGE_ID>
+<!--7E82DFE4E6964861B0B9A8AA968E5AC7-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--7E82DFE4E6964861B0B9A8AA968E5AC7-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--7E82DFE4E6964861B0B9A8AA968E5AC7-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--7E82DFE4E6964861B0B9A8AA968E5AC7-->  <VALUE><![CDATA[OBUIAPP_SetFontSize]]></VALUE>
+<!--7E82DFE4E6964861B0B9A8AA968E5AC7-->  <MSGTEXT><![CDATA[Set Font Size]]></MSGTEXT>
+<!--7E82DFE4E6964861B0B9A8AA968E5AC7-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
+<!--7E82DFE4E6964861B0B9A8AA968E5AC7-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
+<!--7E82DFE4E6964861B0B9A8AA968E5AC7--></AD_MESSAGE>
+
 <!--7E8A12D43C0D404F868CE36DB349C9FC--><AD_MESSAGE>
 <!--7E8A12D43C0D404F868CE36DB349C9FC-->  <AD_MESSAGE_ID><![CDATA[7E8A12D43C0D404F868CE36DB349C9FC]]></AD_MESSAGE_ID>
 <!--7E8A12D43C0D404F868CE36DB349C9FC-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -719,6 +752,17 @@
 <!--822D5C3E1A014738B4D39BF2BF568C7C-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
 <!--822D5C3E1A014738B4D39BF2BF568C7C--></AD_MESSAGE>
 
+<!--839DDEEC373B4151BC1C721AB90FB5AC--><AD_MESSAGE>
+<!--839DDEEC373B4151BC1C721AB90FB5AC-->  <AD_MESSAGE_ID><![CDATA[839DDEEC373B4151BC1C721AB90FB5AC]]></AD_MESSAGE_ID>
+<!--839DDEEC373B4151BC1C721AB90FB5AC-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--839DDEEC373B4151BC1C721AB90FB5AC-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--839DDEEC373B4151BC1C721AB90FB5AC-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--839DDEEC373B4151BC1C721AB90FB5AC-->  <VALUE><![CDATA[OBUIAPP_SetFont]]></VALUE>
+<!--839DDEEC373B4151BC1C721AB90FB5AC-->  <MSGTEXT><![CDATA[Set Font]]></MSGTEXT>
+<!--839DDEEC373B4151BC1C721AB90FB5AC-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
+<!--839DDEEC373B4151BC1C721AB90FB5AC-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
+<!--839DDEEC373B4151BC1C721AB90FB5AC--></AD_MESSAGE>
+
 <!--888D0AF770AE4037B85120FB775FE038--><AD_MESSAGE>
 <!--888D0AF770AE4037B85120FB775FE038-->  <AD_MESSAGE_ID><![CDATA[888D0AF770AE4037B85120FB775FE038]]></AD_MESSAGE_ID>
 <!--888D0AF770AE4037B85120FB775FE038-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -873,6 +917,17 @@
 <!--A57B3DD733264DB1BB3D6F84EA104931-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
 <!--A57B3DD733264DB1BB3D6F84EA104931--></AD_MESSAGE>
 
+<!--A62959A6990A43089EEBDF89CE8FCC48--><AD_MESSAGE>
+<!--A62959A6990A43089EEBDF89CE8FCC48-->  <AD_MESSAGE_ID><![CDATA[A62959A6990A43089EEBDF89CE8FCC48]]></AD_MESSAGE_ID>
+<!--A62959A6990A43089EEBDF89CE8FCC48-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--A62959A6990A43089EEBDF89CE8FCC48-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--A62959A6990A43089EEBDF89CE8FCC48-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--A62959A6990A43089EEBDF89CE8FCC48-->  <VALUE><![CDATA[OBUIAPP_MakeSelectionUnderlined]]></VALUE>
+<!--A62959A6990A43089EEBDF89CE8FCC48-->  <MSGTEXT><![CDATA[Make Selection Underlined]]></MSGTEXT>
+<!--A62959A6990A43089EEBDF89CE8FCC48-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
+<!--A62959A6990A43089EEBDF89CE8FCC48-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
+<!--A62959A6990A43089EEBDF89CE8FCC48--></AD_MESSAGE>
+
 <!--ABFDBB83F58841EA9545D9ED8637513B--><AD_MESSAGE>
 <!--ABFDBB83F58841EA9545D9ED8637513B-->  <AD_MESSAGE_ID><![CDATA[ABFDBB83F58841EA9545D9ED8637513B]]></AD_MESSAGE_ID>
 <!--ABFDBB83F58841EA9545D9ED8637513B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -1072,6 +1127,17 @@
 <!--CE3E9A8711D54E719F02630BE8D5E2FB-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
 <!--CE3E9A8711D54E719F02630BE8D5E2FB--></AD_MESSAGE>
 
+<!--CF668C49E43D4FA799A43191EA10C17A--><AD_MESSAGE>
+<!--CF668C49E43D4FA799A43191EA10C17A-->  <AD_MESSAGE_ID><![CDATA[CF668C49E43D4FA799A43191EA10C17A]]></AD_MESSAGE_ID>
+<!--CF668C49E43D4FA799A43191EA10C17A-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--CF668C49E43D4FA799A43191EA10C17A-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--CF668C49E43D4FA799A43191EA10C17A-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--CF668C49E43D4FA799A43191EA10C17A-->  <VALUE><![CDATA[OBUIAPP_SetHyperlinkURL]]></VALUE>
+<!--CF668C49E43D4FA799A43191EA10C17A-->  <MSGTEXT><![CDATA[Set Hyperlink URL]]></MSGTEXT>
+<!--CF668C49E43D4FA799A43191EA10C17A-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
+<!--CF668C49E43D4FA799A43191EA10C17A-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
+<!--CF668C49E43D4FA799A43191EA10C17A--></AD_MESSAGE>
+
 <!--D109B6F7D8BF4F5C9D84463CD36BF434--><AD_MESSAGE>
 <!--D109B6F7D8BF4F5C9D84463CD36BF434-->  <AD_MESSAGE_ID><![CDATA[D109B6F7D8BF4F5C9D84463CD36BF434]]></AD_MESSAGE_ID>
 <!--D109B6F7D8BF4F5C9D84463CD36BF434-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -1160,6 +1226,17 @@
 <!--E20A23145D554996A09BC927B847F3BB-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
 <!--E20A23145D554996A09BC927B847F3BB--></AD_MESSAGE>
 
+<!--E25F7BC6017747E08BDBAD4DD01DD316--><AD_MESSAGE>
+<!--E25F7BC6017747E08BDBAD4DD01DD316-->  <AD_MESSAGE_ID><![CDATA[E25F7BC6017747E08BDBAD4DD01DD316]]></AD_MESSAGE_ID>
+<!--E25F7BC6017747E08BDBAD4DD01DD316-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--E25F7BC6017747E08BDBAD4DD01DD316-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--E25F7BC6017747E08BDBAD4DD01DD316-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--E25F7BC6017747E08BDBAD4DD01DD316-->  <VALUE><![CDATA[OBUIAPP_StrikeThroughSelection]]></VALUE>
+<!--E25F7BC6017747E08BDBAD4DD01DD316-->  <MSGTEXT><![CDATA[Strike Through Selection]]></MSGTEXT>
+<!--E25F7BC6017747E08BDBAD4DD01DD316-->  <MSGTYPE><![CDATA[I]]></MSGTYPE>
+<!--E25F7BC6017747E08BDBAD4DD01DD316-->  <AD_MODULE_ID><![CDATA[9BA0836A3CD74EE4AB48753A47211BCC]]></AD_MODULE_ID>
+<!--E25F7BC6017747E08BDBAD4DD01DD316--></AD_MESSAGE>
+
 <!--E4446D7FB74A4C57A9C715B4DDACC3E9--><AD_MESSAGE>
 <!--E4446D7FB74A4C57A9C715B4DDACC3E9-->  <AD_MESSAGE_ID><![CDATA[E4446D7FB74A4C57A9C715B4DDACC3E9]]></AD_MESSAGE_ID>
 <!--E4446D7FB74A4C57A9C715B4DDACC3E9-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/modules/org.openbravo.client.application/src/org/openbravo/client/application/ApplicationComponentProvider.java	Wed Jan 23 18:16:09 2013 +0100
+++ b/modules/org.openbravo.client.application/src/org/openbravo/client/application/ApplicationComponentProvider.java	Thu Jan 24 00:29:43 2013 +0100
@@ -146,6 +146,8 @@
     globalResources.add(createStaticResource(
         "web/org.openbravo.client.application/js/form/formitem/ob-formitem-textarea.js", true));
     globalResources.add(createStaticResource(
+        "web/org.openbravo.client.application/js/form/formitem/ob-formitem-richtext.js", true));
+    globalResources.add(createStaticResource(
         "web/org.openbravo.client.application/js/form/formitem/ob-formitem-time.js", true));
     globalResources.add(createStaticResource(
         "web/org.openbravo.client.application/js/form/formitem/ob-formitem-yesno.js", true));
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-richtext.js	Thu Jan 24 00:29:43 2013 +0100
@@ -0,0 +1,155 @@
+/*
+ *************************************************************************
+ * 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) 2013 Openbravo SLU
+ * All Rights Reserved.
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+ */
+
+// == OBTextAreaItem and OBPopupTextArea ==
+// Input for large strings, contains 2 widgets one for editing in the form
+// and one for in the grid.
+isc.ClassFactory.defineClass('OBRichTextItem', isc.RichTextItem);
+isc.ClassFactory.defineClass('OBRichTextEditor', isc.RichTextEditor);
+
+isc.OBRichTextItem.addProperties({
+  operator: 'iContains',
+  validateOnExit: true,
+  canvasConstructor: 'OBRichTextEditor',
+  canvasProperties: {
+    canFocus: true,
+    editAreaBackgroundColor: 'transparent',
+
+    // "fontControls", "formatControls", "styleControls" and "colorControls"
+    initialControlGroups: ["fontControls", "styleControls", "formatControls"],
+    controlGroups: ["fontControls", "styleControls", "formatControls"],
+
+    keyDown: function (event, eventInfo) {
+      var response = OB.KeyboardManager.Shortcuts.monitor('OBViewForm');
+      if (response !== false) {
+        response = this.Super('keyDown', arguments);
+      }
+      return response;
+    },
+
+    handleFocus: function (hasFocus) {
+      if (hasFocus) {
+        this.setStyleName(this.styleName + 'Focused');
+      } else if (this.styleName.endsWith('Focused')) {
+        this.setStyleName(this.styleName.substring(0, this.styleName.length - 'Focused'.length));
+      }
+      if (hasFocus && !this.hasFocus) {
+        this.setFocus(true);
+      }
+    },
+
+    setDisabled: function (disabled) {
+      if (disabled) {
+        this.previousStyleName = this.styleName;
+        this.setStyleName(this.editorStyleName + 'Disabled');
+        this.editArea.setStyleName(this.editAreaStyleName + 'Disabled');
+        this.toolbar.hide();
+      } else {
+        this.setStyleName(this.previousStyleName || this.editorStyleName);
+        delete this.previousStyleName;
+        this.editArea.setStyleName(this.editAreaStyleName);
+        this.toolbar.show();
+      }
+      this.Super('setDisabled', arguments);
+    },
+
+    // autochilds
+    editAreaProperties: {
+      canFocus: true,
+      styleName: 'OBFormFieldStatic',
+
+      keyDown: function (event, eventInfo) {
+        var response = OB.KeyboardManager.Shortcuts.monitor('OBViewForm');
+        if (response !== false) {
+          response = this.Super('keyDown', arguments);
+        }
+        return response;
+      },
+
+      focusChanged: function (hasFocus) {
+        this.parentElement.handleFocus(hasFocus);
+      }
+    },
+    toolbarProperties: {
+      canFocus: true,
+
+      keyDown: function (event, eventInfo) {
+        var response = OB.KeyboardManager.Shortcuts.monitor('OBViewForm');
+        if (response !== false) {
+          response = this.Super('keyDown', arguments);
+        }
+        return response;
+      },
+
+      focusChanged: function (hasFocus) {
+        this.parentElement.handleFocus(hasFocus);
+      },
+
+      // autochild of the autochild
+      buttonProperties: {
+        keyDown: function (event, eventInfo) {
+          var response = OB.KeyboardManager.Shortcuts.monitor('OBViewForm');
+          if (response !== false) {
+            response = this.Super('keyDown', arguments);
+          }
+          return response;
+        },
+
+        focusChanged: function (hasFocus) {
+          this.parentElement.parentElement.handleFocus(hasFocus);
+        }
+      }
+    }
+  },
+  selectOnFocus: false,
+  showFocused: true,
+  showTitle: true,
+  rowSpan: 2,
+  init: function () {
+    if (this.initStyle) {
+      this.initStyle();
+    }
+    this.Super('init', arguments);
+  },
+
+  itemHoverHTML: function (item, form) {
+    if (this.isDisabled()) {
+      return this.getValue();
+    }
+  }
+});
+
+isc.OBRichTextEditor.addProperties({
+  fontPrompt: OB.I18N.getLabel('OBUIAPP_SetFont'),
+  fontSizePrompt: OB.I18N.getLabel('OBUIAPP_SetFontSize'),
+  linkUrlTitle: OB.I18N.getLabel('OBUIAPP_SetHyperlinkURL'),
+
+  initWidget: function () {
+    this.boldSelectionDefaults.prompt = OB.I18N.getLabel('OBUIAPP_MakeSelectionBold');
+
+    this.italicSelectionDefaults.prompt = OB.I18N.getLabel('OBUIAPP_MakeSelectionItalic');
+    this.underlineSelectionDefaults.prompt = OB.I18N.getLabel('OBUIAPP_MakeSelectionUnderlined');
+    this.strikethroughSelectionDefaults.prompt = OB.I18N.getLabel('OBUIAPP_StrikeThroughSelection');
+
+    this.Super('initWidget', arguments);
+  }
+});
+
+// used in the grid
+isc.ClassFactory.defineClass('OBPopUpRichTextItem', isc.PopUpTextAreaItem);
\ No newline at end of file
--- a/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-text.js	Wed Jan 23 18:16:09 2013 +0100
+++ b/modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-text.js	Thu Jan 24 00:29:43 2013 +0100
@@ -25,9 +25,12 @@
 isc.OBTextItem.addProperties({
   operator: 'iContains',
   validateOnExit: true,
+  maskSaveLiterals: true,
   itemHoverHTML: function (item, form) {
     if (this.isDisabled()) {
       return this.getValue();
+    } else if (this.mask) {
+      return this.mask;
     }
   }
 });
--- a/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-form-styles.js	Wed Jan 23 18:16:09 2013 +0100
+++ b/modules/org.openbravo.client.application/web/org.openbravo.userinterface.smartclient/openbravo/skins/Default/org.openbravo.client.application/ob-form-styles.js	Thu Jan 24 00:29:43 2013 +0100
@@ -82,6 +82,41 @@
   }
 });
 
+isc.OBRichTextItem.addProperties(isc.addProperties({}, OB.Styles.OBFormField.DefaultTextItem));
+
+isc.OBRichTextItem.addProperties({
+  styleCanvasProperties: {
+    styleName: 'OBFormFieldInput',
+    editorStyleName: 'OBFormFieldInput',
+    editAreaStyleName: 'OBFormFieldStatic',
+    editAreaBackgroundColor: 'transparent'
+  }
+});
+
+isc.OBRichTextItem.addProperties({
+  initStyle: function () {
+    var rowSpan = 4;
+    var singleRowHeight = this.height;
+    var multipleRowHeight = singleRowHeight + 24; // 24px = title height + form item padding defined in CSS
+    this.canvasProperties = isc.addProperties({}, this.canvasProperties || {}, this.styleCanvasProperties);
+
+    if (this.rowSpan) {
+      rowSpan = this.rowSpan;
+    }
+    var newHeight = singleRowHeight + (rowSpan - 1) * multipleRowHeight;
+    if (!this.colSpan) {
+      this.colSpan = 2;
+    }
+    this.height = newHeight;
+    this.overflow = "hidden";
+    this.showEdges = true;
+    // Standard control group options include
+    // "fontControls", "formatControls", "styleControls" and "colorControls"
+    this.controlGroups = ["fontControls", "styleControls"];
+
+  }
+});
+
 isc.OBSpinnerItem.addProperties(isc.addProperties({}, OB.Styles.OBFormField.DefaultTextItem));
 isc.OBSpinnerItem.INCREASE_ICON = isc.addProperties(isc.OBSpinnerItem.INCREASE_ICON, {
   width: 21,
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.client.kernel/src-db/database/model/tables/OBCLKER_REF_MASK.xml	Thu Jan 24 00:29:43 2013 +0100
@@ -0,0 +1,58 @@
+<?xml version="1.0"?>
+  <database name="TABLE OBCLKER_REF_MASK">
+    <table name="OBCLKER_REF_MASK" primaryKey="AD_REF_MASK_KEY">
+      <column name="AD_REF_MASK_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="AD_REFERENCE_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="AD_ORG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="CREATED" 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="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
+        <default><![CDATA[SYSDATE]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="ISACTIVE" primaryKey="false" required="false" type="CHAR" size="1" autoIncrement="false">
+        <default><![CDATA[Y]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="NAME" primaryKey="false" required="true" type="VARCHAR" size="60" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="DESCRIPTION" primaryKey="false" required="false" type="VARCHAR" size="255" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <foreign-key foreignTable="AD_REFERENCE" name="AD_REF_AD_REF_KEY">
+        <reference local="AD_REFERENCE_ID" foreign="AD_REFERENCE_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="AD_CLIENT" name="AD_REF_CLIENT_KEY">
+        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="AD_ORG" name="AD_REF_ORG_KEY">
+        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
+      </foreign-key>
+    </table>
+  </database>
--- a/modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_COLUMN.xml	Wed Jan 23 18:16:09 2013 +0100
+++ b/modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_COLUMN.xml	Thu Jan 24 00:29:43 2013 +0100
@@ -73,6 +73,44 @@
 <!--06E9B50BBF2D4869B028F51D11D432F6-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
 <!--06E9B50BBF2D4869B028F51D11D432F6--></AD_COLUMN>
 
+<!--09CE64A2B0FE4D99A5E49476E3F51549--><AD_COLUMN>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <AD_COLUMN_ID><![CDATA[09CE64A2B0FE4D99A5E49476E3F51549]]></AD_COLUMN_ID>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <NAME><![CDATA[Active]]></NAME>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <DESCRIPTION><![CDATA[A flag indicating whether this record is available for use or de-activated.]]></DESCRIPTION>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <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>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <COLUMNNAME><![CDATA[Isactive]]></COLUMNNAME>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <AD_TABLE_ID><![CDATA[558721361A024C3D8156095BD7C2716D]]></AD_TABLE_ID>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <DEFAULTVALUE><![CDATA[Y]]></DEFAULTVALUE>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <SEQNO><![CDATA[90]]></SEQNO>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <AD_ELEMENT_ID><![CDATA[348]]></AD_ELEMENT_ID>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <POSITION><![CDATA[9]]></POSITION>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--09CE64A2B0FE4D99A5E49476E3F51549-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--09CE64A2B0FE4D99A5E49476E3F51549--></AD_COLUMN>
+
 <!--10AE04F83EE340D0B33A1181F85C8095--><AD_COLUMN>
 <!--10AE04F83EE340D0B33A1181F85C8095-->  <AD_COLUMN_ID><![CDATA[10AE04F83EE340D0B33A1181F85C8095]]></AD_COLUMN_ID>
 <!--10AE04F83EE340D0B33A1181F85C8095-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -468,6 +506,39 @@
 <!--40B5E49D23C643678921446DDC7AA2B0-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
 <!--40B5E49D23C643678921446DDC7AA2B0--></AD_COLUMN>
 
+<!--4DCFCE4CF21748888C8031E975640486--><AD_COLUMN>
+<!--4DCFCE4CF21748888C8031E975640486-->  <AD_COLUMN_ID><![CDATA[4DCFCE4CF21748888C8031E975640486]]></AD_COLUMN_ID>
+<!--4DCFCE4CF21748888C8031E975640486-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--4DCFCE4CF21748888C8031E975640486-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--4DCFCE4CF21748888C8031E975640486-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--4DCFCE4CF21748888C8031E975640486-->  <NAME><![CDATA[Commercial Name]]></NAME>
+<!--4DCFCE4CF21748888C8031E975640486-->  <COLUMNNAME><![CDATA[Name]]></COLUMNNAME>
+<!--4DCFCE4CF21748888C8031E975640486-->  <AD_TABLE_ID><![CDATA[558721361A024C3D8156095BD7C2716D]]></AD_TABLE_ID>
+<!--4DCFCE4CF21748888C8031E975640486-->  <AD_REFERENCE_ID><![CDATA[10]]></AD_REFERENCE_ID>
+<!--4DCFCE4CF21748888C8031E975640486-->  <FIELDLENGTH><![CDATA[60]]></FIELDLENGTH>
+<!--4DCFCE4CF21748888C8031E975640486-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--4DCFCE4CF21748888C8031E975640486-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--4DCFCE4CF21748888C8031E975640486-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--4DCFCE4CF21748888C8031E975640486-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--4DCFCE4CF21748888C8031E975640486-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
+<!--4DCFCE4CF21748888C8031E975640486-->  <SEQNO><![CDATA[100]]></SEQNO>
+<!--4DCFCE4CF21748888C8031E975640486-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--4DCFCE4CF21748888C8031E975640486-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--4DCFCE4CF21748888C8031E975640486-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--4DCFCE4CF21748888C8031E975640486-->  <AD_ELEMENT_ID><![CDATA[1E20B2070A5447D6A31B4A3C95EBD941]]></AD_ELEMENT_ID>
+<!--4DCFCE4CF21748888C8031E975640486-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--4DCFCE4CF21748888C8031E975640486-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--4DCFCE4CF21748888C8031E975640486-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--4DCFCE4CF21748888C8031E975640486-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--4DCFCE4CF21748888C8031E975640486-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
+<!--4DCFCE4CF21748888C8031E975640486-->  <POSITION><![CDATA[10]]></POSITION>
+<!--4DCFCE4CF21748888C8031E975640486-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--4DCFCE4CF21748888C8031E975640486-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--4DCFCE4CF21748888C8031E975640486-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--4DCFCE4CF21748888C8031E975640486-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--4DCFCE4CF21748888C8031E975640486-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--4DCFCE4CF21748888C8031E975640486--></AD_COLUMN>
+
 <!--5506EF5A70A840CF8C8AA08B2E505CBA--><AD_COLUMN>
 <!--5506EF5A70A840CF8C8AA08B2E505CBA-->  <AD_COLUMN_ID><![CDATA[5506EF5A70A840CF8C8AA08B2E505CBA]]></AD_COLUMN_ID>
 <!--5506EF5A70A840CF8C8AA08B2E505CBA-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -539,6 +610,41 @@
 <!--5DB5D6C458AC4D0E8132D4C9DB8099C5-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
 <!--5DB5D6C458AC4D0E8132D4C9DB8099C5--></AD_COLUMN>
 
+<!--603AA4B5A028459FA3542BC96C303FE3--><AD_COLUMN>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <AD_COLUMN_ID><![CDATA[603AA4B5A028459FA3542BC96C303FE3]]></AD_COLUMN_ID>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <NAME><![CDATA[Updated By]]></NAME>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <DESCRIPTION><![CDATA[User who updated this records]]></DESCRIPTION>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <HELP><![CDATA[The Updated By field indicates the user who updated this record.]]></HELP>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <COLUMNNAME><![CDATA[Updatedby]]></COLUMNNAME>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <AD_TABLE_ID><![CDATA[558721361A024C3D8156095BD7C2716D]]></AD_TABLE_ID>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <SEQNO><![CDATA[70]]></SEQNO>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <AD_ELEMENT_ID><![CDATA[608]]></AD_ELEMENT_ID>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <POSITION><![CDATA[7]]></POSITION>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--603AA4B5A028459FA3542BC96C303FE3-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--603AA4B5A028459FA3542BC96C303FE3--></AD_COLUMN>
+
 <!--617A60FCE6C04C8E9A176AC40CD0A7FD--><AD_COLUMN>
 <!--617A60FCE6C04C8E9A176AC40CD0A7FD-->  <AD_COLUMN_ID><![CDATA[617A60FCE6C04C8E9A176AC40CD0A7FD]]></AD_COLUMN_ID>
 <!--617A60FCE6C04C8E9A176AC40CD0A7FD-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -576,6 +682,42 @@
 <!--617A60FCE6C04C8E9A176AC40CD0A7FD-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
 <!--617A60FCE6C04C8E9A176AC40CD0A7FD--></AD_COLUMN>
 
+<!--61FD663388464D068C757C144BF4717B--><AD_COLUMN>
+<!--61FD663388464D068C757C144BF4717B-->  <AD_COLUMN_ID><![CDATA[61FD663388464D068C757C144BF4717B]]></AD_COLUMN_ID>
+<!--61FD663388464D068C757C144BF4717B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--61FD663388464D068C757C144BF4717B-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--61FD663388464D068C757C144BF4717B-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--61FD663388464D068C757C144BF4717B-->  <NAME><![CDATA[Creation Date]]></NAME>
+<!--61FD663388464D068C757C144BF4717B-->  <DESCRIPTION><![CDATA[The date that this record is completed.]]></DESCRIPTION>
+<!--61FD663388464D068C757C144BF4717B-->  <HELP><![CDATA[The Created field indicates the date that this record was created.]]></HELP>
+<!--61FD663388464D068C757C144BF4717B-->  <COLUMNNAME><![CDATA[Created]]></COLUMNNAME>
+<!--61FD663388464D068C757C144BF4717B-->  <AD_TABLE_ID><![CDATA[558721361A024C3D8156095BD7C2716D]]></AD_TABLE_ID>
+<!--61FD663388464D068C757C144BF4717B-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
+<!--61FD663388464D068C757C144BF4717B-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
+<!--61FD663388464D068C757C144BF4717B-->  <DEFAULTVALUE><![CDATA[@#Date@]]></DEFAULTVALUE>
+<!--61FD663388464D068C757C144BF4717B-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--61FD663388464D068C757C144BF4717B-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--61FD663388464D068C757C144BF4717B-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--61FD663388464D068C757C144BF4717B-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--61FD663388464D068C757C144BF4717B-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--61FD663388464D068C757C144BF4717B-->  <SEQNO><![CDATA[60]]></SEQNO>
+<!--61FD663388464D068C757C144BF4717B-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--61FD663388464D068C757C144BF4717B-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--61FD663388464D068C757C144BF4717B-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--61FD663388464D068C757C144BF4717B-->  <AD_ELEMENT_ID><![CDATA[245]]></AD_ELEMENT_ID>
+<!--61FD663388464D068C757C144BF4717B-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--61FD663388464D068C757C144BF4717B-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--61FD663388464D068C757C144BF4717B-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--61FD663388464D068C757C144BF4717B-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--61FD663388464D068C757C144BF4717B-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
+<!--61FD663388464D068C757C144BF4717B-->  <POSITION><![CDATA[6]]></POSITION>
+<!--61FD663388464D068C757C144BF4717B-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--61FD663388464D068C757C144BF4717B-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--61FD663388464D068C757C144BF4717B-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--61FD663388464D068C757C144BF4717B-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--61FD663388464D068C757C144BF4717B-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--61FD663388464D068C757C144BF4717B--></AD_COLUMN>
+
 <!--685B66C88A03478F92A88A278D8A81AE--><AD_COLUMN>
 <!--685B66C88A03478F92A88A278D8A81AE-->  <AD_COLUMN_ID><![CDATA[685B66C88A03478F92A88A278D8A81AE]]></AD_COLUMN_ID>
 <!--685B66C88A03478F92A88A278D8A81AE-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -684,6 +826,39 @@
 <!--7BC06432DC3C4422B36A4D2E0FFD66BF-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
 <!--7BC06432DC3C4422B36A4D2E0FFD66BF--></AD_COLUMN>
 
+<!--7FE24B86832049928F111EDD45F216C7--><AD_COLUMN>
+<!--7FE24B86832049928F111EDD45F216C7-->  <AD_COLUMN_ID><![CDATA[7FE24B86832049928F111EDD45F216C7]]></AD_COLUMN_ID>
+<!--7FE24B86832049928F111EDD45F216C7-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--7FE24B86832049928F111EDD45F216C7-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--7FE24B86832049928F111EDD45F216C7-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--7FE24B86832049928F111EDD45F216C7-->  <NAME><![CDATA[AD_Ref_Mask_ID]]></NAME>
+<!--7FE24B86832049928F111EDD45F216C7-->  <COLUMNNAME><![CDATA[AD_Ref_Mask_ID]]></COLUMNNAME>
+<!--7FE24B86832049928F111EDD45F216C7-->  <AD_TABLE_ID><![CDATA[558721361A024C3D8156095BD7C2716D]]></AD_TABLE_ID>
+<!--7FE24B86832049928F111EDD45F216C7-->  <AD_REFERENCE_ID><![CDATA[13]]></AD_REFERENCE_ID>
+<!--7FE24B86832049928F111EDD45F216C7-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--7FE24B86832049928F111EDD45F216C7-->  <ISKEY><![CDATA[Y]]></ISKEY>
+<!--7FE24B86832049928F111EDD45F216C7-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--7FE24B86832049928F111EDD45F216C7-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--7FE24B86832049928F111EDD45F216C7-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--7FE24B86832049928F111EDD45F216C7-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--7FE24B86832049928F111EDD45F216C7-->  <SEQNO><![CDATA[10]]></SEQNO>
+<!--7FE24B86832049928F111EDD45F216C7-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--7FE24B86832049928F111EDD45F216C7-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--7FE24B86832049928F111EDD45F216C7-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--7FE24B86832049928F111EDD45F216C7-->  <AD_ELEMENT_ID><![CDATA[2EA11B0C11DD465C896EA8D54D6492DB]]></AD_ELEMENT_ID>
+<!--7FE24B86832049928F111EDD45F216C7-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--7FE24B86832049928F111EDD45F216C7-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--7FE24B86832049928F111EDD45F216C7-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--7FE24B86832049928F111EDD45F216C7-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--7FE24B86832049928F111EDD45F216C7-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
+<!--7FE24B86832049928F111EDD45F216C7-->  <POSITION><![CDATA[1]]></POSITION>
+<!--7FE24B86832049928F111EDD45F216C7-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--7FE24B86832049928F111EDD45F216C7-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--7FE24B86832049928F111EDD45F216C7-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--7FE24B86832049928F111EDD45F216C7-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--7FE24B86832049928F111EDD45F216C7-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--7FE24B86832049928F111EDD45F216C7--></AD_COLUMN>
+
 <!--83756C850F774F748ECEAD93A6955E3B--><AD_COLUMN>
 <!--83756C850F774F748ECEAD93A6955E3B-->  <AD_COLUMN_ID><![CDATA[83756C850F774F748ECEAD93A6955E3B]]></AD_COLUMN_ID>
 <!--83756C850F774F748ECEAD93A6955E3B-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -933,6 +1108,76 @@
 <!--9C0F861CBCA342BC8C081A91721F1A8D-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
 <!--9C0F861CBCA342BC8C081A91721F1A8D--></AD_COLUMN>
 
+<!--9FFE28034391477B930B612FBFA9CDA0--><AD_COLUMN>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <AD_COLUMN_ID><![CDATA[9FFE28034391477B930B612FBFA9CDA0]]></AD_COLUMN_ID>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <NAME><![CDATA[Description]]></NAME>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <DESCRIPTION><![CDATA[A space to write additional related information.]]></DESCRIPTION>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <HELP><![CDATA[A description is limited to 255 characters.]]></HELP>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <COLUMNNAME><![CDATA[Description]]></COLUMNNAME>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <AD_TABLE_ID><![CDATA[558721361A024C3D8156095BD7C2716D]]></AD_TABLE_ID>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <AD_REFERENCE_ID><![CDATA[14]]></AD_REFERENCE_ID>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <FIELDLENGTH><![CDATA[255]]></FIELDLENGTH>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <ISMANDATORY><![CDATA[N]]></ISMANDATORY>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <SEQNO><![CDATA[110]]></SEQNO>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <AD_ELEMENT_ID><![CDATA[275]]></AD_ELEMENT_ID>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <POSITION><![CDATA[11]]></POSITION>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--9FFE28034391477B930B612FBFA9CDA0-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--9FFE28034391477B930B612FBFA9CDA0--></AD_COLUMN>
+
+<!--A4A2EC59D98C4F84A25B8D0C92C88304--><AD_COLUMN>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <AD_COLUMN_ID><![CDATA[A4A2EC59D98C4F84A25B8D0C92C88304]]></AD_COLUMN_ID>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <NAME><![CDATA[Created By]]></NAME>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <DESCRIPTION><![CDATA[User who created this records]]></DESCRIPTION>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <HELP><![CDATA[The Created By field indicates the user who created this record.]]></HELP>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <COLUMNNAME><![CDATA[Createdby]]></COLUMNNAME>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <AD_TABLE_ID><![CDATA[558721361A024C3D8156095BD7C2716D]]></AD_TABLE_ID>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <SEQNO><![CDATA[50]]></SEQNO>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <AD_ELEMENT_ID><![CDATA[246]]></AD_ELEMENT_ID>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <POSITION><![CDATA[5]]></POSITION>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--A4A2EC59D98C4F84A25B8D0C92C88304--></AD_COLUMN>
+
 <!--A6E0046C8D084D7DA86CAE79D8DA5594--><AD_COLUMN>
 <!--A6E0046C8D084D7DA86CAE79D8DA5594-->  <AD_COLUMN_ID><![CDATA[A6E0046C8D084D7DA86CAE79D8DA5594]]></AD_COLUMN_ID>
 <!--A6E0046C8D084D7DA86CAE79D8DA5594-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -1075,6 +1320,77 @@
 <!--B6F3A92EAF52455CAC3ACA31573573C8-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
 <!--B6F3A92EAF52455CAC3ACA31573573C8--></AD_COLUMN>
 
+<!--B8B22101C4494871946D09CF84016C59--><AD_COLUMN>
+<!--B8B22101C4494871946D09CF84016C59-->  <AD_COLUMN_ID><![CDATA[B8B22101C4494871946D09CF84016C59]]></AD_COLUMN_ID>
+<!--B8B22101C4494871946D09CF84016C59-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--B8B22101C4494871946D09CF84016C59-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--B8B22101C4494871946D09CF84016C59-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--B8B22101C4494871946D09CF84016C59-->  <NAME><![CDATA[Updated]]></NAME>
+<!--B8B22101C4494871946D09CF84016C59-->  <DESCRIPTION><![CDATA[The date that this record was last updated]]></DESCRIPTION>
+<!--B8B22101C4494871946D09CF84016C59-->  <HELP><![CDATA[The Updated field indicates the date that this record was updated.]]></HELP>
+<!--B8B22101C4494871946D09CF84016C59-->  <COLUMNNAME><![CDATA[Updated]]></COLUMNNAME>
+<!--B8B22101C4494871946D09CF84016C59-->  <AD_TABLE_ID><![CDATA[558721361A024C3D8156095BD7C2716D]]></AD_TABLE_ID>
+<!--B8B22101C4494871946D09CF84016C59-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
+<!--B8B22101C4494871946D09CF84016C59-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
+<!--B8B22101C4494871946D09CF84016C59-->  <DEFAULTVALUE><![CDATA[@#Date@]]></DEFAULTVALUE>
+<!--B8B22101C4494871946D09CF84016C59-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--B8B22101C4494871946D09CF84016C59-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--B8B22101C4494871946D09CF84016C59-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--B8B22101C4494871946D09CF84016C59-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--B8B22101C4494871946D09CF84016C59-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--B8B22101C4494871946D09CF84016C59-->  <SEQNO><![CDATA[80]]></SEQNO>
+<!--B8B22101C4494871946D09CF84016C59-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--B8B22101C4494871946D09CF84016C59-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--B8B22101C4494871946D09CF84016C59-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--B8B22101C4494871946D09CF84016C59-->  <AD_ELEMENT_ID><![CDATA[607]]></AD_ELEMENT_ID>
+<!--B8B22101C4494871946D09CF84016C59-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--B8B22101C4494871946D09CF84016C59-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--B8B22101C4494871946D09CF84016C59-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--B8B22101C4494871946D09CF84016C59-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--B8B22101C4494871946D09CF84016C59-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
+<!--B8B22101C4494871946D09CF84016C59-->  <POSITION><![CDATA[8]]></POSITION>
+<!--B8B22101C4494871946D09CF84016C59-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--B8B22101C4494871946D09CF84016C59-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--B8B22101C4494871946D09CF84016C59-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--B8B22101C4494871946D09CF84016C59-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--B8B22101C4494871946D09CF84016C59-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--B8B22101C4494871946D09CF84016C59--></AD_COLUMN>
+
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB--><AD_COLUMN>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <AD_COLUMN_ID><![CDATA[C7AE53E9F1C6431998C1BFB9E1FB8BDB]]></AD_COLUMN_ID>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <NAME><![CDATA[Reference]]></NAME>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <DESCRIPTION><![CDATA[The data type of this field.]]></DESCRIPTION>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <HELP><![CDATA[The Reference indicates the type of reference field]]></HELP>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <COLUMNNAME><![CDATA[AD_Reference_ID]]></COLUMNNAME>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <AD_TABLE_ID><![CDATA[558721361A024C3D8156095BD7C2716D]]></AD_TABLE_ID>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <ISPARENT><![CDATA[Y]]></ISPARENT>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <SEQNO><![CDATA[20]]></SEQNO>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <AD_ELEMENT_ID><![CDATA[120]]></AD_ELEMENT_ID>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <POSITION><![CDATA[2]]></POSITION>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--C7AE53E9F1C6431998C1BFB9E1FB8BDB--></AD_COLUMN>
+
 <!--C8BE75730A82430398F6450986BB8A47--><AD_COLUMN>
 <!--C8BE75730A82430398F6450986BB8A47-->  <AD_COLUMN_ID><![CDATA[C8BE75730A82430398F6450986BB8A47]]></AD_COLUMN_ID>
 <!--C8BE75730A82430398F6450986BB8A47-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -1218,6 +1534,78 @@
 <!--D1C5688DBEA44928B39EA4BD3318AC83-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
 <!--D1C5688DBEA44928B39EA4BD3318AC83--></AD_COLUMN>
 
+<!--D201E9863A2E44FAADB74772790B37E1--><AD_COLUMN>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <AD_COLUMN_ID><![CDATA[D201E9863A2E44FAADB74772790B37E1]]></AD_COLUMN_ID>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <NAME><![CDATA[Client]]></NAME>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <DESCRIPTION><![CDATA[Client for this installation.]]></DESCRIPTION>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <HELP><![CDATA[A Client is a company or a legal entity. You cannot share data between Clients.]]></HELP>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <COLUMNNAME><![CDATA[AD_Client_ID]]></COLUMNNAME>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <AD_TABLE_ID><![CDATA[558721361A024C3D8156095BD7C2716D]]></AD_TABLE_ID>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <DEFAULTVALUE><![CDATA[@AD_CLIENT_ID@]]></DEFAULTVALUE>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <AD_ELEMENT_ID><![CDATA[102]]></AD_ELEMENT_ID>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <POSITION><![CDATA[3]]></POSITION>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--D201E9863A2E44FAADB74772790B37E1-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--D201E9863A2E44FAADB74772790B37E1--></AD_COLUMN>
+
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A--><AD_COLUMN>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <AD_COLUMN_ID><![CDATA[D5E13D8DCCC448FDB9807C91EB23BC1A]]></AD_COLUMN_ID>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <NAME><![CDATA[Organization]]></NAME>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <DESCRIPTION><![CDATA[Organizational entity within client]]></DESCRIPTION>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <HELP><![CDATA[An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.]]></HELP>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <COLUMNNAME><![CDATA[AD_Org_ID]]></COLUMNNAME>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <AD_TABLE_ID><![CDATA[558721361A024C3D8156095BD7C2716D]]></AD_TABLE_ID>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <DEFAULTVALUE><![CDATA[@AD_ORG_ID@]]></DEFAULTVALUE>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <SEQNO><![CDATA[40]]></SEQNO>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <AD_ELEMENT_ID><![CDATA[113]]></AD_ELEMENT_ID>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <POSITION><![CDATA[4]]></POSITION>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <IMAGESIZEVALUESACTION><![CDATA[N]]></IMAGESIZEVALUESACTION>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A-->  <ISUSEDSEQUENCE><![CDATA[N]]></ISUSEDSEQUENCE>
+<!--D5E13D8DCCC448FDB9807C91EB23BC1A--></AD_COLUMN>
+
 <!--E17D4EE6F1E44063A90AD7EA8C99E4E9--><AD_COLUMN>
 <!--E17D4EE6F1E44063A90AD7EA8C99E4E9-->  <AD_COLUMN_ID><![CDATA[E17D4EE6F1E44063A90AD7EA8C99E4E9]]></AD_COLUMN_ID>
 <!--E17D4EE6F1E44063A90AD7EA8C99E4E9-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_ELEMENT.xml	Wed Jan 23 18:16:09 2013 +0100
+++ b/modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_ELEMENT.xml	Thu Jan 24 00:29:43 2013 +0100
@@ -14,6 +14,31 @@
 <!--1663D48FCF45475FB6AF23DE940BF7B4-->  <ISGLOSSARY><![CDATA[N]]></ISGLOSSARY>
 <!--1663D48FCF45475FB6AF23DE940BF7B4--></AD_ELEMENT>
 
+<!--1E20B2070A5447D6A31B4A3C95EBD941--><AD_ELEMENT>
+<!--1E20B2070A5447D6A31B4A3C95EBD941-->  <AD_ELEMENT_ID><![CDATA[1E20B2070A5447D6A31B4A3C95EBD941]]></AD_ELEMENT_ID>
+<!--1E20B2070A5447D6A31B4A3C95EBD941-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--1E20B2070A5447D6A31B4A3C95EBD941-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--1E20B2070A5447D6A31B4A3C95EBD941-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--1E20B2070A5447D6A31B4A3C95EBD941-->  <COLUMNNAME><![CDATA[Name]]></COLUMNNAME>
+<!--1E20B2070A5447D6A31B4A3C95EBD941-->  <NAME><![CDATA[Input Mask]]></NAME>
+<!--1E20B2070A5447D6A31B4A3C95EBD941-->  <PRINTNAME><![CDATA[Input Mask]]></PRINTNAME>
+<!--1E20B2070A5447D6A31B4A3C95EBD941-->  <PO_NAME><![CDATA[Input Mask]]></PO_NAME>
+<!--1E20B2070A5447D6A31B4A3C95EBD941-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
+<!--1E20B2070A5447D6A31B4A3C95EBD941-->  <ISGLOSSARY><![CDATA[N]]></ISGLOSSARY>
+<!--1E20B2070A5447D6A31B4A3C95EBD941--></AD_ELEMENT>
+
+<!--2EA11B0C11DD465C896EA8D54D6492DB--><AD_ELEMENT>
+<!--2EA11B0C11DD465C896EA8D54D6492DB-->  <AD_ELEMENT_ID><![CDATA[2EA11B0C11DD465C896EA8D54D6492DB]]></AD_ELEMENT_ID>
+<!--2EA11B0C11DD465C896EA8D54D6492DB-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--2EA11B0C11DD465C896EA8D54D6492DB-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--2EA11B0C11DD465C896EA8D54D6492DB-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--2EA11B0C11DD465C896EA8D54D6492DB-->  <COLUMNNAME><![CDATA[AD_Ref_Mask_ID]]></COLUMNNAME>
+<!--2EA11B0C11DD465C896EA8D54D6492DB-->  <NAME><![CDATA[AD_Ref_Mask_ID]]></NAME>
+<!--2EA11B0C11DD465C896EA8D54D6492DB-->  <PRINTNAME><![CDATA[AD_Ref_Mask_ID]]></PRINTNAME>
+<!--2EA11B0C11DD465C896EA8D54D6492DB-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
+<!--2EA11B0C11DD465C896EA8D54D6492DB-->  <ISGLOSSARY><![CDATA[N]]></ISGLOSSARY>
+<!--2EA11B0C11DD465C896EA8D54D6492DB--></AD_ELEMENT>
+
 <!--6F1CAC3037204B29AA6A1BEEEB322DEC--><AD_ELEMENT>
 <!--6F1CAC3037204B29AA6A1BEEEB322DEC-->  <AD_ELEMENT_ID><![CDATA[6F1CAC3037204B29AA6A1BEEEB322DEC]]></AD_ELEMENT_ID>
 <!--6F1CAC3037204B29AA6A1BEEEB322DEC-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_FIELD.xml	Wed Jan 23 18:16:09 2013 +0100
+++ b/modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_FIELD.xml	Thu Jan 24 00:29:43 2013 +0100
@@ -118,6 +118,36 @@
 <!--32CE4A00B8A742A18E062912D074B959-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
 <!--32CE4A00B8A742A18E062912D074B959--></AD_FIELD>
 
+<!--344AF17DE6E64BD1A321DD033F3DBD73--><AD_FIELD>
+<!--344AF17DE6E64BD1A321DD033F3DBD73-->  <AD_FIELD_ID><![CDATA[344AF17DE6E64BD1A321DD033F3DBD73]]></AD_FIELD_ID>
+<!--344AF17DE6E64BD1A321DD033F3DBD73-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--344AF17DE6E64BD1A321DD033F3DBD73-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--344AF17DE6E64BD1A321DD033F3DBD73-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--344AF17DE6E64BD1A321DD033F3DBD73-->  <NAME><![CDATA[Active]]></NAME>
+<!--344AF17DE6E64BD1A321DD033F3DBD73-->  <DESCRIPTION><![CDATA[A flag indicating whether this record is available for use or de-activated.]]></DESCRIPTION>
+<!--344AF17DE6E64BD1A321DD033F3DBD73-->  <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>
+<!--344AF17DE6E64BD1A321DD033F3DBD73-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--344AF17DE6E64BD1A321DD033F3DBD73-->  <AD_TAB_ID><![CDATA[33550B504F454C518E487AF4BC81376F]]></AD_TAB_ID>
+<!--344AF17DE6E64BD1A321DD033F3DBD73-->  <AD_COLUMN_ID><![CDATA[09CE64A2B0FE4D99A5E49476E3F51549]]></AD_COLUMN_ID>
+<!--344AF17DE6E64BD1A321DD033F3DBD73-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
+<!--344AF17DE6E64BD1A321DD033F3DBD73-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--344AF17DE6E64BD1A321DD033F3DBD73-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
+<!--344AF17DE6E64BD1A321DD033F3DBD73-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--344AF17DE6E64BD1A321DD033F3DBD73-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--344AF17DE6E64BD1A321DD033F3DBD73-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--344AF17DE6E64BD1A321DD033F3DBD73-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--344AF17DE6E64BD1A321DD033F3DBD73-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--344AF17DE6E64BD1A321DD033F3DBD73-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--344AF17DE6E64BD1A321DD033F3DBD73-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--344AF17DE6E64BD1A321DD033F3DBD73-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
+<!--344AF17DE6E64BD1A321DD033F3DBD73-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--344AF17DE6E64BD1A321DD033F3DBD73-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--344AF17DE6E64BD1A321DD033F3DBD73-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--344AF17DE6E64BD1A321DD033F3DBD73-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
+<!--344AF17DE6E64BD1A321DD033F3DBD73--></AD_FIELD>
+
 <!--3A2223A7C6FA48E2B9E5FE3F4CF50BBE--><AD_FIELD>
 <!--3A2223A7C6FA48E2B9E5FE3F4CF50BBE-->  <AD_FIELD_ID><![CDATA[3A2223A7C6FA48E2B9E5FE3F4CF50BBE]]></AD_FIELD_ID>
 <!--3A2223A7C6FA48E2B9E5FE3F4CF50BBE-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -292,6 +322,32 @@
 <!--5FCB19D79E454B9BB8053995417750EB-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
 <!--5FCB19D79E454B9BB8053995417750EB--></AD_FIELD>
 
+<!--6257E278F6C5475EBD4A313565AF25F7--><AD_FIELD>
+<!--6257E278F6C5475EBD4A313565AF25F7-->  <AD_FIELD_ID><![CDATA[6257E278F6C5475EBD4A313565AF25F7]]></AD_FIELD_ID>
+<!--6257E278F6C5475EBD4A313565AF25F7-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--6257E278F6C5475EBD4A313565AF25F7-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--6257E278F6C5475EBD4A313565AF25F7-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--6257E278F6C5475EBD4A313565AF25F7-->  <NAME><![CDATA[Input Mask]]></NAME>
+<!--6257E278F6C5475EBD4A313565AF25F7-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--6257E278F6C5475EBD4A313565AF25F7-->  <AD_TAB_ID><![CDATA[33550B504F454C518E487AF4BC81376F]]></AD_TAB_ID>
+<!--6257E278F6C5475EBD4A313565AF25F7-->  <AD_COLUMN_ID><![CDATA[4DCFCE4CF21748888C8031E975640486]]></AD_COLUMN_ID>
+<!--6257E278F6C5475EBD4A313565AF25F7-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
+<!--6257E278F6C5475EBD4A313565AF25F7-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--6257E278F6C5475EBD4A313565AF25F7-->  <DISPLAYLENGTH><![CDATA[60]]></DISPLAYLENGTH>
+<!--6257E278F6C5475EBD4A313565AF25F7-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--6257E278F6C5475EBD4A313565AF25F7-->  <SEQNO><![CDATA[10]]></SEQNO>
+<!--6257E278F6C5475EBD4A313565AF25F7-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--6257E278F6C5475EBD4A313565AF25F7-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--6257E278F6C5475EBD4A313565AF25F7-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--6257E278F6C5475EBD4A313565AF25F7-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--6257E278F6C5475EBD4A313565AF25F7-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--6257E278F6C5475EBD4A313565AF25F7-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
+<!--6257E278F6C5475EBD4A313565AF25F7-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--6257E278F6C5475EBD4A313565AF25F7-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--6257E278F6C5475EBD4A313565AF25F7-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--6257E278F6C5475EBD4A313565AF25F7-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
+<!--6257E278F6C5475EBD4A313565AF25F7--></AD_FIELD>
+
 <!--76CEB34769FA40CBB7219C246A8EAC89--><AD_FIELD>
 <!--76CEB34769FA40CBB7219C246A8EAC89-->  <AD_FIELD_ID><![CDATA[76CEB34769FA40CBB7219C246A8EAC89]]></AD_FIELD_ID>
 <!--76CEB34769FA40CBB7219C246A8EAC89-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -433,6 +489,33 @@
 <!--86D6DB34779F4CA9AC47EE5AFA7C2702-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
 <!--86D6DB34779F4CA9AC47EE5AFA7C2702--></AD_FIELD>
 
+<!--8BD9E6B24097471EAD5B8274E27D4D21--><AD_FIELD>
+<!--8BD9E6B24097471EAD5B8274E27D4D21-->  <AD_FIELD_ID><![CDATA[8BD9E6B24097471EAD5B8274E27D4D21]]></AD_FIELD_ID>
+<!--8BD9E6B24097471EAD5B8274E27D4D21-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--8BD9E6B24097471EAD5B8274E27D4D21-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--8BD9E6B24097471EAD5B8274E27D4D21-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--8BD9E6B24097471EAD5B8274E27D4D21-->  <NAME><![CDATA[Client]]></NAME>
+<!--8BD9E6B24097471EAD5B8274E27D4D21-->  <DESCRIPTION><![CDATA[Client for this installation.]]></DESCRIPTION>
+<!--8BD9E6B24097471EAD5B8274E27D4D21-->  <HELP><![CDATA[A Client is a company or a legal entity. You cannot share data between Clients.]]></HELP>
+<!--8BD9E6B24097471EAD5B8274E27D4D21-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--8BD9E6B24097471EAD5B8274E27D4D21-->  <AD_TAB_ID><![CDATA[33550B504F454C518E487AF4BC81376F]]></AD_TAB_ID>
+<!--8BD9E6B24097471EAD5B8274E27D4D21-->  <AD_COLUMN_ID><![CDATA[D201E9863A2E44FAADB74772790B37E1]]></AD_COLUMN_ID>
+<!--8BD9E6B24097471EAD5B8274E27D4D21-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
+<!--8BD9E6B24097471EAD5B8274E27D4D21-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--8BD9E6B24097471EAD5B8274E27D4D21-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
+<!--8BD9E6B24097471EAD5B8274E27D4D21-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--8BD9E6B24097471EAD5B8274E27D4D21-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--8BD9E6B24097471EAD5B8274E27D4D21-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--8BD9E6B24097471EAD5B8274E27D4D21-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--8BD9E6B24097471EAD5B8274E27D4D21-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--8BD9E6B24097471EAD5B8274E27D4D21-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--8BD9E6B24097471EAD5B8274E27D4D21-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
+<!--8BD9E6B24097471EAD5B8274E27D4D21-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--8BD9E6B24097471EAD5B8274E27D4D21-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--8BD9E6B24097471EAD5B8274E27D4D21-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--8BD9E6B24097471EAD5B8274E27D4D21-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
+<!--8BD9E6B24097471EAD5B8274E27D4D21--></AD_FIELD>
+
 <!--8CBD0C02476942F9AD2C9B69FFAEE0FB--><AD_FIELD>
 <!--8CBD0C02476942F9AD2C9B69FFAEE0FB-->  <AD_FIELD_ID><![CDATA[8CBD0C02476942F9AD2C9B69FFAEE0FB]]></AD_FIELD_ID>
 <!--8CBD0C02476942F9AD2C9B69FFAEE0FB-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -489,6 +572,34 @@
 <!--93538F5FCA2A496F83B4B1097B35EC43-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
 <!--93538F5FCA2A496F83B4B1097B35EC43--></AD_FIELD>
 
+<!--9E807407BEB6443D9C4FBDBC22566024--><AD_FIELD>
+<!--9E807407BEB6443D9C4FBDBC22566024-->  <AD_FIELD_ID><![CDATA[9E807407BEB6443D9C4FBDBC22566024]]></AD_FIELD_ID>
+<!--9E807407BEB6443D9C4FBDBC22566024-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--9E807407BEB6443D9C4FBDBC22566024-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--9E807407BEB6443D9C4FBDBC22566024-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--9E807407BEB6443D9C4FBDBC22566024-->  <NAME><![CDATA[Description]]></NAME>
+<!--9E807407BEB6443D9C4FBDBC22566024-->  <DESCRIPTION><![CDATA[A space to write additional related information.]]></DESCRIPTION>
+<!--9E807407BEB6443D9C4FBDBC22566024-->  <HELP><![CDATA[A description is limited to 255 characters.]]></HELP>
+<!--9E807407BEB6443D9C4FBDBC22566024-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--9E807407BEB6443D9C4FBDBC22566024-->  <AD_TAB_ID><![CDATA[33550B504F454C518E487AF4BC81376F]]></AD_TAB_ID>
+<!--9E807407BEB6443D9C4FBDBC22566024-->  <AD_COLUMN_ID><![CDATA[9FFE28034391477B930B612FBFA9CDA0]]></AD_COLUMN_ID>
+<!--9E807407BEB6443D9C4FBDBC22566024-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
+<!--9E807407BEB6443D9C4FBDBC22566024-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--9E807407BEB6443D9C4FBDBC22566024-->  <DISPLAYLENGTH><![CDATA[255]]></DISPLAYLENGTH>
+<!--9E807407BEB6443D9C4FBDBC22566024-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--9E807407BEB6443D9C4FBDBC22566024-->  <SEQNO><![CDATA[20]]></SEQNO>
+<!--9E807407BEB6443D9C4FBDBC22566024-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--9E807407BEB6443D9C4FBDBC22566024-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--9E807407BEB6443D9C4FBDBC22566024-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--9E807407BEB6443D9C4FBDBC22566024-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--9E807407BEB6443D9C4FBDBC22566024-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--9E807407BEB6443D9C4FBDBC22566024-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
+<!--9E807407BEB6443D9C4FBDBC22566024-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--9E807407BEB6443D9C4FBDBC22566024-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--9E807407BEB6443D9C4FBDBC22566024-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--9E807407BEB6443D9C4FBDBC22566024-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
+<!--9E807407BEB6443D9C4FBDBC22566024--></AD_FIELD>
+
 <!--A284D9608240419F9273BA77FFF2A84E--><AD_FIELD>
 <!--A284D9608240419F9273BA77FFF2A84E-->  <AD_FIELD_ID><![CDATA[A284D9608240419F9273BA77FFF2A84E]]></AD_FIELD_ID>
 <!--A284D9608240419F9273BA77FFF2A84E-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -520,6 +631,34 @@
 <!--A284D9608240419F9273BA77FFF2A84E-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
 <!--A284D9608240419F9273BA77FFF2A84E--></AD_FIELD>
 
+<!--B1AA506751B644CDBEF5455E2690BEC3--><AD_FIELD>
+<!--B1AA506751B644CDBEF5455E2690BEC3-->  <AD_FIELD_ID><![CDATA[B1AA506751B644CDBEF5455E2690BEC3]]></AD_FIELD_ID>
+<!--B1AA506751B644CDBEF5455E2690BEC3-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--B1AA506751B644CDBEF5455E2690BEC3-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--B1AA506751B644CDBEF5455E2690BEC3-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--B1AA506751B644CDBEF5455E2690BEC3-->  <NAME><![CDATA[Organization]]></NAME>
+<!--B1AA506751B644CDBEF5455E2690BEC3-->  <DESCRIPTION><![CDATA[Organizational entity within client]]></DESCRIPTION>
+<!--B1AA506751B644CDBEF5455E2690BEC3-->  <HELP><![CDATA[An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.]]></HELP>
+<!--B1AA506751B644CDBEF5455E2690BEC3-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--B1AA506751B644CDBEF5455E2690BEC3-->  <AD_TAB_ID><![CDATA[33550B504F454C518E487AF4BC81376F]]></AD_TAB_ID>
+<!--B1AA506751B644CDBEF5455E2690BEC3-->  <AD_COLUMN_ID><![CDATA[D5E13D8DCCC448FDB9807C91EB23BC1A]]></AD_COLUMN_ID>
+<!--B1AA506751B644CDBEF5455E2690BEC3-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
+<!--B1AA506751B644CDBEF5455E2690BEC3-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--B1AA506751B644CDBEF5455E2690BEC3-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
+<!--B1AA506751B644CDBEF5455E2690BEC3-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--B1AA506751B644CDBEF5455E2690BEC3-->  <SEQNO><![CDATA[10]]></SEQNO>
+<!--B1AA506751B644CDBEF5455E2690BEC3-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--B1AA506751B644CDBEF5455E2690BEC3-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--B1AA506751B644CDBEF5455E2690BEC3-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--B1AA506751B644CDBEF5455E2690BEC3-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--B1AA506751B644CDBEF5455E2690BEC3-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--B1AA506751B644CDBEF5455E2690BEC3-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
+<!--B1AA506751B644CDBEF5455E2690BEC3-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--B1AA506751B644CDBEF5455E2690BEC3-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--B1AA506751B644CDBEF5455E2690BEC3-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--B1AA506751B644CDBEF5455E2690BEC3-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
+<!--B1AA506751B644CDBEF5455E2690BEC3--></AD_FIELD>
+
 <!--B88E3DEC8216422D8ECB1AE5C3603F43--><AD_FIELD>
 <!--B88E3DEC8216422D8ECB1AE5C3603F43-->  <AD_FIELD_ID><![CDATA[B88E3DEC8216422D8ECB1AE5C3603F43]]></AD_FIELD_ID>
 <!--B88E3DEC8216422D8ECB1AE5C3603F43-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -547,6 +686,34 @@
 <!--B88E3DEC8216422D8ECB1AE5C3603F43-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
 <!--B88E3DEC8216422D8ECB1AE5C3603F43--></AD_FIELD>
 
+<!--C125887401E34C3EA58D29A985D2AD1D--><AD_FIELD>
+<!--C125887401E34C3EA58D29A985D2AD1D-->  <AD_FIELD_ID><![CDATA[C125887401E34C3EA58D29A985D2AD1D]]></AD_FIELD_ID>
+<!--C125887401E34C3EA58D29A985D2AD1D-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--C125887401E34C3EA58D29A985D2AD1D-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--C125887401E34C3EA58D29A985D2AD1D-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--C125887401E34C3EA58D29A985D2AD1D-->  <NAME><![CDATA[Reference]]></NAME>
+<!--C125887401E34C3EA58D29A985D2AD1D-->  <DESCRIPTION><![CDATA[The data type of this field.]]></DESCRIPTION>
+<!--C125887401E34C3EA58D29A985D2AD1D-->  <HELP><![CDATA[The Reference indicates the type of reference field]]></HELP>
+<!--C125887401E34C3EA58D29A985D2AD1D-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--C125887401E34C3EA58D29A985D2AD1D-->  <AD_TAB_ID><![CDATA[33550B504F454C518E487AF4BC81376F]]></AD_TAB_ID>
+<!--C125887401E34C3EA58D29A985D2AD1D-->  <AD_COLUMN_ID><![CDATA[C7AE53E9F1C6431998C1BFB9E1FB8BDB]]></AD_COLUMN_ID>
+<!--C125887401E34C3EA58D29A985D2AD1D-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
+<!--C125887401E34C3EA58D29A985D2AD1D-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--C125887401E34C3EA58D29A985D2AD1D-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
+<!--C125887401E34C3EA58D29A985D2AD1D-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--C125887401E34C3EA58D29A985D2AD1D-->  <SEQNO><![CDATA[20]]></SEQNO>
+<!--C125887401E34C3EA58D29A985D2AD1D-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--C125887401E34C3EA58D29A985D2AD1D-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--C125887401E34C3EA58D29A985D2AD1D-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--C125887401E34C3EA58D29A985D2AD1D-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--C125887401E34C3EA58D29A985D2AD1D-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--C125887401E34C3EA58D29A985D2AD1D-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
+<!--C125887401E34C3EA58D29A985D2AD1D-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--C125887401E34C3EA58D29A985D2AD1D-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--C125887401E34C3EA58D29A985D2AD1D-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--C125887401E34C3EA58D29A985D2AD1D-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
+<!--C125887401E34C3EA58D29A985D2AD1D--></AD_FIELD>
+
 <!--C29C122C389B41889AA380B6D4E5F211--><AD_FIELD>
 <!--C29C122C389B41889AA380B6D4E5F211-->  <AD_FIELD_ID><![CDATA[C29C122C389B41889AA380B6D4E5F211]]></AD_FIELD_ID>
 <!--C29C122C389B41889AA380B6D4E5F211-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -653,6 +820,31 @@
 <!--D8910FF94A8E4EE097B2E52E33A47246-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
 <!--D8910FF94A8E4EE097B2E52E33A47246--></AD_FIELD>
 
+<!--ED8A6F6532A5418390B2D111E7CDAC6E--><AD_FIELD>
+<!--ED8A6F6532A5418390B2D111E7CDAC6E-->  <AD_FIELD_ID><![CDATA[ED8A6F6532A5418390B2D111E7CDAC6E]]></AD_FIELD_ID>
+<!--ED8A6F6532A5418390B2D111E7CDAC6E-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--ED8A6F6532A5418390B2D111E7CDAC6E-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--ED8A6F6532A5418390B2D111E7CDAC6E-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--ED8A6F6532A5418390B2D111E7CDAC6E-->  <NAME><![CDATA[AD_Ref_Mask_ID]]></NAME>
+<!--ED8A6F6532A5418390B2D111E7CDAC6E-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--ED8A6F6532A5418390B2D111E7CDAC6E-->  <AD_TAB_ID><![CDATA[33550B504F454C518E487AF4BC81376F]]></AD_TAB_ID>
+<!--ED8A6F6532A5418390B2D111E7CDAC6E-->  <AD_COLUMN_ID><![CDATA[7FE24B86832049928F111EDD45F216C7]]></AD_COLUMN_ID>
+<!--ED8A6F6532A5418390B2D111E7CDAC6E-->  <IGNOREINWAD><![CDATA[N]]></IGNOREINWAD>
+<!--ED8A6F6532A5418390B2D111E7CDAC6E-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--ED8A6F6532A5418390B2D111E7CDAC6E-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
+<!--ED8A6F6532A5418390B2D111E7CDAC6E-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--ED8A6F6532A5418390B2D111E7CDAC6E-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--ED8A6F6532A5418390B2D111E7CDAC6E-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--ED8A6F6532A5418390B2D111E7CDAC6E-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--ED8A6F6532A5418390B2D111E7CDAC6E-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--ED8A6F6532A5418390B2D111E7CDAC6E-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--ED8A6F6532A5418390B2D111E7CDAC6E-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
+<!--ED8A6F6532A5418390B2D111E7CDAC6E-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--ED8A6F6532A5418390B2D111E7CDAC6E-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--ED8A6F6532A5418390B2D111E7CDAC6E-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--ED8A6F6532A5418390B2D111E7CDAC6E-->  <EM_OBUIAPP_SHOWSUMMARY><![CDATA[N]]></EM_OBUIAPP_SHOWSUMMARY>
+<!--ED8A6F6532A5418390B2D111E7CDAC6E--></AD_FIELD>
+
 <!--EFAE32CFCF25457A86257665037AD7AF--><AD_FIELD>
 <!--EFAE32CFCF25457A86257665037AD7AF-->  <AD_FIELD_ID><![CDATA[EFAE32CFCF25457A86257665037AD7AF]]></AD_FIELD_ID>
 <!--EFAE32CFCF25457A86257665037AD7AF-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_REFERENCE.xml	Wed Jan 23 18:16:09 2013 +0100
+++ b/modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_REFERENCE.xml	Thu Jan 24 00:29:43 2013 +0100
@@ -16,6 +16,53 @@
 <!--405408C120EE473FBB07EA49919DF0F7-->  <ISVALUEDISPLAYED><![CDATA[N]]></ISVALUEDISPLAYED>
 <!--405408C120EE473FBB07EA49919DF0F7--></AD_REFERENCE>
 
+<!--52529102938F41D5B84D3DE1F8892249--><AD_REFERENCE>
+<!--52529102938F41D5B84D3DE1F8892249-->  <AD_REFERENCE_ID><![CDATA[52529102938F41D5B84D3DE1F8892249]]></AD_REFERENCE_ID>
+<!--52529102938F41D5B84D3DE1F8892249-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--52529102938F41D5B84D3DE1F8892249-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--52529102938F41D5B84D3DE1F8892249-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--52529102938F41D5B84D3DE1F8892249-->  <NAME><![CDATA[Masked String]]></NAME>
+<!--52529102938F41D5B84D3DE1F8892249-->  <HELP><![CDATA[Overview of available mask characters
+Char Description
+0	Digit (0 through 9) or plus [+] or minus [-] signs
+9	Digit or space
+#	Digit
+L	Letter (A through Z)
+?	Letter (A through Z) or space
+A	Letter or digit
+a	Letter or digit
+C	Any character or space
+ 
+<	Causes all characters that follow to be converted to lowercase
+>	Causes all characters that follow to be converted to uppercase
+
+Any character not matching one of the above mask characters or that is escaped with a backslash (\) is considered to be a literal.
+
+Custom mask characters can be defined by standard regular expression character set or range. For example, a hexadecimal color code mask could be:
+
+Color: \#>[0-9A-F][0-9A-F][0-9A-F][0-9A-F][0-9A-F][0-9A-F]]]></HELP>
+<!--52529102938F41D5B84D3DE1F8892249-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
+<!--52529102938F41D5B84D3DE1F8892249-->  <ISBASEREFERENCE><![CDATA[Y]]></ISBASEREFERENCE>
+<!--52529102938F41D5B84D3DE1F8892249-->  <MODEL_IMPL><![CDATA[org.openbravo.base.model.domaintype.StringDomainType]]></MODEL_IMPL>
+<!--52529102938F41D5B84D3DE1F8892249-->  <WAD_IMPL><![CDATA[org.openbravo.wad.controls.WADString]]></WAD_IMPL>
+<!--52529102938F41D5B84D3DE1F8892249-->  <UI_IMPL><![CDATA[org.openbravo.reference.ui.UIString]]></UI_IMPL>
+<!--52529102938F41D5B84D3DE1F8892249-->  <ISVALUEDISPLAYED><![CDATA[N]]></ISVALUEDISPLAYED>
+<!--52529102938F41D5B84D3DE1F8892249--></AD_REFERENCE>
+
+<!--7CB371C13D204EB69BF370217F692999--><AD_REFERENCE>
+<!--7CB371C13D204EB69BF370217F692999-->  <AD_REFERENCE_ID><![CDATA[7CB371C13D204EB69BF370217F692999]]></AD_REFERENCE_ID>
+<!--7CB371C13D204EB69BF370217F692999-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--7CB371C13D204EB69BF370217F692999-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--7CB371C13D204EB69BF370217F692999-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--7CB371C13D204EB69BF370217F692999-->  <NAME><![CDATA[Rich Text Area]]></NAME>
+<!--7CB371C13D204EB69BF370217F692999-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
+<!--7CB371C13D204EB69BF370217F692999-->  <ISBASEREFERENCE><![CDATA[Y]]></ISBASEREFERENCE>
+<!--7CB371C13D204EB69BF370217F692999-->  <MODEL_IMPL><![CDATA[org.openbravo.base.model.domaintype.StringDomainType]]></MODEL_IMPL>
+<!--7CB371C13D204EB69BF370217F692999-->  <WAD_IMPL><![CDATA[org.openbravo.wad.controls.WADText]]></WAD_IMPL>
+<!--7CB371C13D204EB69BF370217F692999-->  <UI_IMPL><![CDATA[org.openbravo.reference.ui.UIText]]></UI_IMPL>
+<!--7CB371C13D204EB69BF370217F692999-->  <ISVALUEDISPLAYED><![CDATA[N]]></ISVALUEDISPLAYED>
+<!--7CB371C13D204EB69BF370217F692999--></AD_REFERENCE>
+
 <!--808852664FCF4615A2A901308737F81F--><AD_REFERENCE>
 <!--808852664FCF4615A2A901308737F81F-->  <AD_REFERENCE_ID><![CDATA[808852664FCF4615A2A901308737F81F]]></AD_REFERENCE_ID>
 <!--808852664FCF4615A2A901308737F81F-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_TAB.xml	Wed Jan 23 18:16:09 2013 +0100
+++ b/modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_TAB.xml	Thu Jan 24 00:29:43 2013 +0100
@@ -28,6 +28,32 @@
 <!--0424D6B4F7FF46A6A4B4960F410144B6-->  <EM_OBUIAPP_SHOW_SELECT><![CDATA[Y]]></EM_OBUIAPP_SHOW_SELECT>
 <!--0424D6B4F7FF46A6A4B4960F410144B6--></AD_TAB>
 
+<!--33550B504F454C518E487AF4BC81376F--><AD_TAB>
+<!--33550B504F454C518E487AF4BC81376F-->  <AD_TAB_ID><![CDATA[33550B504F454C518E487AF4BC81376F]]></AD_TAB_ID>
+<!--33550B504F454C518E487AF4BC81376F-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--33550B504F454C518E487AF4BC81376F-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--33550B504F454C518E487AF4BC81376F-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--33550B504F454C518E487AF4BC81376F-->  <NAME><![CDATA[Mask Reference]]></NAME>
+<!--33550B504F454C518E487AF4BC81376F-->  <AD_TABLE_ID><![CDATA[558721361A024C3D8156095BD7C2716D]]></AD_TABLE_ID>
+<!--33550B504F454C518E487AF4BC81376F-->  <AD_WINDOW_ID><![CDATA[101]]></AD_WINDOW_ID>
+<!--33550B504F454C518E487AF4BC81376F-->  <SEQNO><![CDATA[170]]></SEQNO>
+<!--33550B504F454C518E487AF4BC81376F-->  <TABLEVEL><![CDATA[1]]></TABLEVEL>
+<!--33550B504F454C518E487AF4BC81376F-->  <ISSINGLEROW><![CDATA[N]]></ISSINGLEROW>
+<!--33550B504F454C518E487AF4BC81376F-->  <ISINFOTAB><![CDATA[N]]></ISINFOTAB>
+<!--33550B504F454C518E487AF4BC81376F-->  <ISTRANSLATIONTAB><![CDATA[N]]></ISTRANSLATIONTAB>
+<!--33550B504F454C518E487AF4BC81376F-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--33550B504F454C518E487AF4BC81376F-->  <HASTREE><![CDATA[N]]></HASTREE>
+<!--33550B504F454C518E487AF4BC81376F-->  <PROCESSING><![CDATA[N]]></PROCESSING>
+<!--33550B504F454C518E487AF4BC81376F-->  <IMPORTFIELDS><![CDATA[N]]></IMPORTFIELDS>
+<!--33550B504F454C518E487AF4BC81376F-->  <ISSORTTAB><![CDATA[N]]></ISSORTTAB>
+<!--33550B504F454C518E487AF4BC81376F-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
+<!--33550B504F454C518E487AF4BC81376F-->  <UIPATTERN><![CDATA[STD]]></UIPATTERN>
+<!--33550B504F454C518E487AF4BC81376F-->  <SHOWPARENTBUTTONS><![CDATA[Y]]></SHOWPARENTBUTTONS>
+<!--33550B504F454C518E487AF4BC81376F-->  <EM_OBUIAPP_CAN_ADD><![CDATA[N]]></EM_OBUIAPP_CAN_ADD>
+<!--33550B504F454C518E487AF4BC81376F-->  <EM_OBUIAPP_CAN_DELETE><![CDATA[N]]></EM_OBUIAPP_CAN_DELETE>
+<!--33550B504F454C518E487AF4BC81376F-->  <EM_OBUIAPP_SHOW_SELECT><![CDATA[Y]]></EM_OBUIAPP_SHOW_SELECT>
+<!--33550B504F454C518E487AF4BC81376F--></AD_TAB>
+
 <!--9BC8881FA26C4609BEC7571F55CA053C--><AD_TAB>
 <!--9BC8881FA26C4609BEC7571F55CA053C-->  <AD_TAB_ID><![CDATA[9BC8881FA26C4609BEC7571F55CA053C]]></AD_TAB_ID>
 <!--9BC8881FA26C4609BEC7571F55CA053C-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_TABLE.xml	Wed Jan 23 18:16:09 2013 +0100
+++ b/modules/org.openbravo.client.kernel/src-db/database/sourcedata/AD_TABLE.xml	Thu Jan 24 00:29:43 2013 +0100
@@ -44,6 +44,26 @@
 <!--457C2166008B451093B2DA54A0F7E2EC-->  <AD_PACKAGE_ID><![CDATA[08DD12A80BB942E79C0F3BD94FD3A249]]></AD_PACKAGE_ID>
 <!--457C2166008B451093B2DA54A0F7E2EC--></AD_TABLE>
 
+<!--558721361A024C3D8156095BD7C2716D--><AD_TABLE>
+<!--558721361A024C3D8156095BD7C2716D-->  <AD_TABLE_ID><![CDATA[558721361A024C3D8156095BD7C2716D]]></AD_TABLE_ID>
+<!--558721361A024C3D8156095BD7C2716D-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--558721361A024C3D8156095BD7C2716D-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--558721361A024C3D8156095BD7C2716D-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--558721361A024C3D8156095BD7C2716D-->  <NAME><![CDATA[OBCLKER_REF_MASK]]></NAME>
+<!--558721361A024C3D8156095BD7C2716D-->  <TABLENAME><![CDATA[OBCLKER_REF_MASK]]></TABLENAME>
+<!--558721361A024C3D8156095BD7C2716D-->  <CLASSNAME><![CDATA[ReferencedMask]]></CLASSNAME>
+<!--558721361A024C3D8156095BD7C2716D-->  <ISVIEW><![CDATA[N]]></ISVIEW>
+<!--558721361A024C3D8156095BD7C2716D-->  <ACCESSLEVEL><![CDATA[4]]></ACCESSLEVEL>
+<!--558721361A024C3D8156095BD7C2716D-->  <ISSECURITYENABLED><![CDATA[N]]></ISSECURITYENABLED>
+<!--558721361A024C3D8156095BD7C2716D-->  <ISDELETEABLE><![CDATA[Y]]></ISDELETEABLE>
+<!--558721361A024C3D8156095BD7C2716D-->  <ISHIGHVOLUME><![CDATA[N]]></ISHIGHVOLUME>
+<!--558721361A024C3D8156095BD7C2716D-->  <IMPORTTABLE><![CDATA[N]]></IMPORTTABLE>
+<!--558721361A024C3D8156095BD7C2716D-->  <ISCHANGELOG><![CDATA[N]]></ISCHANGELOG>
+<!--558721361A024C3D8156095BD7C2716D-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
+<!--558721361A024C3D8156095BD7C2716D-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--558721361A024C3D8156095BD7C2716D-->  <AD_PACKAGE_ID><![CDATA[08DD12A80BB942E79C0F3BD94FD3A249]]></AD_PACKAGE_ID>
+<!--558721361A024C3D8156095BD7C2716D--></AD_TABLE>
+
 <!--AB51D583178F4F4EB6B8DB44C64654BE--><AD_TABLE>
 <!--AB51D583178F4F4EB6B8DB44C64654BE-->  <AD_TABLE_ID><![CDATA[AB51D583178F4F4EB6B8DB44C64654BE]]></AD_TABLE_ID>
 <!--AB51D583178F4F4EB6B8DB44C64654BE-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/modules/org.openbravo.client.kernel/src-db/database/sourcedata/OBCLKER_UIDEFINITION.xml	Wed Jan 23 18:16:09 2013 +0100
+++ b/modules/org.openbravo.client.kernel/src-db/database/sourcedata/OBCLKER_UIDEFINITION.xml	Thu Jan 24 00:29:43 2013 +0100
@@ -110,6 +110,16 @@
 <!--39E287640048477A929A6702222281F1-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--39E287640048477A929A6702222281F1--></OBCLKER_UIDEFINITION>
 
+<!--39E45ABD8C41444BBD685B57F702B4D7--><OBCLKER_UIDEFINITION>
+<!--39E45ABD8C41444BBD685B57F702B4D7-->  <OBCLKER_UIDEFINITION_ID><![CDATA[39E45ABD8C41444BBD685B57F702B4D7]]></OBCLKER_UIDEFINITION_ID>
+<!--39E45ABD8C41444BBD685B57F702B4D7-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--39E45ABD8C41444BBD685B57F702B4D7-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--39E45ABD8C41444BBD685B57F702B4D7-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
+<!--39E45ABD8C41444BBD685B57F702B4D7-->  <AD_REFERENCE_ID><![CDATA[7CB371C13D204EB69BF370217F692999]]></AD_REFERENCE_ID>
+<!--39E45ABD8C41444BBD685B57F702B4D7-->  <CLASSNAME><![CDATA[org.openbravo.client.kernel.reference.RichTextUIDefinition]]></CLASSNAME>
+<!--39E45ABD8C41444BBD685B57F702B4D7-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--39E45ABD8C41444BBD685B57F702B4D7--></OBCLKER_UIDEFINITION>
+
 <!--3C4713015FD148DEAAFAD01193640AA1--><OBCLKER_UIDEFINITION>
 <!--3C4713015FD148DEAAFAD01193640AA1-->  <OBCLKER_UIDEFINITION_ID><![CDATA[3C4713015FD148DEAAFAD01193640AA1]]></OBCLKER_UIDEFINITION_ID>
 <!--3C4713015FD148DEAAFAD01193640AA1-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -130,6 +140,16 @@
 <!--3EC1C4A2708A458DBE340A57CA36E0DA-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
 <!--3EC1C4A2708A458DBE340A57CA36E0DA--></OBCLKER_UIDEFINITION>
 
+<!--41AB03E72C8445C293D098F836C3B2FF--><OBCLKER_UIDEFINITION>
+<!--41AB03E72C8445C293D098F836C3B2FF-->  <OBCLKER_UIDEFINITION_ID><![CDATA[41AB03E72C8445C293D098F836C3B2FF]]></OBCLKER_UIDEFINITION_ID>
+<!--41AB03E72C8445C293D098F836C3B2FF-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--41AB03E72C8445C293D098F836C3B2FF-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--41AB03E72C8445C293D098F836C3B2FF-->  <AD_MODULE_ID><![CDATA[4B828F4D03264080AA1D2057B13F613C]]></AD_MODULE_ID>
+<!--41AB03E72C8445C293D098F836C3B2FF-->  <AD_REFERENCE_ID><![CDATA[52529102938F41D5B84D3DE1F8892249]]></AD_REFERENCE_ID>
+<!--41AB03E72C8445C293D098F836C3B2FF-->  <CLASSNAME><![CDATA[org.openbravo.client.kernel.reference.MaskedStringUIDefinition]]></CLASSNAME>
+<!--41AB03E72C8445C293D098F836C3B2FF-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--41AB03E72C8445C293D098F836C3B2FF--></OBCLKER_UIDEFINITION>
+
 <!--4C51FDC958034C00BF2067AB74E665F5--><OBCLKER_UIDEFINITION>
 <!--4C51FDC958034C00BF2067AB74E665F5-->  <OBCLKER_UIDEFINITION_ID><![CDATA[4C51FDC958034C00BF2067AB74E665F5]]></OBCLKER_UIDEFINITION_ID>
 <!--4C51FDC958034C00BF2067AB74E665F5-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/MaskedStringUIDefinition.java	Thu Jan 24 00:29:43 2013 +0100
@@ -0,0 +1,43 @@
+/*
+ *************************************************************************
+ * 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) 2013 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+ */
+package org.openbravo.client.kernel.reference;
+
+import java.util.List;
+
+import org.openbravo.client.kernel.ReferencedMask;
+import org.openbravo.model.ad.domain.Reference;
+import org.openbravo.model.ad.ui.Field;
+
+public class MaskedStringUIDefinition extends StringUIDefinition {
+  public String getFieldProperties(Field field) {
+    if (field.getColumn().getReferenceSearchKey() != null) {
+      Reference adReferenceSearch = field.getColumn().getReferenceSearchKey();
+      List<ReferencedMask> adReferenceSearchList = adReferenceSearch.getOBCLKERREFMASKList();
+      ReferencedMask adReferenceMask;
+      if (adReferenceSearchList != null && adReferenceSearchList.size() > 0) {
+        adReferenceMask = adReferenceSearchList.get(0);
+        return "{mask: '" + adReferenceMask.getCommercialName() + "'}";
+      } else {
+        return "{mask: '" + "'}";
+      }
+    } else {
+      return "{mask: '" + "'}";
+    }
+  }
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.client.kernel/src/org/openbravo/client/kernel/reference/RichTextUIDefinition.java	Thu Jan 24 00:29:43 2013 +0100
@@ -0,0 +1,57 @@
+/*
+ *************************************************************************
+ * 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) 2010-2011 Openbravo SLU
+ * All Rights Reserved.
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+ */
+
+package org.openbravo.client.kernel.reference;
+
+import org.openbravo.model.ad.ui.Field;
+
+/**
+ * Implements Rich Text UI Definition
+ * 
+ * 
+ */
+public class RichTextUIDefinition extends TextUIDefinition {
+
+  // don't support sorting on large text fields
+
+  @Override
+  public String getParentType() {
+    return "RichTextEditor";
+  }
+
+  @Override
+  public String getFormEditorType() {
+    return "OBRichTextItem";
+  }
+
+  @Override
+  public String getGridFieldProperties(Field field) {
+    Long rowSpan = field.getObuiappRowspan();
+    Long colSpan = field.getObuiappColspan();
+    if ((colSpan == null) || (colSpan < 2))
+      colSpan = 2L;
+    if ((rowSpan == null) || (rowSpan < 2))
+      rowSpan = 2L;
+
+    return super.getGridFieldProperties(field)
+        + ",  escapeHTML: false , canEdit: false , rowSpan : " + rowSpan + " , colSpan : "
+        + colSpan;
+  }
+
+}