Skip to content
Snippets Groups Projects
Activity_entity.aod 35.27 KiB
<?xml version="1.0" encoding="UTF-8"?>
<entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.3.21" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.21">
  <name>Activity_entity</name>
  <title>Activity</title>
  <majorModelMode>DISTRIBUTED</majorModelMode>
  <documentation>%aditoprj%/entity/Activity_entity/documentation.adoc</documentation>
  <grantDeleteProcess>%aditoprj%/entity/Activity_entity/grantDeleteProcess.js</grantDeleteProcess>
  <contentTitleProcess>%aditoprj%/entity/Activity_entity/contentTitleProcess.js</contentTitleProcess>
  <afterUiInit>%aditoprj%/entity/Activity_entity/afterUiInit.js</afterUiInit>
  <iconId>VAADIN:HOURGLASS_END</iconId>
  <image>VAADIN:SHOP</image>
  <imageProcess>%aditoprj%/entity/Activity_entity/imageProcess.js</imageProcess>
  <titlePlural>Activities</titlePlural>
  <recordContainer>db</recordContainer>
  <entityFields>
    <entityField>
      <name>DIRECTION</name>
      <title>Direction</title>
      <consumer>KeywordDirections</consumer>
      <groupable v="true" />
      <mandatory v="true" />
      <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/direction/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Activity_entity/entityfields/direction/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>ENTRYDATE</name>
      <title>Date</title>
      <contentType>DATE</contentType>
      <resolution>MINUTE</resolution>
      <outputFormat>dd.MM.yyyy HH:mm</outputFormat>
      <inputFormat>dd.MM.yyyy HH:mm</inputFormat>
      <mandatory v="true" />
      <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/entrydate/valueProcess.js</valueProcess>
      <onValidation>%aditoprj%/entity/Activity_entity/entityfields/entrydate/onValidation.js</onValidation>
    </entityField>
    <entityField>
      <name>ACTIVITYID</name>
      <title>ACTIVITYID (UID)</title>
    </entityField>
    <entityField>
      <name>INFO</name>
      <title>Description</title>
      <contentType>HTML</contentType>
      <mandatory v="false" />
      <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/info/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>CATEGORY</name>
      <documentation>%aditoprj%/entity/Activity_entity/entityfields/category/documentation.adoc</documentation>
      <title>Category</title>
      <consumer>KeywordCategories</consumer>
      <groupable v="true" />
      <mandatory v="true" />
      <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/category/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Activity_entity/entityfields/category/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>SUBJECT</name>
      <title>Subject</title>
      <groupable v="false" />
      <mandatory v="true" />
      <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/subject/valueProcess.js</valueProcess>
    </entityField>
    <entityParameter>
      <name>RowId_param</name>
      <expose v="true" />
      <mandatory v="false" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityField>
      <name>SUBJECT_DETAILS</name>
      <linkedContext>Activity</linkedContext>
      <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/subject_details/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>DIRECTION_ICON</name>
      <contentType>IMAGE</contentType>
      <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/direction_icon/valueProcess.js</valueProcess>
    </entityField>
    <entityProvider>
      <name>#PROVIDER</name>
      <recordContainer>db</recordContainer>
    </entityProvider>
    <entityField>
      <name>ICON</name>
      <contentType>IMAGE</contentType>
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/icon/valueProcess.js</valueProcess>
    </entityField>
    <entityParameter>
      <name>OnlyInnate_param</name>
      <expose v="true" />
      <mandatory v="false" />
      <documentation>%aditoprj%/entity/Activity_entity/entityfields/onlyinnate_param/documentation.adoc</documentation>
      <title>Show only own</title>
    </entityParameter>
    <entityParameter>
      <name>ObjectId_param</name>
      <expose v="true" />
      <mandatory v="false" />
      <documentation>%aditoprj%/entity/Activity_entity/entityfields/objectid_param/documentation.adoc</documentation>
    </entityParameter>
    <entityConsumer>
      <name>Documents</name>
      <selectionMode>MULTI</selectionMode>
      <dependency>
        <name>dependency</name>
        <entityName>Document_entity</entityName>
        <fieldName>Documents</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>AssignmentRowId_param</name>
          <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/documents/children/assignmentrowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>AssignmentTable_param</name>
          <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/documents/children/assignmenttable_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>MainDocuments</name>
      <stateProcess>%aditoprj%/entity/Activity_entity/entityfields/maindocuments/stateProcess.js</stateProcess>
      <dependency>
        <name>dependency</name>
        <entityName>Document_entity</entityName>
        <fieldName>MainDocuments</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>AssignmentTable_param</name>
          <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/maindocuments/children/assignmenttable_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>AssignmentRowId_param</name>
          <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/maindocuments/children/assignmentrowid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>ENTRYMONTH</name>
      <title>Date (Month)</title>
      <contentType>TEXT</contentType>
      <groupable v="true" />
      <displayValueProcess>%aditoprj%/entity/Activity_entity/entityfields/entrymonth/displayValueProcess.js</displayValueProcess>
      <onValueChangeTypes>
        <element>MASK</element>
        <element>PROCESS</element>
        <element>PROCESS_SETVALUE</element>
      </onValueChangeTypes>
    </entityField>
    <entityConsumer>
      <name>Links</name>
      <dependency>
        <name>dependency</name>
        <entityName>ActivityLink_entity</entityName>
        <fieldName>Links</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ActivityId_param</name>
          <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/links/children/activityid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>KeywordDirections</name>
      <dependency>
        <name>dependency</name>
        <entityName>KeywordEntry_entity</entityName>
        <fieldName>SpecificContainerKeywords</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContainerName_param</name>
          <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/keyworddirections/children/containername_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityProvider>
      <name>LinkedObjects</name>
      <documentation>%aditoprj%/entity/Activity_entity/entityfields/linkedobjects/documentation.adoc</documentation>
      <recordContainer>db</recordContainer>
      <children>
        <entityParameter>
          <name>OnlyInnate_param</name>
          <expose v="false" />
          <documentation>%aditoprj%/entity/Activity_entity/entityfields/linkedobjects/children/onlyinnate_param/documentation.adoc</documentation>
        </entityParameter>
        <entityParameter>
          <name>ObjectId_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>RowId_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>PresetLinks_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>ParentContext_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>ParentId_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>PresetDocuments_param</name>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityField>
      <name>RESPONSIBLE</name>
      <documentation>%aditoprj%/entity/Activity_entity/entityfields/responsible/documentation.adoc</documentation>
      <title>Responsible</title>
      <consumer>Employees</consumer>
      <groupable v="true" />
      <linkedContext>Person</linkedContext>
      <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/responsible/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Activity_entity/entityfields/responsible/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityConsumer>
      <name>ModuleTrees</name>
      <dependency>
        <name>dependency</name>
        <entityName>ModuleTree_entity</entityName>
        <fieldName>TreeProviders</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContextName_param</name>
          <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/moduletrees/children/contextname_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ID_param</name>
          <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/moduletrees/children/id_param/valueProcess.js</valueProcess>
          <expose v="true" />
          <mandatory v="true" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityParameter>
      <name>ParentId_param</name>
      <expose v="true" />
      <documentation>%aditoprj%/entity/Activity_entity/entityfields/parentid_param/documentation.adoc</documentation>
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>ParentContext_param</name>
      <expose v="true" />
      <documentation>%aditoprj%/entity/Activity_entity/entityfields/parentcontext_param/documentation.adoc</documentation>
      <description>PARAMETER</description>
    </entityParameter>
    <entityField>
      <name>PARENT_ID</name>
      <title>PARENT_ID</title>
      <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/parent_id/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>PARENT_CONTEXT</name>
      <title>PARENT_CONTEXT</title>
      <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/parent_context/valueProcess.js</valueProcess>
    </entityField>
    <entityConsumer>
      <name>KeywordCategories</name>
      <dependency>
        <name>dependency</name>
        <entityName>KeywordEntry_entity</entityName>
        <fieldName>SpecificContainerKeywords</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContainerName_param</name>
          <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/keywordcategories/children/containername_param/valueProcess.js</valueProcess>
          <expose v="true" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>ENTRYDAY</name>
      <title>Date (Day)</title>
      <groupable v="true" />
    </entityField>
    <entityConsumer>
      <name>Attributes</name>
      <onValidation>%aditoprj%/entity/Activity_entity/entityfields/attributes/onValidation.js</onValidation>
      <dependency>
        <name>dependency</name>
        <entityName>AttributeRelation_entity</entityName>
        <fieldName>AttributeRelations</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ObjectRowId_param</name>
          <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/attributes/children/objectrowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ObjectType_param</name>
          <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/attributes/children/objecttype_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Employees</name>
      <dependency>
        <name>dependency</name>
        <entityName>Employee_entity</entityName>
        <fieldName>Employees</fieldName>
      </dependency>
    </entityConsumer>
    <entityParameter>
      <name>PresetLinks_param</name>
      <expose v="true" />
      <documentation>%aditoprj%/entity/Activity_entity/entityfields/presetlinks_param/documentation.adoc</documentation>
      <description>PARAMETER</description>
    </entityParameter>
    <entityConsumer>
      <name>AttributeTree</name>
      <dependency>
        <name>dependency</name>
        <entityName>AttributeRelation_entity</entityName>
        <fieldName>TreeProvider</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ObjectRowId_param</name>
          <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/attributetree/children/objectrowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ObjectType_param</name>
          <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/attributetree/children/objecttype_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>USER_NEW</name>
      <title>USER_NEW</title>
      <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/user_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>USER_EDIT</name>
      <title>USER_EDIT</title>
      <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/user_edit/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>DATE_NEW</name>
      <title>DATE_NEW</title>
      <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/date_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>DATE_EDIT</name>
      <title>DATE_EDIT</title>
      <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/date_edit/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>entryDateDateFormat</name>
      <contentType>DATE</contentType>
      <resolution>DAY</resolution>
      <outputFormat>dd.MM.yyyy</outputFormat>
      <inputFormat>dd.MM.yyyy</inputFormat>
    </entityField>
    <entityConsumer>
      <name>LinkedAppointments</name>
      <dependency>
        <name>dependency</name>
        <entityName>Appointment_entity</entityName>
        <fieldName>LinkedAppointments</fieldName>
      </dependency>
    </entityConsumer>
    <entityParameter>
      <name>PresetDocuments_param</name>
      <expose v="true" />
    </entityParameter>
    <entityParameter>
      <name>Direction_param</name>
      <expose v="true" />
    </entityParameter>
    <entityParameter>
      <name>Info_param</name>
      <expose v="true" />
    </entityParameter>
    <entityParameter>
      <name>Subject_param</name>
      <expose v="true" />
    </entityParameter>
    <entityConsumer>
      <name>ActivityAtrributes</name>
      <dependency>
        <name>dependency</name>
        <entityName>Attribute_entity</entityName>
        <fieldName>ThemeProvider</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ThemeObjectRowId_param</name>
          <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/activityatrributes/children/themeobjectrowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ObjectType_param</name>
          <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/activityatrributes/children/objecttype_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>AttributeTreeIsTheme</name>
      <dependency>
        <name>dependency</name>
        <entityName>AttributeRelation_entity</entityName>
        <fieldName>TreeProvider</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ObjectType_param</name>
          <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/attributetreeistheme/children/objecttype_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ObjectRowId_param</name>
          <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/attributetreeistheme/children/objectrowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>GetTheme_param</name>
          <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/attributetreeistheme/children/gettheme_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>ENTRYYEAR</name>
      <title>Date (Year)</title>
      <groupable v="true" />
    </entityField>
    <entityField>
      <name>bindata</name>
      <title>data</title>
      <contentType>FILE</contentType>
      <stateProcess>%aditoprj%/entity/Activity_entity/entityfields/bindata/stateProcess.js</stateProcess>
      <onValueChange>%aditoprj%/entity/Activity_entity/entityfields/bindata/onValueChange.js</onValueChange>
    </entityField>
    <entityParameter>
      <name>InsertLinks_param</name>
      <expose v="true" />
      <description>Links that will be inserted, required in QuickEntry</description>
    </entityParameter>
    <entityConsumer>
      <name>LogHistories</name>
      <dependency>
        <name>dependency</name>
        <entityName>LogHistory_entity</entityName>
        <fieldName>LogHistoryProvider</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>tablenames_param</name>
          <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/loghistories/children/tablenames_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityParameter>
      <name>Category_param</name>
      <expose v="true" />
    </entityParameter>
    <entityParameter>
      <name>Entrydate_param</name>
      <expose v="true" />
    </entityParameter>
    <entityParameter>
      <name>VisitPlanEntryId_param</name>
      <expose v="true" />
    </entityParameter>
    <entityParameter>
      <name>ActivityIDs_param</name>
      <expose v="true" />
    </entityParameter>
    <entityField>
      <name>countLinks</name>
      <title>number of connections</title>
      <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/countlinks/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>COUNT</name>
      <title>Count</title>
      <contentType>NUMBER</contentType>
    </entityField>
    <entityAggregateField>
      <name>COUNT_aggregate</name>
      <parentField>COUNT</parentField>
      <title>Count</title>
    </entityAggregateField>
    <entityProvider>
      <name>#PROVIDER_AGGREGATES</name>
      <useAggregates v="true" />
    </entityProvider>
    <entityProvider>
      <name>ActivityChildren</name>
      <documentation>%aditoprj%/entity/Activity_entity/entityfields/activitychildren/documentation.adoc</documentation>
      <children>
        <entityParameter>
          <name>ActivityIDs_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>InsertLinks_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>Entrydate_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>Info_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>Direction_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>PresetDocuments_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>Subject_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>VisitPlanEntryId_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>RowId_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>Category_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>ObjectId_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>OnlyInnate_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>ParentContext_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>ParentId_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>PresetLinks_param</name>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityField>
      <name>infoTable</name>
      <title>Description</title>
      <contentType>LONG_TEXT</contentType>
      <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/infotable/valueProcess.js</valueProcess>
    </entityField>
    <entityActionGroup>
      <name>MSTeamsActions</name>
      <title>MS Teams</title>
      <state>EDITABLE</state>
      <stateProcess>%aditoprj%/entity/Activity_entity/entityfields/msteamsactions/stateProcess.js</stateProcess>
      <children>
        <entityActionField>
          <name>importFromTeams</name>
          <title>Import from Teams</title>
          <onActionProcess>%aditoprj%/entity/Activity_entity/entityfields/msteamsactions/children/importfromteams/onActionProcess.js</onActionProcess>
        </entityActionField>
      </children>
    </entityActionGroup>
    <entityActionField>
      <name>newActivity</name>
      <title>New activity</title>
      <onActionProcess>%aditoprj%/entity/Activity_entity/entityfields/newactivity/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:HOURGLASS_END</iconId>
      <tooltip>New activity</tooltip>
      <tooltipProcess>%aditoprj%/entity/Activity_entity/entityfields/newactivity/tooltipProcess.js</tooltipProcess>
    </entityActionField>
    <entityActionField>
      <name>newTask</name>
      <title>New task</title>
      <onActionProcess>%aditoprj%/entity/Activity_entity/entityfields/newtask/onActionProcess.js</onActionProcess>
      <actionOrder v="1" />
      <iconId>VAADIN:TASKS</iconId>
    </entityActionField>
    <entityActionField>
      <name>newOffer</name>
      <title>New offer</title>
      <onActionProcess>%aditoprj%/entity/Activity_entity/entityfields/newoffer/onActionProcess.js</onActionProcess>
      <actionOrder v="0" />
      <iconId>VAADIN:CART</iconId>
    </entityActionField>
    <entityActionField>
      <name>newSupportticket</name>
      <title>New Support ticket</title>
      <onActionProcess>%aditoprj%/entity/Activity_entity/entityfields/newsupportticket/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:CHAT</iconId>
    </entityActionField>
    <entityActionGroup>
      <name>filterActions</name>
      <children>
        <entityActionField>
          <name>cancelObservation</name>
          <onActionProcess>%aditoprj%/entity/Activity_entity/entityfields/filteractions/children/cancelobservation/onActionProcess.js</onActionProcess>
          <iconId>VAADIN:EYE_SLASH</iconId>
          <stateProcess>%aditoprj%/entity/Activity_entity/entityfields/filteractions/children/cancelobservation/stateProcess.js</stateProcess>
          <titleProcess>%aditoprj%/entity/Activity_entity/entityfields/filteractions/children/cancelobservation/titleProcess.js</titleProcess>
        </entityActionField>
        <entityActionField>
          <name>observe</name>
          <title>Observe</title>
          <onActionProcess>%aditoprj%/entity/Activity_entity/entityfields/filteractions/children/observe/onActionProcess.js</onActionProcess>
          <isObjectAction v="true" />
          <iconId>VAADIN:EYE</iconId>
          <stateProcess>%aditoprj%/entity/Activity_entity/entityfields/filteractions/children/observe/stateProcess.js</stateProcess>
          <titleProcess>%aditoprj%/entity/Activity_entity/entityfields/filteractions/children/observe/titleProcess.js</titleProcess>
        </entityActionField>
      </children>
    </entityActionGroup>
    <entityActionField>
      <name>openAdminView</name>
      <title>Open admin view</title>
      <onActionProcess>%aditoprj%/entity/Activity_entity/entityfields/openadminview/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:CURLY_BRACKETS</iconId>
      <stateProcess>%aditoprj%/entity/Activity_entity/entityfields/openadminview/stateProcess.js</stateProcess>
    </entityActionField>
    <entityConsumer>
      <name>AdvertisingItems</name>
      <state>EDITABLE</state>
      <stateProcess>%aditoprj%/entity/Activity_entity/entityfields/advertisingitems/stateProcess.js</stateProcess>
      <dependency>
        <name>dependency</name>
        <entityName>AdvertisingItem_entity</entityName>
        <fieldName>AdvertisingItemsForContext</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>RowId_param</name>
          <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/advertisingitems/children/rowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>AdvertisingId_param</name>
          <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/advertisingitems/children/advertisingid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>hasAdvertising</name>
      <title>Advertising shipment</title>
      <description>controlls wether Advertisings Items can be added or not </description>
      <contentType>BOOLEAN</contentType>
      <stateProcess>%aditoprj%/entity/Activity_entity/entityfields/hasadvertising/stateProcess.js</stateProcess>
      <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/hasadvertising/valueProcess.js</valueProcess>
    </entityField>
    <entityConsumer>
      <name>AdvertisingInformationConsumer</name>
      <isOneToOneRelationship v="true" />
      <state>EDITABLE</state>
      <stateProcess>%aditoprj%/entity/Activity_entity/entityfields/advertisinginformationconsumer/stateProcess.js</stateProcess>
      <dependency>
        <name>dependency</name>
        <entityName>Advertising_entity</entityName>
        <fieldName>BasicInfoAdvertising</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>RowId_param</name>
          <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/advertisinginformationconsumer/children/rowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ContactIds_param</name>
          <valueProcess>%aditoprj%/entity/Activity_entity/entityfields/advertisinginformationconsumer/children/contactids_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityParameter>
      <name>AdvActivityId_param</name>
      <expose v="true" />
    </entityParameter>
  </entityFields>
  <recordContainers>
    <dbRecordContainer>
      <name>db</name>
      <maximumDbRows v="10000" />
      <fromClauseProcess>%aditoprj%/entity/Activity_entity/recordcontainers/db/fromClauseProcess.js</fromClauseProcess>
      <conditionProcess>%aditoprj%/entity/Activity_entity/recordcontainers/db/conditionProcess.js</conditionProcess>
      <orderClauseProcess>%aditoprj%/entity/Activity_entity/recordcontainers/db/orderClauseProcess.js</orderClauseProcess>
      <onDBInsert>%aditoprj%/entity/Activity_entity/recordcontainers/db/onDBInsert.js</onDBInsert>
      <onDBUpdate>%aditoprj%/entity/Activity_entity/recordcontainers/db/onDBUpdate.js</onDBUpdate>
      <onDBDelete>%aditoprj%/entity/Activity_entity/recordcontainers/db/onDBDelete.js</onDBDelete>
      <alias>Data_alias</alias>
      <recordFieldMappings>
        <dbRecordFieldMapping>
          <name>ACTIVITYID.value</name>
          <recordfield>ACTIVITY.ACTIVITYID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DIRECTION.value</name>
          <recordfield>ACTIVITY.DIRECTION</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="false" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>INFO.value</name>
          <recordfield>ACTIVITY.INFO</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="false" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>SUBJECT.value</name>
          <recordfield>ACTIVITY.SUBJECT</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ENTRYDATE.value</name>
          <recordfield>ACTIVITY.ENTRYDATE</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="false" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>CATEGORY.value</name>
          <recordfield>ACTIVITY.CATEGORY</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="false" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DIRECTION.displayValue</name>
          <expression>%aditoprj%/entity/Activity_entity/recordcontainers/db/recordfieldmappings/direction.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>PARENT_CONTEXT.value</name>
          <recordfield>ACTIVITY.PARENT_CONTEXT</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>PARENT_ID.value</name>
          <recordfield>ACTIVITY.PARENT_ID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>CATEGORY.displayValue</name>
          <expression>%aditoprj%/entity/Activity_entity/recordcontainers/db/recordfieldmappings/category.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>USER_NEW.value</name>
          <recordfield>ACTIVITY.USER_NEW</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>USER_EDIT.value</name>
          <recordfield>ACTIVITY.USER_EDIT</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DATE_NEW.value</name>
          <recordfield>ACTIVITY.DATE_NEW</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DATE_EDIT.value</name>
          <recordfield>ACTIVITY.DATE_EDIT</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>RESPONSIBLE.displayValue</name>
          <expression>%aditoprj%/entity/Activity_entity/recordcontainers/db/recordfieldmappings/responsible.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>RESPONSIBLE.value</name>
          <recordfield>ACTIVITY.RESPONSIBLE</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="false" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>entryDateDateFormat.value</name>
          <expression>%aditoprj%/entity/Activity_entity/recordcontainers/db/recordfieldmappings/entrydatedateformat.value/expression.js</expression>
        </dbRecordFieldMapping>
        <aggregateFieldDbMapping>
          <name>COUNT_aggregate.value</name>
          <recordfield>ACTIVITY.ACTIVITYID</recordfield>
          <aggregateType>COUNT</aggregateType>
        </aggregateFieldDbMapping>
        <dbRecordFieldMapping>
          <name>ENTRYDAY.value</name>
          <expression>%aditoprj%/entity/Activity_entity/recordcontainers/db/recordfieldmappings/entryday.value/expression.js</expression>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ENTRYMONTH.value</name>
          <expression>%aditoprj%/entity/Activity_entity/recordcontainers/db/recordfieldmappings/entrymonth.value/expression.js</expression>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ENTRYYEAR.value</name>
          <expression>%aditoprj%/entity/Activity_entity/recordcontainers/db/recordfieldmappings/entryyear.value/expression.js</expression>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
      </recordFieldMappings>
      <linkInformation>
        <linkInformation>
          <name>4d4e82f5-fd0d-48e0-805a-c713d73dfae0</name>
          <tableName>ACTIVITY</tableName>
          <primaryKey>ACTIVITYID</primaryKey>
          <isUIDTable v="true" />
          <readonly v="false" />
        </linkInformation>
      </linkInformation>
      <filterExtensions>
        <filterExtensionSet>
          <name>Attribute_filter</name>
          <filterFieldsProcess>%aditoprj%/entity/Activity_entity/recordcontainers/db/filterextensions/attribute_filter/filterFieldsProcess.js</filterFieldsProcess>
          <filterValuesProcess>%aditoprj%/entity/Activity_entity/recordcontainers/db/filterextensions/attribute_filter/filterValuesProcess.js</filterValuesProcess>
          <filterConditionProcess>%aditoprj%/entity/Activity_entity/recordcontainers/db/filterextensions/attribute_filter/filterConditionProcess.js</filterConditionProcess>
          <filtertype>BASIC</filtertype>
        </filterExtensionSet>
        <filterExtension>
          <name>IsUnlinked</name>
          <title>Is unlinked activity</title>
          <contentType>BOOLEAN</contentType>
          <filterValuesProcess>%aditoprj%/entity/Activity_entity/recordcontainers/db/filterextensions/isunlinked/filterValuesProcess.js</filterValuesProcess>
          <filterConditionProcess>%aditoprj%/entity/Activity_entity/recordcontainers/db/filterextensions/isunlinked/filterConditionProcess.js</filterConditionProcess>
          <isLookupFilter v="false" />
          <filtertype>BASIC</filtertype>
        </filterExtension>
        <filterExtension>
          <name>ResponsibleDepartment_filter</name>
          <title>Responsible Department</title>
          <contentType>TEXT</contentType>
          <filterValuesProcess>%aditoprj%/entity/Activity_entity/recordcontainers/db/filterextensions/responsibledepartment_filter/filterValuesProcess.js</filterValuesProcess>
          <filterConditionProcess>%aditoprj%/entity/Activity_entity/recordcontainers/db/filterextensions/responsibledepartment_filter/filterConditionProcess.js</filterConditionProcess>
          <isLookupFilter v="false" />
          <filtertype>BASIC</filtertype>
        </filterExtension>
      </filterExtensions>
    </dbRecordContainer>
  </recordContainers>
</entity>