Skip to content
Snippets Groups Projects
Commit 15d3f738 authored by Benjamin Ulrich's avatar Benjamin Ulrich :speech_balloon:
Browse files

Merge branch 'sales_pn_1080829_removedistrictformperson' into '2021.1'

[Projekt: xRM-Sales][TicketNr.: 1080829][Reiter Gebietsverantwortliche aus Kontaktperson entfernen]

See merge request xrm/basic!963
parents deea3156 9fec6a9a
No related branches found
No related tags found
No related merge requests found
......@@ -1002,22 +1002,6 @@
</entityParameter>
</children>
</entityConsumer>
<entityConsumer>
<name>DistrictResponsibles</name>
<state>INVISIBLE</state>
<stateProcess>%aditoprj%/entity/Person_entity/entityfields/districtresponsibles/stateProcess.js</stateProcess>
<dependency>
<name>dependency</name>
<entityName>DistrictResponsible_entity</entityName>
<fieldName>OrganisationResponsibles</fieldName>
</dependency>
<children>
<entityParameter>
<name>OrgUid_param</name>
<valueProcess>%aditoprj%/entity/Person_entity/entityfields/districtresponsibles/children/orguid_param/valueProcess.js</valueProcess>
</entityParameter>
</children>
</entityConsumer>
<entityProvider>
<name>ebdb88f5-f030-426c-b261-9f3828d19356</name>
</entityProvider>
......
import("system.result");
import("system.vars");
if (vars.exists("$field.ORGANISATION_CONTACTID") && vars.get("$field.ORGANISATION_CONTACTID"))
{
result.string(vars.get("$field.ORGANISATION_CONTACTID"));
}
\ No newline at end of file
import("Employee_lib");
import("system.result");
import("system.vars");
import("system.neon");
if (vars.get("$field.ORGANISATION_CONTACTID") && !EmployeeUtils.isUser(vars.get("$field.CONTACTID")))
{
result.string(neon.COMPONENTSTATE_EDITABLE);
}
\ No newline at end of file
......@@ -44,11 +44,6 @@
<entityField>#ENTITY</entityField>
<view>PersonAttribute_view</view>
</neonViewReference>
<neonViewReference>
<name>19a5f9ed-228d-4352-9e82-e7aa690648e9</name>
<entityField>DistrictResponsibles</entityField>
<view>DistrictResponsibleList_view</view>
</neonViewReference>
<neonViewReference>
<name>4b50b784-484f-4cdf-a705-4c356da763fa</name>
<entityField>Documents</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