Skip to content
Snippets Groups Projects
Comm_entity.aod 9.11 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.1.1" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.1.1">
  <name>Comm_entity</name>
  <title>Communication</title>
  <majorModelMode>DISTRIBUTED</majorModelMode>
  <titleProcess>%aditoprj%/entity/Comm_entity/titleProcess.js</titleProcess>
  <recordContainer>db</recordContainer>
  <entityFields>
    <entityField>
      <name>ADDR</name>
      <title>${COMM_ADDRESS}</title>
      <contentTypeProcess>%aditoprj%/entity/Comm_entity/entityfields/addr/contentTypeProcess.js</contentTypeProcess>
      <mandatory v="true" />
      <onValidation>%aditoprj%/entity/Comm_entity/entityfields/addr/onValidation.js</onValidation>
    </entityField>
    <entityField>
      <name>COMMID</name>
      <valueProcess>%aditoprj%/entity/Comm_entity/entityfields/commid/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>DATE_EDIT</name>
    </entityField>
    <entityField>
      <name>DATE_NEW</name>
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Comm_entity/entityfields/date_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>MEDIUM_ID</name>
      <title>Medium</title>
      <mandatory v="true" />
      <possibleItemsProcess>%aditoprj%/entity/Comm_entity/entityfields/medium_id/possibleItemsProcess.js</possibleItemsProcess>
    </entityField>
    <entityField>
      <name>RELATION_ID</name>
      <valueProcess>%aditoprj%/entity/Comm_entity/entityfields/relation_id/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>STANDARD</name>
      <valueProcess>%aditoprj%/entity/Comm_entity/entityfields/standard/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>USER_EDIT</name>
    </entityField>
    <entityField>
      <name>USER_NEW</name>
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Comm_entity/entityfields/user_new/valueProcess.js</valueProcess>
    </entityField>
    <entityParameter>
      <name>RelId_param</name>
      <expose v="true" />
      <description>This parameter is used for specifing a related &amp;quot;RELATIONID&amp;quot; to a COMM-entry. 
