Skip to content
Snippets Groups Projects
AnyContact_entity.aod 13.36 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.18" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.18">
  <name>AnyContact_entity</name>
  <title>Contact</title>
  <majorModelMode>DISTRIBUTED</majorModelMode>
  <documentation>%aditoprj%/entity/AnyContact_entity/documentation.adoc</documentation>
  <contentTitleProcess>%aditoprj%/entity/AnyContact_entity/contentTitleProcess.js</contentTitleProcess>
  <initFilterProcess>%aditoprj%/entity/AnyContact_entity/initFilterProcess.js</initFilterProcess>
  <imageProcess>%aditoprj%/entity/AnyContact_entity/imageProcess.js</imageProcess>
  <recordContainer>db</recordContainer>
  <entityFields>
    <entityProvider>
      <name>#PROVIDER</name>
      <dependencies>
        <entityDependency>
          <name>5d8b421e-a234-4d03-bfec-ed01f464a54c</name>
          <entityName>Contract_entity</entityName>
          <fieldName>AnyContacts</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>94e4fa2c-7525-49f9-b933-353d200b829c</name>
          <entityName>Offer_entity</entityName>
          <fieldName>AnyContacts</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>f1f7d959-ecb5-4438-9762-fc11f1bc5334</name>
          <entityName>Order_entity</entityName>
          <fieldName>AnyContacts</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>b2895709-2ebf-46ec-a46d-6b2e9a4575a3</name>
          <entityName>BulkMailRecipient_entity</entityName>
          <fieldName>Contacts</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>c6402198-278c-43e2-9b15-9be28270c83f</name>
          <entityName>LetterRecipient_entity</entityName>
          <fieldName>Contacts</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>ae9040a2-1f2e-4105-aaed-eb3d067b2376</name>
          <entityName>DSGVOInfo_entity</entityName>
          <fieldName>Contacts</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>471b6e37-13ce-4e84-a797-82bccbe4e39a</name>
          <entityName>UnlinkedMailMappingLink_entity</entityName>
          <fieldName>AnyContacts</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>aca9e52c-9138-4ef1-b039-1efeb3deb822</name>
          <entityName>BulkMailTesting_entity</entityName>
          <fieldName>Contacts</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>bbd2bf84-7cad-4156-b736-32749949f97c</name>
          <entityName>BulkMail_entity</entityName>
          <fieldName>Contacts</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>60518a9f-eaa5-4af8-8cd6-4276047f4371</name>
          <entityName>ObjectProxy_entity</entityName>
          <fieldName>Contacts</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>ea7c855e-dccd-4c05-9efb-a1303f37dab8</name>
          <entityName>CampaignParticipant_entity</entityName>
          <fieldName>AnyContacts</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>b3cf7b34-6ea4-411a-8123-34afd7e10cfc</name>
          <entityName>MailLog_entity</entityName>
          <fieldName>Contacts</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>578dbb91-ea76-40ec-9dbd-9acf462ceba7</name>
          <entityName>BulkMailTestRecipient_entity</entityName>
          <fieldName>Contacts</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
    </entityProvider>
    <entityProvider>
      <name>ContactsByIds</name>
      <documentation>%aditoprj%/entity/AnyContact_entity/entityfields/contactsbyids/documentation.adoc</documentation>
      <dependencies>
        <entityDependency>
          <name>0206f7a8-fd58-47e8-8b7a-5ff4531e56fb</name>
          <entityName>QuickEntry_entity</entityName>
          <fieldName>OrgAndPersDuplicates</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>ee4b75ff-e1fc-4dbe-a900-81a7a92a273e</name>
          <entityName>CampaignParticipant_entity</entityName>
          <fieldName>AnyContacts</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityParameter>
      <name>ContactIds_param</name>
      <expose v="true" />
    </entityParameter>
    <entityField>
      <name>ADDRESS_ID</name>
      <title>standard address</title>
      <displayValueProcess>%aditoprj%/entity/AnyContact_entity/entityfields/address_id/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>LANGUAGE</name>
      <title>Language</title>
    </entityField>
    <entityField>
      <name>ORGANISATION_ID</name>
    </entityField>
    <entityField>
      <name>PERSON_ID</name>
    </entityField>
    <entityField>
      <name>CONTACTID</name>
    </entityField>
    <entityField>
      <name>STATUS</name>
    </entityField>
    <entityField>
      <name>contactType</name>
      <description>Relation type. Value is based on the existance or non-existance of ORGANISATION_ID and PERSON_ID.
