[WidgetInForm] Allows placing of (workspace) widgets into a generatd window.
authorStefan Hühner <stefan.huehner@openbravo.com>
Mon, 01 Aug 2011 17:31:40 +0200
changeset 13368 ef6e09f8f68d
parent 13367 0951c9cfecef
child 13369 ef714224f3f7
[WidgetInForm] Allows placing of (workspace) widgets into a generatd window.
- new Base-Reference + uidefinition + formitem code
- Change widget baseclass to support functional differences between widget
in workspace and in generated windows. As in generated window:
- no dragging, no widget title, no menu
modules/org.openbravo.client.myob/src-db/database/model/tables/OBKMO_WIDGET_REFERENCE.xml
modules/org.openbravo.client.myob/src-db/database/model/triggers/OBKMO_WIDGET_REFERENCE_MOD_TRG.xml
modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_COLUMN.xml
modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_DATASET_TABLE.xml
modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_ELEMENT.xml
modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_FIELD.xml
modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_REFERENCE.xml
modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_TAB.xml
modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_TABLE.xml
modules/org.openbravo.client.myob/src-db/database/sourcedata/OBCLKER_UIDEFINITION.xml
modules/org.openbravo.client.myob/src/org/openbravo/client/myob/MyOpenbravoComponentProvider.java
modules/org.openbravo.client.myob/src/org/openbravo/client/myob/widgetinform/WidgetInFormUIDefinition.java
modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/form/formitem/ob-formitem-widgetinform.js
modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/ob-widget.js
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.client.myob/src-db/database/model/tables/OBKMO_WIDGET_REFERENCE.xml	Mon Aug 01 17:31:40 2011 +0200
@@ -0,0 +1,59 @@
+<?xml version="1.0"?>
+  <database name="TABLE OBKMO_WIDGET_REFERENCE">
+    <table name="OBKMO_WIDGET_REFERENCE" primaryKey="OBKMO_WIDGET_REFERENCE_KEY">
+      <column name="AD_REFERENCE_ID" primaryKey="true" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="AD_CLIENT_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="AD_ORG_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="ISACTIVE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
+        <default><![CDATA[Y]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="CREATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
+        <default><![CDATA[SYSDATE]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="CREATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="UPDATED" primaryKey="false" required="true" type="TIMESTAMP" size="7" autoIncrement="false">
+        <default><![CDATA[SYSDATE]]></default>
+        <onCreateDefault/>
+      </column>
+      <column name="UPDATEDBY" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="OBKMO_WIDGET_CLASS_ID" primaryKey="false" required="true" type="VARCHAR" size="32" autoIncrement="false">
+        <default/>
+        <onCreateDefault/>
+      </column>
+      <column name="SHOWFIELDTITLE" primaryKey="false" required="true" type="CHAR" size="1" autoIncrement="false">
+        <default><![CDATA[Y]]></default>
+        <onCreateDefault/>
+      </column>
+      <foreign-key foreignTable="OBKMO_WIDGET_CLASS" name="OBKMO_WIDGET_REFERENCE_CLASS" onDelete="cascade">
+        <reference local="OBKMO_WIDGET_CLASS_ID" foreign="OBKMO_WIDGET_CLASS_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="AD_CLIENT" name="OBKMO_WIDGET_REFERENCE_CLIENT">
+        <reference local="AD_CLIENT_ID" foreign="AD_CLIENT_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="AD_ORG" name="OBKMO_WIDGET_REFERENCE_ORG">
+        <reference local="AD_ORG_ID" foreign="AD_ORG_ID"/>
+      </foreign-key>
+      <foreign-key foreignTable="AD_REFERENCE" name="OBKMO_WIDGET_REFERENCE_REF" onDelete="cascade">
+        <reference local="AD_REFERENCE_ID" foreign="AD_REFERENCE_ID"/>
+      </foreign-key>
+      <check name="OBKMO_WIDGET_REFERENCE_CHK"><![CDATA[ISACTIVE IN ('Y', 'N')]]></check>
+      <check name="OBKMO_WIDGET_REFERENCE_TITLE"><![CDATA[SHOWFIELDTITLE IN ('Y', 'N')]]></check>
+    </table>
+  </database>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.client.myob/src-db/database/model/triggers/OBKMO_WIDGET_REFERENCE_MOD_TRG.xml	Mon Aug 01 17:31:40 2011 +0200
@@ -0,0 +1,70 @@
+<?xml version="1.0"?>
+  <database name="TRIGGER OBKMO_WIDGET_REFERENCE_MOD_TRG">
+    <trigger name="OBKMO_WIDGET_REFERENCE_MOD_TRG" table="OBKMO_WIDGET_REFERENCE" fires="before" insert="true" update="true" delete="true" foreach="row">
+      <body><![CDATA[
+
+/*************************************************************************
+* 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) 2011 Openbravo SLU
+* All Rights Reserved.
+* Contributor(s):  ______________________________________.
+************************************************************************/
+  devTemplate NUMBER;
+  devModule   CHAR(1);
+  currentID  VARCHAR2(32);
+  currentModuleID  VARCHAR2(32);
+    
+BEGIN
+    
+    IF AD_isTriggerEnabled()='N' THEN RETURN;
+    END IF;
+
+
+  SELECT COUNT(*)
+    INTO devTemplate
+    FROM AD_MODULE
+   WHERE IsInDevelopment = 'Y'
+     AND Type = 'T';
+     
+  IF (UPDATING OR INSERTING) THEN
+    currentID := :new.AD_Reference_ID;
+    currentModuleID := :NEW.AD_Reference_ID;
+  ELSE
+    currentID := :old.AD_Reference_ID;
+    currentModuleID := :old.AD_Reference_ID;
+  END IF;
+  
+    SELECT M.IsInDevelopment
+    INTO devModule
+    FROM AD_MODULE M, AD_REFERENCE T
+   WHERE M.AD_MODULE_ID = T.AD_MODULE_ID
+     AND T.AD_REFERENCE_ID = currentModuleID;
+     
+  IF (UPDATING AND devTemplate=0 AND devModule='N') THEN
+    IF (
+        COALESCE(:NEW.AD_Client_ID , '.') != COALESCE(:OLD.AD_Client_ID , '.') OR
+        COALESCE(:NEW.AD_Org_ID , '.') != COALESCE(:OLD.AD_Org_ID , '.') OR
+        COALESCE(:NEW.IsActive , '.') != COALESCE(:OLD.IsActive , '.') OR
+        COALESCE(:NEW.OBKMO_Widget_Class_ID , '.') != COALESCE(:OLD.OBKMO_Widget_Class_ID , '.') OR
+        1=2) THEN
+      RAISE_APPLICATION_ERROR(-20000, '@20532@');
+    END IF;
+  END IF;
+  
+  IF ((DELETING OR INSERTING) AND devModule='N') THEN
+    RAISE_APPLICATION_ERROR(-20000, '@20533@');
+  END IF;
+END OBKMO_WIDGET_REFERENCE_MOD_TRG
+]]></body>
+    </trigger>
+  </database>
--- a/modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_COLUMN.xml	Mon Aug 01 17:04:08 2011 +0200
+++ b/modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_COLUMN.xml	Mon Aug 01 17:31:40 2011 +0200
@@ -34,6 +34,40 @@
 <!--05AD6D94F1E3475A9DF6315DE259FB22-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
 <!--05AD6D94F1E3475A9DF6315DE259FB22--></AD_COLUMN>
 
+<!--0A838F58698E4D80974637ABEF9FA335--><AD_COLUMN>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <AD_COLUMN_ID><![CDATA[0A838F58698E4D80974637ABEF9FA335]]></AD_COLUMN_ID>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <NAME><![CDATA[Client]]></NAME>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <DESCRIPTION><![CDATA[Client for this installation.]]></DESCRIPTION>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <HELP><![CDATA[A Client is a company or a legal entity. You cannot share data between Clients.]]></HELP>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <COLUMNNAME><![CDATA[AD_Client_ID]]></COLUMNNAME>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <AD_TABLE_ID><![CDATA[FF808181314242630131424606130001]]></AD_TABLE_ID>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <DEFAULTVALUE><![CDATA[@AD_CLIENT_ID@]]></DEFAULTVALUE>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <SEQNO><![CDATA[20]]></SEQNO>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <AD_ELEMENT_ID><![CDATA[102]]></AD_ELEMENT_ID>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <POSITION><![CDATA[2]]></POSITION>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--0A838F58698E4D80974637ABEF9FA335-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--0A838F58698E4D80974637ABEF9FA335--></AD_COLUMN>
+
 <!--104E9E1221184AFBB3BFBA2A80149A95--><AD_COLUMN>
 <!--104E9E1221184AFBB3BFBA2A80149A95-->  <AD_COLUMN_ID><![CDATA[104E9E1221184AFBB3BFBA2A80149A95]]></AD_COLUMN_ID>
 <!--104E9E1221184AFBB3BFBA2A80149A95-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -67,6 +101,39 @@
 <!--104E9E1221184AFBB3BFBA2A80149A95-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
 <!--104E9E1221184AFBB3BFBA2A80149A95--></AD_COLUMN>
 
+<!--23C2C64A20BF45E38EF29F98A47B4EDF--><AD_COLUMN>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF-->  <AD_COLUMN_ID><![CDATA[23C2C64A20BF45E38EF29F98A47B4EDF]]></AD_COLUMN_ID>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF-->  <NAME><![CDATA[Updated By]]></NAME>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF-->  <DESCRIPTION><![CDATA[User who updated this records]]></DESCRIPTION>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF-->  <HELP><![CDATA[The Updated By field indicates the user who updated this record.]]></HELP>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF-->  <COLUMNNAME><![CDATA[Updatedby]]></COLUMNNAME>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF-->  <AD_TABLE_ID><![CDATA[FF808181314242630131424606130001]]></AD_TABLE_ID>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF-->  <SEQNO><![CDATA[80]]></SEQNO>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF-->  <AD_ELEMENT_ID><![CDATA[608]]></AD_ELEMENT_ID>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF-->  <POSITION><![CDATA[8]]></POSITION>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--23C2C64A20BF45E38EF29F98A47B4EDF--></AD_COLUMN>
+
 <!--2F116D282FA94CA281D818FD08722663--><AD_COLUMN>
 <!--2F116D282FA94CA281D818FD08722663-->  <AD_COLUMN_ID><![CDATA[2F116D282FA94CA281D818FD08722663]]></AD_COLUMN_ID>
 <!--2F116D282FA94CA281D818FD08722663-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -305,6 +372,40 @@
 <!--4FDDD76F231941F08E14146D7B0B633C-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
 <!--4FDDD76F231941F08E14146D7B0B633C--></AD_COLUMN>
 
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726--><AD_COLUMN>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <AD_COLUMN_ID><![CDATA[57998FF9D58B4B32B0CEDB9B1A9E8726]]></AD_COLUMN_ID>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <NAME><![CDATA[Show Field Title]]></NAME>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <DESCRIPTION><![CDATA[Defines if the field label should be shown on top of the widget]]></DESCRIPTION>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <HELP><![CDATA[This column defines if the a label with the field name should be shown on top of the widget like it is for other fields or if this label should be hidden and the extra space be used for the widget itself. Default is to show the title as for other fields.]]></HELP>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <COLUMNNAME><![CDATA[Showfieldtitle]]></COLUMNNAME>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <AD_TABLE_ID><![CDATA[FF808181314242630131424606130001]]></AD_TABLE_ID>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <DEFAULTVALUE><![CDATA[Y]]></DEFAULTVALUE>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <SEQNO><![CDATA[100]]></SEQNO>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <AD_ELEMENT_ID><![CDATA[57DD9A05462444B1A7977E7F9A94DF8A]]></AD_ELEMENT_ID>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <POSITION><![CDATA[10]]></POSITION>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--57998FF9D58B4B32B0CEDB9B1A9E8726--></AD_COLUMN>
+
 <!--591C377ED3BE4A4189632F5E71EDF05F--><AD_COLUMN>
 <!--591C377ED3BE4A4189632F5E71EDF05F-->  <AD_COLUMN_ID><![CDATA[591C377ED3BE4A4189632F5E71EDF05F]]></AD_COLUMN_ID>
 <!--591C377ED3BE4A4189632F5E71EDF05F-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -473,6 +574,39 @@
 <!--7E8BDEF054974AB6BD23A8865636DAB4-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
 <!--7E8BDEF054974AB6BD23A8865636DAB4--></AD_COLUMN>
 
+<!--7EE03BC0EF044133B80147985FDC69D9--><AD_COLUMN>
+<!--7EE03BC0EF044133B80147985FDC69D9-->  <AD_COLUMN_ID><![CDATA[7EE03BC0EF044133B80147985FDC69D9]]></AD_COLUMN_ID>
+<!--7EE03BC0EF044133B80147985FDC69D9-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--7EE03BC0EF044133B80147985FDC69D9-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--7EE03BC0EF044133B80147985FDC69D9-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--7EE03BC0EF044133B80147985FDC69D9-->  <NAME><![CDATA[Created By]]></NAME>
+<!--7EE03BC0EF044133B80147985FDC69D9-->  <DESCRIPTION><![CDATA[User who created this records]]></DESCRIPTION>
+<!--7EE03BC0EF044133B80147985FDC69D9-->  <HELP><![CDATA[The Created By field indicates the user who created this record.]]></HELP>
+<!--7EE03BC0EF044133B80147985FDC69D9-->  <COLUMNNAME><![CDATA[Createdby]]></COLUMNNAME>
+<!--7EE03BC0EF044133B80147985FDC69D9-->  <AD_TABLE_ID><![CDATA[FF808181314242630131424606130001]]></AD_TABLE_ID>
+<!--7EE03BC0EF044133B80147985FDC69D9-->  <AD_REFERENCE_ID><![CDATA[30]]></AD_REFERENCE_ID>
+<!--7EE03BC0EF044133B80147985FDC69D9-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--7EE03BC0EF044133B80147985FDC69D9-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--7EE03BC0EF044133B80147985FDC69D9-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--7EE03BC0EF044133B80147985FDC69D9-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--7EE03BC0EF044133B80147985FDC69D9-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--7EE03BC0EF044133B80147985FDC69D9-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--7EE03BC0EF044133B80147985FDC69D9-->  <SEQNO><![CDATA[60]]></SEQNO>
+<!--7EE03BC0EF044133B80147985FDC69D9-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--7EE03BC0EF044133B80147985FDC69D9-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--7EE03BC0EF044133B80147985FDC69D9-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--7EE03BC0EF044133B80147985FDC69D9-->  <AD_ELEMENT_ID><![CDATA[246]]></AD_ELEMENT_ID>
+<!--7EE03BC0EF044133B80147985FDC69D9-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--7EE03BC0EF044133B80147985FDC69D9-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--7EE03BC0EF044133B80147985FDC69D9-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--7EE03BC0EF044133B80147985FDC69D9-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--7EE03BC0EF044133B80147985FDC69D9-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
+<!--7EE03BC0EF044133B80147985FDC69D9-->  <POSITION><![CDATA[6]]></POSITION>
+<!--7EE03BC0EF044133B80147985FDC69D9-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--7EE03BC0EF044133B80147985FDC69D9-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--7EE03BC0EF044133B80147985FDC69D9-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--7EE03BC0EF044133B80147985FDC69D9--></AD_COLUMN>
+
 <!--816384EC3A754940A9EAA411625DD039--><AD_COLUMN>
 <!--816384EC3A754940A9EAA411625DD039-->  <AD_COLUMN_ID><![CDATA[816384EC3A754940A9EAA411625DD039]]></AD_COLUMN_ID>
 <!--816384EC3A754940A9EAA411625DD039-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -3181,6 +3315,40 @@
 <!--993EAC683DE8F0BBE040A8C02101154F-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
 <!--993EAC683DE8F0BBE040A8C02101154F--></AD_COLUMN>
 
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85--><AD_COLUMN>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <AD_COLUMN_ID><![CDATA[9C8E5D2866CB4CE5ACBAE8F8274E0B85]]></AD_COLUMN_ID>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <NAME><![CDATA[Creation Date]]></NAME>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <DESCRIPTION><![CDATA[The date that this record is completed.]]></DESCRIPTION>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <HELP><![CDATA[The Created field indicates the date that this record was created.]]></HELP>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <COLUMNNAME><![CDATA[Created]]></COLUMNNAME>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <AD_TABLE_ID><![CDATA[FF808181314242630131424606130001]]></AD_TABLE_ID>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <DEFAULTVALUE><![CDATA[@#Date@]]></DEFAULTVALUE>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <SEQNO><![CDATA[50]]></SEQNO>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <AD_ELEMENT_ID><![CDATA[245]]></AD_ELEMENT_ID>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <POSITION><![CDATA[5]]></POSITION>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--9C8E5D2866CB4CE5ACBAE8F8274E0B85--></AD_COLUMN>
+
 <!--9FB2314DB7A340629C8603788EE57115--><AD_COLUMN>
 <!--9FB2314DB7A340629C8603788EE57115-->  <AD_COLUMN_ID><![CDATA[9FB2314DB7A340629C8603788EE57115]]></AD_COLUMN_ID>
 <!--9FB2314DB7A340629C8603788EE57115-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -3214,6 +3382,39 @@
 <!--9FB2314DB7A340629C8603788EE57115-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
 <!--9FB2314DB7A340629C8603788EE57115--></AD_COLUMN>
 
+<!--A9D24B372B9A486E8AC9D6183AA4584E--><AD_COLUMN>
+<!--A9D24B372B9A486E8AC9D6183AA4584E-->  <AD_COLUMN_ID><![CDATA[A9D24B372B9A486E8AC9D6183AA4584E]]></AD_COLUMN_ID>
+<!--A9D24B372B9A486E8AC9D6183AA4584E-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--A9D24B372B9A486E8AC9D6183AA4584E-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--A9D24B372B9A486E8AC9D6183AA4584E-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--A9D24B372B9A486E8AC9D6183AA4584E-->  <NAME><![CDATA[Widget Class]]></NAME>
+<!--A9D24B372B9A486E8AC9D6183AA4584E-->  <DESCRIPTION><![CDATA[Identifies a widget class definition]]></DESCRIPTION>
+<!--A9D24B372B9A486E8AC9D6183AA4584E-->  <HELP><![CDATA[Identifies a widget class definition]]></HELP>
+<!--A9D24B372B9A486E8AC9D6183AA4584E-->  <COLUMNNAME><![CDATA[Obkmo_Widget_Class_ID]]></COLUMNNAME>
+<!--A9D24B372B9A486E8AC9D6183AA4584E-->  <AD_TABLE_ID><![CDATA[FF808181314242630131424606130001]]></AD_TABLE_ID>
+<!--A9D24B372B9A486E8AC9D6183AA4584E-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--A9D24B372B9A486E8AC9D6183AA4584E-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--A9D24B372B9A486E8AC9D6183AA4584E-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--A9D24B372B9A486E8AC9D6183AA4584E-->  <ISPARENT><![CDATA[Y]]></ISPARENT>
+<!--A9D24B372B9A486E8AC9D6183AA4584E-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--A9D24B372B9A486E8AC9D6183AA4584E-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--A9D24B372B9A486E8AC9D6183AA4584E-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
+<!--A9D24B372B9A486E8AC9D6183AA4584E-->  <SEQNO><![CDATA[90]]></SEQNO>
+<!--A9D24B372B9A486E8AC9D6183AA4584E-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--A9D24B372B9A486E8AC9D6183AA4584E-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--A9D24B372B9A486E8AC9D6183AA4584E-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--A9D24B372B9A486E8AC9D6183AA4584E-->  <AD_ELEMENT_ID><![CDATA[927D0D118B90EF36E040A8C0CF071CF5]]></AD_ELEMENT_ID>
+<!--A9D24B372B9A486E8AC9D6183AA4584E-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--A9D24B372B9A486E8AC9D6183AA4584E-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--A9D24B372B9A486E8AC9D6183AA4584E-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--A9D24B372B9A486E8AC9D6183AA4584E-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--A9D24B372B9A486E8AC9D6183AA4584E-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
+<!--A9D24B372B9A486E8AC9D6183AA4584E-->  <POSITION><![CDATA[9]]></POSITION>
+<!--A9D24B372B9A486E8AC9D6183AA4584E-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--A9D24B372B9A486E8AC9D6183AA4584E-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--A9D24B372B9A486E8AC9D6183AA4584E-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--A9D24B372B9A486E8AC9D6183AA4584E--></AD_COLUMN>
+
 <!--AF8FAC1D99914297B9F2FD7229A86487--><AD_COLUMN>
 <!--AF8FAC1D99914297B9F2FD7229A86487-->  <AD_COLUMN_ID><![CDATA[AF8FAC1D99914297B9F2FD7229A86487]]></AD_COLUMN_ID>
 <!--AF8FAC1D99914297B9F2FD7229A86487-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -3380,6 +3581,40 @@
 <!--BD8DDE1637044260A12C0E0DDC87A653-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
 <!--BD8DDE1637044260A12C0E0DDC87A653--></AD_COLUMN>
 
+<!--BF38C9589A6A473D953A120E17D48EE6--><AD_COLUMN>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <AD_COLUMN_ID><![CDATA[BF38C9589A6A473D953A120E17D48EE6]]></AD_COLUMN_ID>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <NAME><![CDATA[Organization]]></NAME>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <DESCRIPTION><![CDATA[Organizational entity within client]]></DESCRIPTION>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <HELP><![CDATA[An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.]]></HELP>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <COLUMNNAME><![CDATA[AD_Org_ID]]></COLUMNNAME>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <AD_TABLE_ID><![CDATA[FF808181314242630131424606130001]]></AD_TABLE_ID>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <DEFAULTVALUE><![CDATA[@AD_ORG_ID@]]></DEFAULTVALUE>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <AD_ELEMENT_ID><![CDATA[113]]></AD_ELEMENT_ID>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <ISSESSIONATTR><![CDATA[Y]]></ISSESSIONATTR>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <POSITION><![CDATA[3]]></POSITION>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--BF38C9589A6A473D953A120E17D48EE6-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--BF38C9589A6A473D953A120E17D48EE6--></AD_COLUMN>
+
 <!--C5F3148E7E2E46CD9414BEB8948C1D04--><AD_COLUMN>
 <!--C5F3148E7E2E46CD9414BEB8948C1D04-->  <AD_COLUMN_ID><![CDATA[C5F3148E7E2E46CD9414BEB8948C1D04]]></AD_COLUMN_ID>
 <!--C5F3148E7E2E46CD9414BEB8948C1D04-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -3480,6 +3715,76 @@
 <!--DBE9D57051C7466AAE26C6C77705E56B-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
 <!--DBE9D57051C7466AAE26C6C77705E56B--></AD_COLUMN>
 
+<!--E00BC48A99864E29BCFE255DB0ADA202--><AD_COLUMN>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <AD_COLUMN_ID><![CDATA[E00BC48A99864E29BCFE255DB0ADA202]]></AD_COLUMN_ID>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <NAME><![CDATA[Updated]]></NAME>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <DESCRIPTION><![CDATA[x not implemented]]></DESCRIPTION>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <HELP><![CDATA[The Updated field indicates the date that this record was updated.]]></HELP>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <COLUMNNAME><![CDATA[Updated]]></COLUMNNAME>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <AD_TABLE_ID><![CDATA[FF808181314242630131424606130001]]></AD_TABLE_ID>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <AD_REFERENCE_ID><![CDATA[16]]></AD_REFERENCE_ID>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <FIELDLENGTH><![CDATA[19]]></FIELDLENGTH>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <DEFAULTVALUE><![CDATA[@#Date@]]></DEFAULTVALUE>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <ISUPDATEABLE><![CDATA[N]]></ISUPDATEABLE>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <SEQNO><![CDATA[70]]></SEQNO>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <AD_ELEMENT_ID><![CDATA[607]]></AD_ELEMENT_ID>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <POSITION><![CDATA[7]]></POSITION>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--E00BC48A99864E29BCFE255DB0ADA202-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--E00BC48A99864E29BCFE255DB0ADA202--></AD_COLUMN>
+
+<!--E50538E13F24443E9F959B3BD9E821B3--><AD_COLUMN>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <AD_COLUMN_ID><![CDATA[E50538E13F24443E9F959B3BD9E821B3]]></AD_COLUMN_ID>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <NAME><![CDATA[Active]]></NAME>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <DESCRIPTION><![CDATA[A flag indicating whether this record is available for use or de-activated.]]></DESCRIPTION>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <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>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <COLUMNNAME><![CDATA[Isactive]]></COLUMNNAME>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <AD_TABLE_ID><![CDATA[FF808181314242630131424606130001]]></AD_TABLE_ID>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <AD_REFERENCE_ID><![CDATA[20]]></AD_REFERENCE_ID>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <FIELDLENGTH><![CDATA[1]]></FIELDLENGTH>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <DEFAULTVALUE><![CDATA[Y]]></DEFAULTVALUE>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <ISKEY><![CDATA[N]]></ISKEY>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <ISPARENT><![CDATA[N]]></ISPARENT>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <ISIDENTIFIER><![CDATA[N]]></ISIDENTIFIER>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <SEQNO><![CDATA[40]]></SEQNO>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <AD_ELEMENT_ID><![CDATA[348]]></AD_ELEMENT_ID>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <POSITION><![CDATA[4]]></POSITION>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--E50538E13F24443E9F959B3BD9E821B3-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--E50538E13F24443E9F959B3BD9E821B3--></AD_COLUMN>
+
 <!--E76F59F7E8DE4AE6881DB269A26A0E4E--><AD_COLUMN>
 <!--E76F59F7E8DE4AE6881DB269A26A0E4E-->  <AD_COLUMN_ID><![CDATA[E76F59F7E8DE4AE6881DB269A26A0E4E]]></AD_COLUMN_ID>
 <!--E76F59F7E8DE4AE6881DB269A26A0E4E-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -3513,6 +3818,39 @@
 <!--E76F59F7E8DE4AE6881DB269A26A0E4E-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
 <!--E76F59F7E8DE4AE6881DB269A26A0E4E--></AD_COLUMN>
 
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1--><AD_COLUMN>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1-->  <AD_COLUMN_ID><![CDATA[F2E8E4CADB6B4BF5AEA23A3DD9C331D1]]></AD_COLUMN_ID>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1-->  <NAME><![CDATA[Reference]]></NAME>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1-->  <DESCRIPTION><![CDATA[The data type of this field.]]></DESCRIPTION>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1-->  <HELP><![CDATA[The Reference indicates the type of reference field]]></HELP>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1-->  <COLUMNNAME><![CDATA[AD_Reference_ID]]></COLUMNNAME>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1-->  <AD_TABLE_ID><![CDATA[FF808181314242630131424606130001]]></AD_TABLE_ID>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1-->  <AD_REFERENCE_ID><![CDATA[19]]></AD_REFERENCE_ID>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1-->  <FIELDLENGTH><![CDATA[32]]></FIELDLENGTH>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1-->  <ISKEY><![CDATA[Y]]></ISKEY>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1-->  <ISPARENT><![CDATA[Y]]></ISPARENT>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1-->  <ISMANDATORY><![CDATA[Y]]></ISMANDATORY>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1-->  <ISUPDATEABLE><![CDATA[Y]]></ISUPDATEABLE>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1-->  <ISIDENTIFIER><![CDATA[Y]]></ISIDENTIFIER>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1-->  <SEQNO><![CDATA[10]]></SEQNO>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1-->  <ISTRANSLATED><![CDATA[N]]></ISTRANSLATED>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1-->  <ISSELECTIONCOLUMN><![CDATA[N]]></ISSELECTIONCOLUMN>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1-->  <AD_ELEMENT_ID><![CDATA[120]]></AD_ELEMENT_ID>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1-->  <ISSESSIONATTR><![CDATA[N]]></ISSESSIONATTR>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1-->  <ISSECONDARYKEY><![CDATA[N]]></ISSECONDARYKEY>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1-->  <ISDESENCRYPTABLE><![CDATA[N]]></ISDESENCRYPTABLE>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1-->  <POSITION><![CDATA[1]]></POSITION>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1-->  <ISTRANSIENT><![CDATA[N]]></ISTRANSIENT>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1-->  <ISAUTOSAVE><![CDATA[Y]]></ISAUTOSAVE>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1-->  <VALIDATEONNEW><![CDATA[Y]]></VALIDATEONNEW>
+<!--F2E8E4CADB6B4BF5AEA23A3DD9C331D1--></AD_COLUMN>
+
 <!--F312B5DACFC948D88C060AA5A84F5902--><AD_COLUMN>
 <!--F312B5DACFC948D88C060AA5A84F5902-->  <AD_COLUMN_ID><![CDATA[F312B5DACFC948D88C060AA5A84F5902]]></AD_COLUMN_ID>
 <!--F312B5DACFC948D88C060AA5A84F5902-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_DATASET_TABLE.xml	Mon Aug 01 17:04:08 2011 +0200
+++ b/modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_DATASET_TABLE.xml	Mon Aug 01 17:31:40 2011 +0200
@@ -84,4 +84,18 @@
 <!--C6C6A5420B3B4FC9A5095DE97A7FC0F0-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
 <!--C6C6A5420B3B4FC9A5095DE97A7FC0F0--></AD_DATASET_TABLE>
 
+<!--FF80818131666A0E0131666E11610001--><AD_DATASET_TABLE>
+<!--FF80818131666A0E0131666E11610001-->  <AD_DATASET_TABLE_ID><![CDATA[FF80818131666A0E0131666E11610001]]></AD_DATASET_TABLE_ID>
+<!--FF80818131666A0E0131666E11610001-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--FF80818131666A0E0131666E11610001-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--FF80818131666A0E0131666E11610001-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--FF80818131666A0E0131666E11610001-->  <AD_DATASET_ID><![CDATA[0]]></AD_DATASET_ID>
+<!--FF80818131666A0E0131666E11610001-->  <AD_TABLE_ID><![CDATA[FF808181314242630131424606130001]]></AD_TABLE_ID>
+<!--FF80818131666A0E0131666E11610001-->  <INCLUDEALLCOLUMNS><![CDATA[Y]]></INCLUDEALLCOLUMNS>
+<!--FF80818131666A0E0131666E11610001-->  <WHERECLAUSE><![CDATA[ad_reference_id in (select ad_reference_id from ad_reference where ad_module_id in (:moduleid))]]></WHERECLAUSE>
+<!--FF80818131666A0E0131666E11610001-->  <EXCLUDEAUDITINFO><![CDATA[Y]]></EXCLUDEAUDITINFO>
+<!--FF80818131666A0E0131666E11610001-->  <ISBUSINESSOBJECT><![CDATA[N]]></ISBUSINESSOBJECT>
+<!--FF80818131666A0E0131666E11610001-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
+<!--FF80818131666A0E0131666E11610001--></AD_DATASET_TABLE>
+
 </data>
--- a/modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_ELEMENT.xml	Mon Aug 01 17:04:08 2011 +0200
+++ b/modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_ELEMENT.xml	Mon Aug 01 17:31:40 2011 +0200
@@ -63,6 +63,19 @@
 <!--3D9BA8FD0DEC4BC8BDE7862EFD0AECC5-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
 <!--3D9BA8FD0DEC4BC8BDE7862EFD0AECC5--></AD_ELEMENT>
 
+<!--57DD9A05462444B1A7977E7F9A94DF8A--><AD_ELEMENT>
+<!--57DD9A05462444B1A7977E7F9A94DF8A-->  <AD_ELEMENT_ID><![CDATA[57DD9A05462444B1A7977E7F9A94DF8A]]></AD_ELEMENT_ID>
+<!--57DD9A05462444B1A7977E7F9A94DF8A-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--57DD9A05462444B1A7977E7F9A94DF8A-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--57DD9A05462444B1A7977E7F9A94DF8A-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--57DD9A05462444B1A7977E7F9A94DF8A-->  <COLUMNNAME><![CDATA[Showfieldtitle]]></COLUMNNAME>
+<!--57DD9A05462444B1A7977E7F9A94DF8A-->  <NAME><![CDATA[Show Field Title]]></NAME>
+<!--57DD9A05462444B1A7977E7F9A94DF8A-->  <PRINTNAME><![CDATA[Show Field Title]]></PRINTNAME>
+<!--57DD9A05462444B1A7977E7F9A94DF8A-->  <DESCRIPTION><![CDATA[Defines if the field label should be shown on top of the widget]]></DESCRIPTION>
+<!--57DD9A05462444B1A7977E7F9A94DF8A-->  <HELP><![CDATA[This column defines if the a label with the field name should be shown on top of the widget like it is for other fields or if this label should be hidden and the extra space be used for the widget itself. Default is to show the title as for other fields.]]></HELP>
+<!--57DD9A05462444B1A7977E7F9A94DF8A-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
+<!--57DD9A05462444B1A7977E7F9A94DF8A--></AD_ELEMENT>
+
 <!--927D0D118B8EEF36E040A8C0CF071CF5--><AD_ELEMENT>
 <!--927D0D118B8EEF36E040A8C0CF071CF5-->  <AD_ELEMENT_ID><![CDATA[927D0D118B8EEF36E040A8C0CF071CF5]]></AD_ELEMENT_ID>
 <!--927D0D118B8EEF36E040A8C0CF071CF5-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_FIELD.xml	Mon Aug 01 17:04:08 2011 +0200
+++ b/modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_FIELD.xml	Mon Aug 01 17:31:40 2011 +0200
@@ -55,6 +55,32 @@
 <!--15A99A769F5D452182733291FE082260-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
 <!--15A99A769F5D452182733291FE082260--></AD_FIELD>
 
+<!--17D6782577634E338AC2163C3F6C7B3E--><AD_FIELD>
+<!--17D6782577634E338AC2163C3F6C7B3E-->  <AD_FIELD_ID><![CDATA[17D6782577634E338AC2163C3F6C7B3E]]></AD_FIELD_ID>
+<!--17D6782577634E338AC2163C3F6C7B3E-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--17D6782577634E338AC2163C3F6C7B3E-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--17D6782577634E338AC2163C3F6C7B3E-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--17D6782577634E338AC2163C3F6C7B3E-->  <NAME><![CDATA[Widget Class]]></NAME>
+<!--17D6782577634E338AC2163C3F6C7B3E-->  <DESCRIPTION><![CDATA[Identifies a widget class definition]]></DESCRIPTION>
+<!--17D6782577634E338AC2163C3F6C7B3E-->  <HELP><![CDATA[Identifies a widget class definition]]></HELP>
+<!--17D6782577634E338AC2163C3F6C7B3E-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--17D6782577634E338AC2163C3F6C7B3E-->  <AD_TAB_ID><![CDATA[FF808181314242630131426D95280008]]></AD_TAB_ID>
+<!--17D6782577634E338AC2163C3F6C7B3E-->  <AD_COLUMN_ID><![CDATA[A9D24B372B9A486E8AC9D6183AA4584E]]></AD_COLUMN_ID>
+<!--17D6782577634E338AC2163C3F6C7B3E-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--17D6782577634E338AC2163C3F6C7B3E-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
+<!--17D6782577634E338AC2163C3F6C7B3E-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--17D6782577634E338AC2163C3F6C7B3E-->  <SEQNO><![CDATA[50]]></SEQNO>
+<!--17D6782577634E338AC2163C3F6C7B3E-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--17D6782577634E338AC2163C3F6C7B3E-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--17D6782577634E338AC2163C3F6C7B3E-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--17D6782577634E338AC2163C3F6C7B3E-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--17D6782577634E338AC2163C3F6C7B3E-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--17D6782577634E338AC2163C3F6C7B3E-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
+<!--17D6782577634E338AC2163C3F6C7B3E-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--17D6782577634E338AC2163C3F6C7B3E-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--17D6782577634E338AC2163C3F6C7B3E-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--17D6782577634E338AC2163C3F6C7B3E--></AD_FIELD>
+
 <!--1916FAF6FD7B4DE08D3408A533A76CC9--><AD_FIELD>
 <!--1916FAF6FD7B4DE08D3408A533A76CC9-->  <AD_FIELD_ID><![CDATA[1916FAF6FD7B4DE08D3408A533A76CC9]]></AD_FIELD_ID>
 <!--1916FAF6FD7B4DE08D3408A533A76CC9-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -82,6 +108,32 @@
 <!--1916FAF6FD7B4DE08D3408A533A76CC9-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
 <!--1916FAF6FD7B4DE08D3408A533A76CC9--></AD_FIELD>
 
+<!--31363A02FD05444DA8D0493110566806--><AD_FIELD>
+<!--31363A02FD05444DA8D0493110566806-->  <AD_FIELD_ID><![CDATA[31363A02FD05444DA8D0493110566806]]></AD_FIELD_ID>
+<!--31363A02FD05444DA8D0493110566806-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--31363A02FD05444DA8D0493110566806-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--31363A02FD05444DA8D0493110566806-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--31363A02FD05444DA8D0493110566806-->  <NAME><![CDATA[Organization]]></NAME>
+<!--31363A02FD05444DA8D0493110566806-->  <DESCRIPTION><![CDATA[Organizational entity within client]]></DESCRIPTION>
+<!--31363A02FD05444DA8D0493110566806-->  <HELP><![CDATA[An organization is a unit of your client or legal entity - examples are store, department. You can share data between organizations.]]></HELP>
+<!--31363A02FD05444DA8D0493110566806-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--31363A02FD05444DA8D0493110566806-->  <AD_TAB_ID><![CDATA[FF808181314242630131426D95280008]]></AD_TAB_ID>
+<!--31363A02FD05444DA8D0493110566806-->  <AD_COLUMN_ID><![CDATA[BF38C9589A6A473D953A120E17D48EE6]]></AD_COLUMN_ID>
+<!--31363A02FD05444DA8D0493110566806-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--31363A02FD05444DA8D0493110566806-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
+<!--31363A02FD05444DA8D0493110566806-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--31363A02FD05444DA8D0493110566806-->  <SEQNO><![CDATA[10]]></SEQNO>
+<!--31363A02FD05444DA8D0493110566806-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--31363A02FD05444DA8D0493110566806-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--31363A02FD05444DA8D0493110566806-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--31363A02FD05444DA8D0493110566806-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--31363A02FD05444DA8D0493110566806-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--31363A02FD05444DA8D0493110566806-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
+<!--31363A02FD05444DA8D0493110566806-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--31363A02FD05444DA8D0493110566806-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--31363A02FD05444DA8D0493110566806-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--31363A02FD05444DA8D0493110566806--></AD_FIELD>
+
 <!--6878AFF0F77A47F8B9702E6F1EF95FE3--><AD_FIELD>
 <!--6878AFF0F77A47F8B9702E6F1EF95FE3-->  <AD_FIELD_ID><![CDATA[6878AFF0F77A47F8B9702E6F1EF95FE3]]></AD_FIELD_ID>
 <!--6878AFF0F77A47F8B9702E6F1EF95FE3-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -188,6 +240,60 @@
 <!--835E0B4AFF19458FB505D35557CA2A1F-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
 <!--835E0B4AFF19458FB505D35557CA2A1F--></AD_FIELD>
 
+<!--89E438B2C2B04D55B838D8F26FE6EDFA--><AD_FIELD>
+<!--89E438B2C2B04D55B838D8F26FE6EDFA-->  <AD_FIELD_ID><![CDATA[89E438B2C2B04D55B838D8F26FE6EDFA]]></AD_FIELD_ID>
+<!--89E438B2C2B04D55B838D8F26FE6EDFA-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--89E438B2C2B04D55B838D8F26FE6EDFA-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--89E438B2C2B04D55B838D8F26FE6EDFA-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--89E438B2C2B04D55B838D8F26FE6EDFA-->  <NAME><![CDATA[Active]]></NAME>
+<!--89E438B2C2B04D55B838D8F26FE6EDFA-->  <DESCRIPTION><![CDATA[A flag indicating whether this record is available for use or de-activated.]]></DESCRIPTION>
+<!--89E438B2C2B04D55B838D8F26FE6EDFA-->  <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>
+<!--89E438B2C2B04D55B838D8F26FE6EDFA-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--89E438B2C2B04D55B838D8F26FE6EDFA-->  <AD_TAB_ID><![CDATA[FF808181314242630131426D95280008]]></AD_TAB_ID>
+<!--89E438B2C2B04D55B838D8F26FE6EDFA-->  <AD_COLUMN_ID><![CDATA[E50538E13F24443E9F959B3BD9E821B3]]></AD_COLUMN_ID>
+<!--89E438B2C2B04D55B838D8F26FE6EDFA-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--89E438B2C2B04D55B838D8F26FE6EDFA-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
+<!--89E438B2C2B04D55B838D8F26FE6EDFA-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--89E438B2C2B04D55B838D8F26FE6EDFA-->  <SEQNO><![CDATA[40]]></SEQNO>
+<!--89E438B2C2B04D55B838D8F26FE6EDFA-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--89E438B2C2B04D55B838D8F26FE6EDFA-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--89E438B2C2B04D55B838D8F26FE6EDFA-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--89E438B2C2B04D55B838D8F26FE6EDFA-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--89E438B2C2B04D55B838D8F26FE6EDFA-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--89E438B2C2B04D55B838D8F26FE6EDFA-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
+<!--89E438B2C2B04D55B838D8F26FE6EDFA-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--89E438B2C2B04D55B838D8F26FE6EDFA-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--89E438B2C2B04D55B838D8F26FE6EDFA-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--89E438B2C2B04D55B838D8F26FE6EDFA--></AD_FIELD>
+
+<!--9270AF8CD95C4E3099F426748F94DD23--><AD_FIELD>
+<!--9270AF8CD95C4E3099F426748F94DD23-->  <AD_FIELD_ID><![CDATA[9270AF8CD95C4E3099F426748F94DD23]]></AD_FIELD_ID>
+<!--9270AF8CD95C4E3099F426748F94DD23-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--9270AF8CD95C4E3099F426748F94DD23-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--9270AF8CD95C4E3099F426748F94DD23-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--9270AF8CD95C4E3099F426748F94DD23-->  <NAME><![CDATA[Show Field Title]]></NAME>
+<!--9270AF8CD95C4E3099F426748F94DD23-->  <DESCRIPTION><![CDATA[Defines if the field label should be shown on top of the widget]]></DESCRIPTION>
+<!--9270AF8CD95C4E3099F426748F94DD23-->  <HELP><![CDATA[This column defines if the a label with the field name should be shown on top of the widget like it is for other fields or if this label should be hidden and the extra space be used for the widget itself. Default is to show the title as for other fields.]]></HELP>
+<!--9270AF8CD95C4E3099F426748F94DD23-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--9270AF8CD95C4E3099F426748F94DD23-->  <AD_TAB_ID><![CDATA[FF808181314242630131426D95280008]]></AD_TAB_ID>
+<!--9270AF8CD95C4E3099F426748F94DD23-->  <AD_COLUMN_ID><![CDATA[57998FF9D58B4B32B0CEDB9B1A9E8726]]></AD_COLUMN_ID>
+<!--9270AF8CD95C4E3099F426748F94DD23-->  <ISDISPLAYED><![CDATA[Y]]></ISDISPLAYED>
+<!--9270AF8CD95C4E3099F426748F94DD23-->  <DISPLAYLENGTH><![CDATA[1]]></DISPLAYLENGTH>
+<!--9270AF8CD95C4E3099F426748F94DD23-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--9270AF8CD95C4E3099F426748F94DD23-->  <SEQNO><![CDATA[60]]></SEQNO>
+<!--9270AF8CD95C4E3099F426748F94DD23-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--9270AF8CD95C4E3099F426748F94DD23-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--9270AF8CD95C4E3099F426748F94DD23-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--9270AF8CD95C4E3099F426748F94DD23-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--9270AF8CD95C4E3099F426748F94DD23-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--9270AF8CD95C4E3099F426748F94DD23-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
+<!--9270AF8CD95C4E3099F426748F94DD23-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--9270AF8CD95C4E3099F426748F94DD23-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--9270AF8CD95C4E3099F426748F94DD23-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--9270AF8CD95C4E3099F426748F94DD23--></AD_FIELD>
+
 <!--927D0D118BA8EF36E040A8C0CF071CF5--><AD_FIELD>
 <!--927D0D118BA8EF36E040A8C0CF071CF5-->  <AD_FIELD_ID><![CDATA[927D0D118BA8EF36E040A8C0CF071CF5]]></AD_FIELD_ID>
 <!--927D0D118BA8EF36E040A8C0CF071CF5-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -2996,6 +3102,32 @@
 <!--993EAC683DEEF0BBE040A8C02101154F-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
 <!--993EAC683DEEF0BBE040A8C02101154F--></AD_FIELD>
 
+<!--9F205498ED90471B9BAEFF40ECC59B21--><AD_FIELD>
+<!--9F205498ED90471B9BAEFF40ECC59B21-->  <AD_FIELD_ID><![CDATA[9F205498ED90471B9BAEFF40ECC59B21]]></AD_FIELD_ID>
+<!--9F205498ED90471B9BAEFF40ECC59B21-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--9F205498ED90471B9BAEFF40ECC59B21-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--9F205498ED90471B9BAEFF40ECC59B21-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--9F205498ED90471B9BAEFF40ECC59B21-->  <NAME><![CDATA[Reference]]></NAME>
+<!--9F205498ED90471B9BAEFF40ECC59B21-->  <DESCRIPTION><![CDATA[The data type of this field.]]></DESCRIPTION>
+<!--9F205498ED90471B9BAEFF40ECC59B21-->  <HELP><![CDATA[The Reference indicates the type of reference field]]></HELP>
+<!--9F205498ED90471B9BAEFF40ECC59B21-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--9F205498ED90471B9BAEFF40ECC59B21-->  <AD_TAB_ID><![CDATA[FF808181314242630131426D95280008]]></AD_TAB_ID>
+<!--9F205498ED90471B9BAEFF40ECC59B21-->  <AD_COLUMN_ID><![CDATA[F2E8E4CADB6B4BF5AEA23A3DD9C331D1]]></AD_COLUMN_ID>
+<!--9F205498ED90471B9BAEFF40ECC59B21-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--9F205498ED90471B9BAEFF40ECC59B21-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
+<!--9F205498ED90471B9BAEFF40ECC59B21-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--9F205498ED90471B9BAEFF40ECC59B21-->  <SEQNO><![CDATA[30]]></SEQNO>
+<!--9F205498ED90471B9BAEFF40ECC59B21-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--9F205498ED90471B9BAEFF40ECC59B21-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--9F205498ED90471B9BAEFF40ECC59B21-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--9F205498ED90471B9BAEFF40ECC59B21-->  <SHOWINRELATION><![CDATA[Y]]></SHOWINRELATION>
+<!--9F205498ED90471B9BAEFF40ECC59B21-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--9F205498ED90471B9BAEFF40ECC59B21-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
+<!--9F205498ED90471B9BAEFF40ECC59B21-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--9F205498ED90471B9BAEFF40ECC59B21-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--9F205498ED90471B9BAEFF40ECC59B21-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--9F205498ED90471B9BAEFF40ECC59B21--></AD_FIELD>
+
 <!--A6866CDC7AC04A9BA16CC4BD3CE3EE8A--><AD_FIELD>
 <!--A6866CDC7AC04A9BA16CC4BD3CE3EE8A-->  <AD_FIELD_ID><![CDATA[A6866CDC7AC04A9BA16CC4BD3CE3EE8A]]></AD_FIELD_ID>
 <!--A6866CDC7AC04A9BA16CC4BD3CE3EE8A-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
@@ -3048,6 +3180,31 @@
 <!--B58154A84170455C9EB33C8D6D218265-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
 <!--B58154A84170455C9EB33C8D6D218265--></AD_FIELD>
 
+<!--D050761FC30143B083032E79A2812BA6--><AD_FIELD>
+<!--D050761FC30143B083032E79A2812BA6-->  <AD_FIELD_ID><![CDATA[D050761FC30143B083032E79A2812BA6]]></AD_FIELD_ID>
+<!--D050761FC30143B083032E79A2812BA6-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--D050761FC30143B083032E79A2812BA6-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--D050761FC30143B083032E79A2812BA6-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--D050761FC30143B083032E79A2812BA6-->  <NAME><![CDATA[Client]]></NAME>
+<!--D050761FC30143B083032E79A2812BA6-->  <DESCRIPTION><![CDATA[Client for this installation.]]></DESCRIPTION>
+<!--D050761FC30143B083032E79A2812BA6-->  <HELP><![CDATA[A Client is a company or a legal entity. You cannot share data between Clients.]]></HELP>
+<!--D050761FC30143B083032E79A2812BA6-->  <ISCENTRALLYMAINTAINED><![CDATA[Y]]></ISCENTRALLYMAINTAINED>
+<!--D050761FC30143B083032E79A2812BA6-->  <AD_TAB_ID><![CDATA[FF808181314242630131426D95280008]]></AD_TAB_ID>
+<!--D050761FC30143B083032E79A2812BA6-->  <AD_COLUMN_ID><![CDATA[0A838F58698E4D80974637ABEF9FA335]]></AD_COLUMN_ID>
+<!--D050761FC30143B083032E79A2812BA6-->  <ISDISPLAYED><![CDATA[N]]></ISDISPLAYED>
+<!--D050761FC30143B083032E79A2812BA6-->  <DISPLAYLENGTH><![CDATA[32]]></DISPLAYLENGTH>
+<!--D050761FC30143B083032E79A2812BA6-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--D050761FC30143B083032E79A2812BA6-->  <ISSAMELINE><![CDATA[N]]></ISSAMELINE>
+<!--D050761FC30143B083032E79A2812BA6-->  <ISFIELDONLY><![CDATA[N]]></ISFIELDONLY>
+<!--D050761FC30143B083032E79A2812BA6-->  <ISENCRYPTED><![CDATA[N]]></ISENCRYPTED>
+<!--D050761FC30143B083032E79A2812BA6-->  <SHOWINRELATION><![CDATA[N]]></SHOWINRELATION>
+<!--D050761FC30143B083032E79A2812BA6-->  <ISFIRSTFOCUSEDFIELD><![CDATA[N]]></ISFIRSTFOCUSEDFIELD>
+<!--D050761FC30143B083032E79A2812BA6-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
+<!--D050761FC30143B083032E79A2812BA6-->  <STARTINODDCOLUMN><![CDATA[N]]></STARTINODDCOLUMN>
+<!--D050761FC30143B083032E79A2812BA6-->  <STARTNEWLINE><![CDATA[N]]></STARTNEWLINE>
+<!--D050761FC30143B083032E79A2812BA6-->  <ISSHOWNINSTATUSBAR><![CDATA[N]]></ISSHOWNINSTATUSBAR>
+<!--D050761FC30143B083032E79A2812BA6--></AD_FIELD>
+
 <!--E98898257CEA414CAEB5A4049CC8DB19--><AD_FIELD>
 <!--E98898257CEA414CAEB5A4049CC8DB19-->  <AD_FIELD_ID><![CDATA[E98898257CEA414CAEB5A4049CC8DB19]]></AD_FIELD_ID>
 <!--E98898257CEA414CAEB5A4049CC8DB19-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
--- a/modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_REFERENCE.xml	Mon Aug 01 17:04:08 2011 +0200
+++ b/modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_REFERENCE.xml	Mon Aug 01 17:31:40 2011 +0200
@@ -49,4 +49,20 @@
 <!--B0BA46A241B543CF80B4046F080FA9DE-->  <ISVALUEDISPLAYED><![CDATA[N]]></ISVALUEDISPLAYED>
 <!--B0BA46A241B543CF80B4046F080FA9DE--></AD_REFERENCE>
 
+<!--FF8080813123BF670131241C2BB30012--><AD_REFERENCE>
+<!--FF8080813123BF670131241C2BB30012-->  <AD_REFERENCE_ID><![CDATA[FF8080813123BF670131241C2BB30012]]></AD_REFERENCE_ID>
+<!--FF8080813123BF670131241C2BB30012-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--FF8080813123BF670131241C2BB30012-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--FF8080813123BF670131241C2BB30012-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--FF8080813123BF670131241C2BB30012-->  <NAME><![CDATA[OBKMO_Widget in Form Reference]]></NAME>
+<!--FF8080813123BF670131241C2BB30012-->  <DESCRIPTION><![CDATA[The base Widget in Form reference]]></DESCRIPTION>
+<!--FF8080813123BF670131241C2BB30012-->  <HELP><![CDATA[Defines the Widget in Form base Reference. Allows placing a Workspace Widget into a generated form.]]></HELP>
+<!--FF8080813123BF670131241C2BB30012-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
+<!--FF8080813123BF670131241C2BB30012-->  <ISBASEREFERENCE><![CDATA[Y]]></ISBASEREFERENCE>
+<!--FF8080813123BF670131241C2BB30012-->  <MODEL_IMPL><![CDATA[org.openbravo.base.model.domaintype.StringDomainType]]></MODEL_IMPL>
+<!--FF8080813123BF670131241C2BB30012-->  <WAD_IMPL><![CDATA[org.openbravo.wad.controls.WADText]]></WAD_IMPL>
+<!--FF8080813123BF670131241C2BB30012-->  <UI_IMPL><![CDATA[org.openbravo.reference.ui.UIText]]></UI_IMPL>
+<!--FF8080813123BF670131241C2BB30012-->  <ISVALUEDISPLAYED><![CDATA[N]]></ISVALUEDISPLAYED>
+<!--FF8080813123BF670131241C2BB30012--></AD_REFERENCE>
+
 </data>
--- a/modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_TAB.xml	Mon Aug 01 17:04:08 2011 +0200
+++ b/modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_TAB.xml	Mon Aug 01 17:31:40 2011 +0200
@@ -278,4 +278,28 @@
 <!--EA867498578C4E98A4935A53A3A5F6AE-->  <SHOWPARENTBUTTONS><![CDATA[Y]]></SHOWPARENTBUTTONS>
 <!--EA867498578C4E98A4935A53A3A5F6AE--></AD_TAB>
 
+<!--FF808181314242630131426D95280008--><AD_TAB>
+<!--FF808181314242630131426D95280008-->  <AD_TAB_ID><![CDATA[FF808181314242630131426D95280008]]></AD_TAB_ID>
+<!--FF808181314242630131426D95280008-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--FF808181314242630131426D95280008-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--FF808181314242630131426D95280008-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--FF808181314242630131426D95280008-->  <NAME><![CDATA[Widget in Form]]></NAME>
+<!--FF808181314242630131426D95280008-->  <DESCRIPTION><![CDATA[Define and maintain Widget in Form definitions which allow to place workspace widgets into a generated window]]></DESCRIPTION>
+<!--FF808181314242630131426D95280008-->  <AD_TABLE_ID><![CDATA[FF808181314242630131424606130001]]></AD_TABLE_ID>
+<!--FF808181314242630131426D95280008-->  <AD_WINDOW_ID><![CDATA[101]]></AD_WINDOW_ID>
+<!--FF808181314242630131426D95280008-->  <SEQNO><![CDATA[150]]></SEQNO>
+<!--FF808181314242630131426D95280008-->  <TABLEVEL><![CDATA[1]]></TABLEVEL>
+<!--FF808181314242630131426D95280008-->  <ISSINGLEROW><![CDATA[N]]></ISSINGLEROW>
+<!--FF808181314242630131426D95280008-->  <ISINFOTAB><![CDATA[N]]></ISINFOTAB>
+<!--FF808181314242630131426D95280008-->  <ISTRANSLATIONTAB><![CDATA[N]]></ISTRANSLATIONTAB>
+<!--FF808181314242630131426D95280008-->  <ISREADONLY><![CDATA[N]]></ISREADONLY>
+<!--FF808181314242630131426D95280008-->  <HASTREE><![CDATA[N]]></HASTREE>
+<!--FF808181314242630131426D95280008-->  <PROCESSING><![CDATA[N]]></PROCESSING>
+<!--FF808181314242630131426D95280008-->  <IMPORTFIELDS><![CDATA[N]]></IMPORTFIELDS>
+<!--FF808181314242630131426D95280008-->  <ISSORTTAB><![CDATA[N]]></ISSORTTAB>
+<!--FF808181314242630131426D95280008-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
+<!--FF808181314242630131426D95280008-->  <UIPATTERN><![CDATA[STD]]></UIPATTERN>
+<!--FF808181314242630131426D95280008-->  <SHOWPARENTBUTTONS><![CDATA[Y]]></SHOWPARENTBUTTONS>
+<!--FF808181314242630131426D95280008--></AD_TAB>
+
 </data>
--- a/modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_TABLE.xml	Mon Aug 01 17:04:08 2011 +0200
+++ b/modules/org.openbravo.client.myob/src-db/database/sourcedata/AD_TABLE.xml	Mon Aug 01 17:31:40 2011 +0200
@@ -166,4 +166,24 @@
 <!--E1C20B5D1AEB45FEB3D0E4B6C3F8B1A8-->  <AD_PACKAGE_ID><![CDATA[AC67D238397F4F9DA5AE76030C99C05F]]></AD_PACKAGE_ID>
 <!--E1C20B5D1AEB45FEB3D0E4B6C3F8B1A8--></AD_TABLE>
 
+<!--FF808181314242630131424606130001--><AD_TABLE>
+<!--FF808181314242630131424606130001-->  <AD_TABLE_ID><![CDATA[FF808181314242630131424606130001]]></AD_TABLE_ID>
+<!--FF808181314242630131424606130001-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--FF808181314242630131424606130001-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--FF808181314242630131424606130001-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--FF808181314242630131424606130001-->  <NAME><![CDATA[OBKMO_WidgetReference]]></NAME>
+<!--FF808181314242630131424606130001-->  <TABLENAME><![CDATA[OBKMO_Widget_Reference]]></TABLENAME>
+<!--FF808181314242630131424606130001-->  <CLASSNAME><![CDATA[WidgetReference]]></CLASSNAME>
+<!--FF808181314242630131424606130001-->  <ISVIEW><![CDATA[N]]></ISVIEW>
+<!--FF808181314242630131424606130001-->  <ACCESSLEVEL><![CDATA[4]]></ACCESSLEVEL>
+<!--FF808181314242630131424606130001-->  <ISSECURITYENABLED><![CDATA[N]]></ISSECURITYENABLED>
+<!--FF808181314242630131424606130001-->  <ISDELETEABLE><![CDATA[Y]]></ISDELETEABLE>
+<!--FF808181314242630131424606130001-->  <ISHIGHVOLUME><![CDATA[N]]></ISHIGHVOLUME>
+<!--FF808181314242630131424606130001-->  <IMPORTTABLE><![CDATA[N]]></IMPORTTABLE>
+<!--FF808181314242630131424606130001-->  <ISCHANGELOG><![CDATA[N]]></ISCHANGELOG>
+<!--FF808181314242630131424606130001-->  <ISDEFAULTACCT><![CDATA[N]]></ISDEFAULTACCT>
+<!--FF808181314242630131424606130001-->  <DEVELOPMENTSTATUS><![CDATA[RE]]></DEVELOPMENTSTATUS>
+<!--FF808181314242630131424606130001-->  <AD_PACKAGE_ID><![CDATA[AC67D238397F4F9DA5AE76030C99C05F]]></AD_PACKAGE_ID>
+<!--FF808181314242630131424606130001--></AD_TABLE>
+
 </data>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.client.myob/src-db/database/sourcedata/OBCLKER_UIDEFINITION.xml	Mon Aug 01 17:31:40 2011 +0200
@@ -0,0 +1,13 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<data>
+<!--FF8080813123BF670131241DD87E0022--><OBCLKER_UIDEFINITION>
+<!--FF8080813123BF670131241DD87E0022-->  <OBCLKER_UIDEFINITION_ID><![CDATA[FF8080813123BF670131241DD87E0022]]></OBCLKER_UIDEFINITION_ID>
+<!--FF8080813123BF670131241DD87E0022-->  <AD_CLIENT_ID><![CDATA[0]]></AD_CLIENT_ID>
+<!--FF8080813123BF670131241DD87E0022-->  <AD_ORG_ID><![CDATA[0]]></AD_ORG_ID>
+<!--FF8080813123BF670131241DD87E0022-->  <AD_MODULE_ID><![CDATA[2758CD25B2704AF6BBAD10365FC82C06]]></AD_MODULE_ID>
+<!--FF8080813123BF670131241DD87E0022-->  <AD_REFERENCE_ID><![CDATA[FF8080813123BF670131241C2BB30012]]></AD_REFERENCE_ID>
+<!--FF8080813123BF670131241DD87E0022-->  <CLASSNAME><![CDATA[org.openbravo.client.myob.widgetinform.WidgetInFormUIDefinition]]></CLASSNAME>
+<!--FF8080813123BF670131241DD87E0022-->  <ISACTIVE><![CDATA[Y]]></ISACTIVE>
+<!--FF8080813123BF670131241DD87E0022--></OBCLKER_UIDEFINITION>
+
+</data>
--- a/modules/org.openbravo.client.myob/src/org/openbravo/client/myob/MyOpenbravoComponentProvider.java	Mon Aug 01 17:04:08 2011 +0200
+++ b/modules/org.openbravo.client.myob/src/org/openbravo/client/myob/MyOpenbravoComponentProvider.java	Mon Aug 01 17:31:40 2011 +0200
@@ -92,6 +92,8 @@
             + KernelConstants.SKIN_PARAMETER
             + "/org.openbravo.client.myob/ob-myopenbravo-styles.css", false));
 
+    globalResources.add(createStaticResource(
+        "web/org.openbravo.client.myob/js/form/formitem/ob-formitem-widgetinform.js", false));
     return globalResources;
   }
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.client.myob/src/org/openbravo/client/myob/widgetinform/WidgetInFormUIDefinition.java	Mon Aug 01 17:31:40 2011 +0200
@@ -0,0 +1,63 @@
+/*
+ *************************************************************************
+ * 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) 2011 Openbravo SLU 
+ * All Rights Reserved. 
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+ */
+package org.openbravo.client.myob.widgetinform;
+
+import org.codehaus.jettison.json.JSONException;
+import org.codehaus.jettison.json.JSONObject;
+import org.openbravo.client.kernel.reference.UIDefinition;
+import org.openbravo.client.myob.WidgetClass;
+import org.openbravo.client.myob.WidgetReference;
+import org.openbravo.dal.service.OBDal;
+import org.openbravo.model.ad.ui.Field;
+
+/**
+ * Implementation of the Widget in Form UIdefinition
+ * 
+ * @author huehner
+ * 
+ */
+public class WidgetInFormUIDefinition extends UIDefinition {
+
+  @Override
+  public String getFormEditorType() {
+    return "OBWidgetInFormItem";
+  }
+
+  @Override
+  public String getFieldProperties(Field field) {
+    String fieldProperties = super.getFieldProperties(field);
+    if (field == null) {
+      return fieldProperties;
+    }
+
+    // get widgetClass from reference
+    WidgetReference wr = OBDal.getInstance().get(WidgetReference.class, getReference().getId());
+    WidgetClass widgetClass = wr.getWidgetClass();
+
+    try {
+      JSONObject o = new JSONObject(fieldProperties);
+      o.put("widgetClassId", widgetClass.getId());
+      o.put("showTitle", wr.isShowFieldTitle());
+      return o.toString();
+    } catch (JSONException e) {
+      return fieldProperties;
+    }
+  }
+
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/form/formitem/ob-formitem-widgetinform.js	Mon Aug 01 17:31:40 2011 +0200
@@ -0,0 +1,60 @@
+/*
+ *************************************************************************
+ * 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) 2011 Openbravo SLU
+ * All Rights Reserved.
+ * Contributor(s):  ______________________________________.
+ ************************************************************************
+ */
+
+// == OBWidgetInFormItem ==
+// Allows placing of workspace widget into a generated form
+isc.ClassFactory.defineClass('OBWidgetInFormItem', CanvasItem);
+
+isc.OBWidgetInFormItem.addProperties({
+  widgetInstance : null,
+  cellStyle: 'OBFormField',
+  titleStyle: 'OBFormFieldLabel',
+
+  createCanvas: function(){
+    var widgetProperties, i, w, widgetClass, widgetParameters, locAvailWidgetClasses;
+
+    locAvailWidgetClasses = OB.MyOB.availableWidgetClasses;
+    for (i = 0; i < locAvailWidgetClasses.length; i++) {
+      w = locAvailWidgetClasses[i];
+      if (w.widgetClassId === this.widgetClassId) {
+        widgetClass = w.widgetClassName;
+        widgetParameters = w.parameters;
+      }
+    }
+
+    widgetProperties = {
+      parameters: widgetParameters,
+      height: '0px',
+      inWidgetInFormMode : true
+    };
+
+    this.widgetInstance = isc.ClassFactory.newInstance(widgetClass, widgetProperties);
+    return this.widgetInstance;
+  },
+
+  // called via processFICReturn
+  refresh: function(form) {
+    // refresh widget, passing special parameter which is link to formValues for currently displayed record
+    if (this.widgetInstance) {
+      this.widgetInstance.parameters.formValues = form.values;
+      this.widgetInstance.refresh();
+    }
+  }
+});
+
--- a/modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/ob-widget.js	Mon Aug 01 17:04:08 2011 +0200
+++ b/modules/org.openbravo.client.myob/web/org.openbravo.client.myob/js/ob-widget.js	Mon Aug 01 17:31:40 2011 +0200
@@ -202,18 +202,25 @@
   initWidget: function (args) {
     var widget = this, headerControls = ['headerLabel'];
     
-    // set the headercontrols in initWidget otherwise only  
-    // one menubutton gets created for all widgets
-    this.menuButton = isc.OBWidgetMenuItem.create({portlet: this});
+    // when widget placed inside generated window
+    if (this.inWidgetInFormMode) {
+      this.showHeader = false;
+      this.canDragReposition = false;
+      this.height = '0px'; // together with overflow:visible to get height up-to rowspan
+    } else {
+      // set the headercontrols in initWidget otherwise only  
+      // one menubutton gets created for all widgets
+      this.menuButton = isc.OBWidgetMenuItem.create({portlet: this});
 
-    headerControls.push(this.menuButton);
+      headerControls.push(this.menuButton);
 
-    if(args.showMaximizeButton) {
-      headerControls.push('maximizeButton');
+      if(args.showMaximizeButton) {
+        headerControls.push('maximizeButton');
+      }
+
+      this.headerControls = headerControls;
     }
 
-    this.headerControls = headerControls;
-
     this.editFormLayout = this.createEditFormLayout();
     this.windowContents = this.createWindowContents();