Skip to content
Snippets Groups Projects
MailLog_entity.aod 8.66 KiB
Newer Older
<entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.3.21" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.21">
  <name>MailLog_entity</name>
  <title>Maillog</title>
  <majorModelMode>DISTRIBUTED</majorModelMode>
  <documentation>%aditoprj%/entity/MailLog_entity/documentation.adoc</documentation>
  <grantCreate v="false" />
  <grantUpdate v="false" />
  <grantDelete v="false" />
  <titlePlural>Maillogs</titlePlural>
  <recordContainer>db</recordContainer>
  <entityFields>
    <entityProvider>
      <name>#PROVIDER</name>
    </entityProvider>
    <entityField>
      <name>CONTACT_ID</name>
      <title>Contact</title>
      <consumer>Contacts</consumer>
      <groupable v="true" />
      <linkedContextProcess>%aditoprj%/entity/MailLog_entity/entityfields/contact_id/linkedContextProcess.js</linkedContextProcess>
      <mandatory v="true" />
    </entityField>
    <entityField>
      <name>MAILING_SUBJECT</name>
      <title>Subject</title>
      <mandatory v="true" />
    </entityField>
    <entityField>
      <name>RECIPIENT_EMAIL</name>
      <title>Recipient</title>
      <mandatory v="true" />
    </entityField>
    <entityField>
      <name>SENDER_EMAIL</name>
      <title>Sender</title>
      <mandatory v="true" />
    </entityField>
    <entityField>
      <name>OBJECT_ROWID</name>
      <mandatory v="true" />
    </entityField>
    <entityField>
      <name>OBJECT_TYPE</name>
      <mandatory v="true" />
    </entityField>
    <entityField>
      <name>MAIL_RUNID</name>
    </entityField>
    <entityField>
      <name>MAIL_LOGID</name>
    </entityField>
    <entityField>
      <name>STATUS</name>
      <title>Status</title>
      <mandatory v="true" />
    </entityField>
    <entityField>
      <name>BCC_EMAIL</name>
      <mandatory v="true" />
    </entityField>
    <entityProvider>
      <name>#PROVIDER_AGGREGATES</name>
      <useAggregates v="true" />
    </entityProvider>
    <entityField>
      <name>PERSON_ID</name>
    </entityField>
    <entityField>
      <name>ORGANISATION_ID</name>
    </entityField>
    <entityParameter>
      <name>ObjectType_param</name>
      <expose v="true" />
    </entityParameter>
    <entityParameter>
      <name>ObjectRowId_param</name>
      <expose v="true" />
    </entityParameter>
    <entityProvider>
      <name>MailLogs</name>
      <documentation>%aditoprj%/entity/MailLog_entity/entityfields/maillogs/documentation.adoc</documentation>
      <children>
        <entityParameter>
          <name>ObjectType_param</name>
          <valueProcess>%aditoprj%/entity/MailLog_entity/entityfields/maillogs/children/objecttype_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityProvider>
    <entityField>
      <name>DATE_SEND</name>
      <contentType>DATE</contentType>
      <resolution>MINUTE</resolution>
    </entityField>
    <entityActionGroup>
      <name>RecipientActions</name>
      <children>
        <entityActionField>
          <name>DownloadEml</name>
          <title>Download</title>
          <onActionProcess>%aditoprj%/entity/MailLog_entity/entityfields/recipientactions/children/downloademl/onActionProcess.js</onActionProcess>
          <isMenuAction v="true" />
          <isObjectAction v="true" />
          <selectionType>MULTI</selectionType>
        </entityActionField>
      </children>
    </entityActionGroup>
    <entityConsumer>
      <name>Contacts</name>
      <dependency>
        <name>dependency</name>
        <entityName>AnyContact_entity</entityName>
        <fieldName>#PROVIDER</fieldName>
      </dependency>
    </entityConsumer>
    <entityField>
      <name>TESTRUN</name>
      <title>Test Run</title>
      <contentType>BOOLEAN</contentType>
    </entityField>
    <entityField>
      <name>DATE_OPENED</name>
      <title>Opening Date</title>
      <contentType>DATE</contentType>
      <resolution>MINUTE</resolution>
    </entityField>
  </entityFields>
  <recordContainers>
    <dbRecordContainer>
      <name>db</name>
      <fromClauseProcess>%aditoprj%/entity/MailLog_entity/recordcontainers/db/fromClauseProcess.js</fromClauseProcess>
      <conditionProcess>%aditoprj%/entity/MailLog_entity/recordcontainers/db/conditionProcess.js</conditionProcess>
      <orderClauseProcess>%aditoprj%/entity/MailLog_entity/recordcontainers/db/orderClauseProcess.js</orderClauseProcess>
      <alias>Data_alias</alias>
      <recordFieldMappings>
        <dbRecordFieldMapping>
          <name>CONTACT_ID.value</name>
          <recordfield>MAIL_LOG.CONTACT_ID</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>MAILING_SUBJECT.value</name>
          <recordfield>MAIL_LOG.MAILING_SUBJECT</recordfield>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>RECIPIENT_EMAIL.value</name>
          <recordfield>MAIL_LOG.RECIPIENT_EMAIL</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>SENDER_EMAIL.value</name>
          <recordfield>MAIL_LOG.SENDER_EMAIL</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>OBJECT_ROWID.value</name>
          <recordfield>MAIL_RUN.OBJECT_ROWID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>OBJECT_TYPE.value</name>
          <recordfield>MAIL_RUN.OBJECT_TYPE</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>MAIL_RUNID.value</name>
          <recordfield>MAIL_RUN.MAIL_RUNID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>MAIL_LOGID.value</name>
          <recordfield>MAIL_LOG.MAIL_LOGID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>STATUS.value</name>
          <recordfield>MAIL_LOG.STATUS</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>BCC_EMAIL.value</name>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>CONTACT_ID.displayValue</name>
          <expression>%aditoprj%/entity/MailLog_entity/recordcontainers/db/recordfieldmappings/contact_id.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>PERSON_ID.value</name>
          <recordfield>CONTACT.PERSON_ID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ORGANISATION_ID.value</name>
          <recordfield>CONTACT.ORGANISATION_ID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DATE_SEND.value</name>
          <recordfield>MAIL_LOG.DATE_SEND</recordfield>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>STATUS.displayValue</name>
          <expression>%aditoprj%/entity/MailLog_entity/recordcontainers/db/recordfieldmappings/status.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>TESTRUN.value</name>
          <recordfield>MAIL_RUN.TESTRUN</recordfield>
          <isFilterable v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DATE_OPENED.value</name>
          <recordfield>WEBLINK_CLICK.DATE_OPENED</recordfield>
          <name>6b1b4cc2-cdc1-4c15-a1d7-6b1236332884</name>
          <tableName>MAIL_LOG</tableName>
          <primaryKey>MAIL_LOGID</primaryKey>
          <isUIDTable v="true" />
          <readonly v="false" />
        </linkInformation>
        <linkInformation>
          <name>f3319573-943a-40e8-85b7-e01192c55c1d</name>
          <tableName>MAIL_RUN</tableName>
          <primaryKey>MAIL_RUNID</primaryKey>
          <isUIDTable v="false" />
          <readonly v="true" />
        </linkInformation>
        <linkInformation>
          <name>04a01533-28bc-4b89-b3f2-b06b7c12f393</name>
          <tableName>CONTACT</tableName>
          <primaryKey>CONTACTID</primaryKey>
          <isUIDTable v="false" />
          <readonly v="true" />
        </linkInformation>
        <linkInformation>
          <name>ad7f427d-fdd8-426d-b068-ce89e2dbeeda</name>
          <tableName>WEBLINK_CLICK</tableName>
          <primaryKey>WEBLINK_CLICKID</primaryKey>
          <isUIDTable v="false" />
          <readonly v="true" />
        </linkInformation>
      </linkInformation>
    </dbRecordContainer>
  </recordContainers>
</entity>