See ContactUtils.getRelationTypeByPersOrg for possible values</description>
      <contentType>NUMBER</contentType>
    </entityField>
    <entityField>
      <name>ORGANISATION_NAME</name>
      <title>Company</title>
    </entityField>
    <entityField>
      <name>PERSON_FIRSTNAME</name>
      <title>Firstname</title>
    </entityField>
    <entityField>
      <name>PERSON_LASTNAME</name>
      <title>Lastname</title>
    </entityField>
    <entityField>
      <name>PERSON_PICTURE</name>
      <contentType>IMAGE</contentType>
      <valueProcess>%aditoprj%/entity/AnyContact_entity/entityfields/person_picture/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>STANDARD_EMAIL_COMMUNICATION</name>
      <title>standard email</title>
    </entityField>
    <entityField>
      <name>STANDARD_PHONE_COMMUNICATION</name>
      <title>Phone</title>
    </entityField>
    <entityField>
      <name>PERSON_MIDDLENAME</name>
    </entityField>
    <entityField>
      <name>PERSON_TITLE</name>
      <title>Title</title>
    </entityField>
    <entityField>
      <name>PERSON_SALUTATION</name>
      <title>Salutation</title>
    </entityField>
    <entityField>
      <name>PERSON_FULL_NAME</name>
      <title>Person</title>
      <valueProcess>%aditoprj%/entity/AnyContact_entity/entityfields/person_full_name/valueProcess.js</valueProcess>
    </entityField>
    <entityParameter>
      <name>ContactId_param</name>
      <expose v="true" />
    </entityParameter>
    <entityProvider>
      <name>OnlySameCompany</name>
      <documentation>%aditoprj%/entity/AnyContact_entity/entityfields/onlysamecompany/documentation.adoc</documentation>
      <dependencies>
        <entityDependency>
          <name>28b19d6b-237c-4268-b6c6-323df408c94a</name>
          <entityName>Offer_entity</entityName>
          <fieldName>AnyContacts</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <children>
        <entityParameter>
          <name>ContactId_param</name>
          <expose v="true" />
          <mandatory v="true" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityParameter>
      <name>WithPrivatePersons_param</name>
      <valueProcess>%aditoprj%/entity/AnyContact_entity/entityfields/withprivatepersons_param/valueProcess.js</valueProcess>
      <expose v="true" />
    </entityParameter>
    <entityParameter>
      <name>AvatarText_param</name>
      <valueProcess>%aditoprj%/entity/AnyContact_entity/entityfields/avatartext_param/valueProcess.js</valueProcess>
    </entityParameter>
    <entityParameter>
      <name>OnlyPers_param</name>
      <valueProcess>%aditoprj%/entity/AnyContact_entity/entityfields/onlypers_param/valueProcess.js</valueProcess>
      <expose v="true" />
    </entityParameter>
    <entityProvider>
      <name>#PROVIDER_AGGREGATES</name>
      <useAggregates v="true" />
    </entityProvider>
  </entityFields>
  <recordContainers>
    <dbRecordContainer>
      <name>db</name>
      <fromClauseProcess>%aditoprj%/entity/AnyContact_entity/recordcontainers/db/fromClauseProcess.js</fromClauseProcess>
      <conditionProcess>%aditoprj%/entity/AnyContact_entity/recordcontainers/db/conditionProcess.js</conditionProcess>
      <orderClauseProcess>%aditoprj%/entity/AnyContact_entity/recordcontainers/db/orderClauseProcess.js</orderClauseProcess>
      <alias>Data_alias</alias>
      <recordFieldMappings>
        <dbRecordFieldMapping>
          <name>ADDRESS_ID.value</name>
          <recordfield>CONTACT.ADDRESS_ID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>LANGUAGE.value</name>
          <recordfield>CONTACT.ISOLANGUAGE</recordfield>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ORGANISATION_ID.value</name>
          <recordfield>CONTACT.ORGANISATION_ID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>PERSON_ID.value</name>
          <recordfield>CONTACT.PERSON_ID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>CONTACTID.value</name>
          <recordfield>CONTACT.CONTACTID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>STATUS.value</name>
          <recordfield>CONTACT.STATUS</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ORGANISATION_NAME.value</name>
          <recordfield>ORGANISATION.NAME</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>PERSON_FIRSTNAME.value</name>
          <recordfield>PERSON.FIRSTNAME</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>PERSON_LASTNAME.value</name>
          <recordfield>PERSON.LASTNAME</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>STANDARD_EMAIL_COMMUNICATION.value</name>
          <expression>%aditoprj%/entity/AnyContact_entity/recordcontainers/db/recordfieldmappings/standard_email_communication.value/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>STANDARD_PHONE_COMMUNICATION.value</name>
          <expression>%aditoprj%/entity/AnyContact_entity/recordcontainers/db/recordfieldmappings/standard_phone_communication.value/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>PERSON_MIDDLENAME.value</name>
          <recordfield>PERSON.MIDDLENAME</recordfield>
          <isLookupFilter v="false" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>PERSON_TITLE.value</name>
          <recordfield>PERSON.TITLE</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="false" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>PERSON_SALUTATION.value</name>
          <recordfield>PERSON.SALUTATION</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="false" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>PERSON_PICTURE.value</name>
          <recordfield>PERSON.PICTURE</recordfield>
        </dbRecordFieldMapping>
      </recordFieldMappings>
      <linkInformation>
        <linkInformation>
          <name>7b3fa460-44a1-40f3-89e3-1625ce9c6bb3</name>
          <tableName>CONTACT</tableName>
          <primaryKey>CONTACTID</primaryKey>
          <isUIDTable v="true" />
          <readonly v="false" />
        </linkInformation>
        <linkInformation>
          <name>6786a204-2cea-42ae-857d-4335bad6b5e4</name>
          <tableName>ORGANISATION</tableName>
          <primaryKey>ORGANISATIONID</primaryKey>
          <isUIDTable v="false" />
          <readonly v="true" />
        </linkInformation>
        <linkInformation>
          <name>d15ccb84-6928-4c44-b940-0f5d04826b55</name>
          <tableName>PERSON</tableName>
          <primaryKey>PERSONID</primaryKey>
          <isUIDTable v="false" />
          <readonly v="true" />
        </linkInformation>
        <linkInformation>
          <name>b778622f-449a-4185-b7cb-9b373ba4024f</name>
          <tableName>ADDRESS</tableName>
          <primaryKey>ADDRESSID</primaryKey>
          <isUIDTable v="false" />
          <readonly v="true" />
        </linkInformation>
      </linkInformation>
    </dbRecordContainer>
  </recordContainers>
</entity>