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

[Projekt: Entwicklung - Neon][TicketNr.: 1035771][Kontaktmanagement - Firma /...

[Projekt: Entwicklung - Neon][TicketNr.: 1035771][Kontaktmanagement - Firma / Kontaktperson + Adressen / Kommunikation - Nutzung des kompletten Moduls sicherstellen]
added status in contact
parent db233e3e
No related branches found
No related tags found
No related merge requests found
......@@ -360,6 +360,12 @@
<fieldName>KeywordPaymentTerm</fieldName>
<isConsumer v="false" />
</entityDependency>
<entityDependency>
<name>77be3cca-8b50-4810-9549-3fd3e6fdf220</name>
<entityName>Person_entity</entityName>
<fieldName>KeywordContactStates</fieldName>
<isConsumer v="false" />
</entityDependency>
</dependencies>
<children>
<entityParameter>
......
......@@ -664,11 +664,31 @@ Usually this is used for filtering COMMUNICATION-entries by a specified contact
<children>
<entityParameter>
<name>OrganisationId_param</name>
<code>%aditoprj%/entity/Person_entity/entityfields/contactandorganisationaddresses/children/organisationid_param/code.js</code>
</entityParameter>
<entityParameter>
<name>ContactId_param</name>
<code>%aditoprj%/entity/Person_entity/entityfields/contactandorganisationaddresses/children/contactid_param/code.js</code>
</entityParameter>
</children>
</entityConsumer>
<entityField>
<name>STATUS</name>
<title>Status</title>
<consumer>KeywordContactStates</consumer>
<valueProcess>%aditoprj%/entity/Person_entity/entityfields/status/valueProcess.js</valueProcess>
<displayValueProcess>%aditoprj%/entity/Person_entity/entityfields/status/displayValueProcess.js</displayValueProcess>
</entityField>
<entityConsumer>
<name>KeywordContactStates</name>
<fieldType>DEPENDENCY_OUT</fieldType>
<dependency>
<name>dependency</name>
<entityName>KeywordEntry_entity</entityName>
<fieldName>SpecificContainerKeywords</fieldName>
</dependency>
<children>
<entityParameter>
<name>ContainerName_param</name>
<valueProcess>%aditoprj%/entity/Person_entity/entityfields/keywordcontactstates/children/containername_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
......@@ -794,6 +814,10 @@ Usually this is used for filtering COMMUNICATION-entries by a specified contact
<name>TITLE.displayValue</name>
<expression>%aditoprj%/entity/Person_entity/recordcontainers/db/recordfieldmappings/title.displayvalue/expression.js</expression>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>STATUS.value</name>
<recordfield>CONTACT.STATUS</recordfield>
</dbRecordFieldMapping>
</recordFieldMappings>
</dbRecordContainer>
</recordContainers>
......
import("system.result");
import("Keyword_lib");
import("KeywordRegistry_basic");
result.string($KeywordRegistry.contactStatus());
import("system.result");
import("system.vars");
import("KeywordRegistry_basic");
import("Keyword_lib");
var key = vars.get("$field.STATUS");
if (key)
{
var res = KeywordUtils.getViewValue($KeywordRegistry.contactStatus(), key);
result.string(res);
}
import("system.vars");
import("system.result");
import("system.neon");
import("KeywordRegistry_basic");
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_NEW && !vars.get("$this.value"))
result.string($KeywordRegistry.contactStatus$active());
\ No newline at end of file
......@@ -53,6 +53,10 @@
<name>d8d04e36-de46-48a3-994a-fa72d1f2ea89</name>
<entityField>LANGUAGE</entityField>
</entityFieldLink>
<entityFieldLink>
<name>f8ec0e41-7ead-4c80-878c-df75ce5fce34</name>
<entityField>STATUS</entityField>
</entityFieldLink>
</fields>
</genericViewTemplate>
<neonViewReference>
......
......@@ -34,7 +34,6 @@
<genericViewTemplate>
<name>Info</name>
<showDrawer v="true" />
<drawerCaption>weitere Informationen</drawerCaption>
<entityField>#ENTITY</entityField>
<fields>
<entityFieldLink>
......@@ -57,6 +56,10 @@
<name>3aa3e89b-91ce-4607-8d76-53ee309a688f</name>
<entityField>LANGUAGE</entityField>
</entityFieldLink>
<entityFieldLink>
<name>278c4e64-6f0f-4ea9-b683-75f272a6c088</name>
<entityField>STATUS</entityField>
</entityFieldLink>
</fields>
</genericViewTemplate>
</children>
......
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