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

[Projekt: xRM-Sales][TicketNr.: 2000628][Gebietsdefinition - Register Betreuer...

[Projekt: xRM-Sales][TicketNr.: 2000628][Gebietsdefinition - Register Betreuer - Button "Gültigkeit ändern" ist aktiv, wenn kein DS vorhanden]
parent 71f75e7f
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,7 @@
<entity xmlns="http://www.adito.de/2018/ao/Model" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" VERSION="1.3.21" xsi:schemaLocation="http://www.adito.de/2018/ao/Model adito://models/xsd/entity/1.3.21">
<name>DistrictChangeValidityDates_entity</name>
<majorModelMode>DISTRIBUTED</majorModelMode>
<onValidation>%aditoprj%/entity/DistrictChangeValidityDates_entity/onValidation.js</onValidation>
<recordContainer>jdito</recordContainer>
<entityFields>
<entityProvider>
......
......@@ -3,7 +3,7 @@ import("system.result");
var districtContactIds = vars.get("$param.DistrictContactIds_param");
if(districtContactIds && Array.isArray(districtContactIds))
if(districtContactIds)
{
result.string(JSON.parse(districtContactIds).length);
}
......
import("system.result");
import("system.vars");
var count = vars.get("$field.count");
if(count == 0)
{
result.string("No Datasets selected");
}
\ 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