Skip to content
Snippets Groups Projects
Commit ebdc29b1 authored by Johannes Hörmann's avatar Johannes Hörmann
Browse files

Produkt Hersteller: Aufrufbar (Preview), kein Display value

parent dcb496e3
No related branches found
No related tags found
No related merge requests found
......@@ -186,7 +186,7 @@
<name>CONTACT_ID</name>
<title>Developer</title>
<consumer>Organisations</consumer>
<linkedContextProcess>%aditoprj%/entity/Product_entity/entityfields/contact_id/linkedContextProcess.js</linkedContextProcess>
<linkedContext>Organisation</linkedContext>
<displayValueProcess>%aditoprj%/entity/Product_entity/entityfields/contact_id/displayValueProcess.js</displayValueProcess>
<onValueChangeTypes>
<element>MASK</element>
......@@ -245,9 +245,6 @@
</entityParameter>
</children>
</entityConsumer>
<entityField>
<name>ORG_NAME</name>
</entityField>
<entityConsumer>
<name>KeywordProductGroupcodes</name>
<fieldType>DEPENDENCY_OUT</fieldType>
......@@ -350,26 +347,12 @@
<onDBDelete>%aditoprj%/entity/Product_entity/recordcontainers/db/onDBDelete.js</onDBDelete>
<linkInformation>
<linkInformation>
<name>ce4af12f-66c7-43d2-aefe-512260f3b24b</name>
<name>67ca4a6c-a613-4ee7-bd9d-6ebc17c43944</name>
<tableName>PRODUCT</tableName>
<primaryKey>PRODUCTID</primaryKey>
<isUIDTable v="true" />
<readonly v="false" />
</linkInformation>
<linkInformation>
<name>774f098d-8c86-4f0a-8eab-de79a43b8609</name>
<tableName>CONTACT</tableName>
<primaryKey>CONTACTID</primaryKey>
<isUIDTable v="false" />
<readonly v="true" />
</linkInformation>
<linkInformation>
<name>2120f83c-6e14-4683-a5ad-9d0c88970d57</name>
<tableName>ORGANISATION</tableName>
<primaryKey>ORGANISATIONID</primaryKey>
<isUIDTable v="false" />
<readonly v="true" />
</linkInformation>
</linkInformation>
<recordFieldMappings>
<dbRecordFieldMapping>
......@@ -408,30 +391,10 @@
<name>UNIT.value</name>
<recordfield>PRODUCT.UNIT</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>CONTACT_ORG_ID.value</name>
<recordfield>CONTACT.ORGANISATION_ID</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>CONTACT_PERSON_ID.value</name>
<recordfield>CONTACT.PERSON_ID</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>CONTACT_ID.value</name>
<recordfield>PRODUCT.CONTACT_ID</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>ORG_NAME.value</name>
<recordfield>ORGANISATION.NAME</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>PERSON_FIRSTNAME.value</name>
<recordfield>PERSON.FIRSTNAME</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>PERSON_LASTNAME.value</name>
<recordfield>PERSON.LASTNAME</recordfield>
</dbRecordFieldMapping>
<dbRecordFieldMapping>
<name>INFO.value</name>
<recordfield>PRODUCT.INFO</recordfield>
......
import("system.result");
import("system.db");
import("system.vars");
import("Contact_lib");
import("system.neon");
import("system.result");
import("Context_lib");
result.string(vars.getString("$field.ORG_NAME"));
\ No newline at end of file
result.string(db.cell(ContextUtils.getNameSql("Organisation", vars.get("$field.CONTACT_ID"))));
\ No newline at end of file
import("system.vars");
import("system.result");
import("Contact_lib");
if(vars.get("$field.CONTACT_ID"))
result.string("Organisation");
\ No newline at end of file
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