diff --git a/entity/ClassificationScore_entity/ClassificationScore_entity.aod b/entity/ClassificationScore_entity/ClassificationScore_entity.aod index 1c02586388398a429888d2aafafbc255c1636208..232ce158d2be190ad372ff6b1bbcb748082d1e5c 100644 --- a/entity/ClassificationScore_entity/ClassificationScore_entity.aod +++ b/entity/ClassificationScore_entity/ClassificationScore_entity.aod @@ -19,6 +19,7 @@ <name>TITLE</name> <title>Title</title> <mandatory v="true" /> + <displayValueProcess>%aditoprj%/entity/ClassificationScore_entity/entityfields/title/displayValueProcess.js</displayValueProcess> </entityField> <entityField> <name>CLASSIFICATIONTYPE_ID</name> diff --git a/entity/ClassificationScore_entity/entityfields/title/displayValueProcess.js b/entity/ClassificationScore_entity/entityfields/title/displayValueProcess.js new file mode 100644 index 0000000000000000000000000000000000000000..e1dfc604642c72737f6d2d87ffd7567e79a73c3a --- /dev/null +++ b/entity/ClassificationScore_entity/entityfields/title/displayValueProcess.js @@ -0,0 +1,7 @@ +import("system.translate"); +import("system.neon"); +import("system.vars"); +import("system.result"); + +if (vars.get("$sys.recordstate") == neon.OPERATINGSTATE_VIEW) + result.string(translate.text(vars.get("$field.TITLE"))); \ No newline at end of file