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

Offer: Offercode as one column in table

parent 3acb969f
No related branches found
No related tags found
No related merge requests found
......@@ -679,6 +679,12 @@
<searchable v="false" />
<valueProcess>%aditoprj%/entity/Offer_entity/entityfields/date_edit/valueProcess.js</valueProcess>
</entityField>
<entityField>
<name>FullOfferCode</name>
<title>Offer number</title>
<state>READONLY</state>
<valueProcess>%aditoprj%/entity/Offer_entity/entityfields/fulloffercode/valueProcess.js</valueProcess>
</entityField>
</entityFields>
<recordContainers>
<dbRecordContainer>
......
import("system.result");
import("system.vars");
//a filedGroup cannot be placed in a table (filter-view) at the moment and therefore a separate field is needed:
result.string(vars.get("$field.OFFERCODE") + "-" + vars.get("$field.VERSNR"));
import("system.result");
import("system.vars");
result.string(vars.get("$field.OFFERCODE") + "-" + vars.get("$field.VERSNR"));
result.string(vars.get("$field.FullOfferCode"));
......@@ -54,12 +54,8 @@
<entityField>#ENTITY</entityField>
<columns>
<neonTableColumn>
<name>60b83daa-9349-4bef-94d8-5f1fc350da59</name>
<entityField>OFFERCODE</entityField>
</neonTableColumn>
<neonTableColumn>
<name>36b035da-4a57-413e-a5dc-c8974ca3855b</name>
<entityField>VERSNR</entityField>
<name>4d40cee3-bcb1-4e67-8c1d-d5fc2e49cc11</name>
<entityField>FullOfferCode</entityField>
</neonTableColumn>
<neonTableColumn>
<name>780087e7-ff3c-4592-90be-607357168295</name>
......
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