Skip to content
Snippets Groups Projects
Commit 2b9372a2 authored by Sophia Leierseder's avatar Sophia Leierseder
Browse files

Attachments

parent 4782f327
No related branches found
No related tags found
No related merge requests found
......@@ -37,6 +37,8 @@
</entityField>
<entityField>
<name>DOCUMENTTEMPLATE_ID_CHILD</name>
<consumer>Attachments</consumer>
<displayValueProcess>%aditoprj%/entity/DocumentTemplateLink_entity/entityfields/documenttemplate_id_child/displayValueProcess.js</displayValueProcess>
</entityField>
<entityParameter>
<name>DocumentId_param</name>
......
import("system.result");
import("system.db");
import("system.vars");
import("Contact_lib");
var documenttemplatename = "";
var documenttemplateId = vars.get("$field.DOCUMENTTEMPLATE_ID_CHILD");
documenttemplatename = db.cell(SqlCondition.begin()
.andPrepare("DOCUMENTTEMPLATE.OCUMENTTEMPLATEID", documenttemplateId)
.buildSql("select DOCUMENTTEMPLATE.NAME from DOCUMENTTEMPLATE"));
result.string(res);
\ No newline at end of file
This diff is collapsed.
......@@ -56,5 +56,10 @@
<entityField>Attributes</entityField>
<view>AttributeRelationEdit_view</view>
</neonViewReference>
<neonViewReference>
<name>2e118acd-473a-4587-9945-a0ca59012f40</name>
<entityField>Links</entityField>
<view>DocumentTemplateLinkMultiEdit_view</view>
</neonViewReference>
</children>
</neonView>
......@@ -3,9 +3,9 @@
<name>DocumentTemplateLinkMultiEdit_view</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<layout>
<boxLayout>
<noneLayout>
<name>layout</name>
</boxLayout>
</noneLayout>
</layout>
<children>
<genericMultipleViewTemplate>
......
......@@ -25,5 +25,10 @@
<entityField>AttributeTree</entityField>
<view>AttributeRelationTree_view</view>
</neonViewReference>
<neonViewReference>
<name>536b34ae-d86b-43e3-b8ad-9955ab292517</name>
<entityField>Links</entityField>
<view>DocumentTemplateLinkMultiEdit_view</view>
</neonViewReference>
</children>
</neonView>
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