diff --git a/ReportImp/BundBBetreutesWohnen/BundBBetreutesWohnen.csproj b/ReportImp/BundBBetreutesWohnen/BundBBetreutesWohnen.csproj
index a0f51fbe5..95730eb32 100644
--- a/ReportImp/BundBBetreutesWohnen/BundBBetreutesWohnen.csproj
+++ b/ReportImp/BundBBetreutesWohnen/BundBBetreutesWohnen.csproj
@@ -119,6 +119,7 @@
Teamstundenkonto.cs
+
@@ -161,6 +162,10 @@
{40d8b312-ea64-49e3-a31a-5e57ed4d5654}
Report
+
+ {094331C3-ECEE-4C89-BBFD-4C9DED89F0EF}
+ Service
+
diff --git a/ReportImp/BundBBetreutesWohnen/Validation/ServiceRecordValidator.cs b/ReportImp/BundBBetreutesWohnen/Validation/ServiceRecordValidator.cs
new file mode 100644
index 000000000..7113829ce
--- /dev/null
+++ b/ReportImp/BundBBetreutesWohnen/Validation/ServiceRecordValidator.cs
@@ -0,0 +1,31 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using BeWo.Data.Entities;
+using BeWo.Service.DCEntityMapper;
+using BeWo.Service.Plugins;
+using BS.Shared;
+using BS.Shared.DataContracts;
+using BS.Shared.Extensions;
+
+namespace BundBBetreutesWohnen
+{
+ public class BetreuwoServiceRecordValidator : ServiceRecordValidator
+ {
+ public override List ValidateServiceRecord(ServiceRecordDC newServiceRecord, SupportConceptStatisticsDC statistics,
+ int maxDaysEditServiceRecordsAllowed, IList employeeOids, IList cb2scOids)
+ {
+ var result = base.ValidateServiceRecord(newServiceRecord, statistics, maxDaysEditServiceRecordsAllowed, employeeOids, cb2scOids);
+ foreach (var r in result)
+ {
+ if (r.ResultType == ServiceRecordValidationResult.Custom && r.Message.StartsWith("Die eingegebene Dauer des Fehlkontakts"))
+ {
+ r.Message = r.Message.Replace("Möchten Sie trotzdem speichern?", "").Trim();
+ r.Allow = false;
+ }
+ }
+
+ return result;
+ }
+ }
+}
\ No newline at end of file