Skip to content
Snippets Groups Projects
Address_entity.aod 26.52 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.3.17" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.17">
  <name>Address_entity</name>
  <majorModelMode>DISTRIBUTED</majorModelMode>
  <documentation>%aditoprj%/entity/Address_entity/documentation.adoc</documentation>
  <title>Address</title>
  <contentTitleProcess>%aditoprj%/entity/Address_entity/contentTitleProcess.js</contentTitleProcess>
  <afterOperatingState>%aditoprj%/entity/Address_entity/afterOperatingState.js</afterOperatingState>
  <titlePlural>Addresses</titlePlural>
  <recordContainer>db</recordContainer>
  <entityFields>
    <entityField>
      <name>ADDRESS</name>
      <title>Street</title>
      <mandatoryProcess>%aditoprj%/entity/Address_entity/entityfields/address/mandatoryProcess.js</mandatoryProcess>
      <textInputAllowed v="true" />
      <stateProcess>%aditoprj%/entity/Address_entity/entityfields/address/stateProcess.js</stateProcess>
      <onValueChange>%aditoprj%/entity/Address_entity/entityfields/address/onValueChange.js</onValueChange>
      <onValueChangeTypes>
        <element>MASK</element>
      </onValueChangeTypes>
    </entityField>
    <entityField>
      <name>ADDRESSADDITION</name>
      <title>Address addition</title>
    </entityField>
    <entityField>
      <name>ADDRESSID</name>
      <valueProcess>%aditoprj%/entity/Address_entity/entityfields/addressid/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>ADDRIDENTIFIER</name>
      <title>{$ADDRESS_IDENTIFIER}</title>
    </entityField>
    <entityField>
      <name>ADDR_TYPE</name>
      <documentation>%aditoprj%/entity/Address_entity/entityfields/addr_type/documentation.adoc</documentation>
      <title>Addresstype</title>
      <consumer>KeywordAddressTypes</consumer>
      <valueProcess>%aditoprj%/entity/Address_entity/entityfields/addr_type/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Address_entity/entityfields/addr_type/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>BUILDINGNO</name>
      <title>House number</title>
    </entityField>
    <entityField>
      <name>CITY</name>
      <documentation>%aditoprj%/entity/Address_entity/entityfields/city/documentation.adoc</documentation>
      <title>City</title>
      <mandatoryProcess>%aditoprj%/entity/Address_entity/entityfields/city/mandatoryProcess.js</mandatoryProcess>
      <textInputAllowed v="true" />
      <stateProcess>%aditoprj%/entity/Address_entity/entityfields/city/stateProcess.js</stateProcess>
    </entityField>
    <entityField>
      <name>COUNTRY</name>
      <title>Country</title>
      <consumer>Countries</consumer>
      <mandatory v="true" />
      <valueProcess>%aditoprj%/entity/Address_entity/entityfields/country/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Address_entity/entityfields/country/displayValueProcess.js</displayValueProcess>
    </entityField>
    <entityField>
      <name>DISTRICT</name>
      <title>District</title>
    </entityField>
    <entityField>
      <name>REGION</name>
      <title>Region</title>
      <state>INVISIBLE</state>
      <stateProcess>%aditoprj%/entity/Address_entity/entityfields/region/stateProcess.js</stateProcess>
    </entityField>
    <entityField>
      <name>CONTACT_ID</name>
      <mandatory v="true" />
      <valueProcess>%aditoprj%/entity/Address_entity/entityfields/contact_id/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>STATE</name>
      <title>${ADDRESS_STATE}</title>
      <mandatoryProcess>%aditoprj%/entity/Address_entity/entityfields/state/mandatoryProcess.js</mandatoryProcess>
    </entityField>
    <entityField>
      <name>ZIP</name>
      <title>Postcode</title>
      <mandatoryProcess>%aditoprj%/entity/Address_entity/entityfields/zip/mandatoryProcess.js</mandatoryProcess>
      <stateProcess>%aditoprj%/entity/Address_entity/entityfields/zip/stateProcess.js</stateProcess>
      <onValidation>%aditoprj%/entity/Address_entity/entityfields/zip/onValidation.js</onValidation>
    </entityField>
    <entityProvider>
      <name>OrganisationAddresses</name>
      <documentation>%aditoprj%/entity/Address_entity/entityfields/organisationaddresses/documentation.adoc</documentation>
      <dependencies>
        <entityDependency>
          <name>b484b43c-16f6-4875-9787-f0813dd200cb</name>
          <entityName>Organisation_entity</entityName>
          <fieldName>Addresses</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <children>
        <entityParameter>
          <name>ContactType_param</name>
          <valueProcess>%aditoprj%/entity/Address_entity/entityfields/organisationaddresses/children/contacttype_param/valueProcess.js</valueProcess>
          <expose v="false" />
          <description>TODO: expose auf false. aktuell wird der Code nicht ausgeführt, wenn Expose false ist.</description>
        </entityParameter>
        <entityParameter>
          <name>ContactId_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>DefaultAddressId_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>OrganisationId_param</name>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityParameter>
      <name>ContactId_param</name>
      <expose v="true" />
      <mandatory v="true" />
      <documentation>%aditoprj%/entity/Address_entity/entityfields/contactid_param/documentation.adoc</documentation>
    </entityParameter>
    <entityProvider>
      <name>ContactAddresses</name>
      <documentation>%aditoprj%/entity/Address_entity/entityfields/contactaddresses/documentation.adoc</documentation>
      <dependencies>
        <entityDependency>
          <name>efdb2f19-ab41-4f49-941a-843610e2b31b</name>
          <entityName>Person_entity</entityName>
          <fieldName>PersAddresses</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>aecd30a8-b80e-42c5-be09-3042b75a3fa2</name>
          <entityName>Contact_entity</entityName>
          <fieldName>ContactAddresses</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <children>
        <entityParameter>
          <name>ContactType_param</name>
          <valueProcess>%aditoprj%/entity/Address_entity/entityfields/contactaddresses/children/contacttype_param/valueProcess.js</valueProcess>
          <expose v="false" />
          <description>TODO: expose auf false. aktuell wird der Code nicht ausgeführt, wenn Expose false ist.</description>
        </entityParameter>
        <entityParameter>
          <name>ContactId_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>DefaultAddressId_param</name>
          <expose v="true" />
        </entityParameter>
        <entityParameter>
          <name>OrganisationId_param</name>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityProvider>
      <name>#PROVIDER</name>
    </entityProvider>
    <entityConsumer>
      <name>Countries</name>
      <dependency>
        <name>dependency</name>
        <entityName>Countries_Entity</entityName>
        <fieldName>ISO2Name</fieldName>
      </dependency>
    </entityConsumer>
    <entityProvider>
      <name>OrganisationAddressesByContact</name>
      <documentation>%aditoprj%/entity/Address_entity/entityfields/organisationaddressesbycontact/documentation.adoc</documentation>
      <titlePlural>Company Addresses</titlePlural>
      <dependencies>
        <entityDependency>
          <name>388f6ad3-b817-4dc0-a5d5-a41eec485357</name>
          <entityName>Person_entity</entityName>
          <fieldName>OrgAddresses</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <children>
        <entityParameter>
          <name>ContactType_param</name>
          <valueProcess>%aditoprj%/entity/Address_entity/entityfields/organisationaddressesbycontact/children/contacttype_param/valueProcess.js</valueProcess>
          <expose v="false" />
          <description>TODO: expose auf false. aktuell wird der Code nicht ausgeführt, wenn Expose false ist.</description>
        </entityParameter>
        <entityParameter>
          <name>OrganisationId_param</name>
          <expose v="false" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityField>
      <name>IS_STANDARD</name>
      <documentation>%aditoprj%/entity/Address_entity/entityfields/is_standard/documentation.adoc</documentation>
      <contentType>BOOLEAN</contentType>
      <valueProcess>%aditoprj%/entity/Address_entity/entityfields/is_standard/valueProcess.js</valueProcess>
    </entityField>
    <entityParameter>
      <name>DefaultAddressId_param</name>
      <valueProcess>%aditoprj%/entity/Address_entity/entityfields/defaultaddressid_param/valueProcess.js</valueProcess>
      <expose v="true" />
      <mandatory v="false" />
      <documentation>%aditoprj%/entity/Address_entity/entityfields/defaultaddressid_param/documentation.adoc</documentation>
      <description>provide a ADDRESSID-value of the standard address (of a CONTACT)</description>
    </entityParameter>
    <entityParameter>
      <name>ContactType_param</name>
      <expose v="true" />
      <mandatory v="true" />
      <documentation>%aditoprj%/entity/Address_entity/entityfields/contacttype_param/documentation.adoc</documentation>
      <description>PARAMETER</description>
    </entityParameter>
    <entityProvider>
      <name>OrganisationAndContactAddresses</name>
      <documentation>%aditoprj%/entity/Address_entity/entityfields/organisationandcontactaddresses/documentation.adoc</documentation>
      <dependencies>
        <entityDependency>
          <name>4d7e3b3a-abba-4429-9f1e-18e11788c0f2</name>
          <entityName>Person_entity</entityName>
          <fieldName>ContactAndOrganisationAddresses</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>daa41953-8e95-46f2-b08a-6c843ab87985</name>
          <entityName>Offer_entity</entityName>
          <fieldName>PossibleAddresses</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>2f162626-bd99-4e2a-b9cf-e95864d9ed0e</name>
          <entityName>Order_entity</entityName>
          <fieldName>PossibleAddresses</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
      <children>
        <entityParameter>
          <name>DefaultAddressId_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>ContactType_param</name>
          <expose v="false" />
        </entityParameter>
        <entityParameter>
          <name>OrganisationId_param</name>
          <title></title>
          <valueProcess>%aditoprj%/entity/Address_entity/entityfields/organisationandcontactaddresses/children/organisationid_param/valueProcess.js</valueProcess>
          <expose v="true" />
          <documentation>%aditoprj%/entity/Address_entity/entityfields/organisationandcontactaddresses/children/organisationid_param/documentation.adoc</documentation>
        </entityParameter>
        <entityParameter>
          <name>ContactId_param</name>
          <expose v="true" />
        </entityParameter>
      </children>
    </entityProvider>
    <entityParameter>
      <name>OrganisationId_param</name>
      <expose v="true" />
      <description>PARAMETER</description>
    </entityParameter>
    <entityConsumer>
      <name>KeywordAddressTypes</name>
      <dependency>
        <name>dependency</name>
        <entityName>AddressType_entity</entityName>
        <fieldName>ByCategory</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>UsageFilter_param</name>
          <valueProcess>%aditoprj%/entity/Address_entity/entityfields/keywordaddresstypes/children/usagefilter_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>USER_NEW</name>
      <valueProcess>%aditoprj%/entity/Address_entity/entityfields/user_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>USER_EDIT</name>
      <valueProcess>%aditoprj%/entity/Address_entity/entityfields/user_edit/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>DATE_NEW</name>
      <valueProcess>%aditoprj%/entity/Address_entity/entityfields/date_new/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>DATE_EDIT</name>
      <valueProcess>%aditoprj%/entity/Address_entity/entityfields/date_edit/valueProcess.js</valueProcess>
    </entityField>
    <entityField>
      <name>IS_STANDARD_ICON</name>
      <title>Standard</title>
      <contentType>IMAGE</contentType>
      <contentTypeProcess>%aditoprj%/entity/Address_entity/entityfields/is_standard_icon/contentTypeProcess.js</contentTypeProcess>
      <valueProcess>%aditoprj%/entity/Address_entity/entityfields/is_standard_icon/valueProcess.js</valueProcess>
    </entityField>
    <entityConsumer>
      <name>ZipValidation</name>
      <dependency>
        <name>dependency</name>
        <entityName>AddressValidation_entity</entityName>
        <fieldName>ZipValidaton</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>Country_param</name>
          <valueProcess>%aditoprj%/entity/Address_entity/entityfields/zipvalidation/children/country_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>CurrentValue_param</name>
          <valueProcess>%aditoprj%/entity/Address_entity/entityfields/zipvalidation/children/currentvalue_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>CityValidation</name>
      <dependency>
        <name>dependency</name>
        <entityName>AddressValidation_entity</entityName>
        <fieldName>CityValidation</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>CurrentValue_param</name>
          <valueProcess>%aditoprj%/entity/Address_entity/entityfields/cityvalidation/children/currentvalue_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>Country_param</name>
          <valueProcess>%aditoprj%/entity/Address_entity/entityfields/cityvalidation/children/country_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityField>
      <name>AddressSearch</name>
      <documentation>%aditoprj%/entity/Address_entity/entityfields/addresssearch/documentation.adoc</documentation>
      <title>Search</title>
      <consumer>FullAddressValidation</consumer>
      <stateProcess>%aditoprj%/entity/Address_entity/entityfields/addresssearch/stateProcess.js</stateProcess>
      <valueProcess>%aditoprj%/entity/Address_entity/entityfields/addresssearch/valueProcess.js</valueProcess>
      <onValueChange>%aditoprj%/entity/Address_entity/entityfields/addresssearch/onValueChange.js</onValueChange>
      <onValueChangeTypes>
        <element>MASK</element>
      </onValueChangeTypes>
    </entityField>
    <entityConsumer>
      <name>FullAddressValidation</name>
      <dependency>
        <name>dependency</name>
        <entityName>AddressValidation_entity</entityName>
        <fieldName>FullAddressValidation</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>CurrentValue_param</name>
          <valueProcess>%aditoprj%/entity/Address_entity/entityfields/fulladdressvalidation/children/currentvalue_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>Country_param</name>
          <valueProcess>%aditoprj%/entity/Address_entity/entityfields/fulladdressvalidation/children/country_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityConsumer>
      <name>StreetValidation</name>
      <dependency>
        <name>dependency</name>
        <entityName>AddressValidation_entity</entityName>
        <fieldName>StreetValidation</fieldName>
      </dependency>
      <children>
        <entityParameter>
          <name>City_param</name>
          <valueProcess>%aditoprj%/entity/Address_entity/entityfields/streetvalidation/children/city_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>Country_param</name>
          <valueProcess>%aditoprj%/entity/Address_entity/entityfields/streetvalidation/children/country_param/valueProcess.js</valueProcess>
        </entityParameter>
        <entityParameter>
          <name>CurrentValue_param</name>
          <valueProcess>%aditoprj%/entity/Address_entity/entityfields/streetvalidation/children/currentvalue_param/valueProcess.js</valueProcess>
        </entityParameter>
      </children>
    </entityConsumer>
    <entityParameter>
      <name>ShowDsgvoMessage_param</name>
      <valueProcess>%aditoprj%/entity/Address_entity/entityfields/showdsgvomessage_param/valueProcess.js</valueProcess>
      <expose v="true" />
    </entityParameter>
    <entityField>
      <name>Zip_ws</name>
      <documentation>%aditoprj%/entity/Address_entity/entityfields/zip_ws/documentation.adoc</documentation>
      <title>Postcode</title>
      <consumer>ZipValidation</consumer>
      <mandatoryProcess>%aditoprj%/entity/Address_entity/entityfields/zip_ws/mandatoryProcess.js</mandatoryProcess>
      <textInputAllowed v="true" />
      <stateProcess>%aditoprj%/entity/Address_entity/entityfields/zip_ws/stateProcess.js</stateProcess>
      <valueProcess>%aditoprj%/entity/Address_entity/entityfields/zip_ws/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Address_entity/entityfields/zip_ws/displayValueProcess.js</displayValueProcess>
      <onValueChange>%aditoprj%/entity/Address_entity/entityfields/zip_ws/onValueChange.js</onValueChange>
      <onValueChangeTypes>
        <element>MASK</element>
      </onValueChangeTypes>
      <onValidation>%aditoprj%/entity/Address_entity/entityfields/zip_ws/onValidation.js</onValidation>
    </entityField>
    <entityField>
      <name>City_ws</name>
      <documentation>%aditoprj%/entity/Address_entity/entityfields/city_ws/documentation.adoc</documentation>
      <title>City</title>
      <consumer>CityValidation</consumer>
      <mandatoryProcess>%aditoprj%/entity/Address_entity/entityfields/city_ws/mandatoryProcess.js</mandatoryProcess>
      <textInputAllowed v="true" />
      <stateProcess>%aditoprj%/entity/Address_entity/entityfields/city_ws/stateProcess.js</stateProcess>
      <valueProcess>%aditoprj%/entity/Address_entity/entityfields/city_ws/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Address_entity/entityfields/city_ws/displayValueProcess.js</displayValueProcess>
      <onValueChange>%aditoprj%/entity/Address_entity/entityfields/city_ws/onValueChange.js</onValueChange>
      <onValueChangeTypes>
        <element>MASK</element>
      </onValueChangeTypes>
    </entityField>
    <entityField>
      <name>Address_ws</name>
      <documentation>%aditoprj%/entity/Address_entity/entityfields/address_ws/documentation.adoc</documentation>
      <title>Street</title>
      <description></description>
      <consumer>StreetValidation</consumer>
      <mandatoryProcess>%aditoprj%/entity/Address_entity/entityfields/address_ws/mandatoryProcess.js</mandatoryProcess>
      <textInputAllowed v="true" />
      <stateProcess>%aditoprj%/entity/Address_entity/entityfields/address_ws/stateProcess.js</stateProcess>
      <valueProcess>%aditoprj%/entity/Address_entity/entityfields/address_ws/valueProcess.js</valueProcess>
      <displayValueProcess>%aditoprj%/entity/Address_entity/entityfields/address_ws/displayValueProcess.js</displayValueProcess>
      <onValueChange>%aditoprj%/entity/Address_entity/entityfields/address_ws/onValueChange.js</onValueChange>
      <onValueChangeTypes>
        <element>MASK</element>
      </onValueChangeTypes>
    </entityField>
    <entityProvider>
      <name>QuickEntryAdresses</name>
      <documentation>%aditoprj%/entity/Address_entity/entityfields/quickentryadresses/documentation.adoc</documentation>
      <dependencies>
        <entityDependency>
          <name>d677a301-2038-4ccd-baa1-5f986e290564</name>
          <entityName>QuickEntry_entity</entityName>
          <fieldName>Adresses</fieldName>
          <isConsumer v="false" />
        </entityDependency>
        <entityDependency>
          <name>aa315b76-7573-4627-ae15-2e7414b8b34d</name>
          <entityName>QuickEntry_entity</entityName>
          <fieldName>OrgAddresses</fieldName>
          <isConsumer v="false" />
        </entityDependency>
      </dependencies>
    </entityProvider>
    <entityParameter>
      <name>ReplaceStandardAddress_param</name>
      <expose v="true" />
    </entityParameter>
    <entityField>
      <name>LAT</name>
      <documentation>%aditoprj%/entity/Address_entity/entityfields/lat/documentation.adoc</documentation>
      <title>Latitude</title>
      <contentType>NUMBER</contentType>
      <state>INVISIBLE</state>
    </entityField>
    <entityField>
      <name>LON</name>
      <documentation>%aditoprj%/entity/Address_entity/entityfields/lon/documentation.adoc</documentation>
      <title>Longitude</title>
      <contentType>NUMBER</contentType>
      <state>INVISIBLE</state>
    </entityField>
    <entityProvider>
      <name>#PROVIDER_AGGREGATES</name>
      <useAggregates v="true" />
    </entityProvider>
  </entityFields>
  <recordContainers>
    <dbRecordContainer>
      <name>db</name>
      <alias>Data_alias</alias>
      <conditionProcess>%aditoprj%/entity/Address_entity/recordcontainers/db/conditionProcess.js</conditionProcess>
      <orderClauseProcess>%aditoprj%/entity/Address_entity/recordcontainers/db/orderClauseProcess.js</orderClauseProcess>
      <onDBInsert>%aditoprj%/entity/Address_entity/recordcontainers/db/onDBInsert.js</onDBInsert>
      <onDBUpdate>%aditoprj%/entity/Address_entity/recordcontainers/db/onDBUpdate.js</onDBUpdate>
      <linkInformation>
        <linkInformation>
          <name>6a0005cc-c64b-4044-9712-c9d00f02d7a8</name>
          <tableName>ADDRESS</tableName>
          <primaryKey>ADDRESSID</primaryKey>
          <isUIDTable v="true" />
        </linkInformation>
      </linkInformation>
      <recordFieldMappings>
        <dbRecordFieldMapping>
          <name>ADDRESS.value</name>
          <recordfield>ADDRESS.ADDRESS</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>CITY.value</name>
          <recordfield>ADDRESS.CITY</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ADDRESSADDITION.value</name>
          <recordfield>ADDRESS.ADDRESSADDITION</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>COUNTRY.value</name>
          <recordfield>ADDRESS.COUNTRY</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ADDRESSID.value</name>
          <recordfield>ADDRESS.ADDRESSID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ADDRIDENTIFIER.value</name>
          <recordfield>ADDRESS.ADDRIDENTIFIER</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ADDR_TYPE.value</name>
          <recordfield>ADDRESS.ADDR_TYPE</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DISTRICT.value</name>
          <recordfield>ADDRESS.DISTRICT</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>BUILDINGNO.value</name>
          <recordfield>ADDRESS.BUILDINGNO</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>REGION.value</name>
          <recordfield>ADDRESS.REGION</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>CONTACT_ID.value</name>
          <recordfield>ADDRESS.CONTACT_ID</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>STATE.value</name>
          <recordfield>ADDRESS.PROVINCE</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ZIP.value</name>
          <recordfield>ADDRESS.ZIP</recordfield>
          <isFilterable v="true" />
          <isLookupFilter v="true" />
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>ADDR_TYPE.displayValue</name>
          <expression>%aditoprj%/entity/Address_entity/recordcontainers/db/recordfieldmappings/addr_type.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DATE_NEW.value</name>
          <recordfield>ADDRESS.DATE_NEW</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>DATE_EDIT.value</name>
          <recordfield>ADDRESS.DATE_EDIT</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>USER_EDIT.value</name>
          <recordfield>ADDRESS.USER_EDIT</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>USER_NEW.value</name>
          <recordfield>ADDRESS.USER_NEW</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>COUNTRY.displayValue</name>
          <expression>%aditoprj%/entity/Address_entity/recordcontainers/db/recordfieldmappings/country.displayvalue/expression.js</expression>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>LAT.value</name>
          <recordfield>ADDRESS.LAT</recordfield>
        </dbRecordFieldMapping>
        <dbRecordFieldMapping>
          <name>LON.value</name>
          <recordfield>ADDRESS.LON</recordfield>
        </dbRecordFieldMapping>
      </recordFieldMappings>
    </dbRecordContainer>
  </recordContainers>
</entity>