Skip to content
Snippets Groups Projects
Organisation_entity.aod 46.92 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.11" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.11">
  <name>Organisation_entity</name>
  <description>former Org</description>
  <majorModelMode>DISTRIBUTED</majorModelMode>
  <documentation>%aditoprj%/entity/Organisation_entity/documentation.adoc</documentation>
  <title>Company</title>
  <grantDeleteProcess>%aditoprj%/entity/Organisation_entity/grantDeleteProcess.js</grantDeleteProcess>
  <contentTitleProcess>%aditoprj%/entity/Organisation_entity/contentTitleProcess.js</contentTitleProcess>
  <afterUiInit>%aditoprj%/entity/Organisation_entity/afterUiInit.js</afterUiInit>
  <iconId>VAADIN:BUILDING</iconId>
  <imageProcess>%aditoprj%/entity/Organisation_entity/imageProcess.js</imageProcess>
  <titlePlural>Companies</titlePlural>
  <recordContainer>db</recordContainer>
  <entityFields>
    <entityField>
      <name>CUSTOMERCODE</name>
      <title>Customercode</title>
      <contentType>TEXT</contentType>
    </entityField>
    <entityField>
      <name>INFO</name>
      <title>Information</title>
      <contentType>LONG_TEXT</contentType>
    </entityField>
    <entityField>
      <name>NAME</name>
      <title>Name</title>
      <contentType>LONG_TEXT</contentType>
      <mandatory v="true" />
    </entityField>
    <entityField>
      <name>ORGANISATIONID</name>
      <title>ORGANISATIONID (UID)</title>
      <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/organisationid/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>LANGUAGE</name>
      <title>Language</title>
      <consumer>Languages</consumer>
      <selectionMode>SINGLE</selectionMode>
    </entityField>
    <entityField>
      <name>ORGANISATION_ID</name>
      <title>ORGANISATION_ID</title>
      <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/organisation_id/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>CONTACTID</name>
      <title>CONTACTID</title>
      <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/contactid/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>STATUS</name>
      <title>Status</title>
      <consumer>KeywordContactStates</consumer>
      <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/status/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Organisation_entity/entityfields/status/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>TYPE</name>
      <title>Type</title>
      <consumer>KeywordOrganisationTypes</consumer>
      <displayValueProcess>%aditoprj%/entity/Organisation_entity/entityfields/type/displayValueProcess.js</displayValueProcess>
    </entityField>
    <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/Organisation_entity/entityfields/activities/children/rowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ObjectId_param</name>
          <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/activities/children/objectid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Contact</name>
      <selectionMode>MULTI</selectionMode>
      <dependency>
        <name>dependency</name>
        <entityName>Person_entity</entityName>
        <fieldName>OrganisationRelated</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>OrgId_param</name>
          <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/contact/children/orgid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityFieldGroup>
      <name>CUSTOMERCODE_DISPLAY_fieldGroup</name>
      <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/customercode_display_fieldgroup/valueProcess.js</valueProcess>
      <description>FIELDGROUP</description>
      <fields>
        <element>CUSTOMERCODE</element>
      </fields>
    </entityFieldGroup>
    <entityProvider>
      <name>Organisations</name>
      <recordContainer>db</recordContainer>
      <dependencies>
        <entityDependency>
          <name>85aa363e-d8ba-4df5-8422-bf7aff86a4f8</name>
          <entityName>Salesproject_entity</entityName>
          <fieldName>Organisations</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>2eb60a6e-575c-4579-9278-5868ffe4bc75</name>
          <entityName>Product_entity</entityName>
          <fieldName>Organisations</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>be92b8cc-2cba-409c-b139-2b7cc8b567e6</name>
          <entityName>DSGVOInfo_entity</entityName>
          <fieldName>Organisations</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <children>
        <entityParameter>
          <name>WithPrivate_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>ExcludeOrganisationsByPersonId</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>ExcludedContactIds_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>AttributeKeyId_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>AttributeId_param</name>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityConsumer>
      <name>Addresses</name>
      <dependency>
        <name>dependency</name>
        <entityName>Address_entity</entityName>
        <fieldName>OrganisationAddresses</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>DefaultAddressId_param</name>
          <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/addresses/children/defaultaddressid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/addresses/children/contactid_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>ADDRESS_ID</name>
      <title>Address</title>
      <consumer>Addresses</consumer>
      <state>AUTO</state>
      <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/address_id/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Organisation_entity/entityfields/address_id/displayValueProcess.js</displayValueProcess>
    </entityField>
    <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/Organisation_entity/entityfields/communications/children/contactid_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Contracts</name>
      <selectionMode>MULTI</selectionMode>
      <dependency>
        <name>dependency</name>
        <entityName>Contract_entity</entityName>
        <fieldName>Contracts</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/contracts/children/contactid_param/valueProcess.js</valueProcess>
          <expose v="false" />
          <mandatory v="true" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Productprices</name>
      <dependency>
        <name>dependency</name>
        <entityName>Productprice_entity</entityName>
        <fieldName>Productprices</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/productprices/children/contactid_param/valueProcess.js</valueProcess>
          <expose v="false" />
          <mandatory v="true" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityProvider>
      <name>#PROVIDER</name>
      <dependencies>
        <entityDependency>
          <name>1a472ca0-4d27-453c-8de5-a046b86f22fb</name>
          <entityName>Object_entity</entityName>
          <fieldName>Organisations</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>c79dd08b-8f62-4514-836b-2e176460000c</name>
          <entityName>Productprice_entity</entityName>
          <fieldName>OrganisationConditions</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>49db6b8b-c27d-4e52-b456-ad48405cc246</name>
          <entityName>Salesproject_entity</entityName>
          <fieldName>Organisations</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
    </entityProvider>
    <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/Organisation_entity/entityfields/documents/children/assignmentrowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>AssignmentTable_param</name>
          <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/documents/children/assignmenttable_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityActionField>
      <name>openEditDefaultsView</name>
      <documentation>%aditoprj%/entity/Organisation_entity/entityfields/openeditdefaultsview/documentation.adoc</documentation>
      <title>Edit defaults</title>
      <onActionProcess>%aditoprj%/entity/Organisation_entity/entityfields/openeditdefaultsview/onActionProcess.js</onActionProcess>
      <actionOrder v="1" />
      <iconId>NEON:WRENCH</iconId>
    </entityActionField>
    <entityActionField>
      <name>newOffer</name>
      <documentation>%aditoprj%/entity/Organisation_entity/entityfields/newoffer/documentation.adoc</documentation>
      <title>New offer</title>
      <onActionProcess>%aditoprj%/entity/Organisation_entity/entityfields/newoffer/onActionProcess.js</onActionProcess>
      <actionOrder v="2" />
      <iconId>VAADIN:CART</iconId>
    </entityActionField>
    <entityField>
      <name>STANDARD_EMAIL_COMMUNICATION</name>
      <title>Email</title>
      <consumer>EmailCommunications</consumer>
      <onValueChange>%aditoprj%/entity/Organisation_entity/entityfields/standard_email_communication/onValueChange.js</onValueChange>
      <onValueChangeTypes>
        <element>MASK</element>
        <element>PROCESS</element>
        <element>PROCESS_SETVALUE</element>
        <element>RECORD</element>
      </onValueChangeTypes>
    </entityField>
    <entityField>
      <name>STANDARD_PHONE_COMMUNICATION</name>
      <title>Phone</title>
      <consumer>PhoneCommunications</consumer>
      <onValueChange>%aditoprj%/entity/Organisation_entity/entityfields/standard_phone_communication/onValueChange.js</onValueChange>
    </entityField>
    <entityConsumer>
      <name>PhoneCommunications</name>
      <dependency>
        <name>dependency</name>
        <entityName>Communication_entity</entityName>
        <fieldName>PhoneCommunications</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/phonecommunications/children/contactid_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>EmailCommunications</name>
      <dependency>
        <name>dependency</name>
        <entityName>Communication_entity</entityName>
        <fieldName>EmailCommunications</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/emailcommunications/children/contactid_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityActionField>
      <name>newActivity</name>
      <title>New activity</title>
      <onActionProcess>%aditoprj%/entity/Organisation_entity/entityfields/newactivity/onActionProcess.js</onActionProcess>
      <actionOrder v="0" />
      <iconId>VAADIN:HOURGLASS_END</iconId>
      <tooltip>New activity</tooltip>
      <tooltipProcess>%aditoprj%/entity/Organisation_entity/entityfields/newactivity/tooltipProcess.js</tooltipProcess>
    </entityActionField>
    <entityActionField>
      <name>orgReport</name>
      <title>Customer Base Sheet</title>
      <onActionProcess>%aditoprj%/entity/Organisation_entity/entityfields/orgreport/onActionProcess.js</onActionProcess>
      <actionOrder v="4" />
      <iconId>VAADIN:FILE_TEXT_O</iconId>
    </entityActionField>
    <entityConsumer>
      <name>Countries</name>
      <dependency>
        <name>dependency</name>
        <entityName>Countries_Entity</entityName>
        <fieldName>ISO2Name</fieldName>
      </dependency>
    </entityConsumer>
    <entityConsumer>
      <name>Attributes</name>
      <onValidation>%aditoprj%/entity/Organisation_entity/entityfields/attributes/onValidation.js</onValidation>
      <dependency>
        <name>dependency</name>
        <entityName>AttributeRelation_entity</entityName>
        <fieldName>AttributeRelations</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ObjectRowId_param</name>
          <title></title>
          <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/attributes/children/objectrowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ObjectType_param</name>
          <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/attributes/children/objecttype_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <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/Organisation_entity/entityfields/keywordcontactstates/children/containername_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>KeywordOrganisationTypes</name>
      <dependency>
        <name>dependency</name>
        <entityName>KeywordEntry_entity</entityName>
        <fieldName>SpecificContainerKeywords</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContainerName_param</name>
          <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/keywordorganisationtypes/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>KeywordPricePolitics</name>
      <dependency>
        <name>dependency</name>
        <entityName>KeywordEntry_entity</entityName>
        <fieldName>SpecificContainerKeywords</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContainerName_param</name>
          <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/keywordpricepolitics/children/containername_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>KeywordWeaknesses</name>
      <dependency>
        <name>dependency</name>
        <entityName>KeywordEntry_entity</entityName>
        <fieldName>SpecificContainerKeywords</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContainerName_param</name>
          <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/keywordweaknesses/children/containername_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>KeywordStrenghts</name>
      <dependency>
        <name>dependency</name>
        <entityName>KeywordEntry_entity</entityName>
        <fieldName>SpecificContainerKeywords</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContainerName_param</name>
          <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/keywordstrenghts/children/containername_param/valueProcess.js</valueProcess>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityActionField>
      <name>newTask</name>
      <title>New task</title>
      <onActionProcess>%aditoprj%/entity/Organisation_entity/entityfields/newtask/onActionProcess.js</onActionProcess>
      <actionOrder v="3" />
      <iconId>VAADIN:TASKS</iconId>
    </entityActionField>
    <entityConsumer>
      <name>Salesprojects</name>
      <dependency>
        <name>dependency</name>
        <entityName>Salesproject_entity</entityName>
        <fieldName>Salesprojects</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/salesprojects/children/contactid_param/valueProcess.js</valueProcess>
          <expose v="true" />
          <mandatory v="true" />
        </entityParameter>
      </children>
    </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/Organisation_entity/entityfields/offers/children/contactid_param/valueProcess.js</valueProcess>
          <expose v="true" />
          <mandatory v="true" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>Tasks</name>
      <dependency>
        <name>dependency</name>
        <entityName>Task_entity</entityName>
        <fieldName>Tasks</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>RowId_param</name>
          <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/tasks/children/rowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ObjectId_param</name>
          <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/tasks/children/objectid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityParameter>
      <name>WithPrivate_param</name>
      <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/withprivate_param/valueProcess.js</valueProcess>
      <expose v="true" />
      <documentation>%aditoprj%/entity/Organisation_entity/entityfields/withprivate_param/documentation.adoc</documentation>
      <description>PARAMETER</description>
    </entityParameter>
    <entityConsumer>
      <name>ObjectTrees</name>
      <dependency>
        <name>dependency</name>
        <entityName>ObjectTree_entity</entityName>
        <fieldName>TreeProvider</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ObjectId_param</name>
          <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/objecttrees/children/objectid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ObjectType_param</name>
          <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/objecttrees/children/objecttype_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityActionField>
      <name>newAppointment</name>
      <title>New appointment</title>
      <onActionProcess>%aditoprj%/entity/Organisation_entity/entityfields/newappointment/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:CALENDAR</iconId>
      <tooltip>New Appointment</tooltip>
    </entityActionField>
    <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/Organisation_entity/entityfields/loghistories/children/tablenames_param/valueProcess.js</valueProcess>
          <expose v="true" />
          <mandatory v="true" />
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>360DegreeObjects</name>
      <dependency>
        <name>dependency</name>
        <entityName>360Degree_entity</entityName>
        <fieldName>OrganisationObjects</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ObjectRowId_param</name>
          <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/360degreeobjects/children/objectrowid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityParameter>
      <name>ExcludeOrganisationsByPersonId</name>
      <expose v="true" />
      <documentation>%aditoprj%/entity/Organisation_entity/entityfields/excludeorganisationsbypersonid/documentation.adoc</documentation>
      <description>PARAMETER</description>
    </entityParameter>
    <entityProvider>
      <name>WithPersonIdFilter</name>
      <documentation>%aditoprj%/entity/Organisation_entity/entityfields/withpersonidfilter/documentation.adoc</documentation>
      <dependencies>
        <entityDependency>
          <name>5a456b04-f0ca-4a45-9c1f-bdfdf074434a</name>
          <entityName>Contact_entity</entityName>
          <fieldName>Organisations</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>a80c3db0-29db-433c-8f7c-4ebf6639ad6d</name>
          <entityName>Person_entity</entityName>
          <fieldName>Organisations</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>748a3083-89c2-41b4-a233-3fd5364396e9</name>
          <entityName>Competition_entity</entityName>
          <fieldName>Organisation</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <children>
        <entityParameter>
          <name>ExcludeOrganisationsByPersonId</name>
          <title></title>
          <expose v="true" />
          <mandatory v="true" />
        </entityParameter>
        <entityParameter>
          <name>WithPrivate_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>AttributeId_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>AttributeKeyId_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>ExcludedContactIds_param</name>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityParameter>
      <name>AttributeId_param</name>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityParameter>
      <name>AttributeKeyId_param</name>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityProvider>
      <name>WithAttribute</name>
      <dependencies>
        <entityDependency>
          <name>10480df2-f0b6-4cb6-8bfb-4a468b994996</name>
          <entityName>Competition_entity</entityName>
          <fieldName>Organisations</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>f368be61-1a15-449f-b37c-b1343069412c</name>
          <entityName>Product_entity</entityName>
          <fieldName>Organisations</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <children>
        <entityParameter>
          <name>AttributeId_param</name>
          <expose v="true" />
          <mandatory v="true" />
        </entityParameter>
        <entityParameter>
          <name>AttributeKeyId_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>ExcludeOrganisationsByPersonId</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>WithPrivate_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>ExcludedContactIds_param</name>
          <expose v="true" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityParameter>
      <name>ExcludedContactIds_param</name>
      <expose v="true" />
      <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/Organisation_entity/entityfields/attributetree/children/objectrowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ObjectType_param</name>
          <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/attributetree/children/objecttype_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>DATE_NEW</name>
      <title>DATE_NEW</title>
      <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/date_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>DATE_EDIT</name>
      <title>DATE_EDIT</title>
      <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/date_edit/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>USER_NEW</name>
      <title>USER_NEW</title>
      <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/user_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>USER_EDIT</name>
      <title>USER_EDIT</title>
      <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/user_edit/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>USER_NEW_CONTACT</name>
      <title>USER_NEW_CONTACT</title>
      <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/user_new_contact/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>DATE_NEW_CONTACT</name>
      <title>DATE_NEW_CONTACT</title>
      <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/date_new_contact/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>PICTURE</name>
      <title>Picture</title>
      <contentType>IMAGE</contentType>
      <displayValueProcess>%aditoprj%/entity/Organisation_entity/entityfields/picture/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityParameter>
      <name>AvatarText_param</name>
      <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/avatartext_param/valueProcess.js</valueProcess>
      <description>PARAMETER</description>
    </entityParameter>
    <entityActionGroup>
      <name>campaignActionGroup</name>
      <title>Campaign</title>
      <iconId>NEON:GROUP_APPOINTMENT</iconId>
      <children>
        <entityActionField>
          <name>addToCampaignFromTable</name>
          <title>Add to Campaign</title>
          <onActionProcess>%aditoprj%/entity/Organisation_entity/entityfields/campaignactiongroup/children/addtocampaignfromtable/onActionProcess.js</onActionProcess>
          <isObjectAction v="false" />
          <isSelectionAction v="false" />
          <iconId>NEON:GROUP_APPOINTMENT</iconId>
          <stateProcess>%aditoprj%/entity/Organisation_entity/entityfields/campaignactiongroup/children/addtocampaignfromtable/stateProcess.js</stateProcess>
          <tooltip>Add the selection to a campaign</tooltip>
          <tooltipProcess>%aditoprj%/entity/Organisation_entity/entityfields/campaignactiongroup/children/addtocampaignfromtable/tooltipProcess.js</tooltipProcess>
        </entityActionField>
        <entityActionField>
          <name>addToBulkMailFromTable</name>
          <title>Add to Bulkmail</title>
          <onActionProcess>%aditoprj%/entity/Organisation_entity/entityfields/campaignactiongroup/children/addtobulkmailfromtable/onActionProcess.js</onActionProcess>
          <isObjectAction v="false" />
          <isSelectionAction v="true" />
          <iconId>VAADIN:AT</iconId>
          <tooltipProcess>%aditoprj%/entity/Organisation_entity/entityfields/campaignactiongroup/children/addtobulkmailfromtable/tooltipProcess.js</tooltipProcess>
        </entityActionField>
        <entityActionField>
          <name>addToSerialLetter</name>
          <title>Add to serial letter</title>
          <onActionProcess>%aditoprj%/entity/Organisation_entity/entityfields/campaignactiongroup/children/addtoserialletter/onActionProcess.js</onActionProcess>
          <isObjectAction v="false" />
          <isSelectionAction v="true" />
          <iconId>VAADIN:ENVELOPES</iconId>
          <tooltipProcess>%aditoprj%/entity/Organisation_entity/entityfields/campaignactiongroup/children/addtoserialletter/tooltipProcess.js</tooltipProcess>
        </entityActionField>
      </children>
    </entityActionGroup>
    <entityActionField>
      <name>addToCampaign</name>
      <title>Add to Campaign</title>
      <onActionProcess>%aditoprj%/entity/Organisation_entity/entityfields/addtocampaign/onActionProcess.js</onActionProcess>
      <iconId>NEON:GROUP_APPOINTMENT</iconId>
      <tooltip>Choose a campaign and a step to add the contact to a  campaign</tooltip>
    </entityActionField>
    <entityParameter>
      <name>OrganisationType_param</name>
      <expose v="true" />
      <documentation>%aditoprj%/entity/Organisation_entity/entityfields/organisationtype_param/documentation.adoc</documentation>
      <description>PARAMETER</description>
    </entityParameter>
    <entityConsumer>
      <name>AttributeConditions</name>
      <onValidation>%aditoprj%/entity/Organisation_entity/entityfields/attributeconditions/onValidation.js</onValidation>
      <dependency>
        <name>dependency</name>
        <entityName>AttributeRelation_entity</entityName>
        <fieldName>AttributeRelations</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ObjectRowId_param</name>
          <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/attributeconditions/children/objectrowid_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ObjectType_param</name>
          <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/attributeconditions/children/objecttype_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>DisplaySimpleName_param</name>
          <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/attributeconditions/children/displaysimplename_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>FilteredAttributeIds_param</name>
          <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/attributeconditions/children/filteredattributeids_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>ShowEmpty_param</name>
          <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/attributeconditions/children/showempty_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityActionField>
      <name>openAdminView</name>
      <title>Open admin view</title>
      <onActionProcess>%aditoprj%/entity/Organisation_entity/entityfields/openadminview/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:CURLY_BRACKETS</iconId>
      <stateProcess>%aditoprj%/entity/Organisation_entity/entityfields/openadminview/stateProcess.js</stateProcess>
    </entityActionField>
    <entityConsumer>
      <name>LinkedAppointments</name>
      <dependency>
        <name>dependency</name>
        <entityName>Appointment_entity</entityName>
        <fieldName>LinkedAppointments</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>LinkedObjectId_param</name>
          <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/linkedappointments/children/linkedobjectid_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityActionField>
      <name>newEmail</name>
      <title>Write email</title>
      <onActionProcess>%aditoprj%/entity/Organisation_entity/entityfields/newemail/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:AT</iconId>
    </entityActionField>
    <entityActionField>
      <name>newLetter</name>
      <title>New letter</title>
      <onActionProcess>%aditoprj%/entity/Organisation_entity/entityfields/newletter/onActionProcess.js</onActionProcess>
      <iconId>VAADIN:ENVELOPE</iconId>
    </entityActionField>
    <entityConsumer>
      <name>Product_consumer</name>
      <description>Needed for search via Offer</description>
      <dependency>
        <name>dependency</name>
        <entityName>Product_entity</entityName>
        <fieldName>Products</fieldName>
      </dependency>
    </entityConsumer>
    <entityField>
      <name>TurnoverCurrentYear</name>
      <title>Turnover Current Year</title>
      <contentType>NUMBER</contentType>
      <outputFormat>#,##0.00€</outputFormat>
      <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/turnovercurrentyear/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>TurnoverLastYear</name>
      <title>Turnover Last Year</title>
      <contentType>NUMBER</contentType>
      <outputFormat>#,##0.00€</outputFormat>
      <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/turnoverlastyear/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>TurnoverPercentDiff</name>
      <title>Turnover change</title>
      <colorProcess>%aditoprj%/entity/Organisation_entity/entityfields/turnoverpercentdiff/colorProcess.js</colorProcess>
      <contentType>TEXT</contentType>
      <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/turnoverpercentdiff/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>CountActivity</name>
      <title>Number of activities</title>
      <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/countactivity/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>LastActivity</name>
      <title>Days inactive</title>
      <colorProcess>%aditoprj%/entity/Organisation_entity/entityfields/lastactivity/colorProcess.js</colorProcess>
      <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/lastactivity/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>OpenTasks</name>
      <title>Open tasks</title>
      <valueProcess>%aditoprj%/entity/Organisation_entity/entityfields/opentasks/valueProcess.js</valueProcess>
    </entityField>
  </entityFields>
  <recordContainers>
    <dbRecordContainer>
      <name>db</name>
      <alias>Data_alias</alias>
      <fromClauseProcess>%aditoprj%/entity/Organisation_entity/recordcontainers/db/fromClauseProcess.js</fromClauseProcess>
      <conditionProcess>%aditoprj%/entity/Organisation_entity/recordcontainers/db/conditionProcess.js</conditionProcess>
      <orderClauseProcess>%aditoprj%/entity/Organisation_entity/recordcontainers/db/orderClauseProcess.js</orderClauseProcess>
      <onDBUpdate>%aditoprj%/entity/Organisation_entity/recordcontainers/db/onDBUpdate.js</onDBUpdate>
      <linkInformation>
        <linkInformation>
          <name>5808a4a3-f2c1-4ccd-bad1-4e8a834ec7a4</name>
          <tableName>ORGANISATION</tableName>
          <primaryKey>ORGANISATIONID</primaryKey>
          <isUIDTable v="false" />
          <readonly v="false" />
        </linkInformation>
        <linkInformation>
          <name>5cd93c60-47e5-4eaa-90a4-69990f6a7d00</name>
          <tableName>CONTACT</tableName>
          <primaryKey>CONTACTID</primaryKey>
          <isUIDTable v="true" />
          <readonly v="false" />
        </linkInformation>
        <linkInformation>
          <name>23fa4717-b401-48db-92ed-285aeab71f08</name>
          <tableName>ADDRESS</tableName>
          <primaryKey>ADDRESSID</primaryKey>
          <isUIDTable v="false" />
          <readonly v="true" />
        </linkInformation>
      </linkInformation>
      <recordFieldMappings>
        <dbRecordFieldMapping>
          <name>ADDRESS_ID.value</name>
          <recordfield>CONTACT.ADDRESS_ID</recordfield>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>CUSTOMERCODE.value</name>
          <recordfield>ORGANISATION.CUSTOMERCODE</recordfield>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>INFO.value</name>
          <recordfield>ORGANISATION.INFO</recordfield>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>LANGUAGE.value</name>
          <recordfield>CONTACT.ISOLANGUAGE</recordfield>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>NAME.value</name>
          <recordfield>ORGANISATION.NAME</recordfield>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ORGANISATIONID.value</name>
          <recordfield>ORGANISATION.ORGANISATIONID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ORGANISATION_ID.value</name>
          <recordfield>CONTACT.ORGANISATION_ID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>CONTACTID.value</name>
          <recordfield>CONTACT.CONTACTID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>STATUS.value</name>
          <recordfield>CONTACT.STATUS</recordfield>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>TYPE.value</name>
          <recordfield>ORGANISATION.KIND</recordfield>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>STANDARD_EMAIL_COMMUNICATION.displayValue</name>
          <recordfield></recordfield>
          <expression>%aditoprj%/entity/Organisation_entity/recordcontainers/db/recordfieldmappings/standard_email_communication.displayvalue/expression.js</expression>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>STANDARD_PHONE_COMMUNICATION.displayValue</name>
          <recordfield></recordfield>
          <expression>%aditoprj%/entity/Organisation_entity/recordcontainers/db/recordfieldmappings/standard_phone_communication.displayvalue/expression.js</expression>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>STATUS.displayValue</name>
          <expression>%aditoprj%/entity/Organisation_entity/recordcontainers/db/recordfieldmappings/status.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>TYPE.displayValue</name>
          <expression>%aditoprj%/entity/Organisation_entity/recordcontainers/db/recordfieldmappings/type.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>LANGUAGE.displayValue</name>
          <expression>%aditoprj%/entity/Organisation_entity/recordcontainers/db/recordfieldmappings/language.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>USER_NEW.value</name>
          <recordfield>ORGANISATION.USER_NEW</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>USER_EDIT.value</name>
          <recordfield>ORGANISATION.USER_EDIT</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DATE_NEW.value</name>
          <recordfield>ORGANISATION.DATE_NEW</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DATE_EDIT.value</name>
          <recordfield>ORGANISATION.DATE_EDIT</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>USER_NEW_CONTACT.value</name>
          <recordfield>CONTACT.USER_NEW</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DATE_NEW_CONTACT.value</name>
          <recordfield>CONTACT.DATE_NEW</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ADDRESS_ID.displayValue</name>
          <expression>%aditoprj%/entity/Organisation_entity/recordcontainers/db/recordfieldmappings/address_id.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>PICTURE.value</name>
          <recordfield>ORGANISATION.PICTURE</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>STANDARD_EMAIL_COMMUNICATION.value</name>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>STANDARD_PHONE_COMMUNICATION.value</name>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <consumerMapping>
          <name>Activities</name>
          <filterConditionProcess>%aditoprj%/entity/Organisation_entity/recordcontainers/db/recordfieldmappings/activities/filterConditionProcess.js</filterConditionProcess>
          <isFilterable v="true" />
          <filtertype>EXTENDED</filtertype>
        </consumerMapping>
        <consumerMapping>
          <name>Product_consumer</name>
          <filterConditionProcess>%aditoprj%/entity/Organisation_entity/recordcontainers/db/recordfieldmappings/product_consumer/filterConditionProcess.js</filterConditionProcess>
          <isFilterable v="true" />
          <filtertype>EXTENDED</filtertype>
        </consumerMapping>
      </recordFieldMappings>
      <filterExtensions>
        <filterExtensionSet>
          <name>Attribute_filter</name>
          <filterFieldsProcess>%aditoprj%/entity/Organisation_entity/recordcontainers/db/filterextensions/attribute_filter/filterFieldsProcess.js</filterFieldsProcess>
          <filterValuesProcess>%aditoprj%/entity/Organisation_entity/recordcontainers/db/filterextensions/attribute_filter/filterValuesProcess.js</filterValuesProcess>
          <filterConditionProcess>%aditoprj%/entity/Organisation_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/Organisation_entity/recordcontainers/index/query.js</query>
      <affectedTables>
        <element>ADDRESS</element>
        <element>COMMUNICATION</element>
        <element>CONTACT</element>
        <element>ORGANISATION</element>
      </affectedTables>
      <affectedIds>%aditoprj%/entity/Organisation_entity/recordcontainers/index/affectedIds.js</affectedIds>
      <includedConsumers>
        <element>Addresses</element>
        <element>Communications</element>
      </includedConsumers>
      <affectedConsumerIds>%aditoprj%/entity/Organisation_entity/recordcontainers/index/affectedConsumerIds.js</affectedConsumerIds>
      <indexFieldMappings>
        <indexRecordFieldMapping>
          <name>NAME.value</name>
          <indexFieldType>PROPER_NAME</indexFieldType>
          <isBoosted v="true" />
        </indexRecordFieldMapping>
        <indexRecordFieldMapping>
          <name>ORGANISATIONID.value</name>
          <indexFieldType>STRING</indexFieldType>
        </indexRecordFieldMapping>
        <indexRecordFieldMapping>
          <name>STANDARD_EMAIL_COMMUNICATION.value</name>
          <indexFieldType>EMAIL</indexFieldType>
          <additionalFieldNameAliases>
            <element>addr</element>
          </additionalFieldNameAliases>
          <isStored v="true" />
        </indexRecordFieldMapping>
        <indexRecordFieldMapping>
          <name>STANDARD_PHONE_COMMUNICATION.value</name>
          <indexFieldType>TELEPHONE</indexFieldType>
          <additionalFieldNameAliases>
            <element>addr</element>
          </additionalFieldNameAliases>
        </indexRecordFieldMapping>
        <indexRecordFieldMapping>
          <name>CONTACTID.value</name>
          <indexFieldType>STRING</indexFieldType>
        </indexRecordFieldMapping>
        <indexRecordFieldMapping>
          <name>CUSTOMERCODE.value</name>
          <indexFieldType>TEXT_PLAIN</indexFieldType>
          <additionalFieldNameAliases />
        </indexRecordFieldMapping>
      </indexFieldMappings>
    </indexRecordContainer>
  </recordContainers>
</entity>