<?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.14" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.14">
  <name>Person_entity</name>
  <description>former Pers</description>
  <majorModelMode>DISTRIBUTED</majorModelMode>
  <documentation>%aditoprj%/entity/Person_entity/documentation.adoc</documentation>
  <title>Contact</title>
  <siblings>
    <element>Address_entity</element>
  </siblings>
  <grantDeleteProcess>%aditoprj%/entity/Person_entity/grantDeleteProcess.js</grantDeleteProcess>
  <contentTitleProcess>%aditoprj%/entity/Person_entity/contentTitleProcess.js</contentTitleProcess>
  <afterUiInit>%aditoprj%/entity/Person_entity/afterUiInit.js</afterUiInit>
  <onValidation>%aditoprj%/entity/Person_entity/onValidation.js</onValidation>
  <afterOperatingState>%aditoprj%/entity/Person_entity/afterOperatingState.js</afterOperatingState>
  <iconId>VAADIN:USERS</iconId>
  <imageProcess>%aditoprj%/entity/Person_entity/imageProcess.js</imageProcess>
  <usePermissions v="false" />
  <titlePlural>Contacts</titlePlural>
  <recordContainer>db</recordContainer>
  <entityFields>
    <entityField>
      <name>DATEOFBIRTH</name>
      <title>Date of birth</title>
      <contentType>DATE</contentType>
      <resolution>DAY</resolution>
      <outputFormat>dd.MM.yyyy</outputFormat>
      <inputFormat>dd.MM.yyyy</inputFormat>
      <onValidation>%aditoprj%/entity/Person_entity/entityfields/dateofbirth/onValidation.js</onValidation>
    </entityField>
    <entityField>
      <name>FIRSTNAME</name>
      <title>Firstname</title>
    </entityField>
    <entityField>
      <name>GENDER</name>
      <title>Gender</title>
      <consumer>KeywordGenders</consumer>
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/gender/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Person_entity/entityfields/gender/displayValueProcess.js</displayValueProcess>
      <onValueChange>%aditoprj%/entity/Person_entity/entityfields/gender/onValueChange.js</onValueChange>
      <onValueChangeTypes>
        <element>MASK</element>
      </onValueChangeTypes>
    </entityField>
    <entityField>
      <name>LASTNAME</name>
      <title>Lastname</title>
      <mandatory v="true" />
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/lastname/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>MIDDLENAME</name>
      <title>Middlename</title>
    </entityField>
    <entityField>
      <name>PERSONID</name>
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/personid/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>SALUTATION</name>
      <title>Salutation</title>
      <consumer>Salutations</consumer>
    </entityField>
    <entityField>
      <name>TITLE</name>
      <title>Title</title>
      <consumer>SalutationTitles</consumer>
      <displayValueProcess>%aditoprj%/entity/Person_entity/entityfields/title/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>TITLESUFFIX</name>
    </entityField>
    <entityParameter>
      <name>OrgId_param</name>
      <expose v="true" />
      <mandatory v="false" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityFieldGroup>
      <name>NAME_fieldGroup</name>
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/name_fieldgroup/valueProcess.js</valueProcess>
      <description>FIELDGROUP</description>
      <fields>
        <element>FIRSTNAME</element>
        <element>LASTNAME</element>
      </fields>
    </entityFieldGroup>
    <entityConsumer>
      <name>Activities</name>
      <dependency>
        <name>dependency</name>
        <entityName>Activity_entity</entityName>
        <fieldName>LinkedObjects</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>RowId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/activities/children/rowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ObjectId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/activities/children/objectid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>PresetLinks_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/activities/children/presetlinks_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>CONTACTID</name>
      <title>CONTACTID (UID)</title>
      <state>INVISIBLE</state>
    </entityField>
    <entityProvider>
      <name>OrganisationRelated</name>
      <recordContainer>db</recordContainer>
      <dependencies>
        <entityDependency>
          <name>41952879-c2f0-411f-8ca1-36c38914a629</name>
          <entityName>Organisation_entity</entityName>
          <fieldName>Contact</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>OrgId_param</name>
          <expose v="true" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityField>
      <name>PERSON_ID</name>
      <documentation>%aditoprj%/entity/Person_entity/entityfields/person_id/documentation.adoc</documentation>
      <title>PERSON_ID</title>
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/person_id/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>ORGANISATION_ID</name>
      <title>Company</title>
      <description>Important: This field should not be visible in the UI. Use ORGANISATION_CONTACTID instead!

                This field only calculates the Orgid from the ORGANISATION_CONTACTID to save it to the db correctly. all interactions should go through ORGANISATION_CONTACTID!!</description>
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/organisation_id/valueProcess.js</valueProcess>
    </entityField>
    <entityConsumer>
      <name>PersAddresses</name>
      <dependency>
        <name>dependency</name>
        <entityName>Address_entity</entityName>
        <fieldName>ContactAddresses</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>DefaultAddressId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/persaddresses/children/defaultaddressid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/persaddresses/children/contactid_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>ShowDsgvoMessage_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/persaddresses/children/showdsgvomessage_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ReplaceStandardAddress_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/persaddresses/children/replacestandardaddress_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Communications</name>
      <dependency>
        <name>dependency</name>
        <entityName>Communication_entity</entityName>
        <fieldName>AllCommunications</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/communications/children/contactid_param/valueProcess.js</valueProcess>
          <expose v="false" />
          <description>This parameter is used for specifing a related &amp;quot;CONTACTID&amp;quot; to a COMMUNICATION-entry. 
                        Usually this is used for filtering COMMUNICATION-entries by a specified contact or creating a new entry that is related to a contact.</description>
        </entityParameter>
        <entityParameter>
          <name>ShowDsgvoMessage_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/communications/children/showdsgvomessage_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ContactsMainCountry_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/communications/children/contactsmaincountry_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Organisations</name>
      <selectionMode>SINGLE</selectionMode>
      <dependency>
        <name>dependency</name>
        <entityName>Organisation_entity</entityName>
        <fieldName>WithPersonIdFilter</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ExcludeOrganisationsByPersonId</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/organisations/children/excludeorganisationsbypersonid/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Contracts</name>
      <dependency>
        <name>dependency</name>
        <entityName>Contract_entity</entityName>
        <fieldName>Contracts</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/contracts/children/contactid_param/valueProcess.js</valueProcess>
          <expose v="false" />
          <mandatory v="true" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Pricelists</name>
      <state>AUTO</state>
      <stateProcess>%aditoprj%/entity/Person_entity/entityfields/pricelists/stateProcess.js</stateProcess>
      <dependency>
        <name>dependency</name>
        <entityName>Productprice_entity</entityName>
        <fieldName>Productprices</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/pricelists/children/contactid_param/valueProcess.js</valueProcess>
          <expose v="false" />
          <mandatory v="true" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Genders</name>
      <dependency>
        <name>dependency</name>
        <entityName>Gender_keyword</entityName>
        <fieldName>#PROVIDER</fieldName>
      </dependency>
    </entityConsumer>
    <entityProvider>
      <name>#PROVIDER</name>
      <dependencies>
        <entityDependency>
          <name>ec66d6b0-a1fa-40a1-9612-34775d3e89a9</name>
          <entityName>Object_entity</entityName>
          <fieldName>Persons</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>a8f2893b-fce7-4a55-97d4-f19ec83f9bdb</name>
          <entityName>ObjectProxy_entity</entityName>
          <fieldName>Persons</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>4baa56bc-f570-4c19-81b9-4ed9ba7f0cfb</name>
          <entityName>VisitRecommendation_entity</entityName>
          <fieldName>PersonConsumer</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
    </entityProvider>
    <entityField>
      <name>LANGUAGE</name>
      <title>Language</title>
      <consumer>Languages</consumer>
      <mandatory v="true" />
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/language/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Person_entity/entityfields/language/displayValueProcess.js</displayValueProcess>
      <onValueChange>%aditoprj%/entity/Person_entity/entityfields/language/onValueChange.js</onValueChange>
      <onValueChangeTypes>
        <element>MASK</element>
      </onValueChangeTypes>
    </entityField>
    <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/Person_entity/entityfields/documents/children/assignmentrowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>AssignmentTable_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/documents/children/assignmenttable_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityParameter>
      <name>ContactId_param</name>
      <expose v="true" />
      <mandatory v="false" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityFieldGroup>
      <name>FULL_NAME_fieldGroup</name>
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/full_name_fieldgroup/valueProcess.js</valueProcess>
      <title>Name</title>
      <description>FIELDGROUP</description>
      <fields>
        <element>SALUTATION</element>
        <element>TITLE</element>
        <element>FIRSTNAME</element>
        <element>MIDDLENAME</element>
        <element>LASTNAME</element>
      </fields>
    </entityFieldGroup>
    <entityProvider>
      <name>Contact</name>
      <recordContainer>db</recordContainer>
      <dependencies>
        <entityDependency>
          <name>f925c8e6-b096-4093-bd39-c9cd30a6a71a</name>
          <entityName>Lead_entity</entityName>
          <fieldName>ContactId</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <children>
        <entityParameter>
          <name>OrgId_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>ContactId_param</name>
          <expose v="true" />
          <mandatory v="true" />
        </entityParameter>
        <entityParameter>
          <name>ExcludedContactIds_param</name>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityConsumer>
      <name>OrgAddresses</name>
      <state>READONLY</state>
      <stateProcess>%aditoprj%/entity/Person_entity/entityfields/orgaddresses/stateProcess.js</stateProcess>
      <dependency>
        <name>dependency</name>
        <entityName>Address_entity</entityName>
        <fieldName>OrganisationAddressesByContact</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/orgaddresses/children/contactid_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>DefaultAddressId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/orgaddresses/children/defaultaddressid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>STANDARD_EMAIL_COMMUNICATION</name>
      <title>E-Mail</title>
      <consumer>EmailCommunications</consumer>
      <onValueChange>%aditoprj%/entity/Person_entity/entityfields/standard_email_communication/onValueChange.js</onValueChange>
    </entityField>
    <entityField>
      <name>STANDARD_PHONE_COMMUNICATION</name>
      <title>Phone</title>
      <consumer>PhoneCommunications</consumer>
      <onValueChange>%aditoprj%/entity/Person_entity/entityfields/standard_phone_communication/onValueChange.js</onValueChange>
    </entityField>
    <entityConsumer>
      <name>PhoneCommunications</name>
      <description>Used for standard communication</description>
      <dependency>
        <name>dependency</name>
        <entityName>Communication_entity</entityName>
        <fieldName>PhoneCommunications</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/phonecommunications/children/contactid_param/valueProcess.js</valueProcess>
          <expose v="false" />
          <description>This parameter is used for specifing a related &amp;quot;CONTACTID&amp;quot; to a COMMUNICATION-entry. 
                        Usually this is used for filtering COMMUNICATION-entries by a specified contact or creating a new entry that is related to a contact.</description>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>EmailCommunications</name>
      <description>Used for standard communication</description>
      <dependency>
        <name>dependency</name>
        <entityName>Communication_entity</entityName>
        <fieldName>EmailCommunications</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/emailcommunications/children/contactid_param/valueProcess.js</valueProcess>
          <expose v="false" />
          <description>This parameter is used for specifing a related &amp;quot;CONTACTID&amp;quot; to a COMMUNICATION-entry. 
                        Usually this is used for filtering COMMUNICATION-entries by a specified contact or creating a new entry that is related to a contact.</description>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>ADDRESS_ID</name>
      <title>Address</title>
      <consumer>ContactAndOrganisationAddresses</consumer>
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/address_id/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Person_entity/entityfields/address_id/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityConsumer>
      <name>KeywordGenders</name>
      <dependency>
        <name>dependency</name>
        <entityName>KeywordEntry_entity</entityName>
        <fieldName>SpecificContainerKeywords</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContainerName_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/keywordgenders/children/containername_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Languages</name>
      <dependency>
        <name>dependency</name>
        <entityName>Language_entity</entityName>
        <fieldName>ISO3Name</fieldName>
      </dependency>
    </entityConsumer>
    <entityConsumer>
      <name>Offers</name>
      <dependency>
        <name>dependency</name>
        <entityName>Offer_entity</entityName>
        <fieldName>ContactOffers</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/offers/children/contactid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Salutations</name>
      <dependency>
        <name>dependency</name>
        <entityName>SalutationDistinct_entity</entityName>
        <fieldName>Salutations</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>Language_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/salutations/children/language_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Attributes</name>
      <onValidation>%aditoprj%/entity/Person_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/Person_entity/entityfields/attributes/children/objectrowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ObjectType_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/attributes/children/objecttype_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ShowDsgvoMessage_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/attributes/children/showdsgvomessage_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>SalutationTitles</name>
      <dependency>
        <name>dependency</name>
        <entityName>SalutationTitleDistinct_entity</entityName>
        <fieldName>SalutationTitles</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>Salutation_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/salutationtitles/children/salutation_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>Language_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/salutationtitles/children/language_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Tasks</name>
      <state>EDITABLE</state>
      <dependency>
        <name>dependency</name>
        <entityName>Task_entity</entityName>
        <fieldName>Tasks</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>RowId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/tasks/children/rowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ObjectId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/tasks/children/objectid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>PresetLinks_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/tasks/children/presetlinks_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>ObjectTrees</name>
      <dependency>
        <name>dependency</name>
        <entityName>ObjectTree_entity</entityName>
        <fieldName>TreeProvider</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ObjectIds_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/objecttrees/children/objectids_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ObjectTypes_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/objecttrees/children/objecttypes_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>STATUS</name>
      <title>Status</title>
      <consumer>KeywordContactStates</consumer>
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/status/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Person_entity/entityfields/status/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityConsumer>
      <name>KeywordContactStates</name>
      <dependency>
        <name>dependency</name>
        <entityName>KeywordEntry_entity</entityName>
        <fieldName>SpecificContainerKeywords</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContainerName_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/keywordcontactstates/children/containername_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>ContactAndOrganisationAddresses</name>
      <dependency>
        <name>dependency</name>
        <entityName>Address_entity</entityName>
        <fieldName>OrganisationAndContactAddresses</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/contactandorganisationaddresses/children/contactid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>OrganisationId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/contactandorganisationaddresses/children/organisationid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>DEPARTMENT</name>
      <title>Department</title>
      <dropDownProcess>%aditoprj%/entity/Person_entity/entityfields/department/dropDownProcess.js</dropDownProcess>
      <textInputAllowed v="true" />
    </entityField>
    <entityField>
      <name>POSITION</name>
      <title>Position</title>
      <dropDownProcess>%aditoprj%/entity/Person_entity/entityfields/position/dropDownProcess.js</dropDownProcess>
      <textInputAllowed v="true" />
    </entityField>
    <entityField>
      <name>CONTACTROLE</name>
      <title>Contactrole</title>
      <dropDownProcess>%aditoprj%/entity/Person_entity/entityfields/contactrole/dropDownProcess.js</dropDownProcess>
      <textInputAllowed v="true" />
    </entityField>
    <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/Person_entity/entityfields/loghistories/children/tablenames_param/valueProcess.js</valueProcess>
          <expose v="true" />
          <mandatory v="true" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>OtherContacts</name>
      <dependency>
        <name>dependency</name>
        <entityName>Contact_entity</entityName>
        <fieldName>PersonsContactsExceptOwn</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>OwnContactId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/othercontacts/children/owncontactid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>LanguageKey_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/othercontacts/children/languagekey_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>ORGANISATION_NAME</name>
    </entityField>
    <entityParameter>
      <name>ExcludedContactIds_param</name>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityProvider>
      <name>Contacts</name>
      <dependencies>
        <entityDependency>
          <name>e46dcd73-64a8-4b3e-b976-1b4643c54ebb</name>
          <entityName>CampaignStep_entity</entityName>
          <fieldName>ContactsConsumer</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>4d317eb3-6a4e-40c6-946e-d54289dcd99b</name>
          <entityName>Member_entity</entityName>
          <fieldName>Contacts</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>0b7a3dc8-854f-4a0b-9e1c-e6f7cd12d8f1</name>
          <entityName>DuplicatesDetails_entity</entityName>
          <fieldName>PersonsConsumer</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>c98da62f-d6b2-4ddb-9101-92e9a60abdfb</name>
          <entityName>VisitPlanEmployeeWeek_entity</entityName>
          <fieldName>Persons</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>f56b1378-138d-4f88-b9df-274adce9f90c</name>
          <entityName>VisitPlanEntry_entity</entityName>
          <fieldName>Persons</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>ExcludedContactIds_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>OrgId_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>OnlyShowContactIds_param</name>
          <expose v="true" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityConsumer>
      <name>360DegreeObjects</name>
      <dependency>
        <name>dependency</name>
        <entityName>360Degree_entity</entityName>
        <fieldName>PersonObjects</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ObjectRowId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/360degreeobjects/children/objectrowid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <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/Person_entity/entityfields/attributetree/children/objectrowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ObjectType_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/attributetree/children/objecttype_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ShowDsgvoMessage_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/attributetree/children/showdsgvomessage_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>DATE_NEW</name>
      <title>DATE_NEW</title>
      <contentType>DATE</contentType>
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/date_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>USER_NEW</name>
      <title>USER_NEW</title>
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/user_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>USER_EDIT</name>
      <title>USER_EDIT</title>
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/user_edit/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>DATE_EDIT</name>
      <title>DATE_EDIT</title>
      <contentType>DATE</contentType>
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/date_edit/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>DATE_NEW_CONTACT</name>
      <title>DATE_NEW_CONTACT</title>
      <contentType>DATE</contentType>
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/date_new_contact/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>USER_NEW_CONTACT</name>
      <title>USER_NEW_CONTACT</title>
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/user_new_contact/valueProcess.js</valueProcess>
    </entityField>
    <entityParameter>
      <name>AdditionalActivityTaskLinks_param</name>
      <title></title>
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/additionalactivitytasklinks_param/valueProcess.js</valueProcess>
      <description>PARAMETER</description>
    </entityParameter>
    <entityField>
      <name>PICTURE</name>
      <title>Picture</title>
      <contentType>IMAGE</contentType>
      <displayValueProcess>%aditoprj%/entity/Person_entity/entityfields/picture/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityParameter>
      <name>AvatarText_param</name>
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/avatartext_param/valueProcess.js</valueProcess>
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>OnlyActive_param</name>
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/avatartext_param/valueProcess.js</valueProcess>
      <description>PARAMETER</description>
    </entityParameter>
    <entityConsumer>
      <name>CommRestrictions</name>
      <dependency>
        <name>dependency</name>
        <entityName>CommRestriction_Entity</entityName>
        <fieldName>CommRestrictions</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/commrestrictions/children/contactid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>DSGVOEntries</name>
      <stateProcess>%aditoprj%/entity/Person_entity/entityfields/dsgvoentries/stateProcess.js</stateProcess>
      <dependency>
        <name>dependency</name>
        <entityName>DSGVO_entity</entityName>
        <fieldName>#PROVIDER</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/dsgvoentries/children/contactid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Appointments</name>
      <dependency>
        <name>dependency</name>
        <entityName>Appointment_entity</entityName>
        <fieldName>LinkedAppointments</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>LinkedObjectId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/appointments/children/linkedobjectid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>OpenTasks</name>
      <title>Open tasks</title>
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/opentasks/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>AppointmentsNextWeek</name>
      <title>Appointments</title>
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/appointmentsnextweek/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>ORGANISATION_CONTACTID</name>
      <title>Company</title>
      <consumer>Organisations</consumer>
      <linkedContextProcess>%aditoprj%/entity/Person_entity/entityfields/organisation_contactid/linkedContextProcess.js</linkedContextProcess>
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/organisation_contactid/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Person_entity/entityfields/organisation_contactid/displayValueProcess.js</displayValueProcess>
      <onValidation>%aditoprj%/entity/Person_entity/entityfields/organisation_contactid/onValidation.js</onValidation>
    </entityField>
    <entityParameter>
      <name>DuplicateCurrentContactId_param</name>
      <expose v="true" />
    </entityParameter>
    <entityParameter>
      <name>DuplicateActionsControl_param</name>
      <expose v="true" />
      <mandatory v="false" />
    </entityParameter>
    <entityField>
      <name>STANDARD_COUNTRY</name>
      <title>Country</title>
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/standard_country/valueProcess.js</valueProcess>
    </entityField>
    <entityConsumer>
      <name>SelfDuplicatesUncached</name>
      <dependency>
        <name>dependency</name>
        <entityName>Person_entity</entityName>
        <fieldName>SelfDuplicatesProvider</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>DuplicateActionsControl_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/selfduplicatesuncached/children/duplicateactionscontrol_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>DuplicateCurrentContactId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/selfduplicatesuncached/children/duplicatecurrentcontactid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>OnlyShowContactIds_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/selfduplicatesuncached/children/onlyshowcontactids_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ExcludedContactIds_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/selfduplicatesuncached/children/excludedcontactids_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>LEAD_LEADID</name>
    </entityField>
    <entityField>
      <name>COMMRESTRICTIONS_ACTIVE</name>
      <title>Commrestrictions</title>
      <color>$priority-high-color</color>
      <displayValueProcess>%aditoprj%/entity/Person_entity/entityfields/commrestrictions_active/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>STANDARD_ZIP</name>
      <title>ZIP</title>
    </entityField>
    <entityField>
      <name>STANDARD_ADDRESS</name>
      <title>Address</title>
    </entityField>
    <entityField>
      <name>STANDARD_CITY</name>
      <title>City</title>
    </entityField>
    <entityProvider>
      <name>QuickEntryContacts</name>
      <titlePlural>Additional Contacts</titlePlural>
      <dependencies>
        <entityDependency>
          <name>6d137850-63ba-4be0-9ca5-1464e71d4f77</name>
          <entityName>QuickEntry_entity</entityName>
          <fieldName>Contacts</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>OrgId_param</name>
          <expose v="true" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityActionField>
      <name>openEditDefaultsView</name>
      <title>Edit defaults</title>
      <onActionProcess>%aditoprj%/entity/Person_entity/entityfields/openeditdefaultsview/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:WRENCH</iconId>
    </entityActionField>
    <entityActionField>
      <name>newOffer</name>
      <title>New offer</title>
      <onActionProcess>%aditoprj%/entity/Person_entity/entityfields/newoffer/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:CART</iconId>
    </entityActionField>
    <entityActionField>
      <name>newActivity</name>
      <title>New activity</title>
      <onActionProcess>%aditoprj%/entity/Person_entity/entityfields/newactivity/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:HOURGLASS_END</iconId>
      <tooltip>New activity</tooltip>
      <tooltipProcess>%aditoprj%/entity/Person_entity/entityfields/newactivity/tooltipProcess.js</tooltipProcess>
    </entityActionField>
    <entityActionField>
      <name>newTask</name>
      <title>New task</title>
      <onActionProcess>%aditoprj%/entity/Person_entity/entityfields/newtask/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:TASKS</iconId>
    </entityActionField>
    <entityActionField>
      <name>addToCampaign</name>
      <title>Add to Campaign</title>
      <onActionProcess>%aditoprj%/entity/Person_entity/entityfields/addtocampaign/onActionProcess.js</onActionProcess>
      <actionOrder v="1" />
      <iconId>NEON:GROUP_APPOINTMENT</iconId>
      <tooltip>Choose a campaign and a step to add the contact to a  campaign</tooltip>
    </entityActionField>
    <entityActionGroup>
      <name>filterViewActionGroup</name>
      <documentation>%aditoprj%/entity/Person_entity/entityfields/filterviewactiongroup/documentation.adoc</documentation>
      <title>Campaign</title>
      <iconId>NEON:GROUP_APPOINTMENT</iconId>
      <children>
        <entityActionField>
          <name>addToCampaignFromTable</name>
          <title>Add to Campaign</title>
          <onActionProcess>%aditoprj%/entity/Person_entity/entityfields/filterviewactiongroup/children/addtocampaignfromtable/onActionProcess.js</onActionProcess>
          <isMenuAction v="true" />
          <isObjectAction v="false" />
          <isSelectionAction v="false" />
          <iconId>NEON:GROUP_APPOINTMENT</iconId>
          <stateProcess>%aditoprj%/entity/Person_entity/entityfields/filterviewactiongroup/children/addtocampaignfromtable/stateProcess.js</stateProcess>
          <tooltip>Add the selection to a campaign</tooltip>
          <tooltipProcess>%aditoprj%/entity/Person_entity/entityfields/filterviewactiongroup/children/addtocampaignfromtable/tooltipProcess.js</tooltipProcess>
        </entityActionField>
        <entityActionField>
          <name>addToBulkMailFromTable</name>
          <title>Add to Bulkmail</title>
          <onActionProcess>%aditoprj%/entity/Person_entity/entityfields/filterviewactiongroup/children/addtobulkmailfromtable/onActionProcess.js</onActionProcess>
          <isObjectAction v="false" />
          <isSelectionAction v="true" />
          <iconId>VAADIN:AT</iconId>
          <stateProcess>%aditoprj%/entity/Person_entity/entityfields/filterviewactiongroup/children/addtobulkmailfromtable/stateProcess.js</stateProcess>
          <tooltipProcess>%aditoprj%/entity/Person_entity/entityfields/filterviewactiongroup/children/addtobulkmailfromtable/tooltipProcess.js</tooltipProcess>
        </entityActionField>
        <entityActionField>
          <name>addToSerialLetter</name>
          <title>Add to serial letter</title>
          <onActionProcess>%aditoprj%/entity/Person_entity/entityfields/filterviewactiongroup/children/addtoserialletter/onActionProcess.js</onActionProcess>
          <isObjectAction v="false" />
          <isSelectionAction v="true" />
          <iconId>VAADIN:ENVELOPES</iconId>
          <tooltipProcess>%aditoprj%/entity/Person_entity/entityfields/filterviewactiongroup/children/addtoserialletter/tooltipProcess.js</tooltipProcess>
        </entityActionField>
        <entityActionField>
          <name>export</name>
          <title>Export</title>
          <onActionProcess>%aditoprj%/entity/Person_entity/entityfields/filterviewactiongroup/children/export/onActionProcess.js</onActionProcess>
          <isObjectAction v="false" />
          <iconId>NEON:EXPORT</iconId>
          <tooltip>Export fields of this table</tooltip>
          <tooltipProcess>%aditoprj%/entity/Person_entity/entityfields/filterviewactiongroup/children/export/tooltipProcess.js</tooltipProcess>
        </entityActionField>
        <entityActionField>
          <name>startMultipleWorkflows</name>
          <title>Start workflow</title>
          <onActionProcess>%aditoprj%/entity/Person_entity/entityfields/filterviewactiongroup/children/startmultipleworkflows/onActionProcess.js</onActionProcess>
          <isObjectAction v="false" />
          <iconId>VAADIN:PLAY</iconId>
          <stateProcess>%aditoprj%/entity/Person_entity/entityfields/filterviewactiongroup/children/startmultipleworkflows/stateProcess.js</stateProcess>
        </entityActionField>
      </children>
    </entityActionGroup>
    <entityActionGroup>
      <name>DuplicateActions</name>
      <title>Duplicate actions</title>
      <state>AUTO</state>
      <stateProcess>%aditoprj%/entity/Person_entity/entityfields/duplicateactions/stateProcess.js</stateProcess>
      <children>
        <entityActionField>
          <name>IntegrateSelectedIntoCurrentAction</name>
          <title>Integrate selected into current contact</title>
          <onActionProcess>%aditoprj%/entity/Person_entity/entityfields/duplicateactions/children/integrateselectedintocurrentaction/onActionProcess.js</onActionProcess>
          <isSelectionAction v="true" />
          <iconId>NEON:IMPORT</iconId>
          <stateProcess>%aditoprj%/entity/Person_entity/entityfields/duplicateactions/children/integrateselectedintocurrentaction/stateProcess.js</stateProcess>
        </entityActionField>
        <entityActionField>
          <name>IntegrateCurrentIntoSelectedAction</name>
          <title>Integrate current into selected contact</title>
          <onActionProcess>%aditoprj%/entity/Person_entity/entityfields/duplicateactions/children/integratecurrentintoselectedaction/onActionProcess.js</onActionProcess>
          <isSelectionAction v="true" />
          <iconId>NEON:EXPORT</iconId>
          <stateProcess>%aditoprj%/entity/Person_entity/entityfields/duplicateactions/children/integratecurrentintoselectedaction/stateProcess.js</stateProcess>
        </entityActionField>
        <entityActionField>
          <name>IgnoreDuplicate</name>
          <title>Ignore Duplicate</title>
          <onActionProcess>%aditoprj%/entity/Person_entity/entityfields/duplicateactions/children/ignoreduplicate/onActionProcess.js</onActionProcess>
          <isSelectionAction v="true" />
          <iconId>VAADIN:CLOSE</iconId>
          <stateProcess>%aditoprj%/entity/Person_entity/entityfields/duplicateactions/children/ignoreduplicate/stateProcess.js</stateProcess>
        </entityActionField>
        <entityActionField>
          <name>IgnoreWholeCluster</name>
          <title>Ignore whole cluster</title>
          <onActionProcess>%aditoprj%/entity/Person_entity/entityfields/duplicateactions/children/ignorewholecluster/onActionProcess.js</onActionProcess>
          <iconId>VAADIN:CLOSE</iconId>
          <stateProcess>%aditoprj%/entity/Person_entity/entityfields/duplicateactions/children/ignorewholecluster/stateProcess.js</stateProcess>
        </entityActionField>
      </children>
    </entityActionGroup>
    <entityActionField>
      <name>newEmail</name>
      <title>Write email</title>
      <onActionProcess>%aditoprj%/entity/Person_entity/entityfields/newemail/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:AT</iconId>
    </entityActionField>
    <entityActionField>
      <name>newAppointment</name>
      <title>New appointment</title>
      <onActionProcess>%aditoprj%/entity/Person_entity/entityfields/newappointment/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:CALENDAR</iconId>
      <tooltip>New Appointment</tooltip>
    </entityActionField>
    <entityActionField>
      <name>newLetter</name>
      <title>New letter</title>
      <onActionProcess>%aditoprj%/entity/Person_entity/entityfields/newletter/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:ENVELOPE</iconId>
    </entityActionField>
    <entityActionField>
      <name>openTaskView</name>
      <isMenuAction v="false" />
      <isObjectAction v="false" />
    </entityActionField>
    <entityActionField>
      <name>startWorkflow</name>
      <title>Start workflow</title>
      <onActionProcess>%aditoprj%/entity/Person_entity/entityfields/startworkflow/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:PLAY</iconId>
      <stateProcess>%aditoprj%/entity/Person_entity/entityfields/startworkflow/stateProcess.js</stateProcess>
    </entityActionField>
    <entityActionField>
      <name>openAdminView</name>
      <title>Open admin view</title>
      <onActionProcess>%aditoprj%/entity/Person_entity/entityfields/openadminview/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:CURLY_BRACKETS</iconId>
      <stateProcess>%aditoprj%/entity/Person_entity/entityfields/openadminview/stateProcess.js</stateProcess>
    </entityActionField>
    <entityConsumer>
      <name>PersonDuplicates</name>
      <dependency>
        <name>dependency</name>
      </dependency>
      <children>
        <entityParameter>
          <name>targetEntity_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/personduplicates/children/targetentity_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>filterName_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/personduplicates/children/filtername_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>resultFields_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/personduplicates/children/resultfields_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>valuesToScan_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/personduplicates/children/valuestoscan_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>resultFieldsIdFieldName_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/personduplicates/children/resultfieldsidfieldname_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>recordIdToIgnore_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/personduplicates/children/recordidtoignore_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>targetContext_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/personduplicates/children/targetcontext_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>sourceContactId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/personduplicates/children/sourcecontactid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>contactIdToCheckForCachedDuplicates_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/personduplicates/children/contactidtocheckforcachedduplicates_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityParameter>
      <name>OnlyShowContactIds_param</name>
      <expose v="true" />
    </entityParameter>
    <entityConsumer>
      <name>SelfDuplicates</name>
      <dependency>
        <name>dependency</name>
        <entityName>Person_entity</entityName>
        <fieldName>SelfDuplicatesProvider</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>OnlyShowContactIds_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/selfduplicates/children/onlyshowcontactids_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>DuplicateCurrentContactId_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/selfduplicates/children/duplicatecurrentcontactid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>DuplicateActionsControl_param</name>
          <valueProcess>%aditoprj%/entity/Person_entity/entityfields/selfduplicates/children/duplicateactionscontrol_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityProvider>
      <name>SelfDuplicatesProvider</name>
      <titlePlural>Duplicates</titlePlural>
      <dependencies>
        <entityDependency>
          <name>f6d16008-1764-4920-8ea5-c95c6a67f508</name>
          <entityName>Person_entity</entityName>
          <fieldName>SelfDuplicates</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <children>
        <entityParameter>
          <name>OnlyShowContactIds_param</name>
          <mandatory v="true" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityField>
      <name>IndexCommunication</name>
    </entityField>
    <entityField>
      <name>IndexAddress</name>
    </entityField>
    <entityField>
      <name>IndexCountry</name>
    </entityField>
    <entityField>
      <name>IndexZIP</name>
    </entityField>
    <entityField>
      <name>IndexCity</name>
    </entityField>
    <entityParameter>
      <name>OnlyOwnSupervised_param</name>
      <expose v="true" />
    </entityParameter>
    <entityField>
      <name>IndexPhoneticLastname</name>
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/indexphoneticlastname/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>IndexPhoneticFirstname</name>
      <valueProcess>%aditoprj%/entity/Person_entity/entityfields/indexphoneticfirstname/valueProcess.js</valueProcess>
    </entityField>
    <entityActionField>
      <name>newVisitPlanEntry</name>
      <title>New Weekplanentry</title>
      <onActionProcess>%aditoprj%/entity/Person_entity/entityfields/newvisitplanentry/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:CAR</iconId>
    </entityActionField>
  </entityFields>
  <recordContainers>
    <dbRecordContainer>
      <name>db</name>
      <alias>Data_alias</alias>
      <fromClauseProcess>%aditoprj%/entity/Person_entity/recordcontainers/db/fromClauseProcess.js</fromClauseProcess>
      <conditionProcess>%aditoprj%/entity/Person_entity/recordcontainers/db/conditionProcess.js</conditionProcess>
      <orderClauseProcess>%aditoprj%/entity/Person_entity/recordcontainers/db/orderClauseProcess.js</orderClauseProcess>
      <onDBInsert>%aditoprj%/entity/Person_entity/recordcontainers/db/onDBInsert.js</onDBInsert>
      <onDBUpdate>%aditoprj%/entity/Person_entity/recordcontainers/db/onDBUpdate.js</onDBUpdate>
      <onDBDelete>%aditoprj%/entity/Person_entity/recordcontainers/db/onDBDelete.js</onDBDelete>
      <linkInformation>
        <linkInformation>
          <name>bfc9ae0b-bd68-4913-b26e-64fcfdae835d</name>
          <tableName>PERSON</tableName>
          <primaryKey>PERSONID</primaryKey>
          <isUIDTable v="false" />
          <readonly v="false" />
        </linkInformation>
        <linkInformation>
          <name>53ce95ab-08a3-4763-8540-8f3074f13d1f</name>
          <tableName>CONTACT</tableName>
          <primaryKey>CONTACTID</primaryKey>
          <isUIDTable v="true" />
          <readonly v="false" />
        </linkInformation>
        <linkInformation>
          <name>e9124a94-cc1b-4967-84ec-e315a7565ce0</name>
          <tableName>ORGANISATION</tableName>
          <primaryKey>ORGANISATIONID</primaryKey>
          <isUIDTable v="false" />
          <readonly v="true" />
        </linkInformation>
        <linkInformation>
          <name>0b6ca3ff-31f7-4dcd-99f6-bb8f64948cb0</name>
          <tableName>ADDRESS</tableName>
          <primaryKey>ADDRESSID</primaryKey>
          <isUIDTable v="false" />
          <readonly v="true" />
        </linkInformation>
      </linkInformation>
      <recordFieldMappings>
        <dbRecordFieldMapping>
          <name>PERSONID.value</name>
          <recordfield>PERSON.PERSONID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DATEOFBIRTH.value</name>
          <recordfield>PERSON.DATEOFBIRTH</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>FIRSTNAME.value</name>
          <recordfield>PERSON.FIRSTNAME</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>GENDER.value</name>
          <recordfield>PERSON.GENDER</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>LANGUAGE.value</name>
          <recordfield>CONTACT.ISOLANGUAGE</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>PERSON_ID.value</name>
          <recordfield>CONTACT.PERSON_ID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>LASTNAME.value</name>
          <recordfield>PERSON.LASTNAME</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>MIDDLENAME.value</name>
          <recordfield>PERSON.MIDDLENAME</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>CONTACTID.value</name>
          <recordfield>CONTACT.CONTACTID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>SALUTATION.value</name>
          <recordfield>PERSON.SALUTATION</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>TITLE.value</name>
          <recordfield>PERSON.TITLE</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>TITLESUFFIX.value</name>
          <recordfield>PERSON.TITLESUFFIX</recordfield>
          <isFilterable v="false" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ORGANISATION_ID.value</name>
          <recordfield>CONTACT.ORGANISATION_ID</recordfield>
          <isFilterable v="false" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>STANDARD_EMAIL_COMMUNICATION.displayValue</name>
          <expression>%aditoprj%/entity/Person_entity/recordcontainers/db/recordfieldmappings/standard_email_communication.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>STANDARD_PHONE_COMMUNICATION.displayValue</name>
          <expression>%aditoprj%/entity/Person_entity/recordcontainers/db/recordfieldmappings/standard_phone_communication.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ADDRESS_ID.value</name>
          <recordfield>CONTACT.ADDRESS_ID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ORGANISATION_ID.displayValue</name>
          <recordfield>ORGANISATION.NAME</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>GENDER.displayValue</name>
          <expression>%aditoprj%/entity/Person_entity/recordcontainers/db/recordfieldmappings/gender.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>LANGUAGE.displayValue</name>
          <expression>%aditoprj%/entity/Person_entity/recordcontainers/db/recordfieldmappings/language.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>TITLE.displayValue</name>
          <expression>%aditoprj%/entity/Person_entity/recordcontainers/db/recordfieldmappings/title.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>STATUS.value</name>
          <recordfield>CONTACT.STATUS</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>POSITION.value</name>
          <recordfield>CONTACT.CONTACTPOSITION</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DEPARTMENT.value</name>
          <recordfield>CONTACT.DEPARTMENT</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>CONTACTROLE.value</name>
          <recordfield>CONTACT.CONTACTROLE</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ORGANISATION_NAME.value</name>
          <recordfield>ORGANISATION.NAME</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>USER_NEW.value</name>
          <recordfield>PERSON.USER_NEW</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>USER_EDIT.value</name>
          <recordfield>PERSON.USER_EDIT</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DATE_NEW.value</name>
          <recordfield>PERSON.DATE_NEW</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DATE_EDIT.value</name>
          <recordfield>PERSON.DATE_EDIT</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DATE_NEW_CONTACT.value</name>
          <recordfield>CONTACT.DATE_NEW</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>USER_NEW_CONTACT.value</name>
          <recordfield>CONTACT.USER_NEW</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ADDRESS_ID.displayValue</name>
          <expression>%aditoprj%/entity/Person_entity/recordcontainers/db/recordfieldmappings/address_id.displayvalue/expression.js</expression>
          <isFilterable v="false" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>PICTURE.value</name>
          <recordfield>PERSON.PICTURE</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>STANDARD_EMAIL_COMMUNICATION.value</name>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>STANDARD_PHONE_COMMUNICATION.value</name>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
        </dbRecordFieldMapping>
        <consumerMapping>
          <name>Organisations</name>
          <filterConditionProcess>%aditoprj%/entity/Person_entity/recordcontainers/db/recordfieldmappings/organisations/filterConditionProcess.js</filterConditionProcess>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
          <filtertype>BASIC</filtertype>
        </consumerMapping>
        <consumerMapping>
          <name>Activities</name>
          <filterConditionProcess>%aditoprj%/entity/Person_entity/recordcontainers/db/recordfieldmappings/activities/filterConditionProcess.js</filterConditionProcess>
          <isFilterable v="true" />
          <filtertype>EXTENDED</filtertype>
        </consumerMapping>
        <dbRecordFieldMapping>
          <name>OrganisationContactId.value</name>
          <expression>%aditoprj%/entity/Person_entity/recordcontainers/db/recordfieldmappings/organisationcontactid.value/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ORGANISATION_CONTACTID.value</name>
          <expression>%aditoprj%/entity/Person_entity/recordcontainers/db/recordfieldmappings/organisation_contactid.value/expression.js</expression>
        </dbRecordFieldMapping>
        <consumerMapping>
          <name>PersAddresses</name>
          <filterConditionProcess>%aditoprj%/entity/Person_entity/recordcontainers/db/recordfieldmappings/persaddresses/filterConditionProcess.js</filterConditionProcess>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
          <filtertype>BASIC</filtertype>
        </consumerMapping>
        <consumerMapping>
          <name>Communications</name>
          <filterConditionProcess>%aditoprj%/entity/Person_entity/recordcontainers/db/recordfieldmappings/communications/filterConditionProcess.js</filterConditionProcess>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
          <filtertype>BASIC</filtertype>
        </consumerMapping>
        <dbRecordFieldMapping>
          <name>STANDARD_COUNTRY.value</name>
          <recordfield>ADDRESS.COUNTRY</recordfield>
        </dbRecordFieldMapping>
        <consumerMapping>
          <name>ObjectTrees</name>
          <filterConditionProcess>%aditoprj%/entity/Person_entity/recordcontainers/db/recordfieldmappings/objecttrees/filterConditionProcess.js</filterConditionProcess>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
          <filtertype>BASIC</filtertype>
        </consumerMapping>
        <dbRecordFieldMapping>
          <name>COMMRESTRICTIONS_ACTIVE.value</name>
          <expression>%aditoprj%/entity/Person_entity/recordcontainers/db/recordfieldmappings/commrestrictions_active.value/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>STANDARD_ADDRESS.value</name>
          <recordfield>ADDRESS.ADDRESS</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>STANDARD_CITY.value</name>
          <recordfield>ADDRESS.CITY</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>STANDARD_ZIP.value</name>
          <recordfield>ADDRESS.ZIP</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ORGANISATION_CONTACTID.displayValue</name>
          <expression>%aditoprj%/entity/Person_entity/recordcontainers/db/recordfieldmappings/organisation_contactid.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
      </recordFieldMappings>
      <filterExtensions>
        <filterExtensionSet>
          <name>Attribute_filter</name>
          <filterFieldsProcess>%aditoprj%/entity/Person_entity/recordcontainers/db/filterextensions/attribute_filter/filterFieldsProcess.js</filterFieldsProcess>
          <filterValuesProcess>%aditoprj%/entity/Person_entity/recordcontainers/db/filterextensions/attribute_filter/filterValuesProcess.js</filterValuesProcess>
          <filterConditionProcess>%aditoprj%/entity/Person_entity/recordcontainers/db/filterextensions/attribute_filter/filterConditionProcess.js</filterConditionProcess>
          <filtertype>BASIC</filtertype>
        </filterExtensionSet>
      </filterExtensions>
    </dbRecordContainer>
    <indexRecordContainer>
      <name>index</name>
      <configMode>INDEXGROUP_DEFINITION</configMode>
      <indexRecordAlias>Data_alias</indexRecordAlias>
      <query>%aditoprj%/entity/Person_entity/recordcontainers/index/query.js</query>
      <affectedTables>
        <element>ADDRESS</element>
        <element>COMMUNICATION</element>
        <element>PERSON</element>
        <element>CONTACT</element>
        <element>ORGANISATION</element>
      </affectedTables>
      <affectedIds>%aditoprj%/entity/Person_entity/recordcontainers/index/affectedIds.js</affectedIds>
      <indexFieldMappings>
        <indexRecordFieldMapping>
          <name>CONTACTID.value</name>
          <indexFieldType>STRING</indexFieldType>
          <isGlobalSearchField v="false" />
        </indexRecordFieldMapping>
        <indexRecordFieldMapping>
          <name>PERSON_ID.value</name>
          <indexFieldType>STRING</indexFieldType>
          <isGlobalSearchField v="false" />
        </indexRecordFieldMapping>
        <indexRecordFieldMapping>
          <name>FIRSTNAME.value</name>
          <indexFieldType>PHONETIC_NAME</indexFieldType>
          <isBoosted v="true" />
        </indexRecordFieldMapping>
        <indexRecordFieldMapping>
          <name>LASTNAME.value</name>
          <indexFieldType>PHONETIC_NAME</indexFieldType>
          <isBoosted v="true" />
        </indexRecordFieldMapping>
        <indexRecordFieldMapping>
          <name>GENDER.value</name>
          <indexFieldType>STRING</indexFieldType>
        </indexRecordFieldMapping>
        <indexRecordFieldMapping>
          <name>ORGANISATION_ID.value</name>
          <indexFieldType>STRING</indexFieldType>
          <isGlobalSearchField v="false" />
        </indexRecordFieldMapping>
        <indexRecordFieldMapping>
          <name>ORGANISATION_NAME.value</name>
          <indexFieldType>PROPER_NAME</indexFieldType>
          <additionalFieldNameAliases>
            <element>name</element>
          </additionalFieldNameAliases>
        </indexRecordFieldMapping>
        <indexRecordFieldMapping>
          <name>STANDARD_ADDRESS.value</name>
          <indexFieldType>ADDRESS</indexFieldType>
          <additionalFieldNameAliases>
            <element>address</element>
          </additionalFieldNameAliases>
          <isMultiValued v="true" />
        </indexRecordFieldMapping>
        <indexRecordFieldMapping>
          <name>STANDARD_COUNTRY.value</name>
          <indexFieldType>ADDRESS</indexFieldType>
          <additionalFieldNameAliases>
            <element>country</element>
          </additionalFieldNameAliases>
          <isMultiValued v="true" />
        </indexRecordFieldMapping>
        <indexRecordFieldMapping>
          <name>STANDARD_ZIP.value</name>
          <indexFieldType>ADDRESS</indexFieldType>
          <additionalFieldNameAliases>
            <element>zip</element>
          </additionalFieldNameAliases>
          <isMultiValued v="true" />
        </indexRecordFieldMapping>
        <indexRecordFieldMapping>
          <name>STANDARD_CITY.value</name>
          <indexFieldType>ADDRESS</indexFieldType>
          <additionalFieldNameAliases>
            <element>city</element>
          </additionalFieldNameAliases>
          <isMultiValued v="true" />
        </indexRecordFieldMapping>
        <indexRecordFieldMapping>
          <name>STANDARD_EMAIL_COMMUNICATION.value</name>
          <indexFieldType>COMMUNICATION</indexFieldType>
          <additionalFieldNameAliases>
            <element>email</element>
          </additionalFieldNameAliases>
          <isMultiValued v="true" />
        </indexRecordFieldMapping>
        <indexRecordFieldMapping>
          <name>STANDARD_PHONE_COMMUNICATION.value</name>
          <indexFieldType>TELEPHONE</indexFieldType>
          <additionalFieldNameAliases>
            <element>phone</element>
          </additionalFieldNameAliases>
          <isMultiValued v="true" />
        </indexRecordFieldMapping>
      </indexFieldMappings>
    </indexRecordContainer>
  </recordContainers>
</entity>