Skip to content
Snippets Groups Projects
Pers_entity.aod 15.85 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.0.4" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.0.4">
  <name>Pers_entity</name>
  <title>Contact</title>
  <majorModelMode>DISTRIBUTED</majorModelMode>
  <alias>Data_alias</alias>
  <fromClauseProcess>%aditoprj%/entity/Pers_entity/fromClauseProcess.js</fromClauseProcess>
  <conditionProcess>%aditoprj%/entity/Pers_entity/conditionProcess.js</conditionProcess>
  <recordContainerType>DB</recordContainerType>
  <caption>Contact</caption>
  <captionProcess>%aditoprj%/entity/Pers_entity/captionProcess.js</captionProcess>
  <iconId>VAADIN:USERS</iconId>
  <imageProcess>%aditoprj%/entity/Pers_entity/imageProcess.js</imageProcess>
  <entityFields>
    <entityField>
      <name>DATEOFBIRTH</name>
      <tableName>PERS</tableName>
      <columnName>DATEOFBIRTH</columnName>
      <caption>Date of birth</caption>
      <contentType>DATE</contentType>
      <resolution>DAY</resolution>
    </entityField>
    <entityField>
      <name>PERS_DATE_EDIT</name>
      <tableName>PERS</tableName>
      <columnName>DATE_EDIT</columnName>
      <contentType>DATE</contentType>
      <outputFormat>yyyy-MM-dd&amp;apos;T&amp;apos;HH:mm:ssZ</outputFormat>
      <valueProcess>%aditoprj%/entity/Pers_entity/entityfields/pers_date_edit/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>PERS_DATE_NEW</name>
      <tableName>PERS</tableName>
      <columnName>DATE_NEW</columnName>
      <contentType>DATE</contentType>
      <outputFormat>yyyy-MM-dd&amp;apos;T&amp;apos;HH:mm:ssZ</outputFormat>
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Pers_entity/entityfields/pers_date_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>FIRSTNAME</name>
      <tableName>PERS</tableName>
      <columnName>FIRSTNAME</columnName>
      <caption>Firstname</caption>
    </entityField>
    <entityField>
      <name>GENDER</name>
      <tableName>PERS</tableName>
      <columnName>GENDER</columnName>
      <caption>Gender</caption>
      <outgoingField>PersGender_dfo</outgoingField>
    </entityField>
    <entityField>
      <name>LASTNAME</name>
      <tableName>PERS</tableName>
      <columnName>LASTNAME</columnName>
      <caption>Lastname</caption>
      <mandatory v="true" />
    </entityField>
    <entityField>
      <name>MIDDLENAME</name>
      <tableName>PERS</tableName>
      <columnName>MIDDLENAME</columnName>
      <caption>Middlename</caption>
    </entityField>
    <entityField>
      <name>PERSID</name>
      <tableName>PERS</tableName>
      <columnName>PERSID</columnName>
      <valueProcess>%aditoprj%/entity/Pers_entity/entityfields/persid/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>SALUTATION</name>
      <tableName>PERS</tableName>
      <columnName>SALUTATION</columnName>
      <caption>Salutation</caption>
    </entityField>
    <entityField>
      <name>TITLE</name>
      <tableName>PERS</tableName>
      <columnName>TITLE</columnName>
      <caption>Title</caption>
    </entityField>
    <entityField>
      <name>TITLESUFFIX</name>
      <tableName>PERS</tableName>
      <columnName>TITLESUFFIX</columnName>
    </entityField>
    <entityField>
      <name>PERS_USER_EDIT</name>
      <tableName>PERS</tableName>
      <columnName>USER_EDIT</columnName>
      <valueProcess>%aditoprj%/entity/Pers_entity/entityfields/pers_user_edit/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>PERS_USER_NEW</name>
      <tableName>PERS</tableName>
      <columnName>USER_NEW</columnName>
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Pers_entity/entityfields/pers_user_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>PREVIEWTITLE</name>
      <caption></caption>
      <valueProcess>%aditoprj%/entity/Pers_entity/entityfields/previewtitle/valueProcess.js</valueProcess>
    </entityField>
    <entityParameter>
      <name>OrgId_param</name>
      <expose v="true" />
      <triggerRecalculation v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityField>
      <name>IMAGE</name>
      <contentType>IMAGE</contentType>
      <valueProcess>%aditoprj%/entity/Pers_entity/entityfields/image/valueProcess.js</valueProcess>
    </entityField>
    <entityFieldGroup>
      <name>NAME_fieldGroup</name>
      <valueProcess>%aditoprj%/entity/Pers_entity/entityfields/name_fieldgroup/valueProcess.js</valueProcess>
      <description>FIELDGROUP</description>
      <fields>
        <element>FIRSTNAME</element>
        <element>LASTNAME</element>
      </fields>
    </entityFieldGroup>
    <entityOutgoingField>
      <name>PersHistory_dfo</name>
      <title>Histories</title>
      <fieldType>DEPENDENCY_OUT</fieldType>
      <dependency>
        <name>dependency</name>
        <entityName>History_entity</entityName>
        <fieldName>PersHistory_dfi</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>RowId_param</name>
          <code>%aditoprj%/entity/Pers_entity/entityfields/pershistory_dfo/children/rowid_param/code.js</code>
        </entityParameter>
      </children>
    </entityOutgoingField>
    <entityField>
      <name>RELATIONID</name>
      <tableName>RELATION</tableName>
      <columnName>RELATIONID</columnName>
    </entityField>
    <entityIncomingField>
      <name>PersOrg_dfi</name>
      <fieldType>DEPENDENCY_IN</fieldType>
      <dependencies>
        <entityDependency>
          <name>41952879-c2f0-411f-8ca1-36c38914a629</name>
          <entityName>Org_entity</entityName>
          <fieldName>PersOrg_dfo</fieldName>
          <isOutgoing v="false" />
        </entityDependency>
      </dependencies>
    </entityIncomingField>
    <entityField>
      <name>PERS_ID</name>
      <tableName>RELATION</tableName>
      <columnName>PERS_ID</columnName>
      <valueProcess>%aditoprj%/entity/Pers_entity/entityfields/pers_id/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>ORG_ID</name>
      <tableName>RELATION</tableName>
      <columnName>ORG_ID</columnName>
      <caption></caption>
      <valueProcess>%aditoprj%/entity/Pers_entity/entityfields/org_id/valueProcess.js</valueProcess>
      <onValueChange>%aditoprj%/entity/Pers_entity/entityfields/org_id/onValueChange.js</onValueChange>
    </entityField>
    <entityField>
      <name>REL_USER_NEW</name>
      <tableName>RELATION</tableName>
      <columnName>USER_NEW</columnName>
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Pers_entity/entityfields/rel_user_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>REL_USER_EDIT</name>
      <tableName>RELATION</tableName>
      <columnName>DATE_EDIT</columnName>
      <valueProcess>%aditoprj%/entity/Pers_entity/entityfields/rel_user_edit/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>REL_DATE_NEW</name>
      <tableName>RELATION</tableName>
      <columnName>DATE_NEW</columnName>
      <contentType>DATE</contentType>
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Pers_entity/entityfields/rel_date_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>REL_DATE_EDIT</name>
      <tableName>RELATION</tableName>
      <columnName>DATE_EDIT</columnName>
      <contentType>DATE</contentType>
      <valueProcess>%aditoprj%/entity/Pers_entity/entityfields/rel_date_edit/valueProcess.js</valueProcess>
    </entityField>
    <entityOutgoingField>
      <name>PersAddress_dfo</name>
      <title>Addresses</title>
      <fieldType>DEPENDENCY_OUT</fieldType>
      <caption>Addresses</caption>
      <dependency>
        <name>dependency</name>
        <entityName>Address_entity</entityName>
        <fieldName>PersAddress_dfi</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>RelId_param</name>
          <code>%aditoprj%/entity/Pers_entity/entityfields/persaddress_dfo/children/relid_param/code.js</code>
          <triggerRecalculation v="true" />
        </entityParameter>
      </children>
    </entityOutgoingField>
    <entityOutgoingField>
      <name>PersComm_dfo</name>
      <title>Communication</title>
      <fieldType>DEPENDENCY_OUT</fieldType>
      <caption>Communication</caption>
      <dependency>
        <name>dependency</name>
        <entityName>Comm_entity</entityName>
        <fieldName>#INCOMING</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>RelId_param</name>
          <code>%aditoprj%/entity/Pers_entity/entityfields/perscomm_dfo/children/relid_param/code.js</code>
          <triggerRecalculation v="true" />
        </entityParameter>
      </children>
    </entityOutgoingField>
    <entityField>
      <name>ORGNAME</name>
      <tableName>ORG</tableName>
      <columnName>NAME</columnName>
      <caption>Company</caption>
      <linkedContextProcess>%aditoprj%/entity/Pers_entity/entityfields/orgname/linkedContextProcess.js</linkedContextProcess>
      <mandatory v="true" />
      <outgoingField>PersOrg_dfo</outgoingField>
      <valueProcess>%aditoprj%/entity/Pers_entity/entityfields/orgname/valueProcess.js</valueProcess>
      <fieldIdProcess>%aditoprj%/entity/Pers_entity/entityfields/orgname/fieldIdProcess.js</fieldIdProcess>
      <onValueChange>%aditoprj%/entity/Pers_entity/entityfields/orgname/onValueChange.js</onValueChange>
      <onValueChangeTypes>
        <element>MASK</element>
        <element>PROCESS</element>
      </onValueChangeTypes>
    </entityField>
    <entityField>
      <name>ORGID</name>
      <tableName>ORG</tableName>
      <columnName>ORGID</columnName>
    </entityField>
    <entityOutgoingField>
      <name>OrgAddress_dfo</name>
      <fieldType>DEPENDENCY_OUT</fieldType>
      <caption>Company Addresses</caption>
      <dependency>
        <name>dependency</name>
        <entityName>Address_entity</entityName>
        <fieldName>OrgAddress_dfi</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>RelId_param</name>
          <code>%aditoprj%/entity/Pers_entity/entityfields/orgaddress_dfo/children/relid_param/code.js</code>
          <triggerRecalculation v="true" />
        </entityParameter>
        <entityParameter>
          <name>AllowModifyingCoreData_param</name>
          <code>%aditoprj%/entity/Pers_entity/entityfields/orgaddress_dfo/children/allowmodifyingcoredata_param/code.js</code>
        </entityParameter>
      </children>
    </entityOutgoingField>
    <entityOutgoingField>
      <name>PersOrg_dfo</name>
      <fieldType>DEPENDENCY_OUT</fieldType>
      <selectionMode>SINGLE</selectionMode>
      <dependency>
        <name>dependency</name>
        <entityName>Org_entity</entityName>
        <fieldName>Org_dfi</fieldName>
      </dependency>
    </entityOutgoingField>
    <entityOutgoingField>
      <name>PersCommPhone_dfo</name>
      <fieldType>DEPENDENCY_OUT</fieldType>
      <caption>Communication Phone</caption>
      <dependency>
        <name>dependency</name>
        <entityName>Comm_entity</entityName>
        <fieldName>#INCOMING</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>RelId_param</name>
          <code>%aditoprj%/entity/Pers_entity/entityfields/perscommphone_dfo/children/relid_param/code.js</code>
        </entityParameter>
        <entityParameter>
          <name>MediumCategoriesFilter_param</name>
          <code>%aditoprj%/entity/Pers_entity/entityfields/perscommphone_dfo/children/mediumcategoriesfilter_param/code.js</code>
        </entityParameter>
      </children>
    </entityOutgoingField>
    <entityOutgoingField>
      <name>PersCommEmail_dfo</name>
      <fieldType>DEPENDENCY_OUT</fieldType>
      <caption>Communication E-Mail</caption>
      <dependency>
        <name>dependency</name>
        <entityName>Comm_entity</entityName>
        <fieldName>#INCOMING</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>RelId_param</name>
          <code>%aditoprj%/entity/Pers_entity/entityfields/perscommemail_dfo/children/relid_param/code.js</code>
        </entityParameter>
        <entityParameter>
          <name>MediumCategoriesFilter_param</name>
          <code>%aditoprj%/entity/Pers_entity/entityfields/perscommemail_dfo/children/mediumcategoriesfilter_param/code.js</code>
        </entityParameter>
      </children>
    </entityOutgoingField>
    <entityOutgoingField>
      <name>PersCommOthers_dfo</name>
      <fieldType>DEPENDENCY_OUT</fieldType>
      <caption>Communication Other</caption>
      <dependency>
        <name>dependency</name>
        <entityName>Comm_entity</entityName>
        <fieldName>#INCOMING</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>RelId_param</name>
          <code>%aditoprj%/entity/Pers_entity/entityfields/perscommothers_dfo/children/relid_param/code.js</code>
        </entityParameter>
        <entityParameter>
          <name>MediumCategoriesFilter_param</name>
          <code>%aditoprj%/entity/Pers_entity/entityfields/perscommothers_dfo/children/mediumcategoriesfilter_param/code.js</code>
        </entityParameter>
      </children>
    </entityOutgoingField>
    <entityOutgoingField>
      <name>PersContract_dfo</name>
      <fieldType>DEPENDENCY_OUT</fieldType>
      <dependency>
        <name>dependency</name>
        <entityName>Contract_entity</entityName>
        <fieldName>PersContract_dfi</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>RelId_param</name>
          <code>%aditoprj%/entity/Pers_entity/entityfields/perscontract_dfo/children/relid_param/code.js</code>
          <triggerRecalculation v="true" />
        </entityParameter>
      </children>
    </entityOutgoingField>
    <entityOutgoingField>
      <name>PersPricelist_dfo</name>
      <title>Conditions</title>
      <fieldType>DEPENDENCY_OUT</fieldType>
      <caption>Conditions</caption>
      <state>AUTO</state>
      <stateProcess>%aditoprj%/entity/Pers_entity/entityfields/perspricelist_dfo/stateProcess.js</stateProcess>
      <dependency>
        <name>dependency</name>
        <entityName>Productprice_entity</entityName>
        <fieldName>PersProductprice_dfi</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>RelID_param</name>
          <code>%aditoprj%/entity/Pers_entity/entityfields/perspricelist_dfo/children/relid_param/code.js</code>
        </entityParameter>
      </children>
    </entityOutgoingField>
    <entityOutgoingField>
      <name>PersGender_dfo</name>
      <fieldType>DEPENDENCY_OUT</fieldType>
      <dependency>
        <name>dependency</name>
        <entityName>Gender_keyword</entityName>
        <fieldName>Gender_dfi</fieldName>
      </dependency>
    </entityOutgoingField>
    <entityIncomingField>
      <name>#INCOMING</name>
    </entityIncomingField>
    <entityField>
      <name>LANGUAGE</name>
      <tableName>RELATION</tableName>
      <columnName>LANGUAGE</columnName>
      <caption>Language</caption>
      <mandatory v="true" />
      <possibleItemsProcess>%aditoprj%/entity/Pers_entity/entityfields/language/possibleItemsProcess.js</possibleItemsProcess>
    </entityField>
  </entityFields>
  <linkInformation>
    <linkInformation>
      <name>9ce0dfd2-192d-4446-8b2d-a4c053abc44a</name>
      <tableName>PERS</tableName>
      <primaryKey>PERSID</primaryKey>
    </linkInformation>
    <linkInformation>
      <name>348312a8-6392-4adb-af69-75cbcfc5b65b</name>
      <tableName>RELATION</tableName>
      <primaryKey>RELATIONID</primaryKey>
      <isUIDTable v="true" />
    </linkInformation>
    <linkInformation>
      <name>edf5e4f3-993d-4097-b59d-a100d5222cad</name>
      <tableName>ORG</tableName>
      <primaryKey>ORGID</primaryKey>
      <readonly v="true" />
    </linkInformation>
  </linkInformation>
</entity>