Skip to content
Snippets Groups Projects
BulkMailRecipient_entity.aod 6.6 KiB
Newer Older
S.Listl's avatar
S.Listl committed
<?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.9" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.9">
S.Listl's avatar
S.Listl committed
  <name>BulkMailRecipient_entity</name>
  <majorModelMode>DISTRIBUTED</majorModelMode>
S.Listl's avatar
S.Listl committed
  <title>Recipient</title>
  <titlePlural>Recipients</titlePlural>
  <recordContainer>db</recordContainer>
S.Listl's avatar
S.Listl committed
  <entityFields>
    <entityProvider>
      <name>#PROVIDER</name>
    </entityProvider>
    <entityField>
      <name>BULKMAIL_ID</name>
S.Listl's avatar
S.Listl committed
      <valueProcess>%aditoprj%/entity/BulkMailRecipient_entity/entityfields/bulkmail_id/valueProcess.js</valueProcess>
S.Listl's avatar
S.Listl committed
    </entityField>
    <entityField>
      <name>CONTACT_ID</name>
S.Listl's avatar
S.Listl committed
      <title>Contact</title>
      <consumer>Contacts</consumer>
      <linkedContextProcess>%aditoprj%/entity/BulkMailRecipient_entity/entityfields/contact_id/linkedContextProcess.js</linkedContextProcess>
S.Listl's avatar
S.Listl committed
      <mandatory v="true" />
S.Listl's avatar
S.Listl committed
    </entityField>
    <entityField>
      <name>STATUS</name>
S.Listl's avatar
S.Listl committed
      <title>Status</title>
      <consumer>StatusKeyword</consumer>
      <valueProcess>%aditoprj%/entity/BulkMailRecipient_entity/entityfields/status/valueProcess.js</valueProcess>
S.Listl's avatar
S.Listl committed
    </entityField>
    <entityProvider>
      <name>BulkMailRecipients</name>
S.Listl's avatar
S.Listl committed
      <targetContextField>TARGETCONTEXT</targetContextField>
S.Listl's avatar
S.Listl committed
      <targetIdField>CONTACT_ID</targetIdField>
S.Listl's avatar
S.Listl committed
      <dependencies>
        <entityDependency>
          <name>575e04ed-14aa-456c-8236-0bd284b1315f</name>
          <entityName>BulkMail_entity</entityName>
          <fieldName>Recipients</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
    </entityProvider>
    <entityParameter>
      <name>BulkMailId_param</name>
      <expose v="true" />
    </entityParameter>
    <entityField>
      <name>BULKMAILRECIPIENTID</name>
    </entityField>
S.Listl's avatar
S.Listl committed
    <entityField>
S.Listl's avatar
S.Listl committed
      <name>TARGETCONTEXT</name>
S.Listl's avatar
S.Listl committed
    </entityField>
    <entityConsumer>
      <name>Contacts</name>
      <dependency>
        <name>dependency</name>
        <entityName>AnyContact_entity</entityName>
        <fieldName>#PROVIDER</fieldName>
      </dependency>
    </entityConsumer>
    <entityConsumer>
      <name>StatusKeyword</name>
      <dependency>
        <name>dependency</name>
        <entityName>KeywordEntry_entity</entityName>
        <fieldName>SpecificContainerKeywords</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>ContainerName_param</name>
          <valueProcess>%aditoprj%/entity/BulkMailRecipient_entity/entityfields/statuskeyword/children/containername_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
S.Listl's avatar
S.Listl committed
    <entityField>
      <name>EMAIL_ADDRESS</name>
      <title>Email</title>
    </entityField>
    <entityField>
      <name>ICON</name>
      <contentType>IMAGE</contentType>
      <valueProcess>%aditoprj%/entity/BulkMailRecipient_entity/entityfields/icon/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>PERSON_ID</name>
    </entityField>
    <entityField>
      <name>ORGANISATION_ID</name>
    </entityField>
S.Listl's avatar
S.Listl committed
    <entityField>
      <name>SENTDATE</name>
      <title>Date</title>
      <contentType>DATE</contentType>
      <resolution>MINUTE</resolution>
      <outputFormat>dd.MM.yyyy HH:mm</outputFormat>
    </entityField>
S.Listl's avatar
S.Listl committed
  </entityFields>
S.Listl's avatar
S.Listl committed
  <recordContainers>
    <dbRecordContainer>
      <name>db</name>
      <alias>Data_alias</alias>
S.Listl's avatar
S.Listl committed
      <fromClauseProcess>%aditoprj%/entity/BulkMailRecipient_entity/recordcontainers/db/fromClauseProcess.js</fromClauseProcess>
S.Listl's avatar
S.Listl committed
      <conditionProcess>%aditoprj%/entity/BulkMailRecipient_entity/recordcontainers/db/conditionProcess.js</conditionProcess>
      <linkInformation>
        <linkInformation>
S.Listl's avatar
S.Listl committed
          <name>6cfe0097-5d5a-4ca1-a0fc-021ffb47013a</name>
S.Listl's avatar
S.Listl committed
          <tableName>BULKMAILRECIPIENT</tableName>
          <primaryKey>BULKMAILRECIPIENTID</primaryKey>
          <isUIDTable v="true" />
          <readonly v="false" />
        </linkInformation>
S.Listl's avatar
S.Listl committed
        <linkInformation>
          <name>bae3d575-0e29-47a5-b962-175cc63333f3</name>
          <tableName>CONTACT</tableName>
          <primaryKey>CONTACTID</primaryKey>
          <isUIDTable v="false" />
          <readonly v="true" />
        </linkInformation>
S.Listl's avatar
S.Listl committed
      </linkInformation>
      <recordFieldMappings>
        <dbRecordFieldMapping>
          <name>BULKMAIL_ID.value</name>
          <recordfield>BULKMAILRECIPIENT.BULKMAIL_ID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>BULKMAILRECIPIENTID.value</name>
          <recordfield>BULKMAILRECIPIENT.BULKMAILRECIPIENTID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>CONTACT_ID.value</name>
          <recordfield>BULKMAILRECIPIENT.CONTACT_ID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>STATUS.value</name>
          <recordfield>BULKMAILRECIPIENT.STATUS</recordfield>
        </dbRecordFieldMapping>
S.Listl's avatar
S.Listl committed
        <dbRecordFieldMapping>
          <name>EMAIL_ADDRESS.displayValue</name>
          <expression>%aditoprj%/entity/BulkMailRecipient_entity/recordcontainers/db/recordfieldmappings/email_address.displayvalue/expression.js</expression>
        </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>TARGETCONTEXT.value</name>
          <expression>%aditoprj%/entity/BulkMailRecipient_entity/recordcontainers/db/recordfieldmappings/targetcontext.value/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>STATUS.displayValue</name>
          <expression>%aditoprj%/entity/BulkMailRecipient_entity/recordcontainers/db/recordfieldmappings/status.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
S.Listl's avatar
S.Listl committed
        <dbRecordFieldMapping>
          <name>SENTDATE.value</name>
          <recordfield>BULKMAILRECIPIENT.SENTDATE</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>CONTACT_ID.displayValue</name>
          <expression>%aditoprj%/entity/BulkMailRecipient_entity/recordcontainers/db/recordfieldmappings/contact_id.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
S.Listl's avatar
S.Listl committed
      </recordFieldMappings>
    </dbRecordContainer>
  </recordContainers>
S.Listl's avatar
S.Listl committed
</entity>