Skip to content
Snippets Groups Projects
Commit db3cd089 authored by Johannes Goderbauer's avatar Johannes Goderbauer
Browse files

[Projekt: Entwicklung - Neon][TicketNr.: 1024138][Adressdarstellung bei...

[Projekt: Entwicklung - Neon][TicketNr.: 1024138][Adressdarstellung bei Kontakten - es sollen auch die Firmenadressen gelistet werden]
parent cad54771
No related branches found
No related tags found
No related merge requests found
Showing
with 95 additions and 3 deletions
<?xml version="1.0" encoding="UTF-8"?> <?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"> <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> <name>Address_entity</name>
<title>Addresses</title> <title>Addresses</title>
<majorModelMode>DISTRIBUTED</majorModelMode> <majorModelMode>DISTRIBUTED</majorModelMode>
<alias>Data_alias</alias> <alias>Data_alias</alias>
<conditionProcess>%aditoprj%/entity/Address_entity/conditionProcess.js</conditionProcess> <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> <recordContainerType>DB</recordContainerType>
<caption>Addresses</caption> <caption>Addresses</caption>
<entityFields> <entityFields>
...@@ -13,11 +15,13 @@ ...@@ -13,11 +15,13 @@
<tableName>ADDRESS</tableName> <tableName>ADDRESS</tableName>
<columnName>ADDRESS</columnName> <columnName>ADDRESS</columnName>
<caption>Address</caption> <caption>Address</caption>
<stateProcess>%aditoprj%/entity/Address_entity/entityfields/address/stateProcess.js</stateProcess>
</entityField> </entityField>
<entityField> <entityField>
<name>ADDRESSADDITION</name> <name>ADDRESSADDITION</name>
<tableName>ADDRESS</tableName> <tableName>ADDRESS</tableName>
<columnName>ADDRESSADDITION</columnName> <columnName>ADDRESSADDITION</columnName>
<stateProcess>%aditoprj%/entity/Address_entity/entityfields/addressaddition/stateProcess.js</stateProcess>
</entityField> </entityField>
<entityField> <entityField>
<name>ADDRESSID</name> <name>ADDRESSID</name>
...@@ -28,6 +32,7 @@ ...@@ -28,6 +32,7 @@
<name>ADDRIDENTIFIER</name> <name>ADDRIDENTIFIER</name>
<tableName>ADDRESS</tableName> <tableName>ADDRESS</tableName>
<columnName>ADDRIDENTIFIER</columnName> <columnName>ADDRIDENTIFIER</columnName>
<stateProcess>%aditoprj%/entity/Address_entity/entityfields/addridentifier/stateProcess.js</stateProcess>
</entityField> </entityField>
<entityField> <entityField>
<name>ADDR_TYPE</name> <name>ADDR_TYPE</name>
...@@ -35,18 +40,21 @@ ...@@ -35,18 +40,21 @@
<columnName>ADDR_TYPE</columnName> <columnName>ADDR_TYPE</columnName>
<caption>Addresstype</caption> <caption>Addresstype</caption>
<possibleItemsProcess>%aditoprj%/entity/Address_entity/entityfields/addr_type/possibleItemsProcess.js</possibleItemsProcess> <possibleItemsProcess>%aditoprj%/entity/Address_entity/entityfields/addr_type/possibleItemsProcess.js</possibleItemsProcess>
<stateProcess>%aditoprj%/entity/Address_entity/entityfields/addr_type/stateProcess.js</stateProcess>
</entityField> </entityField>
<entityField> <entityField>
<name>BUILDINGNO</name> <name>BUILDINGNO</name>
<tableName>ADDRESS</tableName> <tableName>ADDRESS</tableName>
<columnName>BUILDINGNO</columnName> <columnName>BUILDINGNO</columnName>
<caption>House number</caption> <caption>House number</caption>
<stateProcess>%aditoprj%/entity/Address_entity/entityfields/buildingno/stateProcess.js</stateProcess>
</entityField> </entityField>
<entityField> <entityField>
<name>CITY</name> <name>CITY</name>
<tableName>ADDRESS</tableName> <tableName>ADDRESS</tableName>
<columnName>CITY</columnName> <columnName>CITY</columnName>
<caption>City</caption> <caption>City</caption>
<stateProcess>%aditoprj%/entity/Address_entity/entityfields/city/stateProcess.js</stateProcess>
</entityField> </entityField>
<entityField> <entityField>
<name>COUNTRY</name> <name>COUNTRY</name>
...@@ -54,6 +62,7 @@ ...@@ -54,6 +62,7 @@
<columnName>COUNTRY</columnName> <columnName>COUNTRY</columnName>
<caption>Country</caption> <caption>Country</caption>
<possibleItemsProcess>%aditoprj%/entity/Address_entity/entityfields/country/possibleItemsProcess.js</possibleItemsProcess> <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> <valueProcess>%aditoprj%/entity/Address_entity/entityfields/country/valueProcess.js</valueProcess>
</entityField> </entityField>
<entityField> <entityField>
...@@ -73,12 +82,14 @@ ...@@ -73,12 +82,14 @@
<tableName>ADDRESS</tableName> <tableName>ADDRESS</tableName>
<columnName>DISTRICT</columnName> <columnName>DISTRICT</columnName>
<caption>District</caption> <caption>District</caption>
<stateProcess>%aditoprj%/entity/Address_entity/entityfields/district/stateProcess.js</stateProcess>
</entityField> </entityField>
<entityField> <entityField>
<name>REGION</name> <name>REGION</name>
<tableName>ADDRESS</tableName> <tableName>ADDRESS</tableName>
<columnName>REGION</columnName> <columnName>REGION</columnName>
<caption>Region</caption> <caption>Region</caption>
<stateProcess>%aditoprj%/entity/Address_entity/entityfields/region/stateProcess.js</stateProcess>
</entityField> </entityField>
<entityField> <entityField>
<name>RELATION_ID</name> <name>RELATION_ID</name>
...@@ -91,6 +102,7 @@ ...@@ -91,6 +102,7 @@
<tableName>ADDRESS</tableName> <tableName>ADDRESS</tableName>
<columnName>STATE</columnName> <columnName>STATE</columnName>
<caption>State</caption> <caption>State</caption>
<stateProcess>%aditoprj%/entity/Address_entity/entityfields/state/stateProcess.js</stateProcess>
</entityField> </entityField>
<entityField> <entityField>
<name>USER_EDIT</name> <name>USER_EDIT</name>
...@@ -109,6 +121,7 @@ ...@@ -109,6 +121,7 @@
<tableName>ADDRESS</tableName> <tableName>ADDRESS</tableName>
<columnName>ZIP</columnName> <columnName>ZIP</columnName>
<caption>postcode</caption> <caption>postcode</caption>
<stateProcess>%aditoprj%/entity/Address_entity/entityfields/zip/stateProcess.js</stateProcess>
</entityField> </entityField>
<entityIncomingField> <entityIncomingField>
<name>OrgAddress_dfi</name> <name>OrgAddress_dfi</name>
...@@ -148,7 +161,7 @@ ...@@ -148,7 +161,7 @@
<entityParameter> <entityParameter>
<name>StandardAddressId_param</name> <name>StandardAddressId_param</name>
<expose v="true" /> <expose v="true" />
<description>PARAMETER</description> <description>TODO: add description</description>
</entityParameter> </entityParameter>
<entityField> <entityField>
<name>IS_STANDARD</name> <name>IS_STANDARD</name>
...@@ -164,6 +177,21 @@ ...@@ -164,6 +177,21 @@
<entityIncomingField> <entityIncomingField>
<name>#INCOMING</name> <name>#INCOMING</name>
</entityIncomingField> </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> </entityFields>
<linkInformation> <linkInformation>
<linkInformation> <linkInformation>
......
import("system.vars");
import("system.result");
result.string(vars.get("$param.AddressLineFieldsState_param"));
\ No newline at end of file
import("system.vars");
import("system.result");
result.string(vars.get("$param.AddressLineFieldsState_param"));
\ No newline at end of file
import("system.vars");
import("system.result");
result.string(vars.get("$param.AddressLineFieldsState_param"));
\ No newline at end of file
import("system.vars");
import("system.result");
import("system.neon");
var allowModify, state;
if (vars.getString("$param.AllowModifyingCoreData_param") == "false")
state = neon.COMPONENTSTATE_READONLY;
result.string(state);
\ No newline at end of file
import("system.vars");
import("system.result");
result.string(vars.get("$param.AddressLineFieldsState_param"));
\ No newline at end of file
import("system.result");
result.string(true);
\ No newline at end of file
import("system.vars");
import("system.result");
result.string(vars.get("$param.AddressLineFieldsState_param"));
\ No newline at end of file
import("system.vars");
import("system.result");
result.string(vars.get("$param.AddressLineFieldsState_param"));
\ No newline at end of file
import("system.vars");
import("system.result");
result.string(vars.get("$param.AddressLineFieldsState_param"));
\ No newline at end of file
import("system.vars");
import("system.result");
result.string(vars.get("$param.AddressLineFieldsState_param"));
\ No newline at end of file
import("system.vars");
import("system.result");
result.string(vars.get("$param.AddressLineFieldsState_param"));
\ No newline at end of file
import("system.vars");
import("system.result");
result.string(vars.get("$param.AddressLineFieldsState_param"));
\ No newline at end of file
import("system.vars");
import("system.result");
result.string(vars.get("$param.AddressLineFieldsState_param"));
\ No newline at end of file
import("system.vars");
import("system.result");
import("system.neon");
result.string(vars.get("$param.AllowModifyingCoreData_param"));
\ No newline at end of file
import("system.vars");
import("system.result");
import("system.neon");
result.string(vars.get("$param.AllowModifyingCoreData_param"));
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?> <?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"> <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>Pers_entity</name> <name>Pers_entity</name>
<title>Contact</title> <title>Contact</title>
<majorModelMode>DISTRIBUTED</majorModelMode> <majorModelMode>DISTRIBUTED</majorModelMode>
...@@ -271,6 +271,10 @@ ...@@ -271,6 +271,10 @@
<code>%aditoprj%/entity/Pers_entity/entityfields/orgaddress_dfo/children/relid_param/code.js</code> <code>%aditoprj%/entity/Pers_entity/entityfields/orgaddress_dfo/children/relid_param/code.js</code>
<triggerRecalculation v="true" /> <triggerRecalculation v="true" />
</entityParameter> </entityParameter>
<entityParameter>
<name>AllowModifyingCoreData_param</name>
<code>%aditoprj%/entity/Pers_entity/entityfields/orgaddress_dfo/children/allowmodifyingcoredata_param/code.js</code>
</entityParameter>
</children> </children>
</entityOutgoingField> </entityOutgoingField>
<entityOutgoingField> <entityOutgoingField>
......
import("system.result");
result.string(false);
\ No newline at end of file
...@@ -59,6 +59,11 @@ ...@@ -59,6 +59,11 @@
<entityField>PersAddress_dfo</entityField> <entityField>PersAddress_dfo</entityField>
<view>AdressMultiEdit_view</view> <view>AdressMultiEdit_view</view>
</neonViewReference> </neonViewReference>
<neonViewReference>
<name>6dc468f4-661d-4d0a-83ff-70b90a3e2ddf</name>
<entityField>OrgAddress_dfo</entityField>
<view>AdressMultiEdit_view</view>
</neonViewReference>
<neonViewReference> <neonViewReference>
<name>fc64789f-b4c6-401e-86e3-f484451c7689</name> <name>fc64789f-b4c6-401e-86e3-f484451c7689</name>
<entityField>PersComm_dfo</entityField> <entityField>PersComm_dfo</entityField>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment