Skip to content
Snippets Groups Projects
Address_entity.aod 8.49 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.3" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.0.3">
  <name>Address_entity</name>
  <title>Addresses</title>
  <majorModelMode>DISTRIBUTED</majorModelMode>
  <alias>Data_alias</alias>
  <conditionProcess>%aditoprj%/entity/Address_entity/conditionProcess.js</conditionProcess>
  <grantCreateProcess>%aditoprj%/entity/Address_entity/grantCreateProcess.js</grantCreateProcess>
  <grantDeleteProcess>%aditoprj%/entity/Address_entity/grantDeleteProcess.js</grantDeleteProcess>
  <recordContainerType>DB</recordContainerType>
  <caption>Addresses</caption>
  <entityFields>
    <entityField>
      <name>ADDRESS</name>
      <tableName>ADDRESS</tableName>
      <columnName>ADDRESS</columnName>
      <caption>Address</caption>
      <stateProcess>%aditoprj%/entity/Address_entity/entityfields/address/stateProcess.js</stateProcess>
    </entityField>
    <entityField>
      <name>ADDRESSADDITION</name>
      <tableName>ADDRESS</tableName>
      <columnName>ADDRESSADDITION</columnName>
      <stateProcess>%aditoprj%/entity/Address_entity/entityfields/addressaddition/stateProcess.js</stateProcess>
    </entityField>
    <entityField>
      <name>ADDRESSID</name>
      <tableName>ADDRESS</tableName>
      <columnName>ADDRESSID</columnName>
    </entityField>
    <entityField>
      <name>ADDRIDENTIFIER</name>
      <tableName>ADDRESS</tableName>
      <columnName>ADDRIDENTIFIER</columnName>
      <stateProcess>%aditoprj%/entity/Address_entity/entityfields/addridentifier/stateProcess.js</stateProcess>
    </entityField>
    <entityField>
      <name>ADDR_TYPE</name>
      <tableName>ADDRESS</tableName>
      <columnName>ADDR_TYPE</columnName>
      <caption>Addresstype</caption>
      <possibleItemsProcess>%aditoprj%/entity/Address_entity/entityfields/addr_type/possibleItemsProcess.js</possibleItemsProcess>
      <stateProcess>%aditoprj%/entity/Address_entity/entityfields/addr_type/stateProcess.js</stateProcess>
    </entityField>
    <entityField>
      <name>BUILDINGNO</name>
      <tableName>ADDRESS</tableName>
      <columnName>BUILDINGNO</columnName>
      <caption>House number</caption>
      <stateProcess>%aditoprj%/entity/Address_entity/entityfields/buildingno/stateProcess.js</stateProcess>
    </entityField>
    <entityField>
      <name>CITY</name>
      <tableName>ADDRESS</tableName>
      <columnName>CITY</columnName>
      <caption>City</caption>
      <stateProcess>%aditoprj%/entity/Address_entity/entityfields/city/stateProcess.js</stateProcess>
    </entityField>
    <entityField>
      <name>COUNTRY</name>
      <tableName>ADDRESS</tableName>
      <columnName>COUNTRY</columnName>
      <caption>Country</caption>
      <possibleItemsProcess>%aditoprj%/entity/Address_entity/entityfields/country/possibleItemsProcess.js</possibleItemsProcess>
      <stateProcess>%aditoprj%/entity/Address_entity/entityfields/country/stateProcess.js</stateProcess>
      <valueProcess>%aditoprj%/entity/Address_entity/entityfields/country/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>DATE_EDIT</name>
      <tableName>ADDRESS</tableName>
      <columnName>DATE_EDIT</columnName>
    </entityField>
    <entityField>
      <name>DATE_NEW</name>
      <tableName>ADDRESS</tableName>
      <columnName>DATE_NEW</columnName>
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Address_entity/entityfields/date_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>DISTRICT</name>
      <tableName>ADDRESS</tableName>
      <columnName>DISTRICT</columnName>
      <caption>District</caption>
      <stateProcess>%aditoprj%/entity/Address_entity/entityfields/district/stateProcess.js</stateProcess>
    </entityField>
    <entityField>
      <name>REGION</name>
      <tableName>ADDRESS</tableName>
      <columnName>REGION</columnName>
      <caption>Region</caption>
      <stateProcess>%aditoprj%/entity/Address_entity/entityfields/region/stateProcess.js</stateProcess>
    </entityField>
    <entityField>
      <name>RELATION_ID</name>
      <tableName>ADDRESS</tableName>
      <columnName>RELATION_ID</columnName>
      <valueProcess>%aditoprj%/entity/Address_entity/entityfields/relation_id/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>STATE</name>
      <tableName>ADDRESS</tableName>
      <columnName>STATE</columnName>
      <caption>State</caption>
      <stateProcess>%aditoprj%/entity/Address_entity/entityfields/state/stateProcess.js</stateProcess>
    </entityField>
    <entityField>
      <name>USER_EDIT</name>
      <tableName>ADDRESS</tableName>
      <columnName>USER_EDIT</columnName>
    </entityField>
    <entityField>
      <name>USER_NEW</name>
      <tableName>ADDRESS</tableName>
      <columnName>USER_NEW</columnName>
      <state>READONLY</state>
      <valueProcess>%aditoprj%/entity/Address_entity/entityfields/user_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>ZIP</name>
      <tableName>ADDRESS</tableName>
      <columnName>ZIP</columnName>
      <caption>postcode</caption>
      <stateProcess>%aditoprj%/entity/Address_entity/entityfields/zip/stateProcess.js</stateProcess>
    </entityField>
    <entityIncomingField>
      <name>OrgAddress_dfi</name>
      <fieldType>DEPENDENCY_IN</fieldType>
      <dependencies>
        <entityDependency>
          <name>b484b43c-16f6-4875-9787-f0813dd200cb</name>
          <entityName>Org_entity</entityName>
          <fieldName>OrgAddress_dfo</fieldName>
          <isOutgoing v="false" />
        </entityDependency>
        <entityDependency>
          <name>aa44f6ec-2b9b-43f8-902d-92490480413f</name>
          <entityName>Pers_entity</entityName>
          <fieldName>OrgAddress_dfo</fieldName>
          <isOutgoing v="false" />
        </entityDependency>
      </dependencies>
    </entityIncomingField>
    <entityParameter>
      <name>RelId_param</name>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityIncomingField>
      <name>PersAddress_dfi</name>
      <fieldType>DEPENDENCY_IN</fieldType>
      <dependencies>
        <entityDependency>
          <name>efdb2f19-ab41-4f49-941a-843610e2b31b</name>
          <entityName>Pers_entity</entityName>
          <fieldName>PersAddress_dfo</fieldName>
          <isOutgoing v="false" />
        </entityDependency>
      </dependencies>
    </entityIncomingField>
    <entityParameter>
      <name>StandardAddressId_param</name>
      <expose v="true" />
      <description>TODO: add description</description>
    </entityParameter>
    <entityField>
      <name>IS_STANDARD</name>
      <caption>Standard</caption>
      <contentType>BOOLEAN</contentType>
      <possibleItemsProcess>%aditoprj%/entity/Address_entity/entityfields/is_standard/possibleItemsProcess.js</possibleItemsProcess>
      <valueProcess>%aditoprj%/entity/Address_entity/entityfields/is_standard/valueProcess.js</valueProcess>
      <onValueChange>%aditoprj%/entity/Address_entity/entityfields/is_standard/onValueChange.js</onValueChange>
      <onValueChangeTypes>
        <element>MASK</element>
      </onValueChangeTypes>
    </entityField>
    <entityIncomingField>
      <name>#INCOMING</name>
    </entityIncomingField>
    <entityParameter>
      <name>AddressLineFieldsState_param</name>
      <code>%aditoprj%/entity/Address_entity/entityfields/addresslinefieldsstate_param/code.js</code>
      <expose v="false" />
      <mandatory v="false" />
      <description>Specifies the FieldState of all AddressLine-Fields (e.g. ZIP, COUNTRY, etc.)
This is needed because you want to modify the record itself for setting the standard address but no other content.</description>
    </entityParameter>
    <entityParameter>
      <name>AllowModifyingCoreData_param</name>
      <code>%aditoprj%/entity/Address_entity/entityfields/allowmodifyingcoredata_param/code.js</code>
      <expose v="true" />
      <description>Specified if it&amp;apos;s allowed to modify the address core data.
If this is &amp;quot;false&amp;quot;, you cannot create od delete records or change the actual address-data, e.g. zip-code, address, buildingno, etc.</description>
    </entityParameter>
  </entityFields>
  <linkInformation>
    <linkInformation>
      <name>a0278c8c-4d5a-4ac9-b0eb-fec72f9e8576</name>
      <tableName>ADDRESS</tableName>
      <primaryKey>ADDRESSID</primaryKey>
      <isUIDTable v="true" />
    </linkInformation>
  </linkInformation>
</entity>