Skip to content
Snippets Groups Projects
Commit 733f3752 authored by Andreas Schindlbeck's avatar Andreas Schindlbeck
Browse files

#1035775 Angebot various fixes

parent 8a79dca0
No related branches found
No related tags found
No related merge requests found
......@@ -52,6 +52,7 @@
<consumer>AnyContacts</consumer>
<linkedContextProcess>%aditoprj%/entity/Offer_entity/entityfields/contact_id/linkedContextProcess.js</linkedContextProcess>
<mandatory v="true" />
<stateProcess>%aditoprj%/entity/Offer_entity/entityfields/contact_id/stateProcess.js</stateProcess>
<valueProcess>%aditoprj%/entity/Offer_entity/entityfields/contact_id/valueProcess.js</valueProcess>
<displayValueProcess>%aditoprj%/entity/Offer_entity/entityfields/contact_id/displayValueProcess.js</displayValueProcess>
<onValueChange>%aditoprj%/entity/Offer_entity/entityfields/contact_id/onValueChange.js</onValueChange>
......@@ -332,6 +333,7 @@
<name>ChosenAddress</name>
<title>Choose address</title>
<possibleItemsProcess>%aditoprj%/entity/Offer_entity/entityfields/chosenaddress/possibleItemsProcess.js</possibleItemsProcess>
<stateProcess>%aditoprj%/entity/Offer_entity/entityfields/chosenaddress/stateProcess.js</stateProcess>
<onValueChange>%aditoprj%/entity/Offer_entity/entityfields/chosenaddress/onValueChange.js</onValueChange>
<onValueChangeTypes>
<element>MASK</element>
......@@ -444,6 +446,10 @@
<name>SalesprojectId_param</name>
<expose v="true" />
</entityParameter>
<entityParameter>
<name>OfferLanguage_param</name>
<expose v="true" />
</entityParameter>
</children>
</entityProvider>
<entityParameter>
......
import("system.vars");
import("system.result");
import("system.neon");
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_VIEW)
result.string(neon.COMPONENTSTATE_INVISIBLE);
\ No newline at end of file
import("system.result");
import("system.vars");
import("system.neon");
if(vars.get("$sys.recordstate") == neon.OPERATINGSTATE_EDIT)
result.string(neon.COMPONENTSTATE_READONLY);
\ No newline at end of file
......@@ -16,10 +16,6 @@
<editMode v="true" />
<entityField>#ENTITY</entityField>
<fields>
<entityFieldLink>
<name>839c51a5-f628-4feb-a267-967342e547ef</name>
<entityField>OfferCode_VersNr_fieldgroup</entityField>
</entityFieldLink>
<entityFieldLink>
<name>1b323e80-820d-402a-98d2-f3649ec8e91f</name>
<entityField>CONTACT_ID</entityField>
......
......@@ -57,6 +57,10 @@
<name>60b83daa-9349-4bef-94d8-5f1fc350da59</name>
<entityField>OFFERCODE</entityField>
</neonTableColumn>
<neonTableColumn>
<name>36b035da-4a57-413e-a5dc-c8974ca3855b</name>
<entityField>VERSNR</entityField>
</neonTableColumn>
<neonTableColumn>
<name>780087e7-ff3c-4592-90be-607357168295</name>
<entityField>CONTACT_ID</entityField>
......
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