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

[Projekt: Entwicklung - Neon][TicketNr.: 1030874][ Technische Doku - Review und Ergänzen]

PERS
parent aeae7fcf
No related branches found
No related tags found
No related merge requests found
......@@ -146,6 +146,7 @@
</entityIncomingField>
<entityField>
<name>PERS_ID</name>
<documentation>%aditoprj%/entity/Pers_entity/entityfields/pers_id/documentation.adoc</documentation>
<searchable v="false" />
<valueProcess>%aditoprj%/entity/Pers_entity/entityfields/pers_id/valueProcess.js</valueProcess>
</entityField>
......@@ -153,6 +154,7 @@
<name>ORG_ID</name>
<title>Firma</title>
<linkedContext>Org_context</linkedContext>
<mandatory v="true" />
<outgoingField>PersOrg_dfo</outgoingField>
<searchable v="false" />
<valueProcess>%aditoprj%/entity/Pers_entity/entityfields/org_id/valueProcess.js</valueProcess>
......
The main reason why this field is needed is that the `RELATION.PERS_ID` has to be set when a new record is inserted (to keep references correct).
\ No newline at end of file
import("system.vars");
import("system.result");
//this is needed to set the RELATION-value when a new record is inserted
result.string(vars.getString("$field.PERSID"));
\ 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