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

Document template fixes

parent b70a4e47
No related branches found
No related tags found
No related merge requests found
import("Context_lib");
import("system.result");
result.string(ContextUtils.getContextName("Document"));
\ No newline at end of file
import("system.result");
import("system.vars");
import("system.db");
var targetId = db.cell("select ID from ASYS_BINARIES where ROW_ID = '" + vars.get("$field.DOCUMENTTEMPLATE_ID_CHILD") + "'", "_____SYSTEMALIAS");
result.string(targetId);
\ No newline at end of file
......@@ -53,6 +53,7 @@
<groupable v="true" />
<stateProcess>%aditoprj%/entity/DocumentTemplate_entity/entityfields/type/stateProcess.js</stateProcess>
<displayValueProcess>%aditoprj%/entity/DocumentTemplate_entity/entityfields/type/displayValueProcess.js</displayValueProcess>
<onValueChange>%aditoprj%/entity/DocumentTemplate_entity/entityfields/type/onValueChange.js</onValueChange>
</entityField>
<entityField>
<name>USER_EDIT</name>
......@@ -153,6 +154,7 @@
<state>INVISIBLE</state>
<stateProcess>%aditoprj%/entity/DocumentTemplate_entity/entityfields/textext/stateProcess.js</stateProcess>
<valueProcess>%aditoprj%/entity/DocumentTemplate_entity/entityfields/textext/valueProcess.js</valueProcess>
<displayValueProcess>%aditoprj%/entity/DocumentTemplate_entity/entityfields/textext/displayValueProcess.js</displayValueProcess>
</entityField>
<entityField>
<name>CLASSIFICATION</name>
......@@ -184,6 +186,7 @@
<fieldType>DEPENDENCY_IN</fieldType>
<targetContextField>TARGET_CONTEXT</targetContextField>
<targetIdField>DOCUMENTTEMPLATEID</targetIdField>
<targetConsumerProcess>%aditoprj%/entity/DocumentTemplate_entity/entityfields/attachments/targetConsumerProcess.js</targetConsumerProcess>
<titlePlural>Attachments</titlePlural>
<recordContainer>db</recordContainer>
<dependencies>
......
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