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 @@
</entityDependency>
</dependencies>
</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>
<recordContainers>
<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 @@
<code>%aditoprj%/entity/Org_entity/entityfields/orgaddress_dfo/children/relid_param/code.js</code>
<triggerRecalculation v="true" />
</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>
</entityOutgoingField>
<entityField>
<name>ADDRESS_ID</name>
<title>standard address</title>
<outgoingField>OrgAddress_dfo</outgoingField>
<searchable v="false" />
<state>AUTO</state>
</entityField>
<entityOutgoingField>
<name>OrgComm_dfo</name>
......@@ -356,12 +364,6 @@
<possibleItemsProcess>%aditoprj%/entity/Org_entity/entityfields/weakness/possibleItemsProcess.js</possibleItemsProcess>
<searchable v="false" />
</entityField>
<entityField>
<name>ADDRESS_DEFAULT_ID</name>
<title>standard address</title>
<outgoingField>OrgAddress_dfo</outgoingField>
<searchable v="false" />
</entityField>
<entityActionField>
<name>OpenEditDefaultsView</name>
<fieldType>ACTION</fieldType>
......@@ -496,10 +498,6 @@
<name>WEAKNESS.value</name>
<recordfield>ORG.WEAKNESS</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>ADDRESS_DEFAULT_ID.value</name>
<recordfield>RELATION.ADDRESS_ID</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>STANDARD_EMAIL_COMM.value</name>
<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 @@
<entityField>#ENTITY</entityField>
<fields>
<entityFieldLink>
<name>56daa95c-d0da-49a8-87fc-cd63b4f9b4b0</name>
<entityField>ADDRESS_DEFAULT_ID</entityField>
<name>08c00d5b-fc5e-451b-8341-0e5c5172faa8</name>
<entityField>ADDRESS_ID</entityField>
</entityFieldLink>
<entityFieldLink>
<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