Skip to content
Snippets Groups Projects
Commit a5e0bf76 authored by Tobias Feldmann's avatar Tobias Feldmann
Browse files

[Projekt: Entwicklung - Neon][TicketNr.: 1023712][ADDR - Standard setzten...

[Projekt: Entwicklung - Neon][TicketNr.: 1023712][ADDR - Standard setzten (Aktion, Button, Darstellung)]
parent e09b7664
No related branches found
No related tags found
No related merge requests found
...@@ -136,6 +136,17 @@ ...@@ -136,6 +136,17 @@
</entityDependency> </entityDependency>
</dependencies> </dependencies>
</entityIncomingField> </entityIncomingField>
<entityField>
<name>IS_STANDARD</name>
<contentType>BOOLEAN</contentType>
<valueProcess>%aditoprj%/entity/Address_entity/entityfields/is_standard/valueProcess.js</valueProcess>
</entityField>
<entityParameter>
<name>DefaultAddressId_param</name>
<expose v="true" />
<triggerRecalculation v="false" />
<description>PARAMETER</description>
</entityParameter>
</entityFields> </entityFields>
<recordContainers> <recordContainers>
<dbRecordContainer> <dbRecordContainer>
......
import("system.vars");
import("system.result");
result.string(vars.getString("$param.DefaultAddressId_param") == vars.getString("$field.ADDRESSID"));
\ No newline at end of file
...@@ -209,11 +209,19 @@ ...@@ -209,11 +209,19 @@
<code>%aditoprj%/entity/Org_entity/entityfields/orgaddress_dfo/children/relid_param/code.js</code> <code>%aditoprj%/entity/Org_entity/entityfields/orgaddress_dfo/children/relid_param/code.js</code>
<triggerRecalculation v="true" /> <triggerRecalculation v="true" />
</entityParameter> </entityParameter>
<entityParameter>
<name>DefaultAddressId_param</name>
<code>%aditoprj%/entity/Org_entity/entityfields/orgaddress_dfo/children/defaultaddressid_param/code.js</code>
<triggerRecalculation v="true" />
</entityParameter>
</children> </children>
</entityOutgoingField> </entityOutgoingField>
<entityField> <entityField>
<name>ADDRESS_ID</name> <name>ADDRESS_ID</name>
<title>standard address</title>
<outgoingField>OrgAddress_dfo</outgoingField>
<searchable v="false" /> <searchable v="false" />
<state>AUTO</state>
</entityField> </entityField>
<entityOutgoingField> <entityOutgoingField>
<name>OrgComm_dfo</name> <name>OrgComm_dfo</name>
...@@ -356,12 +364,6 @@ ...@@ -356,12 +364,6 @@
<possibleItemsProcess>%aditoprj%/entity/Org_entity/entityfields/weakness/possibleItemsProcess.js</possibleItemsProcess> <possibleItemsProcess>%aditoprj%/entity/Org_entity/entityfields/weakness/possibleItemsProcess.js</possibleItemsProcess>
<searchable v="false" /> <searchable v="false" />
</entityField> </entityField>
<entityField>
<name>ADDRESS_DEFAULT_ID</name>
<title>standard address</title>
<outgoingField>OrgAddress_dfo</outgoingField>
<searchable v="false" />
</entityField>
<entityActionField> <entityActionField>
<name>OpenEditDefaultsView</name> <name>OpenEditDefaultsView</name>
<fieldType>ACTION</fieldType> <fieldType>ACTION</fieldType>
...@@ -496,10 +498,6 @@ ...@@ -496,10 +498,6 @@
<name>WEAKNESS.value</name> <name>WEAKNESS.value</name>
<recordfield>ORG.WEAKNESS</recordfield> <recordfield>ORG.WEAKNESS</recordfield>
</dbRecordFieldMapping> </dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>ADDRESS_DEFAULT_ID.value</name>
<recordfield>RELATION.ADDRESS_ID</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping> <dbRecordFieldMapping>
<name>STANDARD_EMAIL_COMM.value</name> <name>STANDARD_EMAIL_COMM.value</name>
<recordfield></recordfield> <recordfield></recordfield>
......
import("system.result");
import("system.vars");
result.string(vars.getString("$field.ADDRESS_ID"));
\ No newline at end of file
...@@ -14,8 +14,8 @@ ...@@ -14,8 +14,8 @@
<entityField>#ENTITY</entityField> <entityField>#ENTITY</entityField>
<fields> <fields>
<entityFieldLink> <entityFieldLink>
<name>56daa95c-d0da-49a8-87fc-cd63b4f9b4b0</name> <name>08c00d5b-fc5e-451b-8341-0e5c5172faa8</name>
<entityField>ADDRESS_DEFAULT_ID</entityField> <entityField>ADDRESS_ID</entityField>
</entityFieldLink> </entityFieldLink>
<entityFieldLink> <entityFieldLink>
<name>e3939d9a-6955-4a9b-bf52-d63a20ed2e9d</name> <name>e3939d9a-6955-4a9b-bf52-d63a20ed2e9d</name>
......
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