Usually this is used for filtering COMM-entires by a specified contact or creating a new entry that is related to a contact.</description>
    </entityParameter>
    <entityField>
      <name>IS_STANDARD</name>
      <contentType>BOOLEAN</contentType>
      <valueProcess>%aditoprj%/entity/Comm_entity/entityfields/is_standard/valueProcess.js</valueProcess>
    </entityField>
    <entityIncomingField>
      <name>#INCOMING</name>
      <recordContainer>db</recordContainer>
    </entityIncomingField>
    <entityParameter>
      <name>RelationsMainCountry_param</name>
      <code>%aditoprj%/entity/Comm_entity/entityfields/relationsmaincountry_param/code.js</code>
      <mandatory v="false" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityIncomingField>
      <name>OrgComm_dfi</name>
      <fieldType>DEPENDENCY_IN</fieldType>
      <recordContainer>db</recordContainer>
      <dependencies>
        <entityDependency>
          <name>070b2457-3766-4c8a-b43f-a2bf7c9ef638</name>
          <entityName>Org_entity</entityName>
          <fieldName>OrgComm_dfo</fieldName>
          <isOutgoing v="false" />
        </entityDependency>
      </dependencies>
    </entityIncomingField>
    <entityIncomingField>
      <name>PersComm_dfi</name>
      <fieldType>DEPENDENCY_IN</fieldType>
      <recordContainer>db</recordContainer>
      <dependencies>
        <entityDependency>
          <name>e54350c7-b9a6-4f7a-ac35-506922f3964b</name>
          <entityName>Pers_entity</entityName>
          <fieldName>PersComm_dfo</fieldName>
          <isOutgoing v="false" />
        </entityDependency>
      </dependencies>
    </entityIncomingField>
    <entityIncomingField>
      <name>OrgCommPhone_dfi</name>
      <fieldType>DEPENDENCY_IN</fieldType>
      <recordContainer>db</recordContainer>
      <dependencies>
        <entityDependency>
          <name>7382242a-aa18-4a31-ab77-69a79f2b97b8</name>
          <entityName>Org_entity</entityName>
          <fieldName>OrgCommPhone_dfo</fieldName>
          <isOutgoing v="false" />
        </entityDependency>
      </dependencies>
    </entityIncomingField>
    <entityIncomingField>
      <name>OrgCommEmail_dfi</name>
      <fieldType>DEPENDENCY_IN</fieldType>
      <recordContainer>db</recordContainer>
      <dependencies>
        <entityDependency>
          <name>ecfbf518-fe92-4661-8ebe-e2d3c8d259e1</name>
          <entityName>Org_entity</entityName>
          <fieldName>OrgCommEmail_dfo</fieldName>
          <isOutgoing v="false" />
        </entityDependency>
      </dependencies>
    </entityIncomingField>
    <entityIncomingField>
      <name>PersCommPhone_dfi</name>
      <fieldType>DEPENDENCY_IN</fieldType>
      <dependencies>
        <entityDependency>
          <name>2d615521-e9b9-463f-8e09-b5749b5484ff</name>
          <entityName>Pers_entity</entityName>
          <fieldName>PersCommPhone_dfo</fieldName>
          <isOutgoing v="false" />
        </entityDependency>
      </dependencies>
    </entityIncomingField>
    <entityIncomingField>
      <name>PersCommEmail_dfi</name>
      <fieldType>DEPENDENCY_IN</fieldType>
      <dependencies>
        <entityDependency>
          <name>b1cc8f6a-e3c1-4d52-9fae-cf254ced5211</name>
          <entityName>Pers_entity</entityName>
          <fieldName>PersCommEmail_dfo</fieldName>
          <isOutgoing v="false" />
        </entityDependency>
      </dependencies>
    </entityIncomingField>
    <entityParameter>
      <name>CommCategory_param</name>
      <expose v="true" />
      <triggerRecalculation v="true" />
      <mandatory v="false" />
    </entityParameter>
    <entityParameter>
      <name>CommMediumIds_param</name>
      <code>%aditoprj%/entity/Comm_entity/entityfields/commmediumids_param/code.js</code>
      <triggerRecalculation v="true" />
      <mandatory v="false" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityIncomingField>
      <name>RelationCommEmail_dfi</name>
      <fieldType>DEPENDENCY_IN</fieldType>
      <recordContainer>db</recordContainer>
      <dependencies>
        <entityDependency>
          <name>6aaf2f88-6b5b-46ea-8b73-2a46643a70da</name>
          <entityName>Relation_entity</entityName>
          <fieldName>RelationCommEmail_dfo</fieldName>
          <isOutgoing v="false" />
        </entityDependency>
      </dependencies>
    </entityIncomingField>
    <entityIncomingField>
      <name>RelationCommPhone_dfi</name>
      <fieldType>DEPENDENCY_IN</fieldType>
      <recordContainer>db</recordContainer>
      <dependencies>
        <entityDependency>
          <name>e2a645cf-ac79-4fb7-a706-ec853730c88f</name>
          <entityName>Relation_entity</entityName>
          <fieldName>RelationCommPhone_dfo</fieldName>
          <isOutgoing v="false" />
        </entityDependency>
      </dependencies>
    </entityIncomingField>
  </entityFields>
  <recordContainers>
    <dbRecordContainer>
      <name>db</name>
      <alias>Data_alias</alias>
      <conditionProcess>%aditoprj%/entity/Comm_entity/recordcontainers/db/conditionProcess.js</conditionProcess>
      <orderClauseProcess>%aditoprj%/entity/Comm_entity/recordcontainers/db/orderClauseProcess.js</orderClauseProcess>
      <linkInformation>
        <linkInformation>
          <name>e3567770-187a-4366-bb87-fb22ff7ff257</name>
          <tableName>COMM</tableName>
          <primaryKey>COMMID</primaryKey>
          <isUIDTable v="true" />
          <readonly v="false" />
        </linkInformation>
      </linkInformation>
      <recordFieldMappings>
        <dbRecordFieldMapping>
          <name>ADDR.value</name>
          <recordfield>COMM.ADDR</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>MEDIUM_ID.value</name>
          <recordfield>COMM.MEDIUM_ID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>COMMID.value</name>
          <recordfield>COMM.COMMID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>RELATION_ID.value</name>
          <recordfield>COMM.RELATION_ID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DATE_EDIT.value</name>
          <recordfield>COMM.DATE_EDIT</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>STANDARD.value</name>
          <recordfield>COMM.STANDARD</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DATE_NEW.value</name>
          <recordfield>COMM.DATE_NEW</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>USER_EDIT.value</name>
          <recordfield>COMM.USER_EDIT</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>USER_NEW.value</name>
          <recordfield>COMM.USER_NEW</recordfield>
        </dbRecordFieldMapping>
      </recordFieldMappings>
    </dbRecordContainer>
  </recordContainers>
</entity>