Skip to content
Snippets Groups Projects
BulkMailRecipient_entity.aod 4.28 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.8" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.8">
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>
      <displayValueProcess>%aditoprj%/entity/BulkMailRecipient_entity/entityfields/contact_id/displayValueProcess.js</displayValueProcess>
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>
      <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>
      <name>targetContext</name>
      <valueProcess>%aditoprj%/entity/BulkMailRecipient_entity/entityfields/targetcontext/valueProcess.js</valueProcess>
    </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
  </entityFields>
S.Listl's avatar
S.Listl committed
  <recordContainers>
    <dbRecordContainer>
      <name>db</name>
      <alias>Data_alias</alias>
      <conditionProcess>%aditoprj%/entity/BulkMailRecipient_entity/recordcontainers/db/conditionProcess.js</conditionProcess>
      <linkInformation>
        <linkInformation>
          <name>760deb9b-6b31-48b5-a339-595d3d104bb5</name>
          <tableName>BULKMAILRECIPIENT</tableName>
          <primaryKey>BULKMAILRECIPIENTID</primaryKey>
          <isUIDTable v="true" />
          <readonly v="false" />
        </linkInformation>
      </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>
      </recordFieldMappings>
    </dbRecordContainer>
  </recordContainers>
S.Listl's avatar
S.Listl committed
</entity>