diff --git a/BeWo/BeWo.csproj b/BeWo/BeWo.csproj index de1b24687..b297b3565 100644 --- a/BeWo/BeWo.csproj +++ b/BeWo/BeWo.csproj @@ -621,6 +621,7 @@ + @@ -670,6 +671,7 @@ + SbdAdminView.xaml @@ -2228,362 +2230,362 @@ False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly False - Include - True + Include + True Assembly diff --git a/BeWo/Converter/StringLengthVisibilityConverter.cs b/BeWo/Converter/StringLengthVisibilityConverter.cs new file mode 100644 index 000000000..1ce7632e7 --- /dev/null +++ b/BeWo/Converter/StringLengthVisibilityConverter.cs @@ -0,0 +1,22 @@ +using System; +using System.Globalization; +using System.Windows; +using System.Windows.Data; + +namespace BeWo.Converter +{ + public class StringLengthVisibilityConverter : IValueConverter + { + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + if(value == null || value.GetType() != typeof(string) || string.IsNullOrWhiteSpace(value.ToString())) + { + return Visibility.Collapsed; + } + + return Visibility.Visible; + } + + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) => throw new NotImplementedException(); + } +} diff --git a/BeWo/SchulbegleitenderDienst/Converter/SubstitutionBrushConverter.cs b/BeWo/SchulbegleitenderDienst/Converter/SubstitutionBrushConverter.cs new file mode 100644 index 000000000..05370f9c2 --- /dev/null +++ b/BeWo/SchulbegleitenderDienst/Converter/SubstitutionBrushConverter.cs @@ -0,0 +1,25 @@ +using System; +using System.Globalization; +using System.Windows; +using System.Windows.Data; +using System.Windows.Media; + +namespace BeWo.SchulbegleitenderDienst.Converter +{ + public class SubstitutionBrushConverter : IValueConverter + { + public object Convert(object value, Type targetType, object parameter, CultureInfo culture) + { + if(value != null) + { + var color = (Color) (ColorConverter.ConvertFromString(value.ToString()) ?? Color.FromArgb(0,0,0,0)); + + return new SolidColorBrush(color); + } + + return DependencyProperty.UnsetValue; + } + + public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) => throw new NotImplementedException(); + } +} diff --git a/BeWo/SchulbegleitenderDienst/TagesVertretung.cs b/BeWo/SchulbegleitenderDienst/TagesVertretung.cs index e47e3d652..14769a732 100644 --- a/BeWo/SchulbegleitenderDienst/TagesVertretung.cs +++ b/BeWo/SchulbegleitenderDienst/TagesVertretung.cs @@ -17,32 +17,46 @@ namespace BeWo.SchulbegleitenderDienst { var tagesansichtVM = new TagesansichtVM { - Absencetime = vertretungsItem.Absencetime, - VertretungsStatus = vertretungsItem.VertretungsStatus, - Employee = vertretungsItem.Employee, - Customer = vertretungsItem.Customer, - Schule = vertretungsItem.Schule, - Arbeitszeiten = vertretungsItem.Arbeitszeiten, - Bemerkung = vertretungsItem.Bemerkung, - Vertretung = vertretungsItem.Vertretung, - Datum = vertretungsItem.Datum, - Vertreter = vertretungsItem.Vertreter, - Krankheitsmeldung = vertretungsItem.Krankheitsmeldung, - Krankheitszeitraum = vertretungsItem.Krankheitszeitraum, - MitarbeiterStatusColor = vertretungsItem.MitarbeiterStatusColor, - KlientStatusColor = vertretungsItem.KlientStatusColor, - WochenansichtBemerkung = vertretungsItem.WochenansichtBemerkung, - Dringlichkeit = vertretungsItem.Dringlichkeit, - DringlichkeitColor = vertretungsItem.DringlichkeitColor, - Teamleitung = vertretungsItem.Teamleitung, - Pflege = vertretungsItem.Pflege, - Toilettengang = vertretungsItem.Toilettengang, - Aggressiv = vertretungsItem.Aggressiv, - Geschlecht = vertretungsItem.Geschlecht, - MitarbeiterEinsatzBei = vertretungsItem.MitarbeiterEinsatzBei + Absencetime = vertretungsItem.Absencetime, + VertretungsStatus = vertretungsItem.VertretungsStatus, + Employee = vertretungsItem.Employee, + Customer = vertretungsItem.Customer, + Schule = vertretungsItem.Schule, + Arbeitszeiten = vertretungsItem.Arbeitszeiten, + Bemerkung = vertretungsItem.Bemerkung, + Vertretung = vertretungsItem.Vertretung, + Datum = vertretungsItem.Datum, + Vertreter = vertretungsItem.Vertreter, + Krankheitsmeldung = vertretungsItem.Krankheitsmeldung, + Krankheitszeitraum = vertretungsItem.Krankheitszeitraum, + MitarbeiterStatusColor = vertretungsItem.MitarbeiterStatusColor, + KlientStatusColor = vertretungsItem.KlientStatusColor, + WochenansichtBemerkung = vertretungsItem.WochenansichtBemerkung, + Dringlichkeit = vertretungsItem.Dringlichkeit, + DringlichkeitColor = vertretungsItem.DringlichkeitColor, + Teamleitung = vertretungsItem.Teamleitung, + Pflege = vertretungsItem.Pflege, + Toilettengang = vertretungsItem.Toilettengang, + Aggressiv = vertretungsItem.Aggressiv, + Geschlecht = vertretungsItem.Geschlecht, + MitarbeiterEinsatzBei = vertretungsItem.MitarbeiterEinsatzBei, + CustomerContactInformation = vertretungsItem.CustomerContactInformation, + EmployeeContactInformation = vertretungsItem.EmployeeContactInformation, + Schools = vertretungsItem.Schools, + LastSubstitutions = vertretungsItem.LastSubstitutions, + CustomerPflege = vertretungsItem.CustomerPflege, + CustomerSchutzstufe = vertretungsItem.CustomerSchutzstufe, + CustomerHygienebelehrung = vertretungsItem.CustomerHygienebelehrung, + CustomerAggressivitaet = vertretungsItem.CustomerAggressivitaet, + CustomerToilettengang = vertretungsItem.CustomerToilettengang, + EmployeeAggressivitaet = vertretungsItem.EmployeeAggressivitaet, + EmployeeToilettengang = vertretungsItem.EmployeeToilettengang, + EmployeeSchutzstufe = vertretungsItem.EmployeeSchutzstufe, + EmployeeHygienebelehrung = vertretungsItem.EmployeeHygienebelehrung, + EmployeePflege = vertretungsItem.EmployeePflege }; - if (vertretungsItem.Arbeitszeiten != null) + if (vertretungsItem.Arbeitszeiten != null && vertretungsItem.Arbeitszeiten.Any()) { tagesansichtVM.AssistanceTimes = vertretungsItem.Arbeitszeiten.ToList(); } @@ -130,7 +144,7 @@ namespace BeWo.SchulbegleitenderDienst private void NewWindowKrankzeitraum_RaiseCustomEvent(object sender, KrankheitsEventArgs e) { - UpdateKrankheitsZeitraum(e.Start, e.Ende,e.TagesItem); + UpdateKrankheitsZeitraum(e.Start, e.Ende, e.TagesItem); _krankView.Close(); } @@ -147,63 +161,78 @@ namespace BeWo.SchulbegleitenderDienst public void UpdateRowData(TagesansichtVM viewModel) { - if(viewModel.StartDate == null || viewModel.EndDate == null) + try { - return; - } + if(viewModel?.StartDate == null || viewModel.EndDate == null) + { + return; + } - var abstime = new AbsenceTimeDC - { - AbsenceTimeOid = viewModel.Absencetime.AbsenceTimeOid, - Start = viewModel.StartDate, - End = viewModel.EndDate, - Reason = viewModel.Absencetime.Reason, - KrankheitsMeldung = viewModel.Absencetime.KrankheitsMeldung - }; + var absenceTime = new AbsenceTimeDC + { + AbsenceTimeOid = viewModel.Absencetime.AbsenceTimeOid, + Start = viewModel.StartDate, + End = viewModel.EndDate, + Reason = viewModel.Absencetime.Reason, + KrankheitsMeldung = viewModel.Absencetime.KrankheitsMeldung + }; - if (viewModel.Customer != null) - { - abstime.CustomerOid = viewModel.Customer.CustomerOid; - } + if (viewModel.Customer != null) + { + absenceTime.CustomerOid = viewModel.Customer.CustomerOid; + } - if (viewModel.Employee != null) - { - abstime.EmployeeOid = viewModel.Employee.EmployeeOid; - } + if (viewModel.Employee != null) + { + absenceTime.EmployeeOid = viewModel.Employee.EmployeeOid; + } - if (viewModel.Absencetime != null) - { - abstime.AbsenceTimeOid = viewModel.Absencetime.AbsenceTimeOid; - } + if (viewModel.Absencetime != null) + { + absenceTime.AbsenceTimeOid = viewModel.Absencetime.AbsenceTimeOid; + } - ServiceFacade.DoOperationsServiceSync(s => s.UpdateAbsenceTime(abstime)); + ServiceFacade.DoOperationsServiceSync(s => s.UpdateAbsenceTime(absenceTime)); - if (viewModel.Vertretung == null) - { - viewModel.Vertretung = new VertretungDC(); - } + if (viewModel.Vertretung == null) + { + viewModel.Vertretung = new VertretungDC(); + } - viewModel.Vertretung.VertretungsZeitraumVon = viewModel.StartDate.Value; - viewModel.Vertretung.VertretungsZeitraumBis = viewModel.EndDate.Value; - viewModel.Vertretung.Notice = viewModel.Bemerkung; + viewModel.Vertretung.VertretungsZeitraumVon = viewModel.StartDate.Value; + viewModel.Vertretung.VertretungsZeitraumBis = viewModel.EndDate.Value; + viewModel.Vertretung.Notice = viewModel.Bemerkung; - if (viewModel.Customer != null) - { - viewModel.Vertretung.CustomerOid = viewModel.Customer.CustomerOid; - } + if (viewModel.Customer != null) + { + viewModel.Vertretung.CustomerOid = viewModel.Customer.CustomerOid; + } - if (viewModel.Employee != null) - { - viewModel.Vertretung.EmployeeOid = viewModel.Employee.EmployeeOid; - } + if (viewModel.Employee != null) + { + viewModel.Vertretung.EmployeeOid = viewModel.Employee.EmployeeOid; + } - if (viewModel.Vertretung.VertretungOid.HasValue) - { - ServiceFacade.DoOperationsServiceSync(s => s.UpdateVertretung(viewModel.Vertretung)); + if (viewModel.Vertretung.VertretungOid.HasValue) + { + ServiceFacade.DoOperationsServiceSync(s => s.UpdateVertretung(viewModel.Vertretung)); + } + else + { + ServiceFacade.DoOperationsServiceSync(s => s.CreateVertretung(viewModel.Vertretung)); + } } - else + catch(Exception ex) { - ServiceFacade.DoOperationsServiceSync(s => s.CreateVertretung(viewModel.Vertretung)); + + } + } + + public void UpdateRows(List viewModels) + { + foreach(var viewModel in viewModels) + { + UpdateRowData(viewModel); } } } diff --git a/BeWo/SchulbegleitenderDienst/TagesansichtVM.cs b/BeWo/SchulbegleitenderDienst/TagesansichtVM.cs index f438835c8..b7373952d 100644 --- a/BeWo/SchulbegleitenderDienst/TagesansichtVM.cs +++ b/BeWo/SchulbegleitenderDienst/TagesansichtVM.cs @@ -1,56 +1,33 @@ using System; using System.Collections.Generic; using System.Linq; +using BeWo.SchulbegleitenderDienst.ViewModel; using BS.Shared; using BS.Shared.DataContracts; using BS.Shared.DataContracts.Compact; namespace BeWo.SchulbegleitenderDienst { - public class TagesansichtVM + public class TagesansichtVM : VertretungsansichtBaseVM { public DateTime Datum { get; set; } public IList Arbeitszeiten { get; set; } - public CompactEmployeeDC Employee { get; set; } - - public CompactCustomerDC Customer { get; set; } - public CompactOrganisationDC Schule { get; set; } public CompactEmployeeDC Vertreter { get; set; } public VertretungsStatus VertretungsStatus { get; set; } - public string EmployeeName => Employee?.ToString(); - - public string CustomerName => Customer?.ToString(); - public string WochenansichtBemerkung { get; set; } - public string Bemerkung { get; set; } - public string MitarbeiterStatusColor { get; set; } public string KlientStatusColor { get; set; } public string Krankheitszeitraum { get; set; } - public string Dringlichkeit { get; set; } - - public string DringlichkeitColor { get; set; } - - public string Teamleitung { get; set; } - - public string Geschlecht { get; set; } - - public string Pflege { get; set; } - - public string Toilettengang { get; set; } - - public string Aggressiv { get; set; } - public string MitarbeiterEinsatzBei { get; set; } public DateTime Krankheitsmeldung { get; set; } @@ -136,13 +113,27 @@ namespace BeWo.SchulbegleitenderDienst } } - public List AssistanceTimes { get; set; } + private List _AssistanceTimes; + + public List AssistanceTimes + { + get => _AssistanceTimes; + + set + { + if(_AssistanceTimes != value) + { + _AssistanceTimes = value; + FirePropertyChanged(nameof(AssistanceTimes)); + } + } + } public ArbeitszeitEintragDC FirstAssistanceTimeEntry { get { - if(AssistanceTimes != null && AssistanceTimes.Any()) + if (AssistanceTimes != null && AssistanceTimes.Any()) { return AssistanceTimes[0]; } @@ -150,5 +141,129 @@ namespace BeWo.SchulbegleitenderDienst return null; } } + + public new string SchulbegleitenderDienstString + { + get + { + var result = string.Empty; + + if(Absencetime != null) + { + if(VertretungsStatus == VertretungsStatus.KlientKrank || Vertretung?.VertretenderMitarbeiterOid != null || Customer.SubstitutionStartingDayCount > 0) + { + if(CustomerPflege?.Equals("Ja") ?? false) + { + result += "Benötigt Pflege"; + } + + if (CustomerToilettengang?.Equals("Ja") ?? false) + { + if(result.Length > 0) + { + result += ", "; + } + + result += "Toilettengang"; + } + + if (CustomerAggressivitaet?.Equals("Ja") ?? false) + { + if (result.Length > 0) + { + result += ", "; + } + + result += "Aggressivität"; + } + + if (CustomerHygienebelehrung?.Equals("Ja") ?? false) + { + if (result.Length > 0) + { + result += ", "; + } + + result += "Hygienebelehrung"; + } + + if (string.IsNullOrWhiteSpace(CustomerSchutzstufe) == false) + { + if (result.Length > 0) + { + result += ", "; + } + + result += $"Schutzstufe {CustomerSchutzstufe}"; + } + + // Vertretung gewünscht [ab x. Tag] + if (Customer.IsSubstitutionWanted) + { + if(result.Length > 0) + { + result += "\n"; + } + + result += "Vertretung gewünscht"; + + if(Customer.SubstitutionStartingDayCount > 0) + { + result += $" ab {Customer.SubstitutionStartingDayCount}. Tag"; + } + } + } + else + { + if (EmployeePflege?.Equals("Ja") ?? false) + { + result += "Benötigt Pflege"; + } + + if (EmployeeToilettengang?.Equals("Ja") ?? false) + { + if (result.Length > 0) + { + result += ", "; + } + + result += "Toilettengang"; + } + + if (EmployeeAggressivitaet?.Equals("Ja") ?? false) + { + if (result.Length > 0) + { + result += ", "; + } + + result += "Aggressivität"; + } + + if (EmployeeHygienebelehrung?.Equals("Ja") ?? false) + { + if (result.Length > 0) + { + result += ", "; + } + + result += "Hygienebelehrung"; + } + + if (string.IsNullOrWhiteSpace(EmployeeSchutzstufe) == false) + { + if (result.Length > 0) + { + result += ", "; + } + + result += $"Schutzstufe {EmployeeSchutzstufe}"; + } + } + } + + return result; + } + } } } diff --git a/BeWo/SchulbegleitenderDienst/VertretungsMainViewV2.xaml b/BeWo/SchulbegleitenderDienst/VertretungsMainViewV2.xaml index b7b4f3c7d..04a6a8a87 100644 --- a/BeWo/SchulbegleitenderDienst/VertretungsMainViewV2.xaml +++ b/BeWo/SchulbegleitenderDienst/VertretungsMainViewV2.xaml @@ -10,11 +10,42 @@ xmlns:search="clr-namespace:BeWo.View.Search" xmlns:markup="clr-namespace:BeWo.MultiLanguage.Markup" xmlns:localConv="clr-namespace:BeWo.SchulbegleitenderDienst.Converter" + xmlns:converter="clr-namespace:BeWo.Converter" + xmlns:sys="clr-namespace:System;assembly=mscorlib" + xmlns:dxp="http://schemas.devexpress.com/winfx/2008/xaml/printing" + xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars" + xmlns:dxpbars="http://schemas.devexpress.com/winfx/2008/xaml/printing/bars" Height="Auto" Width="Auto" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Focusable="True" x:Name="View"> - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -230,7 +261,7 @@ - + @@ -284,14 +315,14 @@ - + - + @@ -315,12 +346,14 @@ - - - + + + + + - + @@ -333,13 +366,49 @@ - + + + + + - + @@ -357,7 +426,13 @@ - + + + + + + + + + - + @@ -480,7 +586,7 @@ - + @@ -493,7 +599,38 @@ - + + + + + @@ -509,9 +646,16 @@ - + + + + + + + + @@ -533,13 +677,6 @@ - - - - - @@ -558,50 +695,15 @@ - - - - - - - - - - - - - - - - + + - + @@ -617,7 +719,7 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + - + @@ -679,7 +807,7 @@ + --> + - + @@ -872,7 +1036,7 @@ + + - + @@ -986,7 +1181,7 @@ + + @@ -1076,6 +1302,31 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/BeWo/SchulbegleitenderDienst/VertretungsMainViewV2.xaml.cs b/BeWo/SchulbegleitenderDienst/VertretungsMainViewV2.xaml.cs index c0984127b..11d5ef46a 100644 --- a/BeWo/SchulbegleitenderDienst/VertretungsMainViewV2.xaml.cs +++ b/BeWo/SchulbegleitenderDienst/VertretungsMainViewV2.xaml.cs @@ -1,5 +1,6 @@ using System; using System.Collections.Generic; +using System.Collections.ObjectModel; using System.Globalization; using System.Linq; using System.Windows; @@ -8,7 +9,6 @@ using System.Windows.Documents; using System.Windows.Navigation; using BeWo.Core; using BeWo.ServiceProxy; -using BeWo.View; using BeWo.ViewModel; using BS.Shared; using BS.Shared.Core; @@ -25,43 +25,41 @@ namespace BeWo.SchulbegleitenderDienst { public partial class VertretungsMainView2 { - private readonly List _AbwesendeMitarbeiter = new List(); - private readonly List _AbwesendeKlienten = new List(); - private readonly List _SubstitutionUnwanteDayViewList = new List(); + private readonly ObservableCollection _AbwesendeMitarbeiter = new ObservableCollection(); + private readonly ObservableCollection _AbwesendeKlienten = new ObservableCollection(); + private readonly ObservableCollection _SubstitutionUnwanteDayViewList = new ObservableCollection(); - private readonly List _ItemsWochenMitarbeiter = new List(); - private readonly List _ItemsWochenKlienten = new List(); - private readonly List _SubstitutionUnwantedWeekViewList = new List(); + private readonly ObservableCollection _ItemsWochenMitarbeiter = new ObservableCollection(); + private readonly ObservableCollection _ItemsWochenKlienten = new ObservableCollection(); + private readonly ObservableCollection _SubstitutionUnwantedWeekViewList = new ObservableCollection(); - private string _Mitarbeitervertretungswocheninfo = string.Empty; - - private string _DeleteSubstitutionWeek = string.Empty; - private readonly TagesVertretung _Tagesvertretung = new TagesVertretung(); private readonly WochenVertretung _Wochenvertretung = new WochenVertretung(); private bool IsInTagesansicht => ScrollViewerTagesansicht.Visibility == Visibility.Visible; + public ObservableCollection AbsentEmployeesDayViewList => _AbwesendeMitarbeiter; + public ObservableCollection AbsentCustomersDayViewList => _AbwesendeKlienten; + public ObservableCollection SubstitutionUnwantedDayViewList => _SubstitutionUnwanteDayViewList; + + public ObservableCollection AbsentEmployeesWeekViewList => _ItemsWochenMitarbeiter; + public ObservableCollection AbsentCustomersWeekViewList => _ItemsWochenKlienten; + public ObservableCollection SubstitutionUnwantedWeekViewList => _SubstitutionUnwantedWeekViewList; + public VertretungsMainView2() { InitializeComponent(); - ScrollViewerTagesansicht.Visibility = Visibility.Visible; + DataContext = this; + + ScrollViewerTagesansicht.Visibility = Visibility.Visible; WochenansichtsContainerGrid.Visibility = Visibility.Collapsed; - GridDataControlTagesansichtKlient.ItemsSource = _AbwesendeKlienten; - GridDataControlTagesansichtMitarbeiter.ItemsSource = _AbwesendeMitarbeiter; - SubstitutionUnwantedDayViewGridControl.ItemsSource = _SubstitutionUnwanteDayViewList; - - GridDataControlWochenansichtMitarbeiter.ItemsSource = _ItemsWochenMitarbeiter; - GridDataControlWochenansichtKlient.ItemsSource = _ItemsWochenKlienten; - SubstitutionUnwantedWeekViewGridControl.ItemsSource = _SubstitutionUnwantedWeekViewList; - SetDefaultDatePicker(DateTime.Now.Date); Datepicker.DateTime = DateTime.Now; Datelbl.Content = DateTime.Now.Date.ToString("dddd dd.MM.yyyy"); - SetAbwesenheiten(); + SetAbsenceReasons(); MVCheckBox.IsChecked = true; KVCheckBox.IsChecked = true; @@ -97,7 +95,19 @@ namespace BeWo.SchulbegleitenderDienst } else { - if(tagesansichtVM.Vertretung != null || tagesansichtVM.Customer?.SubstitutionStartingDayCount > 0) + var substitutionStartingDayCountCondition = false; + + if(tagesansichtVM.Customer != null) + { + var substitutionNeededDate = DateTime.Now.AddDays(-1 * tagesansichtVM.Customer.SubstitutionStartingDayCount); + + if(tagesansichtVM.Absencetime?.Start.HasValue ?? false) + { + substitutionStartingDayCountCondition = substitutionNeededDate < tagesansichtVM.Absencetime.Start; + } + } + + if(tagesansichtVM.Vertretung?.VertretenderMitarbeiterOid != null || substitutionStartingDayCountCondition) { _SubstitutionUnwanteDayViewList.AddIfNotIn(tagesansichtVM); } @@ -107,20 +117,11 @@ namespace BeWo.SchulbegleitenderDienst } } } - - GridDataControlTagesansichtMitarbeiter.RefreshData(); - GridDataControlTagesansichtMitarbeiter.RefreshUI(); - - GridDataControlTagesansichtKlient.RefreshData(); - GridDataControlTagesansichtKlient.RefreshUI(); - - SubstitutionUnwantedDayViewGridControl.RefreshData(); - SubstitutionUnwantedDayViewGridControl.RefreshUI(); }); }); } - private void LadeWochenansicht(DateTime startDatum, DateTime endDatum ) + private void LadeWochenansicht(DateTime startDatum, DateTime endDatum) { ServiceFacade.DoOperationsServiceAsync(s => s.GetVertretungsListeForTimeSpan(startDatum, endDatum), vertretungsItems => { @@ -147,7 +148,7 @@ namespace BeWo.SchulbegleitenderDienst var itemsMitarbeiter = _Wochenvertretung.GetWochenAnsichtFromItems(time, items.Where(i => i.VertretungsStatus != VertretungsStatus.KlientKrank).ToList()); var itemsKlienten = _Wochenvertretung.GetWochenAnsichtFromItems(time, items.Where(i => i.VertretungsStatus == VertretungsStatus.KlientKrank && i.Customer.IsSubstitutionWanted).ToList()); - var subsitutionUnwantedItems = _Wochenvertretung.GetWochenAnsichtFromItems(time, items.Where(i => i.VertretungsStatus == VertretungsStatus.KlientKrank && !i.Customer.IsSubstitutionWanted).ToList()); + var subsitutionUnwantedItems = _Wochenvertretung.GetWochenAnsichtFromItems(time, items.Where(i => i.VertretungsStatus == VertretungsStatus.KlientKrank && (!i.Customer.IsSubstitutionWanted || i.Vertretung?.EmployeeOid != null)).ToList()); foreach (var item in itemsMitarbeiter) { @@ -163,15 +164,6 @@ namespace BeWo.SchulbegleitenderDienst { _SubstitutionUnwantedWeekViewList.AddIfNotIn(item); } - - GridDataControlWochenansichtMitarbeiter.RefreshData(); - GridDataControlWochenansichtMitarbeiter.RefreshUI(); - - GridDataControlWochenansichtKlient.RefreshData(); - GridDataControlWochenansichtKlient.RefreshUI(); - - SubstitutionUnwantedWeekViewGridControl.RefreshData(); - SubstitutionUnwantedWeekViewGridControl.RefreshUI(); } private void MVDatepickerVon_OnEditValueChanged(object sender, EditValueChangedEventArgs e) @@ -354,12 +346,12 @@ namespace BeWo.SchulbegleitenderDienst { //MVDatepickerVon.DateTime = DateTime.Now; //MVDatepickerBis.DateTime = DateTime.Now; - popupedit_MitarbeiterVertretungSearch.Text = ""; + popupedit_MitarbeiterVertretungSearch.Text = string.Empty; ComboBoxMitarbeiterVertretung.SelectedIndex = -1; - MitarbeiterNotice.Text = ""; + MitarbeiterNotice.Text = string.Empty; - // MVDatepicker_UhrzeitVon.Text = ""; + // MVDatepicker_UhrzeitVon.Text = ""; //MVDatepicker_UhrzeitBis.Text = ""; } @@ -404,7 +396,8 @@ namespace BeWo.SchulbegleitenderDienst absenceTime.Notice = MitarbeiterNotice.Text; absenceTime.KrankheitsMeldung = KrankMeldungMitarbeiterDatepicker.DateTime.Date; - ServiceFacade.DoOperationsServiceAsync(s1 => s1.CheckForOverlappingSubstitutionEntries(absenceTime.Start.Value, absenceTime.End.Value, _CurrentEmployee.EmployeeOid, absenceTime.CustomerOid), isOverlapping => { + ServiceFacade.DoOperationsServiceAsync(s1 => s1.CheckForOverlappingAbsenceTimes(absenceTime.Start.Value, absenceTime.End.Value, _CurrentEmployee.EmployeeOid, absenceTime.CustomerOid), isOverlapping => + { this.Dispatch(() => { if (isOverlapping) @@ -428,8 +421,6 @@ namespace BeWo.SchulbegleitenderDienst }); }); } - - private void KlientVertretungsToggleButton_OnChecked(object sender, RoutedEventArgs e) { @@ -610,7 +601,8 @@ namespace BeWo.SchulbegleitenderDienst absenceTime.Notice = KlientNotice.Text; absenceTime.KrankheitsMeldung = KrankMeldungKlientDatepicker.DateTime.Date; - ServiceFacade.DoOperationsServiceAsync(s1 => s1.CheckForOverlappingSubstitutionEntries(absenceTime.Start.Value, absenceTime.End.Value, _CurrentEmployee?.EmployeeOid, _CurrentCustomer.CustomerOid), isOverlapping => { + ServiceFacade.DoOperationsServiceAsync(s1 => s1.CheckForOverlappingAbsenceTimes(absenceTime.Start.Value, absenceTime.End.Value, _CurrentEmployee?.EmployeeOid, _CurrentCustomer.CustomerOid), isOverlapping => + { this.Dispatch(() => { if (isOverlapping) @@ -648,25 +640,10 @@ namespace BeWo.SchulbegleitenderDienst { _Wochenvertretung.AddeNeueVertretungforWochenAnsicht((WochenansichtVM)GridDataControlWochenansichtMitarbeiter.SelectedItem, GridDataControlWochenansichtMitarbeiter.CurrentColumn.FieldName); - var x = Datepicker.DateTime.FirstDateOfWeek(Datepicker.DateTime.GetIso8601WeekOfYear()); - LadeWochenansicht(x, x.AddDays(5)); + var selectedDate = Datepicker.DateTime.FirstDateOfWeek(Datepicker.DateTime.GetIso8601WeekOfYear()); + LadeWochenansicht(selectedDate, selectedDate.AddDays(5)); } - - private void ButtonInfo_OnClick(object sender, RoutedEventArgs e) - { - //var a = (WochenansichtVM)GridDataControlKlientenWochenansicht2.SelectedItem; - //if (!a.IsMitarbeiterKrank) - //{ - // // bleibt noch offen - //} - //else - //{ - // MessageBox.Show("Du kannst einem kranken Klienten keine Mitarbeiter hinzufügen.","Info"); - //} - - } - private void TagesansichtSettings_OnDefaultButtonClick(object sender, RoutedEventArgs e) { var button = (Button) sender; @@ -677,375 +654,44 @@ namespace BeWo.SchulbegleitenderDienst } private void GridDataControlTagesansichtMitarbeiter_OnShowGridMenu(object sender, GridMenuEventArgs e) - { - var a = (TagesansichtVM) GridDataControlTagesansichtMitarbeiter.SelectedItem; + { + var barButtonItem = new BarButtonItem {Content = "Abwesenheit löschen"}; + barButtonItem.ItemClick += DeleteMitarbeiterKrankmeldung_OnClick; + e.Customizations.Add(barButtonItem); - if (e.MenuInfo.Column.FieldName.Equals("Kunde")) - { - var x = new BarButtonItem {Content = "Klient/in öffnen"}; - x.ItemClick += Kundeninfo_OnClick; - e.Customizations.Add(x); - } + var barButtonItem2 = new BarButtonItem {Content = "Steckbrief anzeigen"}; + barButtonItem2.ItemClick += ShowCharacteristics; + e.Customizations.Add(barButtonItem2); + } - if (e.MenuInfo.Column.FieldName == "KrankerMitarbeiter") - { - var x = new BarButtonItem {Content = "Mitarbeiter/in öffnen"}; - x.ItemClick += Mitarbeiterinfo_OnClick; - e.Customizations.Add(x); - } + private void ShowCharacteristics(object sender, RoutedEventArgs e) + { + var selectedItem = GridDataControlTagesansichtMitarbeiter.SelectedItem; - if (e.MenuInfo.Column.FieldName == "Vertretung") - { - var s = new BarButtonItem {Content = "Mitarbeiter/in öffnen"}; - s.ItemClick += MitarbeiterVertretunginfo_OnClick; - e.Customizations.Add(s); - } + if(selectedItem != null) + { + var selectedTagesansichtVM = (TagesansichtVM) selectedItem; - if (a.Vertretung != null) - { - var y = new BarButtonItem {Content = "Vertretung löschen"}; - y.ItemClick += DeletePerson_OnClick; - e.Customizations.Add(y); - } + var url = $"{BeWoApp.SiteOfOrigin}/ReportView.aspx?type={ReportTypes.SBDCharacteristics}&customerOid={selectedTagesansichtVM.Customer.CustomerOid}"; - var ys = new BarButtonItem() {Content = "Abwesenheit löschen"}; - ys.ItemClick += DeleteMitarbeiterKrankmeldung_OnClick; - e.Customizations.Add(ys); - } + var tempToken = string.Empty; + ServiceFacade.DoDownloadServiceSync(s => tempToken = s.CreateTemporaryToken(url, true)); + var addChar = (url.Contains("?")) ? "&" : "?"; + url = $"{url}{addChar}token={tempToken}"; + + url = BeWoWpfUtils.GetHTMLEncodedURL(url); + + BeWoUtils.NavigateToReportUri(url, "Steckbrief"); + } + } private void GridDataControlTagesansichtKlient_OnShowGridMenu(object sender, GridMenuEventArgs e) { - var a = (TagesansichtVM)GridDataControlTagesansichtKlient.SelectedItem; - - if (e.MenuInfo.Column.FieldName == "Kunde") - { - BarButtonItem x = new BarButtonItem() { Content = "Klient/in öffnen" }; - x.ItemClick += Kundeninfo_OnClick; - e.Customizations.Add(x); - } - - if (e.MenuInfo.Column.FieldName == "KrankerMitarbeiter") - { - BarButtonItem x = new BarButtonItem() { Content = "Mitarbeiter/in öffnen" }; - x.ItemClick += Mitarbeiterinfo_OnClick; - e.Customizations.Add(x); - } - - if (e.MenuInfo.Column.FieldName == "Vertretung") - { - BarButtonItem s = new BarButtonItem() { Content = "Mitarbeiter/in öffnen" }; - s.ItemClick += MitarbeiterVertretunginfo_OnClick; - e.Customizations.Add(s); - } - - //if (a.Vertretung != null) - //{ - // BarButtonItem y = new BarButtonItem() { Content = "Vertretung löschen" }; - // y.ItemClick += DeletePerson_OnClick; - // e.Customizations.Add(y); - //} - - BarButtonItem ys = new BarButtonItem() { Content = "Abwesenheit löschen" }; - ys.ItemClick += DeleteKlientKrankmeldung_OnClick; - e.Customizations.Add(ys); + var barButtonItem = new BarButtonItem {Content = "Abwesenheit löschen"}; + barButtonItem.ItemClick += DeleteKlientKrankmeldung_OnClick; + e.Customizations.Add(barButtonItem); } - private void GridMitarbeiterEinsatz_OnShowGridMenu(object sender, GridMenuEventArgs e) - { - - // ########### KontextMenue Wochenanzeige ######### - //BarButtonItem ys = new BarButtonItem() { Content = "Krankmeldung Löschen" }; // villeicht reaktivieren - //ys.ItemClick += DeleteKrankmeldung_OnClick; - //e.Customizations.Add(ys); - - if (e.MenuInfo.Column.FieldName == "Kunde") // FieldNames umbennenen - { - BarButtonItem x = new BarButtonItem() { Content = "Klient/in öffnen" }; - x.ItemClick += Kundeninfo_OnClick; // bearbeiten - e.Customizations.Add(x); - } - - if (e.MenuInfo.Column.FieldName == "MaKrank") - { - BarButtonItem x = new BarButtonItem() { Content = "Mitarbeiter/in öffnen" }; - x.ItemClick += Mitarbeiterinfo_OnClick; // eee - e.Customizations.Add(x); - } - - if (e.MenuInfo.Column.FieldName == "VertretungMo" || e.MenuInfo.Column.FieldName == "VertretungDi" || - e.MenuInfo.Column.FieldName == "VertretungMi" || e.MenuInfo.Column.FieldName == "VertretungDo" || - e.MenuInfo.Column.FieldName == "VertretungFr" || e.MenuInfo.Column.FieldName == "VertretungSa" || - e.MenuInfo.Column.FieldName == "VertretungSo") - { - BarButtonItem s = new BarButtonItem() { Content = "Mitarbeiter/in öffnen" }; - s.ItemClick += MitarbeiterVertretunginfoWochenanzeige_OnClick; - e.Customizations.Add(s); - _Mitarbeitervertretungswocheninfo = e.MenuInfo.Column.FieldName; - - BarButtonItem xs = new BarButtonItem() { Content = "Vertretung löschen" }; - xs.ItemClick += DeletVertretungForWochenanzeige_OnClick; - e.Customizations.Add(xs); - - _DeleteSubstitutionWeek = e.MenuInfo.Column.FieldName; - } - } - - private void GridDataControlWochenansichtMitarbeiter_OnShowGridMenu(object sender, GridMenuEventArgs e) - { - - //if (e.MenuInfo.Column.FieldName == "Kunde") // FieldNames umbennenen - //{ - // BarButtonItem x = new BarButtonItem() { Content = "Klient/in öffnen" }; - // x.ItemClick += Kundeninfo_OnClick; // bearbeiten - // e.Customizations.Add(x); - //} - - //if (e.MenuInfo.Column.FieldName == "MaKrank") - //{ - // BarButtonItem x = new BarButtonItem() { Content = "Mitarbeiter/in öffnen" }; - // x.ItemClick += Mitarbeiterinfo_OnClick; // eee - // e.Customizations.Add(x); - //} - - //if (e.MenuInfo.Column.FieldName == "VertretungMo" || e.MenuInfo.Column.FieldName == "VertretungDi" || - // e.MenuInfo.Column.FieldName == "VertretungMi" || e.MenuInfo.Column.FieldName == "VertretungDo" || - // e.MenuInfo.Column.FieldName == "VertretungFr" || e.MenuInfo.Column.FieldName == "VertretungSa" || - // e.MenuInfo.Column.FieldName == "VertretungSo") - //{ - // BarButtonItem s = new BarButtonItem() { Content = "Mitarbeiter/in öffnen" }; - // s.ItemClick += MitarbeiterVertretunginfoWochenanzeige_OnClick; - // e.Customizations.Add(s); - // _Mitarbeitervertretungswocheninfo = e.MenuInfo.Column.FieldName; - - // BarButtonItem xs = new BarButtonItem() { Content = "Vertretung löschen" }; - // xs.ItemClick += DeletVertretungForWochenanzeige_OnClick; - // e.Customizations.Add(xs); - - // _DeleteSubstitutionWeek = e.MenuInfo.Column.FieldName; - //} - } - - private void GridDataControlWochenansichtKlient_OnShowGridMenu(object sender, GridMenuEventArgs e) - { - - //if (e.MenuInfo.Column.FieldName == "Kunde") // FieldNames umbennenen - //{ - // BarButtonItem x = new BarButtonItem() { Content = "Klient/in öffnen" }; - // x.ItemClick += Kundeninfo_OnClick; // bearbeiten - // e.Customizations.Add(x); - //} - - //if (e.MenuInfo.Column.FieldName == "MaKrank") - //{ - // BarButtonItem x = new BarButtonItem() { Content = "Mitarbeiter/in öffnen" }; - // x.ItemClick += Mitarbeiterinfo_OnClick; // eee - // e.Customizations.Add(x); - //} - - //if (e.MenuInfo.Column.FieldName == "VertretungMo" || e.MenuInfo.Column.FieldName == "VertretungDi" || - // e.MenuInfo.Column.FieldName == "VertretungMi" || e.MenuInfo.Column.FieldName == "VertretungDo" || - // e.MenuInfo.Column.FieldName == "VertretungFr" || e.MenuInfo.Column.FieldName == "VertretungSa" || - // e.MenuInfo.Column.FieldName == "VertretungSo") - //{ - // BarButtonItem s = new BarButtonItem() { Content = "Mitarbeiter/in öffnen" }; - // s.ItemClick += MitarbeiterVertretunginfoWochenanzeige_OnClick; - // e.Customizations.Add(s); - // _Mitarbeitervertretungswocheninfo = e.MenuInfo.Column.FieldName; - - // BarButtonItem xs = new BarButtonItem() { Content = "Vertretung löschen" }; - // xs.ItemClick += DeletVertretungForWochenanzeige_OnClick; - // e.Customizations.Add(xs); - - // _DeleteSubstitutionWeek = e.MenuInfo.Column.FieldName; - //} - } - - private void Kundeninfo_OnClick(object sender, RoutedEventArgs e) - { - var vm = (TagesansichtVM)GridDataControlTagesansichtMitarbeiter.SelectedItem; - - if (vm.Customer != null) - { - List customerOidList = new List(); - - customerOidList.Add(vm.Customer.CustomerOid); - - var sgf = ServiceFacade.DoCustomerServiceSync(s => s.GetCompactCustomersById(customerOidList)); - var selectedCustomer = sgf[0]; - - VMFactory.CreateCustomerVMAsync(selectedCustomer.CustomerOid, - cb => this.Dispatch( - () => - BeWoUtils.OpenModalViewWindow(cb, null, () => this.Dispatch( - delegate - { - var updatedCustomer = new CompactCustomerDC(); - - ServiceFacade.DoCustomerServiceSync(s => - updatedCustomer = s.GetCompactCustomerDC(selectedCustomer.CustomerOid)); - - selectedCustomer = updatedCustomer; - // UpdateControls(); - // customerText.Text = updatedCustomer.ToString(); - - BeWoUtils.UpdateAllViews(selectedCustomer); - })) - )); - - } - } - - private void Mitarbeiterinfo_OnClick(object sender, RoutedEventArgs e) - { - var a = (TagesansichtVM)GridDataControlTagesansichtMitarbeiter.SelectedItem; - - if (a.Employee != null) - { - var sgf = ServiceFacade.DoEmployeeServiceSync(s => - s.GetActiveCompactEmployeeWithOid(a.Employee.EmployeeOid)); - var selectedEmployee = sgf; - - VMFactory.CreateEmployeeVMAsync(selectedEmployee.EmployeeOid, - cb => this.Dispatch( - () => - BeWoUtils.OpenModalViewWindow(cb, null, - () => this.Dispatch( - delegate - { - var updatedEmployee = new CompactEmployeeDC(); - - ServiceFacade.DoEmployeeServiceSync( - s => - updatedEmployee = - s.GetActiveCompactEmployeeWithOid(selectedEmployee - .EmployeeOid)); - selectedEmployee = new CompactEmployeeDC(); - selectedEmployee = updatedEmployee; - // UpdateControls(); - // customerText.Text = updatedCustomer.ToString(); - - BeWoUtils.UpdateAllViews(selectedEmployee); - })) - )); - } - - - } - - private void MitarbeiterVertretunginfo_OnClick(object sender, RoutedEventArgs e) - { - var a = (TagesansichtVM)GridDataControlTagesansichtMitarbeiter.SelectedItem; - - if (a.Vertretung != null) - { - if (!a.Vertretung.Equals("")) - { - long? employeeOid = null; - - if (a.Vertretung != null) - { - employeeOid = a.Vertretung.VertretenderMitarbeiterOid; - } - - if (employeeOid.HasValue) - { - var sgf = ServiceFacade.DoEmployeeServiceSync(s => s.GetActiveCompactEmployeeWithOid(employeeOid.Value)); - var selectedEmployee = sgf; - - VMFactory.CreateEmployeeVMAsync(selectedEmployee.EmployeeOid, - cb => this.Dispatch( - () => - BeWoUtils.OpenModalViewWindow(cb, null, - () => this.Dispatch( - delegate - { - var updatedEmployee = new CompactEmployeeDC(); - - ServiceFacade.DoEmployeeServiceSync( - s => - updatedEmployee = - s.GetActiveCompactEmployeeWithOid(selectedEmployee - .EmployeeOid)); - selectedEmployee = new CompactEmployeeDC(); - selectedEmployee = updatedEmployee; - // UpdateControls(); - // customerText.Text = updatedCustomer.ToString(); - - BeWoUtils.UpdateAllViews(selectedEmployee); - })) - )); - } - } - else - { - MessageBox.Show("Es wurde der Vertretung kein Mitarbeiter zugeteilt"); - } - - } - else - { - MessageBox.Show("Es wurde der Vertretung kein Mitarbeiter zugeteilt"); - } - } - - private void MitarbeiterVertretunginfoWochenanzeige_OnClick(object sender, RoutedEventArgs e) - { - var x = (WochenansichtVM)GridDataControlWochenansichtMitarbeiter.SelectedItem; - - foreach (var wochentag in x.VertretungsWoche) - { - if (wochentag.Key.Equals(_Mitarbeitervertretungswocheninfo)) - { - _Mitarbeitervertretungswocheninfo = string.Empty; - foreach (var item in wochentag.Value) - { - if (item.Value.Vertreter != null) - { - var sgf = ServiceFacade.DoEmployeeServiceSync(s => s.GetActiveCompactEmployeeWithOid(item.Value.Vertreter.EmployeeOid)); - var selectedEmployee = sgf; - - VMFactory.CreateEmployeeVMAsync(selectedEmployee.EmployeeOid, - cb => this.Dispatch( - () => - BeWoUtils.OpenModalViewWindow(cb, null, - () => this.Dispatch( - delegate - { - var updatedEmployee = new CompactEmployeeDC(); - - ServiceFacade.DoEmployeeServiceSync( - s => - updatedEmployee = - s.GetActiveCompactEmployeeWithOid(selectedEmployee.EmployeeOid)); - selectedEmployee = new CompactEmployeeDC(); - selectedEmployee = updatedEmployee; - // UpdateControls(); - // customerText.Text = updatedCustomer.ToString(); - - BeWoUtils.UpdateAllViews(selectedEmployee); - })) - )); - } - else - { - MessageBox.Show("Es wurde der Vertretung kein Mitarbeiter zugeteilt"); - } - } - } - } - } - - private void DeletVertretungForWochenanzeige_OnClick(object sender, RoutedEventArgs e) - { - if (MessageBox.Show("Möchten Sie die Vertretung wirklich löschen?", "Vertretung löschen", MessageBoxButton.YesNo, MessageBoxImage.Question) == MessageBoxResult.Yes) - { - _Wochenvertretung.DeletVertretendenMitarbeiter((WochenansichtVM) GridDataControlWochenansichtMitarbeiter.SelectedItem, _DeleteSubstitutionWeek); - - var x = Datepicker.DateTime.FirstDateOfWeek(Datepicker.DateTime.GetIso8601WeekOfYear()); - LadeWochenansicht(x,x.AddDays(5)); - } - } - private void DeleteMitarbeiterKrankmeldung_OnClick(object sender, RoutedEventArgs e) { if (MessageBox.Show("Möchten Sie die Abwesenheit wirklich löschen?", "Abwesenheit löschen", MessageBoxButton.YesNo, MessageBoxImage.Question) == MessageBoxResult.Yes) @@ -1066,28 +712,25 @@ namespace BeWo.SchulbegleitenderDienst } } - private void DeletePerson_OnClick(object sender, RoutedEventArgs e) - { - if (MessageBox.Show("Möchten Sie die Vertretung wirklich löschen?", "Vertretung löschen", MessageBoxButton.YesNo, MessageBoxImage.Question) == MessageBoxResult.Yes) - { - _Tagesvertretung.DeleteVertretung((TagesansichtVM)GridDataControlTagesansichtMitarbeiter.SelectedItem); - - LadeTagesansicht(Datepicker.DateTime.Date); - } - } - private void KrankmeldungsZeitraumBearbeitungsView(object sender, RoutedEventArgs e) { _Tagesvertretung.KrankMeldeZeitraumBearbeiten((TagesansichtVM)GridDataControlTagesansichtMitarbeiter.SelectedItem); - LadeTagesansicht(Datepicker.DateTime.Date); + LadeTagesansicht(Datepicker.DateTime); } - private void GridViewBase_OnRowUpdated(object sender, RowEventArgs e) + private void AbsentCustomersDayViewGridControl_OnCellValueChanged(object sender, RowEventArgs e) + { + _Tagesvertretung.UpdateRowData((TagesansichtVM) GridDataControlTagesansichtKlient.SelectedItem); + + LadeTagesansicht(Datepicker.DateTime); + } + + private void AbsentEmployeesDayViewGridControl_OnCellValueChanged(object sender, RowEventArgs e) { _Tagesvertretung.UpdateRowData((TagesansichtVM) GridDataControlTagesansichtMitarbeiter.SelectedItem); - LadeTagesansicht(Datepicker.DateTime.Date); + LadeTagesansicht(Datepicker.DateTime); } private void ButtonWorkWeekView_Click(object sender, RoutedEventArgs e) @@ -1264,14 +907,18 @@ namespace BeWo.SchulbegleitenderDienst } } - private void SetAbwesenheiten() + private void SetAbsenceReasons() { - var abwesenheiten = ServiceFacade.DoCustomerServiceSync(s => s.GetAllAbsenceReasons()); + ServiceFacade.DoCustomerServiceAsync(s => s.GetAllAbsenceReasons(), absenceReasons => + { + this.Dispatch(() => + { + ComboBoxKlientVertretung.ItemsSource = absenceReasons; + ComboBoxMitarbeiterVertretung.ItemsSource = absenceReasons; - ComboBoxKlientVertretung.ItemsSource = abwesenheiten; - ComboBoxMitarbeiterVertretung.ItemsSource = abwesenheiten; - - AbwesenheitsKategorieComboBox.ItemsSource = abwesenheiten; + AbwesenheitsKategorieComboBox.ItemsSource = absenceReasons; + }); + }); } private void SetDefaultDatePicker(DateTime dt) @@ -1365,9 +1012,52 @@ namespace BeWo.SchulbegleitenderDienst } } - private static void ReloadAfterEdit() + private void ReloadAfterEdit() { - // TODO: Wird aufgerufen, wenn man einen Klienten oder Mitarbeiter bearbeitet hat und der EmployeeView oder CustomerView geschlossen wird. Das entsprechende Objekt muss neugeladen werden. + if (IsInTagesansicht) + { + LadeTagesansicht(Datepicker.DateTime); + } + else + { + var selectedDate = Datepicker.DateTime.FirstDateOfWeek(Datepicker.DateTime.GetIso8601WeekOfYear()); + LadeWochenansicht(selectedDate, selectedDate.AddDays(5)); + } + } + + private void GridControlTagesansichtNoSubstitutionWanted_OnShowGridMenu(object sender, GridMenuEventArgs e) + { + var barButtonItem = new BarButtonItem {Content = "Abwesenheit löschen", Tag = e.Source.DataControl.SelectedItem}; + barButtonItem.ItemClick += DeleteCustomerAbsenceTime_OnClick; + + e.Customizations.Add(barButtonItem); + } + + private void DeleteCustomerAbsenceTime_OnClick(object sender, RoutedEventArgs e) + { + var barButtonItem = (BarButtonItem) sender; + var selectedTagesansichtVM = (TagesansichtVM) barButtonItem.Tag; + + _Tagesvertretung.DeleteKrankmeldung(selectedTagesansichtVM); + + LadeTagesansicht(Datepicker.DateTime); + } + + private void GridControlSubUnwanted_OnCellValueChanged(object sender, CellValueChangedEventArgs e) + { + _Tagesvertretung.UpdateRowData((TagesansichtVM) SubstitutionUnwantedDayViewGridControl.SelectedItem); + + LadeTagesansicht(Datepicker.DateTime); + } + + private void AbsentEmployeesWeekViewDataGrid_OnCellValueChanged(object sender, CellValueChangedEventArgs e) + { + var selectedWeekView = (WochenansichtVM) GridDataControlWochenansichtMitarbeiter.SelectedItem; + + //_Tagesvertretung.UpdateRows(selectedWeekView.GetTagesansichtViewModels()); + + var x = Datepicker.DateTime.FirstDateOfWeek(Datepicker.DateTime.GetIso8601WeekOfYear()); + LadeWochenansicht(x, x.AddDays(5)); } } } diff --git a/BeWo/SchulbegleitenderDienst/ViewModel/VertretungsansichtBaseVM.cs b/BeWo/SchulbegleitenderDienst/ViewModel/VertretungsansichtBaseVM.cs new file mode 100644 index 000000000..fe4d02aa8 --- /dev/null +++ b/BeWo/SchulbegleitenderDienst/ViewModel/VertretungsansichtBaseVM.cs @@ -0,0 +1,194 @@ +using System.Collections.Generic; +using BeWo.ViewModel; +using BS.Shared; +using BS.Shared.DataContracts; +using BS.Shared.DataContracts.Compact; + +namespace BeWo.SchulbegleitenderDienst.ViewModel +{ + public class VertretungsansichtBaseVM : AbstractBaseVM + { + public CompactEmployeeDC Employee { get;set; } + + public CompactCustomerDC Customer { get; set; } + + public string EmployeeName => Employee?.ToString(); + + public string CustomerName => Customer?.ToString(); + + public string Dringlichkeit { get; set; } + + public string DringlichkeitColor { get; set; } + + public string Teamleitung { get; set; } + + public string Geschlecht { get; set; } + + public string Pflege { get; set; } + + public string Toilettengang { get; set; } + + public string Aggressiv { get; set; } + + private string _Notice; + public string Bemerkung + { + get => _Notice; + set + { + if (!Equals(_Notice, value)) + { + _Notice = value; + FirePropertyChanged(nameof(Bemerkung)); + } + } + } + + public List CustomerContactInformation { get; set; } + + public string CustomerContactInformationString + { + get + { + if (CustomerContactInformation == null || CustomerContactInformation.Count == 0) + { + return null; + } + + return GetContactInformationString(CustomerContactInformation); + } + } + + public List EmployeeContactInformation { get; set; } + + public string EmployeeContactInformationString + { + get + { + if (EmployeeContactInformation == null || EmployeeContactInformation.Count == 0) + { + return null; + } + + return GetContactInformationString(EmployeeContactInformation); + } + } + + private static string GetContactInformationString(IReadOnlyCollection contactList) + { + if (contactList == null || contactList.Count == 0) + { + return null; + } + + var result = string.Empty; + foreach (var item in contactList) + { + if (result.Length > 0) + { + result += "\n"; + } + + var typeAsString = string.Empty; + switch (item.ContactType) + { + case ContactType.business_Mail: + typeAsString = "E-Mail: "; + break; + case ContactType.business_Fax: + typeAsString = "Fax: "; + break; + case ContactType.business_Phone: + typeAsString = "Tel.: "; + break; + case ContactType.business_MobilePhone: + typeAsString = "Handynr.: "; + break; + } + + result += typeAsString + item.ContactValue; + } + + return result; + } + + public string SchoolString + { + get + { + if (Schools == null || Schools.Count == 0) + { + return null; + } + + var result = string.Empty; + + foreach (var item in Schools) + { + if (result.Length > 0) + { + result += ", "; + } + + result += item.Organisation.Name; + } + + return result; + } + } + + public List LastSubstitutions { get; set; } + + public string LastSubstitutionsString + { + get + { + if (LastSubstitutions == null || LastSubstitutions.Count == 0) + { + return null; + } + + var result = string.Empty; + + foreach (var item in LastSubstitutions) + { + if (result.Length > 0) + { + result += "\n"; + } + + var start = item.VertretungsZeitraumVon.Minute == 0 && item.VertretungsZeitraumVon.Hour == 0 ? item.VertretungsZeitraumVon.ToString("dd.MM.yyyy") : item.VertretungsZeitraumVon.ToString("dd.MM.yyyy HH:mm"); + var end = item.VertretungsZeitraumBis.Minute == 0 && item.VertretungsZeitraumBis.Hour == 0 ? item.VertretungsZeitraumBis.ToString("dd.MM.yyyy") : item.VertretungsZeitraumBis.ToString("dd.MM.yyyy HH:mm"); + + result += $"{start} - {end}"; + } + + return result; + } + } + + public string SchulbegleitenderDienstString; + + public List Schools { get; set; } + + public string CustomerPflege { get; set; } + + public string EmployeePflege { get; set; } + + public string CustomerToilettengang { get; set; } + + public string EmployeeToilettengang { get; set; } + + public string CustomerAggressivitaet { get; set; } + + public string EmployeeAggressivitaet { get; set; } + + public string CustomerHygienebelehrung { get; set; } + + public string EmployeeHygienebelehrung { get; set; } + + public string CustomerSchutzstufe { get; set; } + + public string EmployeeSchutzstufe { get; set; } + } +} diff --git a/BeWo/SchulbegleitenderDienst/WochenVertretung.cs b/BeWo/SchulbegleitenderDienst/WochenVertretung.cs index 324bd7765..ccae3b5a7 100644 --- a/BeWo/SchulbegleitenderDienst/WochenVertretung.cs +++ b/BeWo/SchulbegleitenderDienst/WochenVertretung.cs @@ -1,47 +1,40 @@ using System; using System.Collections.Generic; using System.Linq; -using System.Text; -using System.Threading.Tasks; -using System.Windows; using BeWo.ServiceProxy; using BS.Shared; using BS.Shared.DataContracts; using BS.Shared.DataContracts.Compact; using BS.Shared.Extensions; -using DevExpress.Xpf.Grid; namespace BeWo.SchulbegleitenderDienst { - class WochenVertretung + internal class WochenVertretung { - public List GetWochenAnsichtFromItems(DateTime time, List _items) { - List _itemsWochen = new List(); - + var _itemsWochen = new List(); - DateTime startdt = time.FirstDateOfWeek(time.GetIso8601WeekOfYear()); + var startdt = time.FirstDateOfWeek(time.GetIso8601WeekOfYear()); - Dictionary key2WochenAnsicht = new Dictionary(); + var key2WochenAnsicht = new Dictionary(); foreach (var item in _items) { - String key = String.Format("{0}_{1}_{2}", item.Absencetime.AbsenceTimeOid, - item.Customer != null ? item.Customer.CustomerOid : 0, - item.Employee != null ? item.Employee.EmployeeOid : 0); + var key = $"{item.Absencetime.AbsenceTimeOid}_{item.Customer?.CustomerOid ?? 0}_{item.Employee?.EmployeeOid ?? 0}"; - WochenansichtVM wochenansicht = null; + WochenansichtVM wochenansicht; if (!key2WochenAnsicht.ContainsKey(key)) { - wochenansicht = new WochenansichtVM(); - wochenansicht.VertretungsWoche = new Dictionary>(); - wochenansicht.KlientvertretungsWoche = - new Dictionary>(); - wochenansicht.WochenBeschreibung = item.WochenansichtBemerkung; + wochenansicht = new WochenansichtVM + { + VertretungsWoche = new Dictionary>(), + KlientvertretungsWoche = new Dictionary>(), + WochenBeschreibung = item.WochenansichtBemerkung, + Customer = item.Customer, + Employee = item.Employee + }; - wochenansicht.Customer = item.Customer; - wochenansicht.Employee = item.Employee; - if (String.IsNullOrEmpty(wochenansicht.Dringlichkeit)) + if (string.IsNullOrEmpty(wochenansicht.Dringlichkeit)) { wochenansicht.Dringlichkeit = item.Dringlichkeit; wochenansicht.DringlichkeitColor = item.DringlichkeitColor; @@ -56,22 +49,18 @@ namespace BeWo.SchulbegleitenderDienst key2WochenAnsicht.Add(key, wochenansicht); _itemsWochen.Add(wochenansicht); - - } else { wochenansicht = key2WochenAnsicht[key]; } - DateTime montagDt = startdt.Date; - DateTime dienstagDt = startdt.Date.AddDays(1); - DateTime mittwochDt = startdt.Date.AddDays(2); - DateTime donnerstagDt = startdt.Date.AddDays(3); - DateTime freitagDt = startdt.Date.AddDays(4); - DateTime samstagDt = startdt.Date.AddDays(5); - - + var montagDt = startdt.Date; + var dienstagDt = startdt.Date.AddDays(1); + var mittwochDt = startdt.Date.AddDays(2); + var donnerstagDt = startdt.Date.AddDays(3); + var freitagDt = startdt.Date.AddDays(4); + var samstagDt = startdt.Date.AddDays(5); // Montag | 0 WochentagVerarbeitung(montagDt, item, wochenansicht); @@ -96,9 +85,8 @@ namespace BeWo.SchulbegleitenderDienst return _itemsWochen; } - private void WochentagVerarbeitung(DateTime wochentagDt, TagesansichtVM item, WochenansichtVM wwk) + private static void WochentagVerarbeitung(DateTime wochentagDt, TagesansichtVM item, WochenansichtVM wwk) { - if (wochentagDt == item.Datum) { switch (wochentagDt.DayOfWeek) @@ -121,13 +109,8 @@ namespace BeWo.SchulbegleitenderDienst case DayOfWeek.Saturday: wwk.ItemSa = item; break; - } - - } - - } private string AddWeekView(DateTime dayOfWeekDateTime, Dictionary wochentagsarbeitszeit) @@ -143,7 +126,7 @@ namespace BeWo.SchulbegleitenderDienst } } - return ""; + return string.Empty; } public void AddeNeueVertretungforWochenAnsicht(WochenansichtVM wochenVm, string tag) @@ -176,7 +159,7 @@ namespace BeWo.SchulbegleitenderDienst } if (tagesVm != null) - { + { var view = new VertretungsSearchView(tagesVm.Datum, tagesVm.Customer, tagesVm, wochenVm, wochenVm.Employee); view.RaiseCustomEvent += KlientenWochen_RaiseCustomEvent; @@ -187,7 +170,6 @@ namespace BeWo.SchulbegleitenderDienst public void KlientenWochen_RaiseCustomEvent(object sender, VertretungSelectedEventArgs e) { UpdateMitarbeiterToVertretungKlientenWochenansicht(e.Employee, e.VertretungVon, e.VertretungBis, e.TagesItem, e.WochenItem); - } private static void UpdateMitarbeiterToVertretungKlientenWochenansicht(CompactEmployeeDC employee, DateTime? startDate, DateTime? endDate, TagesansichtVM tagesItem, WochenansichtVM wochenItem) diff --git a/BeWo/SchulbegleitenderDienst/WochenansichtVM.cs b/BeWo/SchulbegleitenderDienst/WochenansichtVM.cs index bf6330cc1..d77f0b52a 100644 --- a/BeWo/SchulbegleitenderDienst/WochenansichtVM.cs +++ b/BeWo/SchulbegleitenderDienst/WochenansichtVM.cs @@ -1,33 +1,11 @@ using System; using System.Collections.Generic; -using BS.Shared.DataContracts.Compact; +using BeWo.SchulbegleitenderDienst.ViewModel; namespace BeWo.SchulbegleitenderDienst { - public class WochenansichtVM + public class WochenansichtVM : VertretungsansichtBaseVM { - public CompactEmployeeDC Employee { get; set; } - - public CompactCustomerDC Customer { get; set; } - - public string EmployeeName => Employee?.ToString(); - - public string CustomerName => Customer?.ToString(); - - public string Dringlichkeit { get; set; } - - public string DringlichkeitColor { get; set; } - - public string Teamleitung { get; set; } - - public string Geschlecht { get; set; } - - public string Pflege { get; set; } - - public string Toilettengang { get; set; } - - public string Aggressiv { get; set; } - public TagesansichtVM ItemMo { get; set; } public TagesansichtVM ItemDi { get; set; } public TagesansichtVM ItemMi { get; set; } @@ -35,55 +13,10 @@ namespace BeWo.SchulbegleitenderDienst public TagesansichtVM ItemFr { get; set; } public TagesansichtVM ItemSa { get; set; } - //public CompactEmployeeDC VertreterDi { get; set; } - //public CompactEmployeeDC VertreterMi { get; set; } - //public CompactEmployeeDC VertreterDo { get; set; } - //public CompactEmployeeDC VertreterFr { get; set; } - //public CompactEmployeeDC VertreterSa { get; set; } - - //public CompactEmployeeDC VertreterMo { get; set; } - //public CompactEmployeeDC VertreterDi { get; set; } - //public CompactEmployeeDC VertreterMi { get; set; } - //public CompactEmployeeDC VertreterDo { get; set; } - //public CompactEmployeeDC VertreterFr { get; set; } - //public CompactEmployeeDC VertreterSa { get; set; } - - - public string Bemerkung { get; set; } - public string WochenBeschreibung { get; set; } - //public String VertretungStatusColorMo { get; set; } - //public String VertretungStatusColorDi { get; set; } - //public String VertretungStatusColorMi { get; set; } - //public String VertretungStatusColorDo { get; set; } - //public String VertretungStatusColorFr { get; set; } - //public String VertretungStatusColorSa { get; set; } - - //public string Mo { get; set; } - //public string Di { get; set; } - //public string Mi { get; set; } - //public string Do { get; set; } - //public string Fr { get; set; } - //public string Sa { get; set; } - //public string So { get; set; } - - //KlientenView public Dictionary> VertretungsWoche { get; set; } - ////Fürs WPF Employee Wochenanzeige - //public string EingesetztBeiMo { get; set; } - //public string EingesetztBeiDi { get; set; } - //public string EingesetztBeiMi { get; set; } - //public string EingesetztBeiDo { get; set; } - //public string EingesetztBeiFr { get; set; } - //public string EingesetztBeiSa { get; set; } - - //MitarbeiterView public Dictionary> KlientvertretungsWoche { get; set; } - - - - } } diff --git a/BeWo/ServiceProxy/Generated.cs b/BeWo/ServiceProxy/Generated.cs index 36c789643..2804c417d 100644 --- a/BeWo/ServiceProxy/Generated.cs +++ b/BeWo/ServiceProxy/Generated.cs @@ -1,10 +1,10 @@ //------------------------------------------------------------------------------ // -// Dieser Code wurde von einem Tool generiert. -// Laufzeitversion:4.0.30319.42000 +// This code was generated by a tool. +// Runtime Version:4.0.30319.42000 // -// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn -// der Code erneut generiert wird. +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. // //------------------------------------------------------------------------------ @@ -166,97 +166,6 @@ namespace BeWo.ServiceProxy public interface IEmployeeService { - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetAllOvertimes", ReplyAction="http://tempuri.org/IEmployeeService/GetAllOvertimesResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetAllOvertimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllOvertimes(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/DeleteOvertimes", ReplyAction="http://tempuri.org/IEmployeeService/DeleteOvertimesResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/DeleteOvertimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeleteOvertimes(System.Collections.Generic.Dictionary pOid2Version); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/InsertOvertimes", ReplyAction="http://tempuri.org/IEmployeeService/InsertOvertimesResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/InsertOvertimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List InsertOvertimes(System.Collections.Generic.List pOvertimes); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/UpdateOvertimes", ReplyAction="http://tempuri.org/IEmployeeService/UpdateOvertimesResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/UpdateOvertimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List UpdateOvertimes(System.Collections.Generic.List pOvertimes); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetAllAuszahlungsarten", ReplyAction="http://tempuri.org/IEmployeeService/GetAllAuszahlungsartenResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetAllAuszahlungsartenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllAuszahlungsarten(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/InsertAuszahlungsarten", ReplyAction="http://tempuri.org/IEmployeeService/InsertAuszahlungsartenResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/InsertAuszahlungsartenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List InsertAuszahlungsarten(System.Collections.Generic.List pAuszahlungsarten); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/UpdateAuszahlungsarten", ReplyAction="http://tempuri.org/IEmployeeService/UpdateAuszahlungsartenResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/UpdateAuszahlungsartenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List UpdateAuszahlungsarten(System.Collections.Generic.List pAuszahlungsarten); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/DeleteAuszahlungsarten", ReplyAction="http://tempuri.org/IEmployeeService/DeleteAuszahlungsartenResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/DeleteAuszahlungsartenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeleteAuszahlungsarten(System.Collections.Generic.Dictionary pOid2Version); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetTeamOidsByEmployee", ReplyAction="http://tempuri.org/IEmployeeService/GetTeamOidsByEmployeeResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetTeamOidsByEmployeeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetTeamOidsByEmployee(long pEmployeeOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/LoadLoggedOnEmployee", ReplyAction="http://tempuri.org/IEmployeeService/LoadLoggedOnEmployeeResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/LoadLoggedOnEmployeeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - BS.Shared.DataContracts.EmployeeDC LoadLoggedOnEmployee(long pEmployeeOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetAllChatActiveEmployeesCompact", ReplyAction="http://tempuri.org/IEmployeeService/GetAllChatActiveEmployeesCompactResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetAllChatActiveEmployeesCompactBeWoFaultFaul" + - "t", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllChatActiveEmployeesCompact(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetAllEmployeeAppCodes", ReplyAction="http://tempuri.org/IEmployeeService/GetAllEmployeeAppCodesResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetAllEmployeeAppCodesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllEmployeeAppCodes(long pEmployeeOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetEmployeeImage", ReplyAction="http://tempuri.org/IEmployeeService/GetEmployeeImageResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetEmployeeImageBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - byte[] GetEmployeeImage(long employeeOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetEmployeeThumbnail", ReplyAction="http://tempuri.org/IEmployeeService/GetEmployeeThumbnailResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetEmployeeThumbnailBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - byte[] GetEmployeeThumbnail(long employeeOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/DeleteEmployeeCustomerRelationForEmployee", ReplyAction="http://tempuri.org/IEmployeeService/DeleteEmployeeCustomerRelationForEmployeeResp" + - "onse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/DeleteEmployeeCustomerRelationForEmployeeBeWo" + - "FaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeleteEmployeeCustomerRelationForEmployee(long employeeOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetActiveCompactEmployeeWithOid", ReplyAction="http://tempuri.org/IEmployeeService/GetActiveCompactEmployeeWithOidResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetActiveCompactEmployeeWithOidBeWoFaultFault" + - "", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - BS.Shared.DataContracts.Compact.CompactEmployeeDC GetActiveCompactEmployeeWithOid(long employeeOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/InsertNewArbeitsZeit", ReplyAction="http://tempuri.org/IEmployeeService/InsertNewArbeitsZeitResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/InsertNewArbeitsZeitBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void InsertNewArbeitsZeit(BS.Shared.DataContracts.ArbeitszeitDC arbeitszeit, BS.Shared.DataContracts.ArbeitszeitEintragDC arbeitszeitEintrag); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/UpdateArbeitszeit", ReplyAction="http://tempuri.org/IEmployeeService/UpdateArbeitszeitResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/UpdateArbeitszeitBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - BS.Shared.DataContracts.ArbeitszeitDC UpdateArbeitszeit(BS.Shared.DataContracts.ArbeitszeitDC pArbeitszeit); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/DeleteArbeitszeitEintrag", ReplyAction="http://tempuri.org/IEmployeeService/DeleteArbeitszeitEintragResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/DeleteArbeitszeitEintragBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeleteArbeitszeitEintrag(long arbeistzeitEintragOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetAllActiveVertreterEmployeesCompact", ReplyAction="http://tempuri.org/IEmployeeService/GetAllActiveVertreterEmployeesCompactResponse" + - "")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetAllActiveVertreterEmployeesCompactBeWoFaul" + - "tFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllActiveVertreterEmployeesCompact(System.Nullable customerOid, System.DateTime date); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/LoadEmployeeTokenRelationsByOid", ReplyAction="http://tempuri.org/IEmployeeService/LoadEmployeeTokenRelationsByOidResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/LoadEmployeeTokenRelationsByOidBeWoFaultFault" + - "", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List LoadEmployeeTokenRelationsByOid(System.Collections.Generic.List pOids); - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetEmployeeByID", ReplyAction="http://tempuri.org/IEmployeeService/GetEmployeeByIDResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetEmployeeByIDBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] BS.Shared.DataContracts.EmployeeDC GetEmployeeByID(long employeeOid); @@ -548,6 +457,97 @@ namespace BeWo.ServiceProxy [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetAllOvertimesFromEmployee", ReplyAction="http://tempuri.org/IEmployeeService/GetAllOvertimesFromEmployeeResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetAllOvertimesFromEmployeeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] System.Collections.Generic.List GetAllOvertimesFromEmployee(long employeeOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetAllOvertimes", ReplyAction="http://tempuri.org/IEmployeeService/GetAllOvertimesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetAllOvertimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllOvertimes(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/DeleteOvertimes", ReplyAction="http://tempuri.org/IEmployeeService/DeleteOvertimesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/DeleteOvertimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeleteOvertimes(System.Collections.Generic.Dictionary pOid2Version); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/InsertOvertimes", ReplyAction="http://tempuri.org/IEmployeeService/InsertOvertimesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/InsertOvertimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List InsertOvertimes(System.Collections.Generic.List pOvertimes); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/UpdateOvertimes", ReplyAction="http://tempuri.org/IEmployeeService/UpdateOvertimesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/UpdateOvertimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List UpdateOvertimes(System.Collections.Generic.List pOvertimes); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetAllAuszahlungsarten", ReplyAction="http://tempuri.org/IEmployeeService/GetAllAuszahlungsartenResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetAllAuszahlungsartenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllAuszahlungsarten(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/InsertAuszahlungsarten", ReplyAction="http://tempuri.org/IEmployeeService/InsertAuszahlungsartenResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/InsertAuszahlungsartenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List InsertAuszahlungsarten(System.Collections.Generic.List pAuszahlungsarten); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/UpdateAuszahlungsarten", ReplyAction="http://tempuri.org/IEmployeeService/UpdateAuszahlungsartenResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/UpdateAuszahlungsartenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List UpdateAuszahlungsarten(System.Collections.Generic.List pAuszahlungsarten); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/DeleteAuszahlungsarten", ReplyAction="http://tempuri.org/IEmployeeService/DeleteAuszahlungsartenResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/DeleteAuszahlungsartenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeleteAuszahlungsarten(System.Collections.Generic.Dictionary pOid2Version); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetTeamOidsByEmployee", ReplyAction="http://tempuri.org/IEmployeeService/GetTeamOidsByEmployeeResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetTeamOidsByEmployeeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetTeamOidsByEmployee(long pEmployeeOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/LoadLoggedOnEmployee", ReplyAction="http://tempuri.org/IEmployeeService/LoadLoggedOnEmployeeResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/LoadLoggedOnEmployeeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + BS.Shared.DataContracts.EmployeeDC LoadLoggedOnEmployee(long pEmployeeOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetAllChatActiveEmployeesCompact", ReplyAction="http://tempuri.org/IEmployeeService/GetAllChatActiveEmployeesCompactResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetAllChatActiveEmployeesCompactBeWoFaultFaul" + + "t", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllChatActiveEmployeesCompact(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetAllEmployeeAppCodes", ReplyAction="http://tempuri.org/IEmployeeService/GetAllEmployeeAppCodesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetAllEmployeeAppCodesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllEmployeeAppCodes(long pEmployeeOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetEmployeeImage", ReplyAction="http://tempuri.org/IEmployeeService/GetEmployeeImageResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetEmployeeImageBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + byte[] GetEmployeeImage(long employeeOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetEmployeeThumbnail", ReplyAction="http://tempuri.org/IEmployeeService/GetEmployeeThumbnailResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetEmployeeThumbnailBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + byte[] GetEmployeeThumbnail(long employeeOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/DeleteEmployeeCustomerRelationForEmployee", ReplyAction="http://tempuri.org/IEmployeeService/DeleteEmployeeCustomerRelationForEmployeeResp" + + "onse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/DeleteEmployeeCustomerRelationForEmployeeBeWo" + + "FaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeleteEmployeeCustomerRelationForEmployee(long employeeOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetActiveCompactEmployeeWithOid", ReplyAction="http://tempuri.org/IEmployeeService/GetActiveCompactEmployeeWithOidResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetActiveCompactEmployeeWithOidBeWoFaultFault" + + "", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + BS.Shared.DataContracts.Compact.CompactEmployeeDC GetActiveCompactEmployeeWithOid(long employeeOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/InsertNewArbeitsZeit", ReplyAction="http://tempuri.org/IEmployeeService/InsertNewArbeitsZeitResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/InsertNewArbeitsZeitBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void InsertNewArbeitsZeit(BS.Shared.DataContracts.ArbeitszeitDC arbeitszeit, BS.Shared.DataContracts.ArbeitszeitEintragDC arbeitszeitEintrag); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/UpdateArbeitszeit", ReplyAction="http://tempuri.org/IEmployeeService/UpdateArbeitszeitResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/UpdateArbeitszeitBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + BS.Shared.DataContracts.ArbeitszeitDC UpdateArbeitszeit(BS.Shared.DataContracts.ArbeitszeitDC pArbeitszeit); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/DeleteArbeitszeitEintrag", ReplyAction="http://tempuri.org/IEmployeeService/DeleteArbeitszeitEintragResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/DeleteArbeitszeitEintragBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeleteArbeitszeitEintrag(long arbeistzeitEintragOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/GetAllActiveVertreterEmployeesCompact", ReplyAction="http://tempuri.org/IEmployeeService/GetAllActiveVertreterEmployeesCompactResponse" + + "")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/GetAllActiveVertreterEmployeesCompactBeWoFaul" + + "tFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllActiveVertreterEmployeesCompact(System.Nullable customerOid, System.DateTime date); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IEmployeeService/LoadEmployeeTokenRelationsByOid", ReplyAction="http://tempuri.org/IEmployeeService/LoadEmployeeTokenRelationsByOidResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IEmployeeService/LoadEmployeeTokenRelationsByOidBeWoFaultFault" + + "", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List LoadEmployeeTokenRelationsByOid(System.Collections.Generic.List pOids); } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] @@ -584,111 +584,6 @@ namespace BeWo.ServiceProxy { } - public System.Collections.Generic.List GetAllOvertimes() - { - return base.Channel.GetAllOvertimes(); - } - - public void DeleteOvertimes(System.Collections.Generic.Dictionary pOid2Version) - { - base.Channel.DeleteOvertimes(pOid2Version); - } - - public System.Collections.Generic.List InsertOvertimes(System.Collections.Generic.List pOvertimes) - { - return base.Channel.InsertOvertimes(pOvertimes); - } - - public System.Collections.Generic.List UpdateOvertimes(System.Collections.Generic.List pOvertimes) - { - return base.Channel.UpdateOvertimes(pOvertimes); - } - - public System.Collections.Generic.List GetAllAuszahlungsarten() - { - return base.Channel.GetAllAuszahlungsarten(); - } - - public System.Collections.Generic.List InsertAuszahlungsarten(System.Collections.Generic.List pAuszahlungsarten) - { - return base.Channel.InsertAuszahlungsarten(pAuszahlungsarten); - } - - public System.Collections.Generic.List UpdateAuszahlungsarten(System.Collections.Generic.List pAuszahlungsarten) - { - return base.Channel.UpdateAuszahlungsarten(pAuszahlungsarten); - } - - public void DeleteAuszahlungsarten(System.Collections.Generic.Dictionary pOid2Version) - { - base.Channel.DeleteAuszahlungsarten(pOid2Version); - } - - public System.Collections.Generic.List GetTeamOidsByEmployee(long pEmployeeOid) - { - return base.Channel.GetTeamOidsByEmployee(pEmployeeOid); - } - - public BS.Shared.DataContracts.EmployeeDC LoadLoggedOnEmployee(long pEmployeeOid) - { - return base.Channel.LoadLoggedOnEmployee(pEmployeeOid); - } - - public System.Collections.Generic.List GetAllChatActiveEmployeesCompact() - { - return base.Channel.GetAllChatActiveEmployeesCompact(); - } - - public System.Collections.Generic.List GetAllEmployeeAppCodes(long pEmployeeOid) - { - return base.Channel.GetAllEmployeeAppCodes(pEmployeeOid); - } - - public byte[] GetEmployeeImage(long employeeOid) - { - return base.Channel.GetEmployeeImage(employeeOid); - } - - public byte[] GetEmployeeThumbnail(long employeeOid) - { - return base.Channel.GetEmployeeThumbnail(employeeOid); - } - - public void DeleteEmployeeCustomerRelationForEmployee(long employeeOid) - { - base.Channel.DeleteEmployeeCustomerRelationForEmployee(employeeOid); - } - - public BS.Shared.DataContracts.Compact.CompactEmployeeDC GetActiveCompactEmployeeWithOid(long employeeOid) - { - return base.Channel.GetActiveCompactEmployeeWithOid(employeeOid); - } - - public void InsertNewArbeitsZeit(BS.Shared.DataContracts.ArbeitszeitDC arbeitszeit, BS.Shared.DataContracts.ArbeitszeitEintragDC arbeitszeitEintrag) - { - base.Channel.InsertNewArbeitsZeit(arbeitszeit, arbeitszeitEintrag); - } - - public BS.Shared.DataContracts.ArbeitszeitDC UpdateArbeitszeit(BS.Shared.DataContracts.ArbeitszeitDC pArbeitszeit) - { - return base.Channel.UpdateArbeitszeit(pArbeitszeit); - } - - public void DeleteArbeitszeitEintrag(long arbeistzeitEintragOid) - { - base.Channel.DeleteArbeitszeitEintrag(arbeistzeitEintragOid); - } - - public System.Collections.Generic.List GetAllActiveVertreterEmployeesCompact(System.Nullable customerOid, System.DateTime date) - { - return base.Channel.GetAllActiveVertreterEmployeesCompact(customerOid, date); - } - - public System.Collections.Generic.List LoadEmployeeTokenRelationsByOid(System.Collections.Generic.List pOids) - { - return base.Channel.LoadEmployeeTokenRelationsByOid(pOids); - } - public BS.Shared.DataContracts.EmployeeDC GetEmployeeByID(long employeeOid) { return base.Channel.GetEmployeeByID(employeeOid); @@ -1033,6 +928,111 @@ namespace BeWo.ServiceProxy { return base.Channel.GetAllOvertimesFromEmployee(employeeOid); } + + public System.Collections.Generic.List GetAllOvertimes() + { + return base.Channel.GetAllOvertimes(); + } + + public void DeleteOvertimes(System.Collections.Generic.Dictionary pOid2Version) + { + base.Channel.DeleteOvertimes(pOid2Version); + } + + public System.Collections.Generic.List InsertOvertimes(System.Collections.Generic.List pOvertimes) + { + return base.Channel.InsertOvertimes(pOvertimes); + } + + public System.Collections.Generic.List UpdateOvertimes(System.Collections.Generic.List pOvertimes) + { + return base.Channel.UpdateOvertimes(pOvertimes); + } + + public System.Collections.Generic.List GetAllAuszahlungsarten() + { + return base.Channel.GetAllAuszahlungsarten(); + } + + public System.Collections.Generic.List InsertAuszahlungsarten(System.Collections.Generic.List pAuszahlungsarten) + { + return base.Channel.InsertAuszahlungsarten(pAuszahlungsarten); + } + + public System.Collections.Generic.List UpdateAuszahlungsarten(System.Collections.Generic.List pAuszahlungsarten) + { + return base.Channel.UpdateAuszahlungsarten(pAuszahlungsarten); + } + + public void DeleteAuszahlungsarten(System.Collections.Generic.Dictionary pOid2Version) + { + base.Channel.DeleteAuszahlungsarten(pOid2Version); + } + + public System.Collections.Generic.List GetTeamOidsByEmployee(long pEmployeeOid) + { + return base.Channel.GetTeamOidsByEmployee(pEmployeeOid); + } + + public BS.Shared.DataContracts.EmployeeDC LoadLoggedOnEmployee(long pEmployeeOid) + { + return base.Channel.LoadLoggedOnEmployee(pEmployeeOid); + } + + public System.Collections.Generic.List GetAllChatActiveEmployeesCompact() + { + return base.Channel.GetAllChatActiveEmployeesCompact(); + } + + public System.Collections.Generic.List GetAllEmployeeAppCodes(long pEmployeeOid) + { + return base.Channel.GetAllEmployeeAppCodes(pEmployeeOid); + } + + public byte[] GetEmployeeImage(long employeeOid) + { + return base.Channel.GetEmployeeImage(employeeOid); + } + + public byte[] GetEmployeeThumbnail(long employeeOid) + { + return base.Channel.GetEmployeeThumbnail(employeeOid); + } + + public void DeleteEmployeeCustomerRelationForEmployee(long employeeOid) + { + base.Channel.DeleteEmployeeCustomerRelationForEmployee(employeeOid); + } + + public BS.Shared.DataContracts.Compact.CompactEmployeeDC GetActiveCompactEmployeeWithOid(long employeeOid) + { + return base.Channel.GetActiveCompactEmployeeWithOid(employeeOid); + } + + public void InsertNewArbeitsZeit(BS.Shared.DataContracts.ArbeitszeitDC arbeitszeit, BS.Shared.DataContracts.ArbeitszeitEintragDC arbeitszeitEintrag) + { + base.Channel.InsertNewArbeitsZeit(arbeitszeit, arbeitszeitEintrag); + } + + public BS.Shared.DataContracts.ArbeitszeitDC UpdateArbeitszeit(BS.Shared.DataContracts.ArbeitszeitDC pArbeitszeit) + { + return base.Channel.UpdateArbeitszeit(pArbeitszeit); + } + + public void DeleteArbeitszeitEintrag(long arbeistzeitEintragOid) + { + base.Channel.DeleteArbeitszeitEintrag(arbeistzeitEintragOid); + } + + public System.Collections.Generic.List GetAllActiveVertreterEmployeesCompact(System.Nullable customerOid, System.DateTime date) + { + return base.Channel.GetAllActiveVertreterEmployeesCompact(customerOid, date); + } + + public System.Collections.Generic.List LoadEmployeeTokenRelationsByOid(System.Collections.Generic.List pOids) + { + return base.Channel.LoadEmployeeTokenRelationsByOid(pOids); + } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] @@ -1040,6 +1040,208 @@ namespace BeWo.ServiceProxy public interface ICustomerService { + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/PruefeObBenutzerKontoSchonVorhanden", ReplyAction="http://tempuri.org/ICustomerService/PruefeObBenutzerKontoSchonVorhandenResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/PruefeObBenutzerKontoSchonVorhandenBeWoFaultF" + + "ault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + bool PruefeObBenutzerKontoSchonVorhanden(long customerOid, string benutzername); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetEnvironmentCustomerForPerson", ReplyAction="http://tempuri.org/ICustomerService/GetEnvironmentCustomerForPersonResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetEnvironmentCustomerForPersonBeWoFaultFault" + + "", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetEnvironmentCustomerForPerson(long personOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetSupportConceptCostBearerRelationsById", ReplyAction="http://tempuri.org/ICustomerService/GetSupportConceptCostBearerRelationsByIdRespo" + + "nse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetSupportConceptCostBearerRelationsByIdBeWoF" + + "aultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetSupportConceptCostBearerRelationsById(System.Collections.Generic.List relOids); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/LoadCompactSupportConceptsById", ReplyAction="http://tempuri.org/ICustomerService/LoadCompactSupportConceptsByIdResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/LoadCompactSupportConceptsByIdBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List LoadCompactSupportConceptsById(System.Collections.Generic.List pOids); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllActiveCustomers", ReplyAction="http://tempuri.org/ICustomerService/GetAllActiveCustomersResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllActiveCustomersBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllActiveCustomers(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetCustomersById", ReplyAction="http://tempuri.org/ICustomerService/GetCustomersByIdResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetCustomersByIdBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetCustomersById(System.Collections.Generic.List idList); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetSupportConceptsById", ReplyAction="http://tempuri.org/ICustomerService/GetSupportConceptsByIdResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetSupportConceptsByIdBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetSupportConceptsById(System.Collections.Generic.List idList); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllActivePersons", ReplyAction="http://tempuri.org/ICustomerService/GetAllActivePersonsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllActivePersonsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllActivePersons(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllOrganisations", ReplyAction="http://tempuri.org/ICustomerService/GetAllOrganisationsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllOrganisationsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllOrganisations(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetPersonsById", ReplyAction="http://tempuri.org/ICustomerService/GetPersonsByIdResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetPersonsByIdBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetPersonsById(System.Collections.Generic.List idList); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetOrganisationsById", ReplyAction="http://tempuri.org/ICustomerService/GetOrganisationsByIdResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetOrganisationsByIdBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetOrganisationsById(System.Collections.Generic.List idList); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAppointmentsById", ReplyAction="http://tempuri.org/ICustomerService/GetAppointmentsByIdResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAppointmentsByIdBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAppointmentsById(System.Collections.Generic.List idList); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/DeactivateMedArten", ReplyAction="http://tempuri.org/ICustomerService/DeactivateMedArtenResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/DeactivateMedArtenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeactivateMedArten(System.Collections.Generic.Dictionary pOid2Version); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllMedArten", ReplyAction="http://tempuri.org/ICustomerService/GetAllMedArtenResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllMedArtenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllMedArten(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetMedArtenById", ReplyAction="http://tempuri.org/ICustomerService/GetMedArtenByIdResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetMedArtenByIdBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetMedArtenById(System.Collections.Generic.List idList); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/InsertMedArten", ReplyAction="http://tempuri.org/ICustomerService/InsertMedArtenResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/InsertMedArtenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List InsertMedArten(System.Collections.Generic.List pDCList); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateMedArten", ReplyAction="http://tempuri.org/ICustomerService/UpdateMedArtenResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateMedArtenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List UpdateMedArten(System.Collections.Generic.List pDCList); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllMedikamentenverordnungen", ReplyAction="http://tempuri.org/ICustomerService/GetAllMedikamentenverordnungenResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllMedikamentenverordnungenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllMedikamentenverordnungen(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetMedikamentenverordnungenById", ReplyAction="http://tempuri.org/ICustomerService/GetMedikamentenverordnungenByIdResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetMedikamentenverordnungenByIdBeWoFaultFault" + + "", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetMedikamentenverordnungenById(System.Collections.Generic.List idList); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/InsertMedikamentenverordnungen", ReplyAction="http://tempuri.org/ICustomerService/InsertMedikamentenverordnungenResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/InsertMedikamentenverordnungenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List InsertMedikamentenverordnungen(System.Collections.Generic.List pDCList); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateMedikamentenverordnungen", ReplyAction="http://tempuri.org/ICustomerService/UpdateMedikamentenverordnungenResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateMedikamentenverordnungenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List UpdateMedikamentenverordnungen(System.Collections.Generic.List pDCList); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/DeactivateMedikamentenverordnungen", ReplyAction="http://tempuri.org/ICustomerService/DeactivateMedikamentenverordnungenResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/DeactivateMedikamentenverordnungenBeWoFaultFa" + + "ult", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeactivateMedikamentenverordnungen(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetMedikamentenverordnungenForCustomer", ReplyAction="http://tempuri.org/ICustomerService/GetMedikamentenverordnungenForCustomerRespons" + + "e")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetMedikamentenverordnungenForCustomerBeWoFau" + + "ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetMedikamentenverordnungenForCustomer(long pCustomerOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/DeleteMedArten", ReplyAction="http://tempuri.org/ICustomerService/DeleteMedArtenResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/DeleteMedArtenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeleteMedArten(System.Collections.Generic.Dictionary pOid2Version); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/InsertMedikamentenverordnungslisten", ReplyAction="http://tempuri.org/ICustomerService/InsertMedikamentenverordnungslistenResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/InsertMedikamentenverordnungslistenBeWoFaultF" + + "ault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List InsertMedikamentenverordnungslisten(System.Collections.Generic.List pDCList); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllActiveSupportConceptsByCustomers", ReplyAction="http://tempuri.org/ICustomerService/GetAllActiveSupportConceptsByCustomersRespons" + + "e")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllActiveSupportConceptsByCustomersBeWoFau" + + "ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllActiveSupportConceptsByCustomers(System.Collections.Generic.List pCustomerOids); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetCompactCustomersById", ReplyAction="http://tempuri.org/ICustomerService/GetCompactCustomersByIdResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetCompactCustomersByIdBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetCompactCustomersById(System.Collections.Generic.List pCustomerOids); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetCompactCustomersByPersonOids", ReplyAction="http://tempuri.org/ICustomerService/GetCompactCustomersByPersonOidsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetCompactCustomersByPersonOidsBeWoFaultFault" + + "", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetCompactCustomersByPersonOids(System.Collections.Generic.List personOids); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetSupportConceptGoalParents", ReplyAction="http://tempuri.org/ICustomerService/GetSupportConceptGoalParentsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetSupportConceptGoalParentsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetSupportConceptGoalParents(System.Collections.Generic.List pParentItemOids); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/DeleteMedikamentenverordnungsliste", ReplyAction="http://tempuri.org/ICustomerService/DeleteMedikamentenverordnungslisteResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/DeleteMedikamentenverordnungslisteBeWoFaultFa" + + "ult", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeleteMedikamentenverordnungsliste(long listenOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateMedikamentenverordnungsliste", ReplyAction="http://tempuri.org/ICustomerService/UpdateMedikamentenverordnungslisteResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateMedikamentenverordnungslisteBeWoFaultFa" + + "ult", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + BS.Shared.DataContracts.MedikamentenverordnungslisteDC UpdateMedikamentenverordnungsliste(BS.Shared.DataContracts.MedikamentenverordnungslisteDC pDCList); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllDarreichungsformen", ReplyAction="http://tempuri.org/ICustomerService/GetAllDarreichungsformenResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllDarreichungsformenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllDarreichungsformen(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetDarreichungsformenById", ReplyAction="http://tempuri.org/ICustomerService/GetDarreichungsformenByIdResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetDarreichungsformenByIdBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetDarreichungsformenById(System.Collections.Generic.List pIds); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllDepotRhythmen", ReplyAction="http://tempuri.org/ICustomerService/GetAllDepotRhythmenResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllDepotRhythmenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllDepotRhythmen(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetDepotRhythmusById", ReplyAction="http://tempuri.org/ICustomerService/GetDepotRhythmusByIdResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetDepotRhythmusByIdBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetDepotRhythmusById(System.Collections.Generic.List pIds); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetActiveCustomersById", ReplyAction="http://tempuri.org/ICustomerService/GetActiveCustomersByIdResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetActiveCustomersByIdBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetActiveCustomersById(System.Collections.Generic.List pCustomerOids); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllCompactCustomers", ReplyAction="http://tempuri.org/ICustomerService/GetAllCompactCustomersResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllCompactCustomersBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllCompactCustomers(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllCustomersCompact", ReplyAction="http://tempuri.org/ICustomerService/GetAllCustomersCompactResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllCustomersCompactBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllCustomersCompact(long currentEmployeeOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllOrganisationsCompact", ReplyAction="http://tempuri.org/ICustomerService/GetAllOrganisationsCompactResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllOrganisationsCompactBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllOrganisationsCompact(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllPersonsByTypeCompact", ReplyAction="http://tempuri.org/ICustomerService/GetAllPersonsByTypeCompactResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllPersonsByTypeCompactBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllPersonsByTypeCompact(BS.Shared.PersonType pType); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllSupportConceptsCompact", ReplyAction="http://tempuri.org/ICustomerService/GetAllSupportConceptsCompactResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllSupportConceptsCompactBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllSupportConceptsCompact(long currentEmployeeOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/ReactivateCustomer", ReplyAction="http://tempuri.org/ICustomerService/ReactivateCustomerResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/ReactivateCustomerBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void ReactivateCustomer(long pOid, long pVersion); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/ReactivateSupportConcept", ReplyAction="http://tempuri.org/ICustomerService/ReactivateSupportConceptResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/ReactivateSupportConceptBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void ReactivateSupportConcept(long pOid, long pVersion); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/ReactivateOrganisation", ReplyAction="http://tempuri.org/ICustomerService/ReactivateOrganisationResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/ReactivateOrganisationBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void ReactivateOrganisation(long pOid, long pVersion); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/ReactivatePerson", ReplyAction="http://tempuri.org/ICustomerService/ReactivatePersonResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/ReactivatePersonBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void ReactivatePerson(long pOid, long pVersion); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllActiveWohnheimeCompact", ReplyAction="http://tempuri.org/ICustomerService/GetAllActiveWohnheimeCompactResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllActiveWohnheimeCompactBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllActiveWohnheimeCompact(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllActiveWohnheimbuchungen", ReplyAction="http://tempuri.org/ICustomerService/GetAllActiveWohnheimbuchungenResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllActiveWohnheimbuchungenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllActiveWohnheimbuchungen(); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetWohnheimbuchung", ReplyAction="http://tempuri.org/ICustomerService/GetWohnheimbuchungResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetWohnheimbuchungBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] BS.Shared.DataContracts.WohnheimbuchungDC GetWohnheimbuchung(long oid); @@ -1230,298 +1432,6 @@ namespace BeWo.ServiceProxy [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/SetBenutzerPasswortChatAppCodeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] void SetBenutzerPasswortChatAppCode(long pCustomerOid, string benutzerName, string passwort); - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/PruefeObBenutzerKontoSchonVorhanden", ReplyAction="http://tempuri.org/ICustomerService/PruefeObBenutzerKontoSchonVorhandenResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/PruefeObBenutzerKontoSchonVorhandenBeWoFaultF" + - "ault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - bool PruefeObBenutzerKontoSchonVorhanden(long customerOid, string benutzername); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetEnvironmentCustomerForPerson", ReplyAction="http://tempuri.org/ICustomerService/GetEnvironmentCustomerForPersonResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetEnvironmentCustomerForPersonBeWoFaultFault" + - "", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetEnvironmentCustomerForPerson(long personOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetSupportConceptCostBearerRelationsById", ReplyAction="http://tempuri.org/ICustomerService/GetSupportConceptCostBearerRelationsByIdRespo" + - "nse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetSupportConceptCostBearerRelationsByIdBeWoF" + - "aultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetSupportConceptCostBearerRelationsById(System.Collections.Generic.List relOids); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/LoadCompactSupportConceptsById", ReplyAction="http://tempuri.org/ICustomerService/LoadCompactSupportConceptsByIdResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/LoadCompactSupportConceptsByIdBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List LoadCompactSupportConceptsById(System.Collections.Generic.List pOids); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateCustomersAbsenceTimes", ReplyAction="http://tempuri.org/ICustomerService/UpdateCustomersAbsenceTimesResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateCustomersAbsenceTimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void UpdateCustomersAbsenceTimes(long pCustomerOid, System.Collections.Generic.List pAbsenceTimes); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateOrganisation", ReplyAction="http://tempuri.org/ICustomerService/UpdateOrganisationResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateOrganisationBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - long UpdateOrganisation(BS.Shared.DataContracts.OrganisationDC pOrganisationDC); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdatePerson", ReplyAction="http://tempuri.org/ICustomerService/UpdatePersonResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdatePersonBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.CustomerDC))] - [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.EmployeeDC))] - long UpdatePerson(BS.Shared.DataContracts.PersonDC pPersonDC); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateSupportConcept", ReplyAction="http://tempuri.org/ICustomerService/UpdateSupportConceptResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateSupportConceptBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - long UpdateSupportConcept(BS.Shared.DataContracts.SupportConceptDC pSupportConcept); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/LoadCustomerAssessmentSheetCategoryList", ReplyAction="http://tempuri.org/ICustomerService/LoadCustomerAssessmentSheetCategoryListRespon" + - "se")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/LoadCustomerAssessmentSheetCategoryListBeWoFa" + - "ultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List LoadCustomerAssessmentSheetCategoryList(long pCustomerOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/LoadAppointments", ReplyAction="http://tempuri.org/ICustomerService/LoadAppointmentsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/LoadAppointmentsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List LoadAppointments(System.Nullable customerOid, System.Nullable employeeOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllAppointmentCategories", ReplyAction="http://tempuri.org/ICustomerService/GetAllAppointmentCategoriesResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllAppointmentCategoriesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllAppointmentCategories(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/InsertNewAppointmentCategories", ReplyAction="http://tempuri.org/ICustomerService/InsertNewAppointmentCategoriesResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/InsertNewAppointmentCategoriesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List InsertNewAppointmentCategories(System.Collections.Generic.List pAppointmentCategories); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateAppointmentCategories", ReplyAction="http://tempuri.org/ICustomerService/UpdateAppointmentCategoriesResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateAppointmentCategoriesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List UpdateAppointmentCategories(System.Collections.Generic.List pAppointmentCategories); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/DeactivateAppointmentCategories", ReplyAction="http://tempuri.org/ICustomerService/DeactivateAppointmentCategoriesResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/DeactivateAppointmentCategoriesBeWoFaultFault" + - "", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeactivateAppointmentCategories(System.Collections.Generic.Dictionary pOid2Version); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/InsertNewAppointments", ReplyAction="http://tempuri.org/ICustomerService/InsertNewAppointmentsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/InsertNewAppointmentsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List InsertNewAppointments(System.Collections.Generic.List pAppointments); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateAppointments", ReplyAction="http://tempuri.org/ICustomerService/UpdateAppointmentsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateAppointmentsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List UpdateAppointments(System.Collections.Generic.List pAppointments); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/DeactivateAppointments", ReplyAction="http://tempuri.org/ICustomerService/DeactivateAppointmentsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/DeactivateAppointmentsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeactivateAppointments(System.Collections.Generic.Dictionary pOid2Version); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/InsertAbsenceTimes", ReplyAction="http://tempuri.org/ICustomerService/InsertAbsenceTimesResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/InsertAbsenceTimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List InsertAbsenceTimes(System.Collections.Generic.List pDCList); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateAbsenceTimes", ReplyAction="http://tempuri.org/ICustomerService/UpdateAbsenceTimesResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateAbsenceTimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List UpdateAbsenceTimes(System.Collections.Generic.List pDCList); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/DeactivateAbsenceTimes", ReplyAction="http://tempuri.org/ICustomerService/DeactivateAbsenceTimesResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/DeactivateAbsenceTimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeactivateAbsenceTimes(System.Collections.Generic.Dictionary pOid2Version); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllCustomerGoals", ReplyAction="http://tempuri.org/ICustomerService/GetAllCustomerGoalsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllCustomerGoalsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllCustomerGoals(long pCustomerOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/LoadCompactSupportConceptDC", ReplyAction="http://tempuri.org/ICustomerService/LoadCompactSupportConceptDCResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/LoadCompactSupportConceptDCBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - BS.Shared.DataContracts.Compact.CompactSupportConceptDC LoadCompactSupportConceptDC(long pOid, System.Nullable currentEmployeeOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetCompactCustomerDC", ReplyAction="http://tempuri.org/ICustomerService/GetCompactCustomerDCResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetCompactCustomerDCBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - BS.Shared.DataContracts.Compact.CompactCustomerDC GetCompactCustomerDC(long pOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllActiveCompactCustomers", ReplyAction="http://tempuri.org/ICustomerService/GetAllActiveCompactCustomersResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllActiveCompactCustomersBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllActiveCompactCustomers(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/ServiceRecordOutOfSupportConcept", ReplyAction="http://tempuri.org/ICustomerService/ServiceRecordOutOfSupportConceptResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/ServiceRecordOutOfSupportConceptBeWoFaultFaul" + - "t", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - bool ServiceRecordOutOfSupportConcept(BS.Shared.DataContracts.SupportConceptDC pSupportConcept); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllActiveCustomers", ReplyAction="http://tempuri.org/ICustomerService/GetAllActiveCustomersResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllActiveCustomersBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllActiveCustomers(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetCustomersById", ReplyAction="http://tempuri.org/ICustomerService/GetCustomersByIdResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetCustomersByIdBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetCustomersById(System.Collections.Generic.List idList); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetSupportConceptsById", ReplyAction="http://tempuri.org/ICustomerService/GetSupportConceptsByIdResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetSupportConceptsByIdBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetSupportConceptsById(System.Collections.Generic.List idList); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllActivePersons", ReplyAction="http://tempuri.org/ICustomerService/GetAllActivePersonsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllActivePersonsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllActivePersons(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllOrganisations", ReplyAction="http://tempuri.org/ICustomerService/GetAllOrganisationsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllOrganisationsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllOrganisations(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetPersonsById", ReplyAction="http://tempuri.org/ICustomerService/GetPersonsByIdResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetPersonsByIdBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetPersonsById(System.Collections.Generic.List idList); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetOrganisationsById", ReplyAction="http://tempuri.org/ICustomerService/GetOrganisationsByIdResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetOrganisationsByIdBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetOrganisationsById(System.Collections.Generic.List idList); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAppointmentsById", ReplyAction="http://tempuri.org/ICustomerService/GetAppointmentsByIdResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAppointmentsByIdBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAppointmentsById(System.Collections.Generic.List idList); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/DeactivateMedArten", ReplyAction="http://tempuri.org/ICustomerService/DeactivateMedArtenResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/DeactivateMedArtenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeactivateMedArten(System.Collections.Generic.Dictionary pOid2Version); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllMedArten", ReplyAction="http://tempuri.org/ICustomerService/GetAllMedArtenResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllMedArtenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllMedArten(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetMedArtenById", ReplyAction="http://tempuri.org/ICustomerService/GetMedArtenByIdResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetMedArtenByIdBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetMedArtenById(System.Collections.Generic.List idList); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/InsertMedArten", ReplyAction="http://tempuri.org/ICustomerService/InsertMedArtenResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/InsertMedArtenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List InsertMedArten(System.Collections.Generic.List pDCList); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateMedArten", ReplyAction="http://tempuri.org/ICustomerService/UpdateMedArtenResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateMedArtenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List UpdateMedArten(System.Collections.Generic.List pDCList); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllMedikamentenverordnungen", ReplyAction="http://tempuri.org/ICustomerService/GetAllMedikamentenverordnungenResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllMedikamentenverordnungenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllMedikamentenverordnungen(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetMedikamentenverordnungenById", ReplyAction="http://tempuri.org/ICustomerService/GetMedikamentenverordnungenByIdResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetMedikamentenverordnungenByIdBeWoFaultFault" + - "", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetMedikamentenverordnungenById(System.Collections.Generic.List idList); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/InsertMedikamentenverordnungen", ReplyAction="http://tempuri.org/ICustomerService/InsertMedikamentenverordnungenResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/InsertMedikamentenverordnungenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List InsertMedikamentenverordnungen(System.Collections.Generic.List pDCList); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateMedikamentenverordnungen", ReplyAction="http://tempuri.org/ICustomerService/UpdateMedikamentenverordnungenResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateMedikamentenverordnungenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List UpdateMedikamentenverordnungen(System.Collections.Generic.List pDCList); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/DeactivateMedikamentenverordnungen", ReplyAction="http://tempuri.org/ICustomerService/DeactivateMedikamentenverordnungenResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/DeactivateMedikamentenverordnungenBeWoFaultFa" + - "ult", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeactivateMedikamentenverordnungen(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetMedikamentenverordnungenForCustomer", ReplyAction="http://tempuri.org/ICustomerService/GetMedikamentenverordnungenForCustomerRespons" + - "e")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetMedikamentenverordnungenForCustomerBeWoFau" + - "ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetMedikamentenverordnungenForCustomer(long pCustomerOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/DeleteMedArten", ReplyAction="http://tempuri.org/ICustomerService/DeleteMedArtenResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/DeleteMedArtenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeleteMedArten(System.Collections.Generic.Dictionary pOid2Version); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/InsertMedikamentenverordnungslisten", ReplyAction="http://tempuri.org/ICustomerService/InsertMedikamentenverordnungslistenResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/InsertMedikamentenverordnungslistenBeWoFaultF" + - "ault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List InsertMedikamentenverordnungslisten(System.Collections.Generic.List pDCList); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllActiveSupportConceptsByCustomers", ReplyAction="http://tempuri.org/ICustomerService/GetAllActiveSupportConceptsByCustomersRespons" + - "e")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllActiveSupportConceptsByCustomersBeWoFau" + - "ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllActiveSupportConceptsByCustomers(System.Collections.Generic.List pCustomerOids); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetCompactCustomersById", ReplyAction="http://tempuri.org/ICustomerService/GetCompactCustomersByIdResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetCompactCustomersByIdBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetCompactCustomersById(System.Collections.Generic.List pCustomerOids); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetCompactCustomersByPersonOids", ReplyAction="http://tempuri.org/ICustomerService/GetCompactCustomersByPersonOidsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetCompactCustomersByPersonOidsBeWoFaultFault" + - "", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetCompactCustomersByPersonOids(System.Collections.Generic.List personOids); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetSupportConceptGoalParents", ReplyAction="http://tempuri.org/ICustomerService/GetSupportConceptGoalParentsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetSupportConceptGoalParentsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetSupportConceptGoalParents(System.Collections.Generic.List pParentItemOids); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/DeleteMedikamentenverordnungsliste", ReplyAction="http://tempuri.org/ICustomerService/DeleteMedikamentenverordnungslisteResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/DeleteMedikamentenverordnungslisteBeWoFaultFa" + - "ult", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeleteMedikamentenverordnungsliste(long listenOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateMedikamentenverordnungsliste", ReplyAction="http://tempuri.org/ICustomerService/UpdateMedikamentenverordnungslisteResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateMedikamentenverordnungslisteBeWoFaultFa" + - "ult", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - BS.Shared.DataContracts.MedikamentenverordnungslisteDC UpdateMedikamentenverordnungsliste(BS.Shared.DataContracts.MedikamentenverordnungslisteDC pDCList); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllDarreichungsformen", ReplyAction="http://tempuri.org/ICustomerService/GetAllDarreichungsformenResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllDarreichungsformenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllDarreichungsformen(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetDarreichungsformenById", ReplyAction="http://tempuri.org/ICustomerService/GetDarreichungsformenByIdResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetDarreichungsformenByIdBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetDarreichungsformenById(System.Collections.Generic.List pIds); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllDepotRhythmen", ReplyAction="http://tempuri.org/ICustomerService/GetAllDepotRhythmenResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllDepotRhythmenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllDepotRhythmen(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetDepotRhythmusById", ReplyAction="http://tempuri.org/ICustomerService/GetDepotRhythmusByIdResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetDepotRhythmusByIdBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetDepotRhythmusById(System.Collections.Generic.List pIds); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetActiveCustomersById", ReplyAction="http://tempuri.org/ICustomerService/GetActiveCustomersByIdResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetActiveCustomersByIdBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetActiveCustomersById(System.Collections.Generic.List pCustomerOids); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllCompactCustomers", ReplyAction="http://tempuri.org/ICustomerService/GetAllCompactCustomersResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllCompactCustomersBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllCompactCustomers(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllCustomersCompact", ReplyAction="http://tempuri.org/ICustomerService/GetAllCustomersCompactResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllCustomersCompactBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllCustomersCompact(long currentEmployeeOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllOrganisationsCompact", ReplyAction="http://tempuri.org/ICustomerService/GetAllOrganisationsCompactResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllOrganisationsCompactBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllOrganisationsCompact(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllPersonsByTypeCompact", ReplyAction="http://tempuri.org/ICustomerService/GetAllPersonsByTypeCompactResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllPersonsByTypeCompactBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllPersonsByTypeCompact(BS.Shared.PersonType pType); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllSupportConceptsCompact", ReplyAction="http://tempuri.org/ICustomerService/GetAllSupportConceptsCompactResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllSupportConceptsCompactBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllSupportConceptsCompact(long currentEmployeeOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/ReactivateCustomer", ReplyAction="http://tempuri.org/ICustomerService/ReactivateCustomerResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/ReactivateCustomerBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void ReactivateCustomer(long pOid, long pVersion); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/ReactivateSupportConcept", ReplyAction="http://tempuri.org/ICustomerService/ReactivateSupportConceptResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/ReactivateSupportConceptBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void ReactivateSupportConcept(long pOid, long pVersion); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/ReactivateOrganisation", ReplyAction="http://tempuri.org/ICustomerService/ReactivateOrganisationResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/ReactivateOrganisationBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void ReactivateOrganisation(long pOid, long pVersion); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/ReactivatePerson", ReplyAction="http://tempuri.org/ICustomerService/ReactivatePersonResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/ReactivatePersonBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void ReactivatePerson(long pOid, long pVersion); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllActiveWohnheimeCompact", ReplyAction="http://tempuri.org/ICustomerService/GetAllActiveWohnheimeCompactResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllActiveWohnheimeCompactBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllActiveWohnheimeCompact(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllActiveWohnheimbuchungen", ReplyAction="http://tempuri.org/ICustomerService/GetAllActiveWohnheimbuchungenResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllActiveWohnheimbuchungenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllActiveWohnheimbuchungen(); - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/ArchiveCustomer", ReplyAction="http://tempuri.org/ICustomerService/ArchiveCustomerResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/ArchiveCustomerBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] void ArchiveCustomer(long pOid, long pVersion); @@ -1797,6 +1707,96 @@ namespace BeWo.ServiceProxy [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateCustomer", ReplyAction="http://tempuri.org/ICustomerService/UpdateCustomerResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateCustomerBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] long UpdateCustomer(BS.Shared.DataContracts.CustomerDC pCustomerDC); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateCustomersAbsenceTimes", ReplyAction="http://tempuri.org/ICustomerService/UpdateCustomersAbsenceTimesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateCustomersAbsenceTimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void UpdateCustomersAbsenceTimes(long pCustomerOid, System.Collections.Generic.List pAbsenceTimes); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateOrganisation", ReplyAction="http://tempuri.org/ICustomerService/UpdateOrganisationResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateOrganisationBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + long UpdateOrganisation(BS.Shared.DataContracts.OrganisationDC pOrganisationDC); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdatePerson", ReplyAction="http://tempuri.org/ICustomerService/UpdatePersonResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdatePersonBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.CustomerDC))] + [System.ServiceModel.ServiceKnownTypeAttribute(typeof(BS.Shared.DataContracts.EmployeeDC))] + long UpdatePerson(BS.Shared.DataContracts.PersonDC pPersonDC); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateSupportConcept", ReplyAction="http://tempuri.org/ICustomerService/UpdateSupportConceptResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateSupportConceptBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + long UpdateSupportConcept(BS.Shared.DataContracts.SupportConceptDC pSupportConcept); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/LoadCustomerAssessmentSheetCategoryList", ReplyAction="http://tempuri.org/ICustomerService/LoadCustomerAssessmentSheetCategoryListRespon" + + "se")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/LoadCustomerAssessmentSheetCategoryListBeWoFa" + + "ultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List LoadCustomerAssessmentSheetCategoryList(long pCustomerOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/LoadAppointments", ReplyAction="http://tempuri.org/ICustomerService/LoadAppointmentsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/LoadAppointmentsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List LoadAppointments(System.Nullable customerOid, System.Nullable employeeOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllAppointmentCategories", ReplyAction="http://tempuri.org/ICustomerService/GetAllAppointmentCategoriesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllAppointmentCategoriesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllAppointmentCategories(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/InsertNewAppointmentCategories", ReplyAction="http://tempuri.org/ICustomerService/InsertNewAppointmentCategoriesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/InsertNewAppointmentCategoriesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List InsertNewAppointmentCategories(System.Collections.Generic.List pAppointmentCategories); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateAppointmentCategories", ReplyAction="http://tempuri.org/ICustomerService/UpdateAppointmentCategoriesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateAppointmentCategoriesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List UpdateAppointmentCategories(System.Collections.Generic.List pAppointmentCategories); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/DeactivateAppointmentCategories", ReplyAction="http://tempuri.org/ICustomerService/DeactivateAppointmentCategoriesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/DeactivateAppointmentCategoriesBeWoFaultFault" + + "", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeactivateAppointmentCategories(System.Collections.Generic.Dictionary pOid2Version); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/InsertNewAppointments", ReplyAction="http://tempuri.org/ICustomerService/InsertNewAppointmentsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/InsertNewAppointmentsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List InsertNewAppointments(System.Collections.Generic.List pAppointments); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateAppointments", ReplyAction="http://tempuri.org/ICustomerService/UpdateAppointmentsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateAppointmentsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List UpdateAppointments(System.Collections.Generic.List pAppointments); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/DeactivateAppointments", ReplyAction="http://tempuri.org/ICustomerService/DeactivateAppointmentsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/DeactivateAppointmentsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeactivateAppointments(System.Collections.Generic.Dictionary pOid2Version); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/InsertAbsenceTimes", ReplyAction="http://tempuri.org/ICustomerService/InsertAbsenceTimesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/InsertAbsenceTimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List InsertAbsenceTimes(System.Collections.Generic.List pDCList); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/UpdateAbsenceTimes", ReplyAction="http://tempuri.org/ICustomerService/UpdateAbsenceTimesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/UpdateAbsenceTimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List UpdateAbsenceTimes(System.Collections.Generic.List pDCList); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/DeactivateAbsenceTimes", ReplyAction="http://tempuri.org/ICustomerService/DeactivateAbsenceTimesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/DeactivateAbsenceTimesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeactivateAbsenceTimes(System.Collections.Generic.Dictionary pOid2Version); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllCustomerGoals", ReplyAction="http://tempuri.org/ICustomerService/GetAllCustomerGoalsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllCustomerGoalsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllCustomerGoals(long pCustomerOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/LoadCompactSupportConceptDC", ReplyAction="http://tempuri.org/ICustomerService/LoadCompactSupportConceptDCResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/LoadCompactSupportConceptDCBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + BS.Shared.DataContracts.Compact.CompactSupportConceptDC LoadCompactSupportConceptDC(long pOid, System.Nullable currentEmployeeOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetCompactCustomerDC", ReplyAction="http://tempuri.org/ICustomerService/GetCompactCustomerDCResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetCompactCustomerDCBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + BS.Shared.DataContracts.Compact.CompactCustomerDC GetCompactCustomerDC(long pOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/GetAllActiveCompactCustomers", ReplyAction="http://tempuri.org/ICustomerService/GetAllActiveCompactCustomersResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/GetAllActiveCompactCustomersBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllActiveCompactCustomers(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/ICustomerService/ServiceRecordOutOfSupportConcept", ReplyAction="http://tempuri.org/ICustomerService/ServiceRecordOutOfSupportConceptResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/ICustomerService/ServiceRecordOutOfSupportConceptBeWoFaultFaul" + + "t", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + bool ServiceRecordOutOfSupportConcept(BS.Shared.DataContracts.SupportConceptDC pSupportConcept); } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] @@ -1833,216 +1833,6 @@ namespace BeWo.ServiceProxy { } - public BS.Shared.DataContracts.WohnheimbuchungDC GetWohnheimbuchung(long oid) - { - return base.Channel.GetWohnheimbuchung(oid); - } - - public long UpdateWohnheimbuchung(BS.Shared.DataContracts.WohnheimbuchungDC buchung) - { - return base.Channel.UpdateWohnheimbuchung(buchung); - } - - public long InsertWohnheimbuchung(BS.Shared.DataContracts.WohnheimbuchungDC buchung) - { - return base.Channel.InsertWohnheimbuchung(buchung); - } - - public BS.Shared.DataContracts.WohnheimbuchungDC GetWohnheimbuchungByWohnheimAndBuchungsdatum(long pWohnheimOid, System.DateTime pBuchungsdatum) - { - return base.Channel.GetWohnheimbuchungByWohnheimAndBuchungsdatum(pWohnheimOid, pBuchungsdatum); - } - - public System.Collections.Generic.List FindWohnheimbuchungsServiceRecords(long pWohnheimbuchungsOid) - { - return base.Channel.FindWohnheimbuchungsServiceRecords(pWohnheimbuchungsOid); - } - - public void DeleteWohnheimbuchung(long pWohnheimbuchungsOid, long pWohnheimbuchungsVersion) - { - base.Channel.DeleteWohnheimbuchung(pWohnheimbuchungsOid, pWohnheimbuchungsVersion); - } - - public System.Collections.Generic.List GetAllActiveSupportConcepts() - { - return base.Channel.GetAllActiveSupportConcepts(); - } - - public System.Collections.Generic.List CreateServiceRecordsFromWohnheimbuchung(long pWohnheimbuchungsOid, long pServiceDescriptionOid) - { - return base.Channel.CreateServiceRecordsFromWohnheimbuchung(pWohnheimbuchungsOid, pServiceDescriptionOid); - } - - public BS.Shared.DataContracts.ServiceDescriptionDC FindServiceDescriptionForWohnheimbuchungsServiceRecord(long pWohnheimbuchungsOid) - { - return base.Channel.FindServiceDescriptionForWohnheimbuchungsServiceRecord(pWohnheimbuchungsOid); - } - - public System.Collections.Generic.List LoadCustomerPersonRelationsByOid(System.Collections.Generic.List pOids) - { - return base.Channel.LoadCustomerPersonRelationsByOid(pOids); - } - - public System.Collections.Generic.List LoadCustomerOrganisationRelationsByOid(System.Collections.Generic.List pOids) - { - return base.Channel.LoadCustomerOrganisationRelationsByOid(pOids); - } - - public System.Collections.Generic.List InsertMedRecords(System.Collections.Generic.List pDCList) - { - return base.Channel.InsertMedRecords(pDCList); - } - - public System.Collections.Generic.List GetMedRecordsForCustomer(long pCustomerOid) - { - return base.Channel.GetMedRecordsForCustomer(pCustomerOid); - } - - public System.Collections.Generic.List UpdateMedRecords(System.Collections.Generic.List pDCList) - { - return base.Channel.UpdateMedRecords(pDCList); - } - - public void DeactivateMedRecords(System.Collections.Generic.Dictionary pOid2Version) - { - base.Channel.DeactivateMedRecords(pOid2Version); - } - - public void DeleteMedRecord(long pOid, long pVersion) - { - base.Channel.DeleteMedRecord(pOid, pVersion); - } - - public string AndroidGetCustomerCompact(long pCustomerOid) - { - return base.Channel.AndroidGetCustomerCompact(pCustomerOid); - } - - public System.Collections.Generic.List GetAllChatActiveCustomersCompact(long personOid) - { - return base.Channel.GetAllChatActiveCustomersCompact(personOid); - } - - public System.Collections.Generic.List FindAllChatMessages(long senderOid, long empfaengerOid, int maxNachricht) - { - return base.Channel.FindAllChatMessages(senderOid, empfaengerOid, maxNachricht); - } - - public System.Collections.Generic.List FindAllChatMessagesFromTeam(long senderOid, long teamEmpfangOid, int maxNachrichten) - { - return base.Channel.FindAllChatMessagesFromTeam(senderOid, teamEmpfangOid, maxNachrichten); - } - - public int CountChatMessages(int aktuelleAnzahl, long senderoid, long empfangoid, bool isTeam) - { - return base.Channel.CountChatMessages(aktuelleAnzahl, senderoid, empfangoid, isTeam); - } - - public System.Collections.Generic.List GetNextChatMessages(long senderOid, long EmpfangOid, bool isteam, System.Collections.Generic.List messageIds, int maxMessage) - { - return base.Channel.GetNextChatMessages(senderOid, EmpfangOid, isteam, messageIds, maxMessage); - } - - public void UpdateIstGelesen(long senderOid, long empfaengerOid, bool istGelesen) - { - base.Channel.UpdateIstGelesen(senderOid, empfaengerOid, istGelesen); - } - - public void UpdateIstGelesenForOne(long senderOid, long empfaengerOid, bool istGelesen, string messageId) - { - base.Channel.UpdateIstGelesenForOne(senderOid, empfaengerOid, istGelesen, messageId); - } - - public byte[] GetCustomerImage(long customerOid) - { - return base.Channel.GetCustomerImage(customerOid); - } - - public byte[] GetCustomerThumbnail(long customerOid) - { - return base.Channel.GetCustomerThumbnail(customerOid); - } - - public System.Collections.Generic.List GetAllCustomerAppCodes(long pCustomerOid) - { - return base.Channel.GetAllCustomerAppCodes(pCustomerOid); - } - - public byte[] GetChatMedia(long chatMediaMessageOid) - { - return base.Channel.GetChatMedia(chatMediaMessageOid); - } - - public System.Collections.Generic.List GetOrganisationsForPerson(long personoid) - { - return base.Channel.GetOrganisationsForPerson(personoid); - } - - public System.Collections.Generic.List GetPersonForOrganisations(long organisationoid) - { - return base.Channel.GetPersonForOrganisations(organisationoid); - } - - public System.Collections.Generic.List LoadCustomerTokenRelationsByOid(System.Collections.Generic.List pOids) - { - return base.Channel.LoadCustomerTokenRelationsByOid(pOids); - } - - public BS.Shared.DataContracts.PersonDC GetPersonWithCustomerOid(long oid) - { - return base.Channel.GetPersonWithCustomerOid(oid); - } - - public System.Collections.Generic.List GetTimesheetStatusList(System.DateTime monat) - { - return base.Channel.GetTimesheetStatusList(monat); - } - - public System.Collections.Generic.List GetAllActiveCustomersCompactWithQBCheckList(bool fetchReferenceNumbers, System.Nullable currentEmployeeOid, System.DateTime monat) - { - return base.Channel.GetAllActiveCustomersCompactWithQBCheckList(fetchReferenceNumbers, currentEmployeeOid, monat); - } - - public void SaveNewQuittierungsCheck(BS.Shared.DataContracts.QuittierungsCheckDC newItem) - { - base.Channel.SaveNewQuittierungsCheck(newItem); - } - - public void UpdateNewQuittierungsCheck(BS.Shared.DataContracts.QuittierungsCheckDC newItem) - { - base.Channel.UpdateNewQuittierungsCheck(newItem); - } - - public void UpdateQuittierungsCheckWithCustomer(long oid, long loggedinUserOid, System.DateTime monat) - { - base.Channel.UpdateQuittierungsCheckWithCustomer(oid, loggedinUserOid, monat); - } - - public void SetAbWelchenKrankheitsTag(long pCustomerOid, int abWelcherKt) - { - base.Channel.SetAbWelchenKrankheitsTag(pCustomerOid, abWelcherKt); - } - - public void SetVertretungGewuenscht(long pCustomerOid, bool vertWunsch) - { - base.Channel.SetVertretungGewuenscht(pCustomerOid, vertWunsch); - } - - public void SetVertretungDringendErforderlich(long pCustomerOid, bool vertDringendEr) - { - base.Channel.SetVertretungDringendErforderlich(pCustomerOid, vertDringendEr); - } - - public System.Collections.Generic.List GetActiveCompactCustomerEmployeeRelationsByEmployeeId(long empOid) - { - return base.Channel.GetActiveCompactCustomerEmployeeRelationsByEmployeeId(empOid); - } - - public void SetBenutzerPasswortChatAppCode(long pCustomerOid, string benutzerName, string passwort) - { - base.Channel.SetBenutzerPasswortChatAppCode(pCustomerOid, benutzerName, passwort); - } - public bool PruefeObBenutzerKontoSchonVorhanden(long customerOid, string benutzername) { return base.Channel.PruefeObBenutzerKontoSchonVorhanden(customerOid, benutzername); @@ -2063,111 +1853,6 @@ namespace BeWo.ServiceProxy return base.Channel.LoadCompactSupportConceptsById(pOids); } - public void UpdateCustomersAbsenceTimes(long pCustomerOid, System.Collections.Generic.List pAbsenceTimes) - { - base.Channel.UpdateCustomersAbsenceTimes(pCustomerOid, pAbsenceTimes); - } - - public long UpdateOrganisation(BS.Shared.DataContracts.OrganisationDC pOrganisationDC) - { - return base.Channel.UpdateOrganisation(pOrganisationDC); - } - - public long UpdatePerson(BS.Shared.DataContracts.PersonDC pPersonDC) - { - return base.Channel.UpdatePerson(pPersonDC); - } - - public long UpdateSupportConcept(BS.Shared.DataContracts.SupportConceptDC pSupportConcept) - { - return base.Channel.UpdateSupportConcept(pSupportConcept); - } - - public System.Collections.Generic.List LoadCustomerAssessmentSheetCategoryList(long pCustomerOid) - { - return base.Channel.LoadCustomerAssessmentSheetCategoryList(pCustomerOid); - } - - public System.Collections.Generic.List LoadAppointments(System.Nullable customerOid, System.Nullable employeeOid) - { - return base.Channel.LoadAppointments(customerOid, employeeOid); - } - - public System.Collections.Generic.List GetAllAppointmentCategories() - { - return base.Channel.GetAllAppointmentCategories(); - } - - public System.Collections.Generic.List InsertNewAppointmentCategories(System.Collections.Generic.List pAppointmentCategories) - { - return base.Channel.InsertNewAppointmentCategories(pAppointmentCategories); - } - - public System.Collections.Generic.List UpdateAppointmentCategories(System.Collections.Generic.List pAppointmentCategories) - { - return base.Channel.UpdateAppointmentCategories(pAppointmentCategories); - } - - public void DeactivateAppointmentCategories(System.Collections.Generic.Dictionary pOid2Version) - { - base.Channel.DeactivateAppointmentCategories(pOid2Version); - } - - public System.Collections.Generic.List InsertNewAppointments(System.Collections.Generic.List pAppointments) - { - return base.Channel.InsertNewAppointments(pAppointments); - } - - public System.Collections.Generic.List UpdateAppointments(System.Collections.Generic.List pAppointments) - { - return base.Channel.UpdateAppointments(pAppointments); - } - - public void DeactivateAppointments(System.Collections.Generic.Dictionary pOid2Version) - { - base.Channel.DeactivateAppointments(pOid2Version); - } - - public System.Collections.Generic.List InsertAbsenceTimes(System.Collections.Generic.List pDCList) - { - return base.Channel.InsertAbsenceTimes(pDCList); - } - - public System.Collections.Generic.List UpdateAbsenceTimes(System.Collections.Generic.List pDCList) - { - return base.Channel.UpdateAbsenceTimes(pDCList); - } - - public void DeactivateAbsenceTimes(System.Collections.Generic.Dictionary pOid2Version) - { - base.Channel.DeactivateAbsenceTimes(pOid2Version); - } - - public System.Collections.Generic.List GetAllCustomerGoals(long pCustomerOid) - { - return base.Channel.GetAllCustomerGoals(pCustomerOid); - } - - public BS.Shared.DataContracts.Compact.CompactSupportConceptDC LoadCompactSupportConceptDC(long pOid, System.Nullable currentEmployeeOid) - { - return base.Channel.LoadCompactSupportConceptDC(pOid, currentEmployeeOid); - } - - public BS.Shared.DataContracts.Compact.CompactCustomerDC GetCompactCustomerDC(long pOid) - { - return base.Channel.GetCompactCustomerDC(pOid); - } - - public System.Collections.Generic.List GetAllActiveCompactCustomers() - { - return base.Channel.GetAllActiveCompactCustomers(); - } - - public bool ServiceRecordOutOfSupportConcept(BS.Shared.DataContracts.SupportConceptDC pSupportConcept) - { - return base.Channel.ServiceRecordOutOfSupportConcept(pSupportConcept); - } - public System.Collections.Generic.List GetAllActiveCustomers() { return base.Channel.GetAllActiveCustomers(); @@ -2383,6 +2068,216 @@ namespace BeWo.ServiceProxy return base.Channel.GetAllActiveWohnheimbuchungen(); } + public BS.Shared.DataContracts.WohnheimbuchungDC GetWohnheimbuchung(long oid) + { + return base.Channel.GetWohnheimbuchung(oid); + } + + public long UpdateWohnheimbuchung(BS.Shared.DataContracts.WohnheimbuchungDC buchung) + { + return base.Channel.UpdateWohnheimbuchung(buchung); + } + + public long InsertWohnheimbuchung(BS.Shared.DataContracts.WohnheimbuchungDC buchung) + { + return base.Channel.InsertWohnheimbuchung(buchung); + } + + public BS.Shared.DataContracts.WohnheimbuchungDC GetWohnheimbuchungByWohnheimAndBuchungsdatum(long pWohnheimOid, System.DateTime pBuchungsdatum) + { + return base.Channel.GetWohnheimbuchungByWohnheimAndBuchungsdatum(pWohnheimOid, pBuchungsdatum); + } + + public System.Collections.Generic.List FindWohnheimbuchungsServiceRecords(long pWohnheimbuchungsOid) + { + return base.Channel.FindWohnheimbuchungsServiceRecords(pWohnheimbuchungsOid); + } + + public void DeleteWohnheimbuchung(long pWohnheimbuchungsOid, long pWohnheimbuchungsVersion) + { + base.Channel.DeleteWohnheimbuchung(pWohnheimbuchungsOid, pWohnheimbuchungsVersion); + } + + public System.Collections.Generic.List GetAllActiveSupportConcepts() + { + return base.Channel.GetAllActiveSupportConcepts(); + } + + public System.Collections.Generic.List CreateServiceRecordsFromWohnheimbuchung(long pWohnheimbuchungsOid, long pServiceDescriptionOid) + { + return base.Channel.CreateServiceRecordsFromWohnheimbuchung(pWohnheimbuchungsOid, pServiceDescriptionOid); + } + + public BS.Shared.DataContracts.ServiceDescriptionDC FindServiceDescriptionForWohnheimbuchungsServiceRecord(long pWohnheimbuchungsOid) + { + return base.Channel.FindServiceDescriptionForWohnheimbuchungsServiceRecord(pWohnheimbuchungsOid); + } + + public System.Collections.Generic.List LoadCustomerPersonRelationsByOid(System.Collections.Generic.List pOids) + { + return base.Channel.LoadCustomerPersonRelationsByOid(pOids); + } + + public System.Collections.Generic.List LoadCustomerOrganisationRelationsByOid(System.Collections.Generic.List pOids) + { + return base.Channel.LoadCustomerOrganisationRelationsByOid(pOids); + } + + public System.Collections.Generic.List InsertMedRecords(System.Collections.Generic.List pDCList) + { + return base.Channel.InsertMedRecords(pDCList); + } + + public System.Collections.Generic.List GetMedRecordsForCustomer(long pCustomerOid) + { + return base.Channel.GetMedRecordsForCustomer(pCustomerOid); + } + + public System.Collections.Generic.List UpdateMedRecords(System.Collections.Generic.List pDCList) + { + return base.Channel.UpdateMedRecords(pDCList); + } + + public void DeactivateMedRecords(System.Collections.Generic.Dictionary pOid2Version) + { + base.Channel.DeactivateMedRecords(pOid2Version); + } + + public void DeleteMedRecord(long pOid, long pVersion) + { + base.Channel.DeleteMedRecord(pOid, pVersion); + } + + public string AndroidGetCustomerCompact(long pCustomerOid) + { + return base.Channel.AndroidGetCustomerCompact(pCustomerOid); + } + + public System.Collections.Generic.List GetAllChatActiveCustomersCompact(long personOid) + { + return base.Channel.GetAllChatActiveCustomersCompact(personOid); + } + + public System.Collections.Generic.List FindAllChatMessages(long senderOid, long empfaengerOid, int maxNachricht) + { + return base.Channel.FindAllChatMessages(senderOid, empfaengerOid, maxNachricht); + } + + public System.Collections.Generic.List FindAllChatMessagesFromTeam(long senderOid, long teamEmpfangOid, int maxNachrichten) + { + return base.Channel.FindAllChatMessagesFromTeam(senderOid, teamEmpfangOid, maxNachrichten); + } + + public int CountChatMessages(int aktuelleAnzahl, long senderoid, long empfangoid, bool isTeam) + { + return base.Channel.CountChatMessages(aktuelleAnzahl, senderoid, empfangoid, isTeam); + } + + public System.Collections.Generic.List GetNextChatMessages(long senderOid, long EmpfangOid, bool isteam, System.Collections.Generic.List messageIds, int maxMessage) + { + return base.Channel.GetNextChatMessages(senderOid, EmpfangOid, isteam, messageIds, maxMessage); + } + + public void UpdateIstGelesen(long senderOid, long empfaengerOid, bool istGelesen) + { + base.Channel.UpdateIstGelesen(senderOid, empfaengerOid, istGelesen); + } + + public void UpdateIstGelesenForOne(long senderOid, long empfaengerOid, bool istGelesen, string messageId) + { + base.Channel.UpdateIstGelesenForOne(senderOid, empfaengerOid, istGelesen, messageId); + } + + public byte[] GetCustomerImage(long customerOid) + { + return base.Channel.GetCustomerImage(customerOid); + } + + public byte[] GetCustomerThumbnail(long customerOid) + { + return base.Channel.GetCustomerThumbnail(customerOid); + } + + public System.Collections.Generic.List GetAllCustomerAppCodes(long pCustomerOid) + { + return base.Channel.GetAllCustomerAppCodes(pCustomerOid); + } + + public byte[] GetChatMedia(long chatMediaMessageOid) + { + return base.Channel.GetChatMedia(chatMediaMessageOid); + } + + public System.Collections.Generic.List GetOrganisationsForPerson(long personoid) + { + return base.Channel.GetOrganisationsForPerson(personoid); + } + + public System.Collections.Generic.List GetPersonForOrganisations(long organisationoid) + { + return base.Channel.GetPersonForOrganisations(organisationoid); + } + + public System.Collections.Generic.List LoadCustomerTokenRelationsByOid(System.Collections.Generic.List pOids) + { + return base.Channel.LoadCustomerTokenRelationsByOid(pOids); + } + + public BS.Shared.DataContracts.PersonDC GetPersonWithCustomerOid(long oid) + { + return base.Channel.GetPersonWithCustomerOid(oid); + } + + public System.Collections.Generic.List GetTimesheetStatusList(System.DateTime monat) + { + return base.Channel.GetTimesheetStatusList(monat); + } + + public System.Collections.Generic.List GetAllActiveCustomersCompactWithQBCheckList(bool fetchReferenceNumbers, System.Nullable currentEmployeeOid, System.DateTime monat) + { + return base.Channel.GetAllActiveCustomersCompactWithQBCheckList(fetchReferenceNumbers, currentEmployeeOid, monat); + } + + public void SaveNewQuittierungsCheck(BS.Shared.DataContracts.QuittierungsCheckDC newItem) + { + base.Channel.SaveNewQuittierungsCheck(newItem); + } + + public void UpdateNewQuittierungsCheck(BS.Shared.DataContracts.QuittierungsCheckDC newItem) + { + base.Channel.UpdateNewQuittierungsCheck(newItem); + } + + public void UpdateQuittierungsCheckWithCustomer(long oid, long loggedinUserOid, System.DateTime monat) + { + base.Channel.UpdateQuittierungsCheckWithCustomer(oid, loggedinUserOid, monat); + } + + public void SetAbWelchenKrankheitsTag(long pCustomerOid, int abWelcherKt) + { + base.Channel.SetAbWelchenKrankheitsTag(pCustomerOid, abWelcherKt); + } + + public void SetVertretungGewuenscht(long pCustomerOid, bool vertWunsch) + { + base.Channel.SetVertretungGewuenscht(pCustomerOid, vertWunsch); + } + + public void SetVertretungDringendErforderlich(long pCustomerOid, bool vertDringendEr) + { + base.Channel.SetVertretungDringendErforderlich(pCustomerOid, vertDringendEr); + } + + public System.Collections.Generic.List GetActiveCompactCustomerEmployeeRelationsByEmployeeId(long empOid) + { + return base.Channel.GetActiveCompactCustomerEmployeeRelationsByEmployeeId(empOid); + } + + public void SetBenutzerPasswortChatAppCode(long pCustomerOid, string benutzerName, string passwort) + { + base.Channel.SetBenutzerPasswortChatAppCode(pCustomerOid, benutzerName, passwort); + } + public void ArchiveCustomer(long pOid, long pVersion) { base.Channel.ArchiveCustomer(pOid, pVersion); @@ -2702,6 +2597,111 @@ namespace BeWo.ServiceProxy { return base.Channel.UpdateCustomer(pCustomerDC); } + + public void UpdateCustomersAbsenceTimes(long pCustomerOid, System.Collections.Generic.List pAbsenceTimes) + { + base.Channel.UpdateCustomersAbsenceTimes(pCustomerOid, pAbsenceTimes); + } + + public long UpdateOrganisation(BS.Shared.DataContracts.OrganisationDC pOrganisationDC) + { + return base.Channel.UpdateOrganisation(pOrganisationDC); + } + + public long UpdatePerson(BS.Shared.DataContracts.PersonDC pPersonDC) + { + return base.Channel.UpdatePerson(pPersonDC); + } + + public long UpdateSupportConcept(BS.Shared.DataContracts.SupportConceptDC pSupportConcept) + { + return base.Channel.UpdateSupportConcept(pSupportConcept); + } + + public System.Collections.Generic.List LoadCustomerAssessmentSheetCategoryList(long pCustomerOid) + { + return base.Channel.LoadCustomerAssessmentSheetCategoryList(pCustomerOid); + } + + public System.Collections.Generic.List LoadAppointments(System.Nullable customerOid, System.Nullable employeeOid) + { + return base.Channel.LoadAppointments(customerOid, employeeOid); + } + + public System.Collections.Generic.List GetAllAppointmentCategories() + { + return base.Channel.GetAllAppointmentCategories(); + } + + public System.Collections.Generic.List InsertNewAppointmentCategories(System.Collections.Generic.List pAppointmentCategories) + { + return base.Channel.InsertNewAppointmentCategories(pAppointmentCategories); + } + + public System.Collections.Generic.List UpdateAppointmentCategories(System.Collections.Generic.List pAppointmentCategories) + { + return base.Channel.UpdateAppointmentCategories(pAppointmentCategories); + } + + public void DeactivateAppointmentCategories(System.Collections.Generic.Dictionary pOid2Version) + { + base.Channel.DeactivateAppointmentCategories(pOid2Version); + } + + public System.Collections.Generic.List InsertNewAppointments(System.Collections.Generic.List pAppointments) + { + return base.Channel.InsertNewAppointments(pAppointments); + } + + public System.Collections.Generic.List UpdateAppointments(System.Collections.Generic.List pAppointments) + { + return base.Channel.UpdateAppointments(pAppointments); + } + + public void DeactivateAppointments(System.Collections.Generic.Dictionary pOid2Version) + { + base.Channel.DeactivateAppointments(pOid2Version); + } + + public System.Collections.Generic.List InsertAbsenceTimes(System.Collections.Generic.List pDCList) + { + return base.Channel.InsertAbsenceTimes(pDCList); + } + + public System.Collections.Generic.List UpdateAbsenceTimes(System.Collections.Generic.List pDCList) + { + return base.Channel.UpdateAbsenceTimes(pDCList); + } + + public void DeactivateAbsenceTimes(System.Collections.Generic.Dictionary pOid2Version) + { + base.Channel.DeactivateAbsenceTimes(pOid2Version); + } + + public System.Collections.Generic.List GetAllCustomerGoals(long pCustomerOid) + { + return base.Channel.GetAllCustomerGoals(pCustomerOid); + } + + public BS.Shared.DataContracts.Compact.CompactSupportConceptDC LoadCompactSupportConceptDC(long pOid, System.Nullable currentEmployeeOid) + { + return base.Channel.LoadCompactSupportConceptDC(pOid, currentEmployeeOid); + } + + public BS.Shared.DataContracts.Compact.CompactCustomerDC GetCompactCustomerDC(long pOid) + { + return base.Channel.GetCompactCustomerDC(pOid); + } + + public System.Collections.Generic.List GetAllActiveCompactCustomers() + { + return base.Channel.GetAllActiveCompactCustomers(); + } + + public bool ServiceRecordOutOfSupportConcept(BS.Shared.DataContracts.SupportConceptDC pSupportConcept) + { + return base.Channel.ServiceRecordOutOfSupportConcept(pSupportConcept); + } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] @@ -3038,24 +3038,24 @@ namespace BeWo.ServiceProxy [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IStreamingService/UpdateBeWoFoldersBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] void UpdateBeWoFolders(System.Collections.Generic.List dcs); - // CODEGEN: Der Nachrichtenvertrag wird generiert, da der Wrappername (UploadPackage) von Nachricht "UploadPackage" nicht mit dem Standardwert (UploadDocument) übereinstimmt. + // CODEGEN: Generating message contract since the wrapper name (UploadPackage) of message UploadPackage does not match the default value (UploadDocument) [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStreamingService/UploadDocument", ReplyAction="http://tempuri.org/IStreamingService/UploadDocumentResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IStreamingService/UploadDocumentBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] BeWo.ServiceProxy.UploadResult UploadDocument(BeWo.ServiceProxy.UploadPackage request); - // CODEGEN: Der Nachrichtenvertrag wird generiert, da der Wrappername (UpdatePackage) von Nachricht "UpdatePackage" nicht mit dem Standardwert (UpdateDocument) übereinstimmt. + // CODEGEN: Generating message contract since the wrapper name (UpdatePackage) of message UpdatePackage does not match the default value (UpdateDocument) [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStreamingService/UpdateDocument", ReplyAction="http://tempuri.org/IStreamingService/UpdateDocumentResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IStreamingService/UpdateDocumentBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] BeWo.ServiceProxy.UploadResult UpdateDocument(BeWo.ServiceProxy.UpdatePackage request); - // CODEGEN: Der Nachrichtenvertrag wird generiert, da der Wrappername (UploadChatPackage) von Nachricht "UploadChatPackage" nicht mit dem Standardwert (CreateNewSpeziallStreamChatMessagesDC) übereinstimmt. + // CODEGEN: Generating message contract since the wrapper name (UploadChatPackage) of message UploadChatPackage does not match the default value (CreateNewSpeziallStreamChatMessagesDC) [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStreamingService/CreateNewSpeziallStreamChatMessagesDC", ReplyAction="http://tempuri.org/IStreamingService/CreateNewSpeziallStreamChatMessagesDCRespons" + "e")] [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IStreamingService/CreateNewSpeziallStreamChatMessagesDCBeWoFau" + "ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] BeWo.ServiceProxy.UploadChatResult CreateNewSpeziallStreamChatMessagesDC(BeWo.ServiceProxy.UploadChatPackage request); - // CODEGEN: Der Nachrichtenvertrag wird generiert, da der Wrappername (UploadPackage) von Nachricht "UploadPackage" nicht mit dem Standardwert (UploadImportFile) übereinstimmt. + // CODEGEN: Generating message contract since the wrapper name (UploadPackage) of message UploadPackage does not match the default value (UploadImportFile) [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IStreamingService/UploadImportFile", ReplyAction="http://tempuri.org/IStreamingService/UploadImportFileResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IStreamingService/UploadImportFileBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] BeWo.ServiceProxy.UploadImportFileResult UploadImportFile(BeWo.ServiceProxy.UploadPackage request); @@ -4218,224 +4218,6 @@ namespace BeWo.ServiceProxy public interface IOperationsService { - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetFlexibleReportResult", ReplyAction="http://tempuri.org/IOperationsService/GetFlexibleReportResultResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetFlexibleReportResultBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - BS.Shared.DataContracts.FlexibleReportResultDC GetFlexibleReportResult(BS.Shared.DataContracts.FlexibleReportFilterDC filter); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetFlexibleReportLayouts", ReplyAction="http://tempuri.org/IOperationsService/GetFlexibleReportLayoutsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetFlexibleReportLayoutsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetFlexibleReportLayouts(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewFlexibleReportLayout", ReplyAction="http://tempuri.org/IOperationsService/InsertNewFlexibleReportLayoutResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewFlexibleReportLayoutBeWoFaultFault" + - "", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void InsertNewFlexibleReportLayout(BS.Shared.DataContracts.FlexibleReportLayoutDC flexibleReportLayoutDC); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateFlexibleReportLayouts", ReplyAction="http://tempuri.org/IOperationsService/UpdateFlexibleReportLayoutsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateFlexibleReportLayoutsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void UpdateFlexibleReportLayouts(System.Collections.Generic.List flexibleReportLayouts); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/CheckForOverlappingSubstitutionEntries", ReplyAction="http://tempuri.org/IOperationsService/CheckForOverlappingSubstitutionEntriesRespo" + - "nse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/CheckForOverlappingSubstitutionEntriesBeWoF" + - "aultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - bool CheckForOverlappingSubstitutionEntries(System.DateTime startDate, System.DateTime endDate, System.Nullable employeeOid, System.Nullable customerOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetHomeViewPanels", ReplyAction="http://tempuri.org/IOperationsService/GetHomeViewPanelsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetHomeViewPanelsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetHomeViewPanels(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateIsChatActiveCustomerAPPCodeDC", ReplyAction="http://tempuri.org/IOperationsService/UpdateIsChatActiveCustomerAPPCodeDCResponse" + - "")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateIsChatActiveCustomerAPPCodeDCBeWoFaul" + - "tFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void UpdateIsChatActiveCustomerAPPCodeDC(long customerOid, int activeType); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetIsChatActiveCustomerAPPCodeDC", ReplyAction="http://tempuri.org/IOperationsService/GetIsChatActiveCustomerAPPCodeDCResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetIsChatActiveCustomerAPPCodeDCBeWoFaultFa" + - "ult", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetIsChatActiveCustomerAPPCodeDC(long customerOid, int activeType); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/FindUnreadChatMessagesForRecipient", ReplyAction="http://tempuri.org/IOperationsService/FindUnreadChatMessagesForRecipientResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/FindUnreadChatMessagesForRecipientBeWoFault" + - "Fault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List FindUnreadChatMessagesForRecipient(long personOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/CreateNewEmployeeAPPCodeDC", ReplyAction="http://tempuri.org/IOperationsService/CreateNewEmployeeAPPCodeDCResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/CreateNewEmployeeAPPCodeDCBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - BS.Shared.DataContracts.EmployeeAPPCodeDC CreateNewEmployeeAPPCodeDC(long employeeOid, string kundennummer, string apikey); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateIsChatActiveEmployeeAPPCodeDC", ReplyAction="http://tempuri.org/IOperationsService/UpdateIsChatActiveEmployeeAPPCodeDCResponse" + - "")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateIsChatActiveEmployeeAPPCodeDCBeWoFaul" + - "tFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void UpdateIsChatActiveEmployeeAPPCodeDC(long employeeOid, int activeType); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateNotfallNacrichtEmployeeAPPCodeDC", ReplyAction="http://tempuri.org/IOperationsService/UpdateNotfallNacrichtEmployeeAPPCodeDCRespo" + - "nse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateNotfallNacrichtEmployeeAPPCodeDCBeWoF" + - "aultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void UpdateNotfallNacrichtEmployeeAPPCodeDC(long employeeOid, string notfallstate); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/LoadOrganisationPersonRelationsByOid", ReplyAction="http://tempuri.org/IOperationsService/LoadOrganisationPersonRelationsByOidRespons" + - "e")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/LoadOrganisationPersonRelationsByOidBeWoFau" + - "ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List LoadOrganisationPersonRelationsByOid(System.Collections.Generic.List pOids); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/LoadBargeldkassenForObject", ReplyAction="http://tempuri.org/IOperationsService/LoadBargeldkassenForObjectResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/LoadBargeldkassenForObjectBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List LoadBargeldkassenForObject(BS.Shared.TableID objectTid, long objectOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewBargeldkasse", ReplyAction="http://tempuri.org/IOperationsService/InsertNewBargeldkasseResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewBargeldkasseBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - long InsertNewBargeldkasse(BS.Shared.DataContracts.BargeldkassenDC pBargeldkasse); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateBargeldkasse", ReplyAction="http://tempuri.org/IOperationsService/UpdateBargeldkasseResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateBargeldkasseBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - BS.Shared.DataContracts.BargeldkassenDC UpdateBargeldkasse(BS.Shared.DataContracts.BargeldkassenDC pBargeldkasse); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeactivateBargeldkasse", ReplyAction="http://tempuri.org/IOperationsService/DeactivateBargeldkasseResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeactivateBargeldkasseBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeactivateBargeldkasse(long pOid, long pVersion); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/LoadNotizenKategorienForObject", ReplyAction="http://tempuri.org/IOperationsService/LoadNotizenKategorienForObjectResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/LoadNotizenKategorienForObjectBeWoFaultFaul" + - "t", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List LoadNotizenKategorienForObject(BS.Shared.TableID objectTid, long objectOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewNotizenKategorie", ReplyAction="http://tempuri.org/IOperationsService/InsertNewNotizenKategorieResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewNotizenKategorieBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - long InsertNewNotizenKategorie(BS.Shared.DataContracts.NotizenKategorieDC pBargeldkasse); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateNotizenKategorie", ReplyAction="http://tempuri.org/IOperationsService/UpdateNotizenKategorieResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateNotizenKategorieBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - BS.Shared.DataContracts.NotizenKategorieDC UpdateNotizenKategorie(BS.Shared.DataContracts.NotizenKategorieDC pBargeldkasse); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeactivateNotizenEintrag", ReplyAction="http://tempuri.org/IOperationsService/DeactivateNotizenEintragResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeactivateNotizenEintragBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeactivateNotizenEintrag(long pOid, long pVersion); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeactivateNotizenKategorie", ReplyAction="http://tempuri.org/IOperationsService/DeactivateNotizenKategorieResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeactivateNotizenKategorieBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeactivateNotizenKategorie(long pOid, long pVersion); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/CreateNewPerson2OrganisationRelation", ReplyAction="http://tempuri.org/IOperationsService/CreateNewPerson2OrganisationRelationRespons" + - "e")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/CreateNewPerson2OrganisationRelationBeWoFau" + - "ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void CreateNewPerson2OrganisationRelation(long organi, BS.Shared.DataContracts.ValueListEntryDC value, long personOid, string mail, string fax, string tele, string notice); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeletePerson2OrganisationRelation", ReplyAction="http://tempuri.org/IOperationsService/DeletePerson2OrganisationRelationResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeletePerson2OrganisationRelationBeWoFaultF" + - "ault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeletePerson2OrganisationRelation(long oid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetEmployeesServiceRecordsWithStartEndDate", ReplyAction="http://tempuri.org/IOperationsService/GetEmployeesServiceRecordsWithStartEndDateR" + - "esponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetEmployeesServiceRecordsWithStartEndDateB" + - "eWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetEmployeesServiceRecordsWithStartEndDate(long pEmployeeOid, System.DateTime start, System.DateTime ende); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetCustomerServiceRecordsCompactWithStartEn" + - "dDate", ReplyAction="http://tempuri.org/IOperationsService/GetCustomerServiceRecordsCompactWithStartEn" + - "dDateResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetCustomerServiceRecordsCompactWithStartEn" + - "dDateBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetCustomerServiceRecordsCompactWithStartEndDate(long pCustomerOid, long costbearer2SupportConceptOid, System.DateTime start, System.DateTime ende); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewEmployeeAbsenceTime", ReplyAction="http://tempuri.org/IOperationsService/InsertNewEmployeeAbsenceTimeResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewEmployeeAbsenceTimeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void InsertNewEmployeeAbsenceTime(long employeeOid, BS.Shared.DataContracts.AbsenceTimeDC at); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewCustomerAbsenceTime", ReplyAction="http://tempuri.org/IOperationsService/InsertNewCustomerAbsenceTimeResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewCustomerAbsenceTimeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void InsertNewCustomerAbsenceTime(long customerOid, BS.Shared.DataContracts.AbsenceTimeDC at); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeleteVertretung", ReplyAction="http://tempuri.org/IOperationsService/DeleteVertretungResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeleteVertretungBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeleteVertretung(long vert); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateVertretung", ReplyAction="http://tempuri.org/IOperationsService/UpdateVertretungResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateVertretungBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void UpdateVertretung(BS.Shared.DataContracts.VertretungDC vert); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetVertretungsListe", ReplyAction="http://tempuri.org/IOperationsService/GetVertretungsListeResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetVertretungsListeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetVertretungsListe(System.DateTime datum); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetVertretungsListeForTimeSpan", ReplyAction="http://tempuri.org/IOperationsService/GetVertretungsListeForTimeSpanResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetVertretungsListeForTimeSpanBeWoFaultFaul" + - "t", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetVertretungsListeForTimeSpan(System.DateTime start, System.DateTime ende); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/CreateVertretung", ReplyAction="http://tempuri.org/IOperationsService/CreateVertretungResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/CreateVertretungBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void CreateVertretung(BS.Shared.DataContracts.VertretungDC vertretung); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeactivateAbsenceTime", ReplyAction="http://tempuri.org/IOperationsService/DeactivateAbsenceTimeResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeactivateAbsenceTimeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeactivateAbsenceTime(System.Collections.Generic.Dictionary pOid2Version); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateVertretungAndAbsenceTime", ReplyAction="http://tempuri.org/IOperationsService/UpdateVertretungAndAbsenceTimeResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateVertretungAndAbsenceTimeBeWoFaultFaul" + - "t", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void UpdateVertretungAndAbsenceTime(BS.Shared.DataContracts.VertretungDC vert, BS.Shared.DataContracts.AbsenceTimeDC abs); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateAbsenceTime", ReplyAction="http://tempuri.org/IOperationsService/UpdateAbsenceTimeResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateAbsenceTimeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void UpdateAbsenceTime(BS.Shared.DataContracts.AbsenceTimeDC abs); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetAllTokens", ReplyAction="http://tempuri.org/IOperationsService/GetAllTokensResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAllTokensBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllTokens(BS.Shared.SchulbegleitenderZugehoerigkeitsTyp zugehoerigkeitsTyp, System.Nullable oid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeleteToken", ReplyAction="http://tempuri.org/IOperationsService/DeleteTokenResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeleteTokenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeleteToken(BS.Shared.DataContracts.TokenDC token); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeletTokenRelation", ReplyAction="http://tempuri.org/IOperationsService/DeletTokenRelationResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeletTokenRelationBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeletTokenRelation(BS.Shared.DataContracts.Compact.CompactTokenDC token, System.Nullable oid, BS.Shared.SchulbegleitenderZugehoerigkeitsTyp typ); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewToken", ReplyAction="http://tempuri.org/IOperationsService/InsertNewTokenResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewTokenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void InsertNewToken(string beschreibung, BS.Shared.TokenTyp typ, BS.Shared.SchulbegleitenderZugehoerigkeitsTyp zugehoerigkeitsTyp, System.Nullable oid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewRelationToken", ReplyAction="http://tempuri.org/IOperationsService/InsertNewRelationTokenResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewRelationTokenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void InsertNewRelationToken(BS.Shared.DataContracts.Compact.CompactTokenDC token, BS.Shared.TokenTyp typ, BS.Shared.SchulbegleitenderZugehoerigkeitsTyp zugehoerigkeitsTyp, System.Nullable oid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateToken", ReplyAction="http://tempuri.org/IOperationsService/UpdateTokenResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateTokenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void UpdateToken(BS.Shared.DataContracts.TokenDC token); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetCustomer2TokenList", ReplyAction="http://tempuri.org/IOperationsService/GetCustomer2TokenListResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetCustomer2TokenListBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetCustomer2TokenList(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetEmployee2TokenList", ReplyAction="http://tempuri.org/IOperationsService/GetEmployee2TokenListResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetEmployee2TokenListBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetEmployee2TokenList(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/VertretungsMitarbeiterListeWoechentlich", ReplyAction="http://tempuri.org/IOperationsService/VertretungsMitarbeiterListeWoechentlichResp" + - "onse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/VertretungsMitarbeiterListeWoechentlichBeWo" + - "FaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List VertretungsMitarbeiterListeWoechentlich(System.DateTime start, System.DateTime ende); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/KlientenAbschlagsInfoListe", ReplyAction="http://tempuri.org/IOperationsService/KlientenAbschlagsInfoListeResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/KlientenAbschlagsInfoListeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - BS.Shared.DataContracts.VertretungsKlientAccountingsListeItemsDC KlientenAbschlagsInfoListe(System.DateTime start, System.DateTime end); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DoTokenWunschOperation", ReplyAction="http://tempuri.org/IOperationsService/DoTokenWunschOperationResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DoTokenWunschOperationBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DoTokenWunschOperation(int art, System.Nullable Oid, BS.Shared.SchulbegleitenderZugehoerigkeitsTyp zugehoerigkeitsTyp, System.Collections.Generic.Dictionary verfuegbarerWunschToken, string token); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DoTokenAusschlussOperation", ReplyAction="http://tempuri.org/IOperationsService/DoTokenAusschlussOperationResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DoTokenAusschlussOperationBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DoTokenAusschlussOperation(int art, System.Nullable Oid, BS.Shared.SchulbegleitenderZugehoerigkeitsTyp zugehoerigkeitsTyp, System.Collections.Generic.Dictionary verfuegbarerAusschlussToken, string token); - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetLastVertreter", ReplyAction="http://tempuri.org/IOperationsService/GetLastVertreterResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetLastVertreterBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] System.Collections.Generic.List GetLastVertreter(System.Nullable klientenOid); @@ -4527,113 +4309,37 @@ namespace BeWo.ServiceProxy [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateBudgetBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] void UpdateBudget(System.Collections.Generic.List budgets); - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateMandator", ReplyAction="http://tempuri.org/IOperationsService/UpdateMandatorResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateMandatorBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - BS.Shared.DataContracts.MandatorDC UpdateMandator(BS.Shared.DataContracts.MandatorDC mandator); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetFlexibleReportResult", ReplyAction="http://tempuri.org/IOperationsService/GetFlexibleReportResultResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetFlexibleReportResultBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + BS.Shared.DataContracts.FlexibleReportResultDC GetFlexibleReportResult(BS.Shared.DataContracts.FlexibleReportFilterDC filter); - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateServiceCategories", ReplyAction="http://tempuri.org/IOperationsService/UpdateServiceCategoriesResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateServiceCategoriesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void UpdateServiceCategories(System.Collections.Generic.List pServiceCategories); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetFlexibleReportLayouts", ReplyAction="http://tempuri.org/IOperationsService/GetFlexibleReportLayoutsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetFlexibleReportLayoutsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetFlexibleReportLayouts(); - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateServiceDescriptions", ReplyAction="http://tempuri.org/IOperationsService/UpdateServiceDescriptionsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateServiceDescriptionsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void UpdateServiceDescriptions(System.Collections.Generic.List pServiceDescriptions); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateServiceRecordGroup", ReplyAction="http://tempuri.org/IOperationsService/UpdateServiceRecordGroupResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateServiceRecordGroupBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - BS.Shared.DataContracts.ServiceRecordGroupDC UpdateServiceRecordGroup(BS.Shared.DataContracts.ServiceRecordGroupDC pServiceRecordGroup); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateServiceRecords", ReplyAction="http://tempuri.org/IOperationsService/UpdateServiceRecordsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateServiceRecordsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void UpdateServiceRecords(System.Collections.Generic.List pServiceRecords); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetServiceRecordStatisticInfo", ReplyAction="http://tempuri.org/IOperationsService/GetServiceRecordStatisticInfoResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetServiceRecordStatisticInfoBeWoFaultFault" + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewFlexibleReportLayout", ReplyAction="http://tempuri.org/IOperationsService/InsertNewFlexibleReportLayoutResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewFlexibleReportLayoutBeWoFaultFault" + "", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - BS.Shared.DataContracts.ServiceRecordStatisticsInfoDC GetServiceRecordStatisticInfo(long costBearer2SupportConceptOid, System.DateTime statisticsDate); + void InsertNewFlexibleReportLayout(BS.Shared.DataContracts.FlexibleReportLayoutDC flexibleReportLayoutDC); - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/CreateSupportConceptStatistics", ReplyAction="http://tempuri.org/IOperationsService/CreateSupportConceptStatisticsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/CreateSupportConceptStatisticsBeWoFaultFaul" + - "t", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - BS.Shared.DataContracts.SupportConceptStatisticsDC CreateSupportConceptStatistics(long costBearer2SupportConceptOid, System.DateTime statisticsDate); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateFlexibleReportLayouts", ReplyAction="http://tempuri.org/IOperationsService/UpdateFlexibleReportLayoutsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateFlexibleReportLayoutsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void UpdateFlexibleReportLayouts(System.Collections.Generic.List flexibleReportLayouts); - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetServiceRecordHistory", ReplyAction="http://tempuri.org/IOperationsService/GetServiceRecordHistoryResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetServiceRecordHistoryBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetServiceRecordHistory(long serviceRecordOid); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/CheckForOverlappingSubstitutionEntries", ReplyAction="http://tempuri.org/IOperationsService/CheckForOverlappingSubstitutionEntriesRespo" + + "nse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/CheckForOverlappingSubstitutionEntriesBeWoF" + + "aultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + bool CheckForOverlappingSubstitutionEntries(System.DateTime startDate, System.DateTime endDate, System.Nullable employeeOid, System.Nullable customerOid, System.Nullable substitutionOid); - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/ResetTenant", ReplyAction="http://tempuri.org/IOperationsService/ResetTenantResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/ResetTenantBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void ResetTenant(string tenant); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetHomeViewPanels", ReplyAction="http://tempuri.org/IOperationsService/GetHomeViewPanelsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetHomeViewPanelsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetHomeViewPanels(); - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/ResetAllTenants", ReplyAction="http://tempuri.org/IOperationsService/ResetAllTenantsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/ResetAllTenantsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void ResetAllTenants(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DoesNotOverlapWithOtherServiceRecord", ReplyAction="http://tempuri.org/IOperationsService/DoesNotOverlapWithOtherServiceRecordRespons" + - "e")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DoesNotOverlapWithOtherServiceRecordBeWoFau" + - "ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - bool DoesNotOverlapWithOtherServiceRecord(BS.Shared.DataContracts.ServiceRecordDC pServiceRecord, long customerOid, System.Nullable employeeOid); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetAllAdditionalService", ReplyAction="http://tempuri.org/IOperationsService/GetAllAdditionalServiceResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllAdditionalService(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceRegion", ReplyAction="http://tempuri.org/IOperationsService/GetAllAdditionalServiceRegionResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceRegionBeWoFaultFault" + - "", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllAdditionalServiceRegion(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceGroupOfPeopleRelatio" + - "n", ReplyAction="http://tempuri.org/IOperationsService/GetAllAdditionalServiceGroupOfPeopleRelatio" + - "nResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceGroupOfPeopleRelatio" + - "nBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllAdditionalServiceGroupOfPeopleRelation(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceGroupOfPeople", ReplyAction="http://tempuri.org/IOperationsService/GetAllAdditionalServiceGroupOfPeopleRespons" + - "e")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceGroupOfPeopleBeWoFau" + - "ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllAdditionalServiceGroupOfPeople(); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceGroupOfPeopleRela" + - "tions", ReplyAction="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceGroupOfPeopleRela" + - "tionsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceGroupOfPeopleRela" + - "tionsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List InsertNewAdditionalServiceGroupOfPeopleRelations(System.Collections.Generic.List pAdditionalServiceGroupOfPeopleRelations); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateAdditionalServiceGroupOfPeopleRelatio" + - "ns", ReplyAction="http://tempuri.org/IOperationsService/UpdateAdditionalServiceGroupOfPeopleRelatio" + - "nsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateAdditionalServiceGroupOfPeopleRelatio" + - "nsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void UpdateAdditionalServiceGroupOfPeopleRelations(System.Collections.Generic.List pAdditionalServiceGroupOfPeopleRelations); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeleteAdditionalServiceGroupOfPeopleRelatio" + - "n", ReplyAction="http://tempuri.org/IOperationsService/DeleteAdditionalServiceGroupOfPeopleRelatio" + - "nResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeleteAdditionalServiceGroupOfPeopleRelatio" + - "nBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - void DeleteAdditionalServiceGroupOfPeopleRelation(long pDeleteAdditionalServiceGroupOfPeopleRelationOid, long pVersion); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateAdditionalServiceGroupOfPeople", ReplyAction="http://tempuri.org/IOperationsService/UpdateAdditionalServiceGroupOfPeopleRespons" + - "e")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateAdditionalServiceGroupOfPeopleBeWoFau" + - "ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - BS.Shared.DataContracts.AdditionalServiceGroupOfPeopleDC UpdateAdditionalServiceGroupOfPeople(BS.Shared.DataContracts.AdditionalServiceGroupOfPeopleDC pAdditionalServiceGroupOfPeople); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceGroupsOfPeople", ReplyAction="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceGroupsOfPeopleRes" + - "ponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceGroupsOfPeopleBeW" + - "oFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List InsertNewAdditionalServiceGroupsOfPeople(System.Collections.Generic.List pGroups); - - [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceBookings", ReplyAction="http://tempuri.org/IOperationsService/GetAllAdditionalServiceBookingsResponse")] - [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceBookingsBeWoFaultFau" + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/CheckForOverlappingAbsenceTimes", ReplyAction="http://tempuri.org/IOperationsService/CheckForOverlappingAbsenceTimesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/CheckForOverlappingAbsenceTimesBeWoFaultFau" + "lt", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] - System.Collections.Generic.List GetAllAdditionalServiceBookings(System.Nullable regionOid, System.DateTime start, System.DateTime end); + bool CheckForOverlappingAbsenceTimes(System.DateTime startDate, System.DateTime endDate, System.Nullable employeeOid, System.Nullable customerOid); [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceBookings", ReplyAction="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceBookingsResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceBookingsBeWoFault" + @@ -4830,6 +4536,197 @@ namespace BeWo.ServiceProxy [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/CreateNewChatMessagesDCBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] BS.Shared.DataContracts.ChatMessageDC CreateNewChatMessagesDC(long senderOid, long empfängerOid, string message, bool isDeliverd, long teamid, string messageid); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateIsChatActiveCustomerAPPCodeDC", ReplyAction="http://tempuri.org/IOperationsService/UpdateIsChatActiveCustomerAPPCodeDCResponse" + + "")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateIsChatActiveCustomerAPPCodeDCBeWoFaul" + + "tFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void UpdateIsChatActiveCustomerAPPCodeDC(long customerOid, int activeType); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetIsChatActiveCustomerAPPCodeDC", ReplyAction="http://tempuri.org/IOperationsService/GetIsChatActiveCustomerAPPCodeDCResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetIsChatActiveCustomerAPPCodeDCBeWoFaultFa" + + "ult", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetIsChatActiveCustomerAPPCodeDC(long customerOid, int activeType); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/FindUnreadChatMessagesForRecipient", ReplyAction="http://tempuri.org/IOperationsService/FindUnreadChatMessagesForRecipientResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/FindUnreadChatMessagesForRecipientBeWoFault" + + "Fault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List FindUnreadChatMessagesForRecipient(long personOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/CreateNewEmployeeAPPCodeDC", ReplyAction="http://tempuri.org/IOperationsService/CreateNewEmployeeAPPCodeDCResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/CreateNewEmployeeAPPCodeDCBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + BS.Shared.DataContracts.EmployeeAPPCodeDC CreateNewEmployeeAPPCodeDC(long employeeOid, string kundennummer, string apikey); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateIsChatActiveEmployeeAPPCodeDC", ReplyAction="http://tempuri.org/IOperationsService/UpdateIsChatActiveEmployeeAPPCodeDCResponse" + + "")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateIsChatActiveEmployeeAPPCodeDCBeWoFaul" + + "tFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void UpdateIsChatActiveEmployeeAPPCodeDC(long employeeOid, int activeType); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateNotfallNacrichtEmployeeAPPCodeDC", ReplyAction="http://tempuri.org/IOperationsService/UpdateNotfallNacrichtEmployeeAPPCodeDCRespo" + + "nse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateNotfallNacrichtEmployeeAPPCodeDCBeWoF" + + "aultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void UpdateNotfallNacrichtEmployeeAPPCodeDC(long employeeOid, string notfallstate); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/LoadOrganisationPersonRelationsByOid", ReplyAction="http://tempuri.org/IOperationsService/LoadOrganisationPersonRelationsByOidRespons" + + "e")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/LoadOrganisationPersonRelationsByOidBeWoFau" + + "ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List LoadOrganisationPersonRelationsByOid(System.Collections.Generic.List pOids); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/LoadBargeldkassenForObject", ReplyAction="http://tempuri.org/IOperationsService/LoadBargeldkassenForObjectResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/LoadBargeldkassenForObjectBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List LoadBargeldkassenForObject(BS.Shared.TableID objectTid, long objectOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewBargeldkasse", ReplyAction="http://tempuri.org/IOperationsService/InsertNewBargeldkasseResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewBargeldkasseBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + long InsertNewBargeldkasse(BS.Shared.DataContracts.BargeldkassenDC pBargeldkasse); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateBargeldkasse", ReplyAction="http://tempuri.org/IOperationsService/UpdateBargeldkasseResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateBargeldkasseBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + BS.Shared.DataContracts.BargeldkassenDC UpdateBargeldkasse(BS.Shared.DataContracts.BargeldkassenDC pBargeldkasse); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeactivateBargeldkasse", ReplyAction="http://tempuri.org/IOperationsService/DeactivateBargeldkasseResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeactivateBargeldkasseBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeactivateBargeldkasse(long pOid, long pVersion); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/LoadNotizenKategorienForObject", ReplyAction="http://tempuri.org/IOperationsService/LoadNotizenKategorienForObjectResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/LoadNotizenKategorienForObjectBeWoFaultFaul" + + "t", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List LoadNotizenKategorienForObject(BS.Shared.TableID objectTid, long objectOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewNotizenKategorie", ReplyAction="http://tempuri.org/IOperationsService/InsertNewNotizenKategorieResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewNotizenKategorieBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + long InsertNewNotizenKategorie(BS.Shared.DataContracts.NotizenKategorieDC pBargeldkasse); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateNotizenKategorie", ReplyAction="http://tempuri.org/IOperationsService/UpdateNotizenKategorieResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateNotizenKategorieBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + BS.Shared.DataContracts.NotizenKategorieDC UpdateNotizenKategorie(BS.Shared.DataContracts.NotizenKategorieDC pBargeldkasse); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeactivateNotizenEintrag", ReplyAction="http://tempuri.org/IOperationsService/DeactivateNotizenEintragResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeactivateNotizenEintragBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeactivateNotizenEintrag(long pOid, long pVersion); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeactivateNotizenKategorie", ReplyAction="http://tempuri.org/IOperationsService/DeactivateNotizenKategorieResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeactivateNotizenKategorieBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeactivateNotizenKategorie(long pOid, long pVersion); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/CreateNewPerson2OrganisationRelation", ReplyAction="http://tempuri.org/IOperationsService/CreateNewPerson2OrganisationRelationRespons" + + "e")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/CreateNewPerson2OrganisationRelationBeWoFau" + + "ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void CreateNewPerson2OrganisationRelation(long organi, BS.Shared.DataContracts.ValueListEntryDC value, long personOid, string mail, string fax, string tele, string notice); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeletePerson2OrganisationRelation", ReplyAction="http://tempuri.org/IOperationsService/DeletePerson2OrganisationRelationResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeletePerson2OrganisationRelationBeWoFaultF" + + "ault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeletePerson2OrganisationRelation(long oid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetEmployeesServiceRecordsWithStartEndDate", ReplyAction="http://tempuri.org/IOperationsService/GetEmployeesServiceRecordsWithStartEndDateR" + + "esponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetEmployeesServiceRecordsWithStartEndDateB" + + "eWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetEmployeesServiceRecordsWithStartEndDate(long pEmployeeOid, System.DateTime start, System.DateTime ende); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetCustomerServiceRecordsCompactWithStartEn" + + "dDate", ReplyAction="http://tempuri.org/IOperationsService/GetCustomerServiceRecordsCompactWithStartEn" + + "dDateResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetCustomerServiceRecordsCompactWithStartEn" + + "dDateBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetCustomerServiceRecordsCompactWithStartEndDate(long pCustomerOid, long costbearer2SupportConceptOid, System.DateTime start, System.DateTime ende); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewEmployeeAbsenceTime", ReplyAction="http://tempuri.org/IOperationsService/InsertNewEmployeeAbsenceTimeResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewEmployeeAbsenceTimeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void InsertNewEmployeeAbsenceTime(long employeeOid, BS.Shared.DataContracts.AbsenceTimeDC at); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewCustomerAbsenceTime", ReplyAction="http://tempuri.org/IOperationsService/InsertNewCustomerAbsenceTimeResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewCustomerAbsenceTimeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void InsertNewCustomerAbsenceTime(long customerOid, BS.Shared.DataContracts.AbsenceTimeDC at); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeleteVertretung", ReplyAction="http://tempuri.org/IOperationsService/DeleteVertretungResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeleteVertretungBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeleteVertretung(long vert); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateVertretung", ReplyAction="http://tempuri.org/IOperationsService/UpdateVertretungResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateVertretungBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void UpdateVertretung(BS.Shared.DataContracts.VertretungDC vert); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetVertretungsListe", ReplyAction="http://tempuri.org/IOperationsService/GetVertretungsListeResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetVertretungsListeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetVertretungsListe(System.DateTime datum); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetVertretungsListeForTimeSpan", ReplyAction="http://tempuri.org/IOperationsService/GetVertretungsListeForTimeSpanResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetVertretungsListeForTimeSpanBeWoFaultFaul" + + "t", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetVertretungsListeForTimeSpan(System.DateTime start, System.DateTime ende); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/CreateVertretung", ReplyAction="http://tempuri.org/IOperationsService/CreateVertretungResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/CreateVertretungBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void CreateVertretung(BS.Shared.DataContracts.VertretungDC vertretung); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeactivateAbsenceTime", ReplyAction="http://tempuri.org/IOperationsService/DeactivateAbsenceTimeResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeactivateAbsenceTimeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeactivateAbsenceTime(System.Collections.Generic.Dictionary pOid2Version); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateVertretungAndAbsenceTime", ReplyAction="http://tempuri.org/IOperationsService/UpdateVertretungAndAbsenceTimeResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateVertretungAndAbsenceTimeBeWoFaultFaul" + + "t", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void UpdateVertretungAndAbsenceTime(BS.Shared.DataContracts.VertretungDC vert, BS.Shared.DataContracts.AbsenceTimeDC abs); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateAbsenceTime", ReplyAction="http://tempuri.org/IOperationsService/UpdateAbsenceTimeResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateAbsenceTimeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void UpdateAbsenceTime(BS.Shared.DataContracts.AbsenceTimeDC abs); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetAllTokens", ReplyAction="http://tempuri.org/IOperationsService/GetAllTokensResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAllTokensBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllTokens(BS.Shared.SchulbegleitenderZugehoerigkeitsTyp zugehoerigkeitsTyp, System.Nullable oid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeleteToken", ReplyAction="http://tempuri.org/IOperationsService/DeleteTokenResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeleteTokenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeleteToken(BS.Shared.DataContracts.TokenDC token); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeletTokenRelation", ReplyAction="http://tempuri.org/IOperationsService/DeletTokenRelationResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeletTokenRelationBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeletTokenRelation(BS.Shared.DataContracts.Compact.CompactTokenDC token, System.Nullable oid, BS.Shared.SchulbegleitenderZugehoerigkeitsTyp typ); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewToken", ReplyAction="http://tempuri.org/IOperationsService/InsertNewTokenResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewTokenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void InsertNewToken(string beschreibung, BS.Shared.TokenTyp typ, BS.Shared.SchulbegleitenderZugehoerigkeitsTyp zugehoerigkeitsTyp, System.Nullable oid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewRelationToken", ReplyAction="http://tempuri.org/IOperationsService/InsertNewRelationTokenResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewRelationTokenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void InsertNewRelationToken(BS.Shared.DataContracts.Compact.CompactTokenDC token, BS.Shared.TokenTyp typ, BS.Shared.SchulbegleitenderZugehoerigkeitsTyp zugehoerigkeitsTyp, System.Nullable oid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateToken", ReplyAction="http://tempuri.org/IOperationsService/UpdateTokenResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateTokenBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void UpdateToken(BS.Shared.DataContracts.TokenDC token); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetCustomer2TokenList", ReplyAction="http://tempuri.org/IOperationsService/GetCustomer2TokenListResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetCustomer2TokenListBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetCustomer2TokenList(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetEmployee2TokenList", ReplyAction="http://tempuri.org/IOperationsService/GetEmployee2TokenListResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetEmployee2TokenListBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetEmployee2TokenList(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/VertretungsMitarbeiterListeWoechentlich", ReplyAction="http://tempuri.org/IOperationsService/VertretungsMitarbeiterListeWoechentlichResp" + + "onse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/VertretungsMitarbeiterListeWoechentlichBeWo" + + "FaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List VertretungsMitarbeiterListeWoechentlich(System.DateTime start, System.DateTime ende); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/KlientenAbschlagsInfoListe", ReplyAction="http://tempuri.org/IOperationsService/KlientenAbschlagsInfoListeResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/KlientenAbschlagsInfoListeBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + BS.Shared.DataContracts.VertretungsKlientAccountingsListeItemsDC KlientenAbschlagsInfoListe(System.DateTime start, System.DateTime end); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DoTokenWunschOperation", ReplyAction="http://tempuri.org/IOperationsService/DoTokenWunschOperationResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DoTokenWunschOperationBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DoTokenWunschOperation(int art, System.Nullable Oid, BS.Shared.SchulbegleitenderZugehoerigkeitsTyp zugehoerigkeitsTyp, System.Collections.Generic.Dictionary verfuegbarerWunschToken, string token); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DoTokenAusschlussOperation", ReplyAction="http://tempuri.org/IOperationsService/DoTokenAusschlussOperationResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DoTokenAusschlussOperationBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DoTokenAusschlussOperation(int art, System.Nullable Oid, BS.Shared.SchulbegleitenderZugehoerigkeitsTyp zugehoerigkeitsTyp, System.Collections.Generic.Dictionary verfuegbarerAusschlussToken, string token); + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeactivateInvoices", ReplyAction="http://tempuri.org/IOperationsService/DeactivateInvoicesResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeactivateInvoicesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] void DeactivateInvoices(System.Collections.Generic.List invoices); @@ -5109,6 +5006,114 @@ namespace BeWo.ServiceProxy [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateInvoices", ReplyAction="http://tempuri.org/IOperationsService/UpdateInvoicesResponse")] [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateInvoicesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] void UpdateInvoices(System.Collections.Generic.List invoices); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateMandator", ReplyAction="http://tempuri.org/IOperationsService/UpdateMandatorResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateMandatorBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + BS.Shared.DataContracts.MandatorDC UpdateMandator(BS.Shared.DataContracts.MandatorDC mandator); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateServiceCategories", ReplyAction="http://tempuri.org/IOperationsService/UpdateServiceCategoriesResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateServiceCategoriesBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void UpdateServiceCategories(System.Collections.Generic.List pServiceCategories); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateServiceDescriptions", ReplyAction="http://tempuri.org/IOperationsService/UpdateServiceDescriptionsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateServiceDescriptionsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void UpdateServiceDescriptions(System.Collections.Generic.List pServiceDescriptions); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateServiceRecordGroup", ReplyAction="http://tempuri.org/IOperationsService/UpdateServiceRecordGroupResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateServiceRecordGroupBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + BS.Shared.DataContracts.ServiceRecordGroupDC UpdateServiceRecordGroup(BS.Shared.DataContracts.ServiceRecordGroupDC pServiceRecordGroup); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateServiceRecords", ReplyAction="http://tempuri.org/IOperationsService/UpdateServiceRecordsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateServiceRecordsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void UpdateServiceRecords(System.Collections.Generic.List pServiceRecords); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetServiceRecordStatisticInfo", ReplyAction="http://tempuri.org/IOperationsService/GetServiceRecordStatisticInfoResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetServiceRecordStatisticInfoBeWoFaultFault" + + "", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + BS.Shared.DataContracts.ServiceRecordStatisticsInfoDC GetServiceRecordStatisticInfo(long costBearer2SupportConceptOid, System.DateTime statisticsDate); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/CreateSupportConceptStatistics", ReplyAction="http://tempuri.org/IOperationsService/CreateSupportConceptStatisticsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/CreateSupportConceptStatisticsBeWoFaultFaul" + + "t", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + BS.Shared.DataContracts.SupportConceptStatisticsDC CreateSupportConceptStatistics(long costBearer2SupportConceptOid, System.DateTime statisticsDate); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetServiceRecordHistory", ReplyAction="http://tempuri.org/IOperationsService/GetServiceRecordHistoryResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetServiceRecordHistoryBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetServiceRecordHistory(long serviceRecordOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/ResetTenant", ReplyAction="http://tempuri.org/IOperationsService/ResetTenantResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/ResetTenantBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void ResetTenant(string tenant); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/ResetAllTenants", ReplyAction="http://tempuri.org/IOperationsService/ResetAllTenantsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/ResetAllTenantsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void ResetAllTenants(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DoesNotOverlapWithOtherServiceRecord", ReplyAction="http://tempuri.org/IOperationsService/DoesNotOverlapWithOtherServiceRecordRespons" + + "e")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DoesNotOverlapWithOtherServiceRecordBeWoFau" + + "ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + bool DoesNotOverlapWithOtherServiceRecord(BS.Shared.DataContracts.ServiceRecordDC pServiceRecord, long customerOid, System.Nullable employeeOid); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetAllAdditionalService", ReplyAction="http://tempuri.org/IOperationsService/GetAllAdditionalServiceResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllAdditionalService(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceRegion", ReplyAction="http://tempuri.org/IOperationsService/GetAllAdditionalServiceRegionResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceRegionBeWoFaultFault" + + "", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllAdditionalServiceRegion(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceGroupOfPeopleRelatio" + + "n", ReplyAction="http://tempuri.org/IOperationsService/GetAllAdditionalServiceGroupOfPeopleRelatio" + + "nResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceGroupOfPeopleRelatio" + + "nBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllAdditionalServiceGroupOfPeopleRelation(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceGroupOfPeople", ReplyAction="http://tempuri.org/IOperationsService/GetAllAdditionalServiceGroupOfPeopleRespons" + + "e")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceGroupOfPeopleBeWoFau" + + "ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllAdditionalServiceGroupOfPeople(); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceGroupOfPeopleRela" + + "tions", ReplyAction="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceGroupOfPeopleRela" + + "tionsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceGroupOfPeopleRela" + + "tionsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List InsertNewAdditionalServiceGroupOfPeopleRelations(System.Collections.Generic.List pAdditionalServiceGroupOfPeopleRelations); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateAdditionalServiceGroupOfPeopleRelatio" + + "ns", ReplyAction="http://tempuri.org/IOperationsService/UpdateAdditionalServiceGroupOfPeopleRelatio" + + "nsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateAdditionalServiceGroupOfPeopleRelatio" + + "nsBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void UpdateAdditionalServiceGroupOfPeopleRelations(System.Collections.Generic.List pAdditionalServiceGroupOfPeopleRelations); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/DeleteAdditionalServiceGroupOfPeopleRelatio" + + "n", ReplyAction="http://tempuri.org/IOperationsService/DeleteAdditionalServiceGroupOfPeopleRelatio" + + "nResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/DeleteAdditionalServiceGroupOfPeopleRelatio" + + "nBeWoFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + void DeleteAdditionalServiceGroupOfPeopleRelation(long pDeleteAdditionalServiceGroupOfPeopleRelationOid, long pVersion); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/UpdateAdditionalServiceGroupOfPeople", ReplyAction="http://tempuri.org/IOperationsService/UpdateAdditionalServiceGroupOfPeopleRespons" + + "e")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/UpdateAdditionalServiceGroupOfPeopleBeWoFau" + + "ltFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + BS.Shared.DataContracts.AdditionalServiceGroupOfPeopleDC UpdateAdditionalServiceGroupOfPeople(BS.Shared.DataContracts.AdditionalServiceGroupOfPeopleDC pAdditionalServiceGroupOfPeople); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceGroupsOfPeople", ReplyAction="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceGroupsOfPeopleRes" + + "ponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/InsertNewAdditionalServiceGroupsOfPeopleBeW" + + "oFaultFault", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List InsertNewAdditionalServiceGroupsOfPeople(System.Collections.Generic.List pGroups); + + [System.ServiceModel.OperationContractAttribute(Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceBookings", ReplyAction="http://tempuri.org/IOperationsService/GetAllAdditionalServiceBookingsResponse")] + [System.ServiceModel.FaultContractAttribute(typeof(BeWo.ServiceProxy.BeWoFault), Action="http://tempuri.org/IOperationsService/GetAllAdditionalServiceBookingsBeWoFaultFau" + + "lt", Name="BeWoFault", Namespace="http://schemas.datacontract.org/2004/07/BeWo.Service.ServiceContracts")] + System.Collections.Generic.List GetAllAdditionalServiceBookings(System.Nullable regionOid, System.DateTime start, System.DateTime end); } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] @@ -5145,246 +5150,6 @@ namespace BeWo.ServiceProxy { } - public BS.Shared.DataContracts.FlexibleReportResultDC GetFlexibleReportResult(BS.Shared.DataContracts.FlexibleReportFilterDC filter) - { - return base.Channel.GetFlexibleReportResult(filter); - } - - public System.Collections.Generic.List GetFlexibleReportLayouts() - { - return base.Channel.GetFlexibleReportLayouts(); - } - - public void InsertNewFlexibleReportLayout(BS.Shared.DataContracts.FlexibleReportLayoutDC flexibleReportLayoutDC) - { - base.Channel.InsertNewFlexibleReportLayout(flexibleReportLayoutDC); - } - - public void UpdateFlexibleReportLayouts(System.Collections.Generic.List flexibleReportLayouts) - { - base.Channel.UpdateFlexibleReportLayouts(flexibleReportLayouts); - } - - public bool CheckForOverlappingSubstitutionEntries(System.DateTime startDate, System.DateTime endDate, System.Nullable employeeOid, System.Nullable customerOid) - { - return base.Channel.CheckForOverlappingSubstitutionEntries(startDate, endDate, employeeOid, customerOid); - } - - public System.Collections.Generic.List GetHomeViewPanels() - { - return base.Channel.GetHomeViewPanels(); - } - - public void UpdateIsChatActiveCustomerAPPCodeDC(long customerOid, int activeType) - { - base.Channel.UpdateIsChatActiveCustomerAPPCodeDC(customerOid, activeType); - } - - public System.Collections.Generic.List GetIsChatActiveCustomerAPPCodeDC(long customerOid, int activeType) - { - return base.Channel.GetIsChatActiveCustomerAPPCodeDC(customerOid, activeType); - } - - public System.Collections.Generic.List FindUnreadChatMessagesForRecipient(long personOid) - { - return base.Channel.FindUnreadChatMessagesForRecipient(personOid); - } - - public BS.Shared.DataContracts.EmployeeAPPCodeDC CreateNewEmployeeAPPCodeDC(long employeeOid, string kundennummer, string apikey) - { - return base.Channel.CreateNewEmployeeAPPCodeDC(employeeOid, kundennummer, apikey); - } - - public void UpdateIsChatActiveEmployeeAPPCodeDC(long employeeOid, int activeType) - { - base.Channel.UpdateIsChatActiveEmployeeAPPCodeDC(employeeOid, activeType); - } - - public void UpdateNotfallNacrichtEmployeeAPPCodeDC(long employeeOid, string notfallstate) - { - base.Channel.UpdateNotfallNacrichtEmployeeAPPCodeDC(employeeOid, notfallstate); - } - - public System.Collections.Generic.List LoadOrganisationPersonRelationsByOid(System.Collections.Generic.List pOids) - { - return base.Channel.LoadOrganisationPersonRelationsByOid(pOids); - } - - public System.Collections.Generic.List LoadBargeldkassenForObject(BS.Shared.TableID objectTid, long objectOid) - { - return base.Channel.LoadBargeldkassenForObject(objectTid, objectOid); - } - - public long InsertNewBargeldkasse(BS.Shared.DataContracts.BargeldkassenDC pBargeldkasse) - { - return base.Channel.InsertNewBargeldkasse(pBargeldkasse); - } - - public BS.Shared.DataContracts.BargeldkassenDC UpdateBargeldkasse(BS.Shared.DataContracts.BargeldkassenDC pBargeldkasse) - { - return base.Channel.UpdateBargeldkasse(pBargeldkasse); - } - - public void DeactivateBargeldkasse(long pOid, long pVersion) - { - base.Channel.DeactivateBargeldkasse(pOid, pVersion); - } - - public System.Collections.Generic.List LoadNotizenKategorienForObject(BS.Shared.TableID objectTid, long objectOid) - { - return base.Channel.LoadNotizenKategorienForObject(objectTid, objectOid); - } - - public long InsertNewNotizenKategorie(BS.Shared.DataContracts.NotizenKategorieDC pBargeldkasse) - { - return base.Channel.InsertNewNotizenKategorie(pBargeldkasse); - } - - public BS.Shared.DataContracts.NotizenKategorieDC UpdateNotizenKategorie(BS.Shared.DataContracts.NotizenKategorieDC pBargeldkasse) - { - return base.Channel.UpdateNotizenKategorie(pBargeldkasse); - } - - public void DeactivateNotizenEintrag(long pOid, long pVersion) - { - base.Channel.DeactivateNotizenEintrag(pOid, pVersion); - } - - public void DeactivateNotizenKategorie(long pOid, long pVersion) - { - base.Channel.DeactivateNotizenKategorie(pOid, pVersion); - } - - public void CreateNewPerson2OrganisationRelation(long organi, BS.Shared.DataContracts.ValueListEntryDC value, long personOid, string mail, string fax, string tele, string notice) - { - base.Channel.CreateNewPerson2OrganisationRelation(organi, value, personOid, mail, fax, tele, notice); - } - - public void DeletePerson2OrganisationRelation(long oid) - { - base.Channel.DeletePerson2OrganisationRelation(oid); - } - - public System.Collections.Generic.List GetEmployeesServiceRecordsWithStartEndDate(long pEmployeeOid, System.DateTime start, System.DateTime ende) - { - return base.Channel.GetEmployeesServiceRecordsWithStartEndDate(pEmployeeOid, start, ende); - } - - public System.Collections.Generic.List GetCustomerServiceRecordsCompactWithStartEndDate(long pCustomerOid, long costbearer2SupportConceptOid, System.DateTime start, System.DateTime ende) - { - return base.Channel.GetCustomerServiceRecordsCompactWithStartEndDate(pCustomerOid, costbearer2SupportConceptOid, start, ende); - } - - public void InsertNewEmployeeAbsenceTime(long employeeOid, BS.Shared.DataContracts.AbsenceTimeDC at) - { - base.Channel.InsertNewEmployeeAbsenceTime(employeeOid, at); - } - - public void InsertNewCustomerAbsenceTime(long customerOid, BS.Shared.DataContracts.AbsenceTimeDC at) - { - base.Channel.InsertNewCustomerAbsenceTime(customerOid, at); - } - - public void DeleteVertretung(long vert) - { - base.Channel.DeleteVertretung(vert); - } - - public void UpdateVertretung(BS.Shared.DataContracts.VertretungDC vert) - { - base.Channel.UpdateVertretung(vert); - } - - public System.Collections.Generic.List GetVertretungsListe(System.DateTime datum) - { - return base.Channel.GetVertretungsListe(datum); - } - - public System.Collections.Generic.List GetVertretungsListeForTimeSpan(System.DateTime start, System.DateTime ende) - { - return base.Channel.GetVertretungsListeForTimeSpan(start, ende); - } - - public void CreateVertretung(BS.Shared.DataContracts.VertretungDC vertretung) - { - base.Channel.CreateVertretung(vertretung); - } - - public void DeactivateAbsenceTime(System.Collections.Generic.Dictionary pOid2Version) - { - base.Channel.DeactivateAbsenceTime(pOid2Version); - } - - public void UpdateVertretungAndAbsenceTime(BS.Shared.DataContracts.VertretungDC vert, BS.Shared.DataContracts.AbsenceTimeDC abs) - { - base.Channel.UpdateVertretungAndAbsenceTime(vert, abs); - } - - public void UpdateAbsenceTime(BS.Shared.DataContracts.AbsenceTimeDC abs) - { - base.Channel.UpdateAbsenceTime(abs); - } - - public System.Collections.Generic.List GetAllTokens(BS.Shared.SchulbegleitenderZugehoerigkeitsTyp zugehoerigkeitsTyp, System.Nullable oid) - { - return base.Channel.GetAllTokens(zugehoerigkeitsTyp, oid); - } - - public void DeleteToken(BS.Shared.DataContracts.TokenDC token) - { - base.Channel.DeleteToken(token); - } - - public void DeletTokenRelation(BS.Shared.DataContracts.Compact.CompactTokenDC token, System.Nullable oid, BS.Shared.SchulbegleitenderZugehoerigkeitsTyp typ) - { - base.Channel.DeletTokenRelation(token, oid, typ); - } - - public void InsertNewToken(string beschreibung, BS.Shared.TokenTyp typ, BS.Shared.SchulbegleitenderZugehoerigkeitsTyp zugehoerigkeitsTyp, System.Nullable oid) - { - base.Channel.InsertNewToken(beschreibung, typ, zugehoerigkeitsTyp, oid); - } - - public void InsertNewRelationToken(BS.Shared.DataContracts.Compact.CompactTokenDC token, BS.Shared.TokenTyp typ, BS.Shared.SchulbegleitenderZugehoerigkeitsTyp zugehoerigkeitsTyp, System.Nullable oid) - { - base.Channel.InsertNewRelationToken(token, typ, zugehoerigkeitsTyp, oid); - } - - public void UpdateToken(BS.Shared.DataContracts.TokenDC token) - { - base.Channel.UpdateToken(token); - } - - public System.Collections.Generic.List GetCustomer2TokenList() - { - return base.Channel.GetCustomer2TokenList(); - } - - public System.Collections.Generic.List GetEmployee2TokenList() - { - return base.Channel.GetEmployee2TokenList(); - } - - public System.Collections.Generic.List VertretungsMitarbeiterListeWoechentlich(System.DateTime start, System.DateTime ende) - { - return base.Channel.VertretungsMitarbeiterListeWoechentlich(start, ende); - } - - public BS.Shared.DataContracts.VertretungsKlientAccountingsListeItemsDC KlientenAbschlagsInfoListe(System.DateTime start, System.DateTime end) - { - return base.Channel.KlientenAbschlagsInfoListe(start, end); - } - - public void DoTokenWunschOperation(int art, System.Nullable Oid, BS.Shared.SchulbegleitenderZugehoerigkeitsTyp zugehoerigkeitsTyp, System.Collections.Generic.Dictionary verfuegbarerWunschToken, string token) - { - base.Channel.DoTokenWunschOperation(art, Oid, zugehoerigkeitsTyp, verfuegbarerWunschToken, token); - } - - public void DoTokenAusschlussOperation(int art, System.Nullable Oid, BS.Shared.SchulbegleitenderZugehoerigkeitsTyp zugehoerigkeitsTyp, System.Collections.Generic.Dictionary verfuegbarerAusschlussToken, string token) - { - base.Channel.DoTokenAusschlussOperation(art, Oid, zugehoerigkeitsTyp, verfuegbarerAusschlussToken, token); - } - public System.Collections.Generic.List GetLastVertreter(System.Nullable klientenOid) { return base.Channel.GetLastVertreter(klientenOid); @@ -5495,109 +5260,39 @@ namespace BeWo.ServiceProxy base.Channel.UpdateBudget(budgets); } - public BS.Shared.DataContracts.MandatorDC UpdateMandator(BS.Shared.DataContracts.MandatorDC mandator) + public BS.Shared.DataContracts.FlexibleReportResultDC GetFlexibleReportResult(BS.Shared.DataContracts.FlexibleReportFilterDC filter) { - return base.Channel.UpdateMandator(mandator); + return base.Channel.GetFlexibleReportResult(filter); } - public void UpdateServiceCategories(System.Collections.Generic.List pServiceCategories) + public System.Collections.Generic.List GetFlexibleReportLayouts() { - base.Channel.UpdateServiceCategories(pServiceCategories); + return base.Channel.GetFlexibleReportLayouts(); } - public void UpdateServiceDescriptions(System.Collections.Generic.List pServiceDescriptions) + public void InsertNewFlexibleReportLayout(BS.Shared.DataContracts.FlexibleReportLayoutDC flexibleReportLayoutDC) { - base.Channel.UpdateServiceDescriptions(pServiceDescriptions); + base.Channel.InsertNewFlexibleReportLayout(flexibleReportLayoutDC); } - public BS.Shared.DataContracts.ServiceRecordGroupDC UpdateServiceRecordGroup(BS.Shared.DataContracts.ServiceRecordGroupDC pServiceRecordGroup) + public void UpdateFlexibleReportLayouts(System.Collections.Generic.List flexibleReportLayouts) { - return base.Channel.UpdateServiceRecordGroup(pServiceRecordGroup); + base.Channel.UpdateFlexibleReportLayouts(flexibleReportLayouts); } - public void UpdateServiceRecords(System.Collections.Generic.List pServiceRecords) + public bool CheckForOverlappingSubstitutionEntries(System.DateTime startDate, System.DateTime endDate, System.Nullable employeeOid, System.Nullable customerOid, System.Nullable substitutionOid) { - base.Channel.UpdateServiceRecords(pServiceRecords); + return base.Channel.CheckForOverlappingSubstitutionEntries(startDate, endDate, employeeOid, customerOid, substitutionOid); } - public BS.Shared.DataContracts.ServiceRecordStatisticsInfoDC GetServiceRecordStatisticInfo(long costBearer2SupportConceptOid, System.DateTime statisticsDate) + public System.Collections.Generic.List GetHomeViewPanels() { - return base.Channel.GetServiceRecordStatisticInfo(costBearer2SupportConceptOid, statisticsDate); + return base.Channel.GetHomeViewPanels(); } - public BS.Shared.DataContracts.SupportConceptStatisticsDC CreateSupportConceptStatistics(long costBearer2SupportConceptOid, System.DateTime statisticsDate) + public bool CheckForOverlappingAbsenceTimes(System.DateTime startDate, System.DateTime endDate, System.Nullable employeeOid, System.Nullable customerOid) { - return base.Channel.CreateSupportConceptStatistics(costBearer2SupportConceptOid, statisticsDate); - } - - public System.Collections.Generic.List GetServiceRecordHistory(long serviceRecordOid) - { - return base.Channel.GetServiceRecordHistory(serviceRecordOid); - } - - public void ResetTenant(string tenant) - { - base.Channel.ResetTenant(tenant); - } - - public void ResetAllTenants() - { - base.Channel.ResetAllTenants(); - } - - public bool DoesNotOverlapWithOtherServiceRecord(BS.Shared.DataContracts.ServiceRecordDC pServiceRecord, long customerOid, System.Nullable employeeOid) - { - return base.Channel.DoesNotOverlapWithOtherServiceRecord(pServiceRecord, customerOid, employeeOid); - } - - public System.Collections.Generic.List GetAllAdditionalService() - { - return base.Channel.GetAllAdditionalService(); - } - - public System.Collections.Generic.List GetAllAdditionalServiceRegion() - { - return base.Channel.GetAllAdditionalServiceRegion(); - } - - public System.Collections.Generic.List GetAllAdditionalServiceGroupOfPeopleRelation() - { - return base.Channel.GetAllAdditionalServiceGroupOfPeopleRelation(); - } - - public System.Collections.Generic.List GetAllAdditionalServiceGroupOfPeople() - { - return base.Channel.GetAllAdditionalServiceGroupOfPeople(); - } - - public System.Collections.Generic.List InsertNewAdditionalServiceGroupOfPeopleRelations(System.Collections.Generic.List pAdditionalServiceGroupOfPeopleRelations) - { - return base.Channel.InsertNewAdditionalServiceGroupOfPeopleRelations(pAdditionalServiceGroupOfPeopleRelations); - } - - public void UpdateAdditionalServiceGroupOfPeopleRelations(System.Collections.Generic.List pAdditionalServiceGroupOfPeopleRelations) - { - base.Channel.UpdateAdditionalServiceGroupOfPeopleRelations(pAdditionalServiceGroupOfPeopleRelations); - } - - public void DeleteAdditionalServiceGroupOfPeopleRelation(long pDeleteAdditionalServiceGroupOfPeopleRelationOid, long pVersion) - { - base.Channel.DeleteAdditionalServiceGroupOfPeopleRelation(pDeleteAdditionalServiceGroupOfPeopleRelationOid, pVersion); - } - - public BS.Shared.DataContracts.AdditionalServiceGroupOfPeopleDC UpdateAdditionalServiceGroupOfPeople(BS.Shared.DataContracts.AdditionalServiceGroupOfPeopleDC pAdditionalServiceGroupOfPeople) - { - return base.Channel.UpdateAdditionalServiceGroupOfPeople(pAdditionalServiceGroupOfPeople); - } - - public System.Collections.Generic.List InsertNewAdditionalServiceGroupsOfPeople(System.Collections.Generic.List pGroups) - { - return base.Channel.InsertNewAdditionalServiceGroupsOfPeople(pGroups); - } - - public System.Collections.Generic.List GetAllAdditionalServiceBookings(System.Nullable regionOid, System.DateTime start, System.DateTime end) - { - return base.Channel.GetAllAdditionalServiceBookings(regionOid, start, end); + return base.Channel.CheckForOverlappingAbsenceTimes(startDate, endDate, employeeOid, customerOid); } public System.Collections.Generic.List InsertNewAdditionalServiceBookings(System.Collections.Generic.List pAdditionalServiceBookings) @@ -5815,6 +5510,216 @@ namespace BeWo.ServiceProxy return base.Channel.CreateNewChatMessagesDC(senderOid, empfängerOid, message, isDeliverd, teamid, messageid); } + public void UpdateIsChatActiveCustomerAPPCodeDC(long customerOid, int activeType) + { + base.Channel.UpdateIsChatActiveCustomerAPPCodeDC(customerOid, activeType); + } + + public System.Collections.Generic.List GetIsChatActiveCustomerAPPCodeDC(long customerOid, int activeType) + { + return base.Channel.GetIsChatActiveCustomerAPPCodeDC(customerOid, activeType); + } + + public System.Collections.Generic.List FindUnreadChatMessagesForRecipient(long personOid) + { + return base.Channel.FindUnreadChatMessagesForRecipient(personOid); + } + + public BS.Shared.DataContracts.EmployeeAPPCodeDC CreateNewEmployeeAPPCodeDC(long employeeOid, string kundennummer, string apikey) + { + return base.Channel.CreateNewEmployeeAPPCodeDC(employeeOid, kundennummer, apikey); + } + + public void UpdateIsChatActiveEmployeeAPPCodeDC(long employeeOid, int activeType) + { + base.Channel.UpdateIsChatActiveEmployeeAPPCodeDC(employeeOid, activeType); + } + + public void UpdateNotfallNacrichtEmployeeAPPCodeDC(long employeeOid, string notfallstate) + { + base.Channel.UpdateNotfallNacrichtEmployeeAPPCodeDC(employeeOid, notfallstate); + } + + public System.Collections.Generic.List LoadOrganisationPersonRelationsByOid(System.Collections.Generic.List pOids) + { + return base.Channel.LoadOrganisationPersonRelationsByOid(pOids); + } + + public System.Collections.Generic.List LoadBargeldkassenForObject(BS.Shared.TableID objectTid, long objectOid) + { + return base.Channel.LoadBargeldkassenForObject(objectTid, objectOid); + } + + public long InsertNewBargeldkasse(BS.Shared.DataContracts.BargeldkassenDC pBargeldkasse) + { + return base.Channel.InsertNewBargeldkasse(pBargeldkasse); + } + + public BS.Shared.DataContracts.BargeldkassenDC UpdateBargeldkasse(BS.Shared.DataContracts.BargeldkassenDC pBargeldkasse) + { + return base.Channel.UpdateBargeldkasse(pBargeldkasse); + } + + public void DeactivateBargeldkasse(long pOid, long pVersion) + { + base.Channel.DeactivateBargeldkasse(pOid, pVersion); + } + + public System.Collections.Generic.List LoadNotizenKategorienForObject(BS.Shared.TableID objectTid, long objectOid) + { + return base.Channel.LoadNotizenKategorienForObject(objectTid, objectOid); + } + + public long InsertNewNotizenKategorie(BS.Shared.DataContracts.NotizenKategorieDC pBargeldkasse) + { + return base.Channel.InsertNewNotizenKategorie(pBargeldkasse); + } + + public BS.Shared.DataContracts.NotizenKategorieDC UpdateNotizenKategorie(BS.Shared.DataContracts.NotizenKategorieDC pBargeldkasse) + { + return base.Channel.UpdateNotizenKategorie(pBargeldkasse); + } + + public void DeactivateNotizenEintrag(long pOid, long pVersion) + { + base.Channel.DeactivateNotizenEintrag(pOid, pVersion); + } + + public void DeactivateNotizenKategorie(long pOid, long pVersion) + { + base.Channel.DeactivateNotizenKategorie(pOid, pVersion); + } + + public void CreateNewPerson2OrganisationRelation(long organi, BS.Shared.DataContracts.ValueListEntryDC value, long personOid, string mail, string fax, string tele, string notice) + { + base.Channel.CreateNewPerson2OrganisationRelation(organi, value, personOid, mail, fax, tele, notice); + } + + public void DeletePerson2OrganisationRelation(long oid) + { + base.Channel.DeletePerson2OrganisationRelation(oid); + } + + public System.Collections.Generic.List GetEmployeesServiceRecordsWithStartEndDate(long pEmployeeOid, System.DateTime start, System.DateTime ende) + { + return base.Channel.GetEmployeesServiceRecordsWithStartEndDate(pEmployeeOid, start, ende); + } + + public System.Collections.Generic.List GetCustomerServiceRecordsCompactWithStartEndDate(long pCustomerOid, long costbearer2SupportConceptOid, System.DateTime start, System.DateTime ende) + { + return base.Channel.GetCustomerServiceRecordsCompactWithStartEndDate(pCustomerOid, costbearer2SupportConceptOid, start, ende); + } + + public void InsertNewEmployeeAbsenceTime(long employeeOid, BS.Shared.DataContracts.AbsenceTimeDC at) + { + base.Channel.InsertNewEmployeeAbsenceTime(employeeOid, at); + } + + public void InsertNewCustomerAbsenceTime(long customerOid, BS.Shared.DataContracts.AbsenceTimeDC at) + { + base.Channel.InsertNewCustomerAbsenceTime(customerOid, at); + } + + public void DeleteVertretung(long vert) + { + base.Channel.DeleteVertretung(vert); + } + + public void UpdateVertretung(BS.Shared.DataContracts.VertretungDC vert) + { + base.Channel.UpdateVertretung(vert); + } + + public System.Collections.Generic.List GetVertretungsListe(System.DateTime datum) + { + return base.Channel.GetVertretungsListe(datum); + } + + public System.Collections.Generic.List GetVertretungsListeForTimeSpan(System.DateTime start, System.DateTime ende) + { + return base.Channel.GetVertretungsListeForTimeSpan(start, ende); + } + + public void CreateVertretung(BS.Shared.DataContracts.VertretungDC vertretung) + { + base.Channel.CreateVertretung(vertretung); + } + + public void DeactivateAbsenceTime(System.Collections.Generic.Dictionary pOid2Version) + { + base.Channel.DeactivateAbsenceTime(pOid2Version); + } + + public void UpdateVertretungAndAbsenceTime(BS.Shared.DataContracts.VertretungDC vert, BS.Shared.DataContracts.AbsenceTimeDC abs) + { + base.Channel.UpdateVertretungAndAbsenceTime(vert, abs); + } + + public void UpdateAbsenceTime(BS.Shared.DataContracts.AbsenceTimeDC abs) + { + base.Channel.UpdateAbsenceTime(abs); + } + + public System.Collections.Generic.List GetAllTokens(BS.Shared.SchulbegleitenderZugehoerigkeitsTyp zugehoerigkeitsTyp, System.Nullable oid) + { + return base.Channel.GetAllTokens(zugehoerigkeitsTyp, oid); + } + + public void DeleteToken(BS.Shared.DataContracts.TokenDC token) + { + base.Channel.DeleteToken(token); + } + + public void DeletTokenRelation(BS.Shared.DataContracts.Compact.CompactTokenDC token, System.Nullable oid, BS.Shared.SchulbegleitenderZugehoerigkeitsTyp typ) + { + base.Channel.DeletTokenRelation(token, oid, typ); + } + + public void InsertNewToken(string beschreibung, BS.Shared.TokenTyp typ, BS.Shared.SchulbegleitenderZugehoerigkeitsTyp zugehoerigkeitsTyp, System.Nullable oid) + { + base.Channel.InsertNewToken(beschreibung, typ, zugehoerigkeitsTyp, oid); + } + + public void InsertNewRelationToken(BS.Shared.DataContracts.Compact.CompactTokenDC token, BS.Shared.TokenTyp typ, BS.Shared.SchulbegleitenderZugehoerigkeitsTyp zugehoerigkeitsTyp, System.Nullable oid) + { + base.Channel.InsertNewRelationToken(token, typ, zugehoerigkeitsTyp, oid); + } + + public void UpdateToken(BS.Shared.DataContracts.TokenDC token) + { + base.Channel.UpdateToken(token); + } + + public System.Collections.Generic.List GetCustomer2TokenList() + { + return base.Channel.GetCustomer2TokenList(); + } + + public System.Collections.Generic.List GetEmployee2TokenList() + { + return base.Channel.GetEmployee2TokenList(); + } + + public System.Collections.Generic.List VertretungsMitarbeiterListeWoechentlich(System.DateTime start, System.DateTime ende) + { + return base.Channel.VertretungsMitarbeiterListeWoechentlich(start, ende); + } + + public BS.Shared.DataContracts.VertretungsKlientAccountingsListeItemsDC KlientenAbschlagsInfoListe(System.DateTime start, System.DateTime end) + { + return base.Channel.KlientenAbschlagsInfoListe(start, end); + } + + public void DoTokenWunschOperation(int art, System.Nullable Oid, BS.Shared.SchulbegleitenderZugehoerigkeitsTyp zugehoerigkeitsTyp, System.Collections.Generic.Dictionary verfuegbarerWunschToken, string token) + { + base.Channel.DoTokenWunschOperation(art, Oid, zugehoerigkeitsTyp, verfuegbarerWunschToken, token); + } + + public void DoTokenAusschlussOperation(int art, System.Nullable Oid, BS.Shared.SchulbegleitenderZugehoerigkeitsTyp zugehoerigkeitsTyp, System.Collections.Generic.Dictionary verfuegbarerAusschlussToken, string token) + { + base.Channel.DoTokenAusschlussOperation(art, Oid, zugehoerigkeitsTyp, verfuegbarerAusschlussToken, token); + } + public void DeactivateInvoices(System.Collections.Generic.List invoices) { base.Channel.DeactivateInvoices(invoices); @@ -6134,6 +6039,111 @@ namespace BeWo.ServiceProxy { base.Channel.UpdateInvoices(invoices); } + + public BS.Shared.DataContracts.MandatorDC UpdateMandator(BS.Shared.DataContracts.MandatorDC mandator) + { + return base.Channel.UpdateMandator(mandator); + } + + public void UpdateServiceCategories(System.Collections.Generic.List pServiceCategories) + { + base.Channel.UpdateServiceCategories(pServiceCategories); + } + + public void UpdateServiceDescriptions(System.Collections.Generic.List pServiceDescriptions) + { + base.Channel.UpdateServiceDescriptions(pServiceDescriptions); + } + + public BS.Shared.DataContracts.ServiceRecordGroupDC UpdateServiceRecordGroup(BS.Shared.DataContracts.ServiceRecordGroupDC pServiceRecordGroup) + { + return base.Channel.UpdateServiceRecordGroup(pServiceRecordGroup); + } + + public void UpdateServiceRecords(System.Collections.Generic.List pServiceRecords) + { + base.Channel.UpdateServiceRecords(pServiceRecords); + } + + public BS.Shared.DataContracts.ServiceRecordStatisticsInfoDC GetServiceRecordStatisticInfo(long costBearer2SupportConceptOid, System.DateTime statisticsDate) + { + return base.Channel.GetServiceRecordStatisticInfo(costBearer2SupportConceptOid, statisticsDate); + } + + public BS.Shared.DataContracts.SupportConceptStatisticsDC CreateSupportConceptStatistics(long costBearer2SupportConceptOid, System.DateTime statisticsDate) + { + return base.Channel.CreateSupportConceptStatistics(costBearer2SupportConceptOid, statisticsDate); + } + + public System.Collections.Generic.List GetServiceRecordHistory(long serviceRecordOid) + { + return base.Channel.GetServiceRecordHistory(serviceRecordOid); + } + + public void ResetTenant(string tenant) + { + base.Channel.ResetTenant(tenant); + } + + public void ResetAllTenants() + { + base.Channel.ResetAllTenants(); + } + + public bool DoesNotOverlapWithOtherServiceRecord(BS.Shared.DataContracts.ServiceRecordDC pServiceRecord, long customerOid, System.Nullable employeeOid) + { + return base.Channel.DoesNotOverlapWithOtherServiceRecord(pServiceRecord, customerOid, employeeOid); + } + + public System.Collections.Generic.List GetAllAdditionalService() + { + return base.Channel.GetAllAdditionalService(); + } + + public System.Collections.Generic.List GetAllAdditionalServiceRegion() + { + return base.Channel.GetAllAdditionalServiceRegion(); + } + + public System.Collections.Generic.List GetAllAdditionalServiceGroupOfPeopleRelation() + { + return base.Channel.GetAllAdditionalServiceGroupOfPeopleRelation(); + } + + public System.Collections.Generic.List GetAllAdditionalServiceGroupOfPeople() + { + return base.Channel.GetAllAdditionalServiceGroupOfPeople(); + } + + public System.Collections.Generic.List InsertNewAdditionalServiceGroupOfPeopleRelations(System.Collections.Generic.List pAdditionalServiceGroupOfPeopleRelations) + { + return base.Channel.InsertNewAdditionalServiceGroupOfPeopleRelations(pAdditionalServiceGroupOfPeopleRelations); + } + + public void UpdateAdditionalServiceGroupOfPeopleRelations(System.Collections.Generic.List pAdditionalServiceGroupOfPeopleRelations) + { + base.Channel.UpdateAdditionalServiceGroupOfPeopleRelations(pAdditionalServiceGroupOfPeopleRelations); + } + + public void DeleteAdditionalServiceGroupOfPeopleRelation(long pDeleteAdditionalServiceGroupOfPeopleRelationOid, long pVersion) + { + base.Channel.DeleteAdditionalServiceGroupOfPeopleRelation(pDeleteAdditionalServiceGroupOfPeopleRelationOid, pVersion); + } + + public BS.Shared.DataContracts.AdditionalServiceGroupOfPeopleDC UpdateAdditionalServiceGroupOfPeople(BS.Shared.DataContracts.AdditionalServiceGroupOfPeopleDC pAdditionalServiceGroupOfPeople) + { + return base.Channel.UpdateAdditionalServiceGroupOfPeople(pAdditionalServiceGroupOfPeople); + } + + public System.Collections.Generic.List InsertNewAdditionalServiceGroupsOfPeople(System.Collections.Generic.List pGroups) + { + return base.Channel.InsertNewAdditionalServiceGroupsOfPeople(pGroups); + } + + public System.Collections.Generic.List GetAllAdditionalServiceBookings(System.Nullable regionOid, System.DateTime start, System.DateTime end) + { + return base.Channel.GetAllAdditionalServiceBookings(regionOid, start, end); + } } [System.CodeDom.Compiler.GeneratedCodeAttribute("System.ServiceModel", "4.0.0.0")] diff --git a/BeWo/View/Detail/CustomerView.xaml b/BeWo/View/Detail/CustomerView.xaml index 29a152069..1d68d8912 100644 --- a/BeWo/View/Detail/CustomerView.xaml +++ b/BeWo/View/Detail/CustomerView.xaml @@ -290,7 +290,7 @@ - + diff --git a/BeWo/View/WaitLayer2.xaml b/BeWo/View/WaitLayer2.xaml index f70d3e0dd..aa318602c 100644 --- a/BeWo/View/WaitLayer2.xaml +++ b/BeWo/View/WaitLayer2.xaml @@ -1,20 +1,16 @@  - - + - @@ -41,30 +37,27 @@ - + - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/BeWo/View/WaitLayer2.xaml.cs b/BeWo/View/WaitLayer2.xaml.cs index d983032f3..fe5d899f9 100644 --- a/BeWo/View/WaitLayer2.xaml.cs +++ b/BeWo/View/WaitLayer2.xaml.cs @@ -1,4 +1,5 @@ -using System.Windows.Controls; +using System.Windows; +using System.Windows.Controls; namespace BeWo.View { diff --git a/Data/Access/SearchDAO.cs b/Data/Access/SearchDAO.cs index 43120eafe..e5a8476da 100644 --- a/Data/Access/SearchDAO.cs +++ b/Data/Access/SearchDAO.cs @@ -2977,7 +2977,34 @@ namespace BeWo.Data.Access return c.List(); } - public bool CheckForOverlappingSubstitutions(long? employeeOid, long? customerOid, DateTime startDate, DateTime endDate) + public bool CheckForOverlappingSubstitutions(long? employeeOid, long? customerOid, DateTime startDate, DateTime endDate, long? substitutionOid) + { + var c = CreateCriteria(); + + var employeeRestriction = Restrictions.Eq(nameof(Vertretung.EmployeeOid), employeeOid); + var customerRestriction = Restrictions.Eq(nameof(Vertretung.CustomerOid), customerOid); + + var notCurrentSubstitution = Restrictions.Not(Restrictions.Eq(nameof(BeWoEntityBase.Oid), substitutionOid)); + + var peopleRestriction = Restrictions.Or(employeeRestriction, customerRestriction); + var timeRestriction = CreateBetweenDateTimesCriterion(startDate, endDate, nameof(Vertretung.VertretungsZeitraumVon), nameof(Vertretung.VertretungsZeitraumBis)); + + c.Add(peopleRestriction).Add(timeRestriction).Add(notCurrentSubstitution); + + return c.List().Any(); + } + + private static AbstractCriterion CreateBetweenDateTimesCriterion(DateTime start, DateTime end, string propertyNameStart, string propertyNameEnd) + { + var inBetween1 = Restrictions.And(Restrictions.Ge(propertyNameStart, start), Restrictions.Le(propertyNameStart, end)); + var inBetween2 = Restrictions.And(Restrictions.Le(propertyNameStart, start), Restrictions.Ge(propertyNameEnd, end)); + var inBetween3 = Restrictions.And(Restrictions.Le(propertyNameStart, start), Restrictions.Ge(propertyNameEnd, start)); + var inBetween4 = Restrictions.And(Restrictions.Ge(propertyNameStart, start), Restrictions.Le(propertyNameEnd, end)); + + return Restrictions.Or(Restrictions.Or(inBetween1, inBetween2), Restrictions.Or(inBetween3, inBetween4)); + } + + public bool CheckForOverlappingAbsenceTimes(DateTime startDate, DateTime endDate, long? employeeOid, long? customerOid) { var c = CreateCriteria(); @@ -2992,14 +3019,17 @@ namespace BeWo.Data.Access return c.List().Any(); } - private static AbstractCriterion CreateBetweenDateTimesCriterion(DateTime start, DateTime end, string propertyNameStart, string propertyNameEnd) + public IList GetLastSubstitutionItems(long employeeOid, int count) { - var inBetween1 = Restrictions.And(Restrictions.Ge(propertyNameStart, start), Restrictions.Le(propertyNameStart, end)); - var inBetween2 = Restrictions.And(Restrictions.Le(propertyNameStart, start), Restrictions.Ge(propertyNameEnd, end)); - var inBetween3 = Restrictions.And(Restrictions.Le(propertyNameStart, start), Restrictions.Ge(propertyNameEnd, start)); - var inBetween4 = Restrictions.And(Restrictions.Ge(propertyNameStart, start), Restrictions.Le(propertyNameEnd, end)); + var criteria = CreateCriteria(); - return Restrictions.Or(Restrictions.Or(inBetween1, inBetween2), Restrictions.Or(inBetween3, inBetween4)); + criteria.Add(Restrictions.Eq(nameof(Vertretung.EmployeeOid), employeeOid)); + + criteria.AddOrder(Order.Desc(nameof(Vertretung.VertretungsZeitraumBis))); + + criteria.SetMaxResults(count); + + return criteria.List(); } } } diff --git a/Data/Entities/Customer.cs b/Data/Entities/Customer.cs index af222e9c8..fc5d6776d 100644 --- a/Data/Entities/Customer.cs +++ b/Data/Entities/Customer.cs @@ -9,53 +9,53 @@ namespace BeWo.Data.Entities { public class Customer : BeWoEntityBase { - public static string PropertyName_AbsenceTimes = "AbsenceTimes"; - public static string PropertyName_Ansprechpartner = "Ansprechpartner"; - public static string PropertyName_AssessmentSheetCategoryList = "AssessmentSheetCategoryList"; - public static string PropertyName_Childs = "Childs"; - public static string PropertyName_Customer2CostBearerList = "Customer2CostBearerList"; - public static string PropertyName_Customer2PersonList = "Customer2PersonList"; - public static string PropertyName_Customer2OrganisationList = "Customer2OrganisationList"; - public static string PropertyName_DebitorNumber = "DebitorNumber"; - public static string PropertyName_CostCenter = "CostCenter"; - public static string PropertyName_Diagnosis = "Diagnosis"; - public static string PropertyName_Diagnosis2CustomerList = "Diagnosis2CustomerList"; - public static string PropertyName_Employee2CustomerList = "Employee2CustomerList"; - public static string PropertyName_FamilyData = "FamilyData"; - public static string PropertyName_Team2CustomerList = "Team2CustomerList"; - public static string PropertyName_EquityContribution = "EquityContribution"; - public static string PropertyName_ICD10Diagnosis = "ICD10Diagnosis"; - public static string PropertyName_IsAdvisedOrAttended = "IsAdvisedOrAttended"; - public static string PropertyName_Medication = "Medication"; - public static string PropertyName_Jugendamt = "Jugendamt"; - public static string PropertyName_Person = "Person"; - public static string PropertyName_PlacementList = "PlacementList"; - public static string PropertyName_ReferenceNumber = "ReferenceNumber"; - public static string PropertyName_ServiceRecordList = "ServiceRecordList"; - public static string PropertyName_SupportConcepts = "SupportConcepts"; - public static string PropertyName_TerminationDate = "TerminationDate"; - public static string PropertyName_TerminationReason = "TerminationReason"; - public static string PropertyName_ValueList = "ValueList"; - public static string PropertyName_VarFieldValueList = "VarFieldValueList"; - public static string PropertyName_Medikamentenverordnungslisten = "Medikamentenverordnungslisten"; - public static string PropertyName_AssistanceBegin = "AssistanceBegin"; - public static string PropertyName_AusstVersAmt = "AusstVersAmt"; - public static string PropertyName_AusweisGueltigVon = "AusweisGueltigVon"; - public static string PropertyName_AusweisGueltigBis = "AusweisGueltigBis"; - public static string PropertyName_AusweisUnbefristetGueltig = "AusweisUnbefristetGueltig"; - public static string PropertyName_BeiblattGueltigBis = "BeiblattGueltigBis"; - public static string PropertyName_GradDerBehinderung = "GradDerBehinderung"; - public static string PropertyName_MerkzeichenListe = "MerkzeichenListe"; - public static string PropertyName_BehinderungsartenListe = "BehinderungsartenListe"; - public static string PropertyName_CustomerAlias = "CustomerAlias"; - public static string PropertyName_Pflegegrad = "Pflegegrad"; - public static string PropertyName_IsMigrant = "IsMigrant"; - public static string PropertyName_Nationalitaet = "Nationalitaet"; - public static string PropertyName_AufenthaltsStatus = "AufenthaltsStatus"; - public static string PropertyName_VertretungGewuenscht = "VertretungGewuenscht"; - public static string PropertyName_AbWelchemKrankheitsTag = "AbWelchemKrankheitsTag "; + public static string PropertyName_AbsenceTimes = "AbsenceTimes"; + public static string PropertyName_Ansprechpartner = "Ansprechpartner"; + public static string PropertyName_AssessmentSheetCategoryList = "AssessmentSheetCategoryList"; + public static string PropertyName_Childs = "Childs"; + public static string PropertyName_Customer2CostBearerList = "Customer2CostBearerList"; + public static string PropertyName_Customer2PersonList = "Customer2PersonList"; + public static string PropertyName_Customer2OrganisationList = "Customer2OrganisationList"; + public static string PropertyName_DebitorNumber = "DebitorNumber"; + public static string PropertyName_CostCenter = "CostCenter"; + public static string PropertyName_Diagnosis = "Diagnosis"; + public static string PropertyName_Diagnosis2CustomerList = "Diagnosis2CustomerList"; + public static string PropertyName_Employee2CustomerList = "Employee2CustomerList"; + public static string PropertyName_FamilyData = "FamilyData"; + public static string PropertyName_Team2CustomerList = "Team2CustomerList"; + public static string PropertyName_EquityContribution = "EquityContribution"; + public static string PropertyName_ICD10Diagnosis = "ICD10Diagnosis"; + public static string PropertyName_IsAdvisedOrAttended = "IsAdvisedOrAttended"; + public static string PropertyName_Medication = "Medication"; + public static string PropertyName_Jugendamt = "Jugendamt"; + public static string PropertyName_Person = "Person"; + public static string PropertyName_PlacementList = "PlacementList"; + public static string PropertyName_ReferenceNumber = "ReferenceNumber"; + public static string PropertyName_ServiceRecordList = "ServiceRecordList"; + public static string PropertyName_SupportConcepts = "SupportConcepts"; + public static string PropertyName_TerminationDate = "TerminationDate"; + public static string PropertyName_TerminationReason = "TerminationReason"; + public static string PropertyName_ValueList = "ValueList"; + public static string PropertyName_VarFieldValueList = "VarFieldValueList"; + public static string PropertyName_Medikamentenverordnungslisten = "Medikamentenverordnungslisten"; + public static string PropertyName_AssistanceBegin = "AssistanceBegin"; + public static string PropertyName_AusstVersAmt = "AusstVersAmt"; + public static string PropertyName_AusweisGueltigVon = "AusweisGueltigVon"; + public static string PropertyName_AusweisGueltigBis = "AusweisGueltigBis"; + public static string PropertyName_AusweisUnbefristetGueltig = "AusweisUnbefristetGueltig"; + public static string PropertyName_BeiblattGueltigBis = "BeiblattGueltigBis"; + public static string PropertyName_GradDerBehinderung = "GradDerBehinderung"; + public static string PropertyName_MerkzeichenListe = "MerkzeichenListe"; + public static string PropertyName_BehinderungsartenListe = "BehinderungsartenListe"; + public static string PropertyName_CustomerAlias = "CustomerAlias"; + public static string PropertyName_Pflegegrad = "Pflegegrad"; + public static string PropertyName_IsMigrant = "IsMigrant"; + public static string PropertyName_Nationalitaet = "Nationalitaet"; + public static string PropertyName_AufenthaltsStatus = "AufenthaltsStatus"; + public static string PropertyName_VertretungGewuenscht = "VertretungGewuenscht"; + public static string PropertyName_AbWelchemKrankheitsTag = "AbWelchemKrankheitsTag "; public static string PropertyName_VertretungDringendErforderlich = "VertretungGewuenscht"; - public static string PropertyName_Arbeitszeit = "Arbeitszeit"; + public static string PropertyName_Arbeitszeit = "Arbeitszeit"; private Auszahlungsintervall _Auszahlungsintervall; private IList _AbsenceTimes; @@ -289,8 +289,6 @@ namespace BeWo.Data.Entities } } - - public virtual IList Team2CustomerList { get { return _Team2CustomerList ?? (_Team2CustomerList = new List()); } diff --git a/Host/Multitenancy/demo.config b/Host/Multitenancy/demo.config index ffdd8e32c..f49cf5cb7 100644 --- a/Host/Multitenancy/demo.config +++ b/Host/Multitenancy/demo.config @@ -16,7 +16,7 @@ - Server=localhost;Password=root;User ID=root; Initial Catalog=alpha + Server=localhost;Password=root;User ID=root; Initial Catalog=bewodemo diff --git a/Host/ReportView.aspx.cs b/Host/ReportView.aspx.cs index 6c09ce30a..ff433b506 100644 --- a/Host/ReportView.aspx.cs +++ b/Host/ReportView.aspx.cs @@ -132,6 +132,9 @@ namespace Host case ReportTypes.NotizenKategorie: report = CreateNotizenReport(); break; + case ReportTypes.SBDCharacteristics: + report = CreateSBDCharacteristicsReport(); + break; default: report = CreateQueryReport(); break; @@ -526,6 +529,13 @@ namespace Host return reportCreator.CreateNotizenReport(kategorieOid, start, end); } + private XtraReport CreateSBDCharacteristicsReport() + { + var customerOid = long.Parse(Request.Params["customerOid"]); + + return reportCreator.CreateSBDCharacteristicsReport(customerOid); + } + private AbstractReportCreator GetReportCreator() { String t = slicedToken["tenant"].ToString(); diff --git a/Report/AbstractReportCreator.cs b/Report/AbstractReportCreator.cs index 6cfb01e95..5948db1d0 100644 --- a/Report/AbstractReportCreator.cs +++ b/Report/AbstractReportCreator.cs @@ -66,6 +66,8 @@ namespace BeWo.Report public abstract XtraReport CreateNotizenReport(long kategorieOid, DateTime start, DateTime end); + public abstract XtraReport CreateSBDCharacteristicsReport(long customerOid); + public abstract XtraReport CreateSbdLeistungsnachweisForAllCustomers(int month, int year, long orgaOid, long empOid, long serviceCategoryOid, int startDay, int endDay); public abstract XtraReport CreateSbdLeistungsnachweisForSingleCustomerReport(long customerOid, int month, int year, long orgaOid, long empOid, long serviceCategoryOid, int startDay, int endDay); diff --git a/Report/DefaultReportCreator.cs b/Report/DefaultReportCreator.cs index 0ea332ad8..a0bb42644 100644 --- a/Report/DefaultReportCreator.cs +++ b/Report/DefaultReportCreator.cs @@ -615,5 +615,13 @@ namespace BeWo.Report } return report as XtraReport; } + + public override XtraReport CreateSBDCharacteristicsReport(long customerOid) + { + var report = FindReportImp(); + report.SetReportDataSource(SBDCharacteristicsRO.Create(MapperFactory.CustomerDC_Customer.MapToNewDC(DAOFactory.GenericDAO.LoadByID(customerOid)))); + + return report as XtraReport; + } } } \ No newline at end of file diff --git a/Report/DefaultReports/SBDCharacteristicsReport.Designer.cs b/Report/DefaultReports/SBDCharacteristicsReport.Designer.cs new file mode 100644 index 000000000..f1322c1f6 --- /dev/null +++ b/Report/DefaultReports/SBDCharacteristicsReport.Designer.cs @@ -0,0 +1,1120 @@ +using BeWo.Report.ReportObjects; +namespace BeWo.Report.DefaultReports +{ + partial class SBDCharacteristicsReport + { + /// + /// Required designer variable. + /// + private System.ComponentModel.IContainer components = null; + + /// + /// Clean up any resources being used. + /// + /// true if managed resources should be disposed; otherwise, false. + protected override void Dispose(bool disposing) + { + if (disposing && (components != null)) + { + components.Dispose(); + } + base.Dispose(disposing); + } + + #region Designer generated code + + /// + /// Required method for Designer support - do not modify + /// the contents of this method with the code editor. + /// + private void InitializeComponent() + { + this.components = new System.ComponentModel.Container(); + this.Detail = new DevExpress.XtraReports.UI.DetailBand(); + this.xrLabel2 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTable4 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow19 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell35 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell36 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell37 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel28 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel21 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel14 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel7 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel27 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel26 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel29 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel32 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel31 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel30 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel20 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel19 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel22 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel25 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel24 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel23 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel18 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel17 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel16 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel15 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel13 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel12 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel11 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel10 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel9 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel8 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel6 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel5 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrLabel1 = new DevExpress.XtraReports.UI.XRLabel(); + this.PageFooter = new DevExpress.XtraReports.UI.PageFooterBand(); + this.DetailReport = new DevExpress.XtraReports.UI.DetailReportBand(); + this.Detail1 = new DevExpress.XtraReports.UI.DetailBand(); + this.xrTable5 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow20 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell38 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell39 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell40 = new DevExpress.XtraReports.UI.XRTableCell(); + this.DetailReport1 = new DevExpress.XtraReports.UI.DetailReportBand(); + this.Detail2 = new DevExpress.XtraReports.UI.DetailBand(); + this.xrTable6 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow21 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell41 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell42 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell43 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrLabel3 = new DevExpress.XtraReports.UI.XRLabel(); + this.DetailReport2 = new DevExpress.XtraReports.UI.DetailReportBand(); + this.Detail3 = new DevExpress.XtraReports.UI.DetailBand(); + this.xrTable7 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow22 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell44 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell45 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell46 = new DevExpress.XtraReports.UI.XRTableCell(); + this.DetailReport3 = new DevExpress.XtraReports.UI.DetailReportBand(); + this.Detail4 = new DevExpress.XtraReports.UI.DetailBand(); + this.xrLabel4 = new DevExpress.XtraReports.UI.XRLabel(); + this.xrTable8 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow23 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell47 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell48 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell53 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell49 = new DevExpress.XtraReports.UI.XRTableCell(); + this.DetailReport4 = new DevExpress.XtraReports.UI.DetailReportBand(); + this.Detail5 = new DevExpress.XtraReports.UI.DetailBand(); + this.xrTable9 = new DevExpress.XtraReports.UI.XRTable(); + this.xrTableRow24 = new DevExpress.XtraReports.UI.XRTableRow(); + this.xrTableCell50 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell51 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell54 = new DevExpress.XtraReports.UI.XRTableCell(); + this.xrTableCell52 = new DevExpress.XtraReports.UI.XRTableCell(); + this.GroupHeader2 = new DevExpress.XtraReports.UI.GroupHeaderBand(); + this.topMarginBand1 = new DevExpress.XtraReports.UI.TopMarginBand(); + this.bottomMarginBand1 = new DevExpress.XtraReports.UI.BottomMarginBand(); + this.ReportHeader = new DevExpress.XtraReports.UI.ReportHeaderBand(); + this.bindingSource1 = new System.Windows.Forms.BindingSource(this.components); + ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable7)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable8)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable9)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).BeginInit(); + ((System.ComponentModel.ISupportInitialize)(this)).BeginInit(); + // + // Detail + // + this.Detail.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel2, + this.xrTable4}); + this.Detail.Font = new System.Drawing.Font("Arial", 10F); + this.Detail.HeightF = 60.00001F; + this.Detail.Name = "Detail"; + this.Detail.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.Detail.StylePriority.UseFont = false; + this.Detail.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // xrLabel2 + // + this.xrLabel2.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrLabel2.LocationFloat = new DevExpress.Utils.PointFloat(0F, 17F); + this.xrLabel2.Multiline = true; + this.xrLabel2.Name = "xrLabel2"; + this.xrLabel2.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel2.SizeF = new System.Drawing.SizeF(192F, 25F); + this.xrLabel2.StylePriority.UseFont = false; + this.xrLabel2.Text = "Zuständige Kostenträger\r\n"; + // + // xrTable4 + // + this.xrTable4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 42.00001F); + this.xrTable4.Name = "xrTable4"; + this.xrTable4.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow19}); + this.xrTable4.SizeF = new System.Drawing.SizeF(642F, 18F); + // + // xrTableRow19 + // + this.xrTableRow19.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell35, + this.xrTableCell36, + this.xrTableCell37}); + this.xrTableRow19.Name = "xrTableRow19"; + this.xrTableRow19.Weight = 1.0588235294117647D; + // + // xrTableCell35 + // + this.xrTableCell35.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell35.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrTableCell35.Name = "xrTableCell35"; + this.xrTableCell35.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTableCell35.StylePriority.UseBorders = false; + this.xrTableCell35.StylePriority.UseFont = false; + this.xrTableCell35.StylePriority.UsePadding = false; + this.xrTableCell35.Text = "Kostenträger"; + this.xrTableCell35.Weight = 0.17912772585669781D; + // + // xrTableCell36 + // + this.xrTableCell36.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell36.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrTableCell36.Name = "xrTableCell36"; + this.xrTableCell36.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTableCell36.StylePriority.UseBorders = false; + this.xrTableCell36.StylePriority.UseFont = false; + this.xrTableCell36.StylePriority.UsePadding = false; + this.xrTableCell36.Text = "Aktenzeichen"; + this.xrTableCell36.Weight = 0.3115264797507788D; + // + // xrTableCell37 + // + this.xrTableCell37.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell37.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrTableCell37.Name = "xrTableCell37"; + this.xrTableCell37.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTableCell37.StylePriority.UseBorders = false; + this.xrTableCell37.StylePriority.UseFont = false; + this.xrTableCell37.StylePriority.UsePadding = false; + this.xrTableCell37.Text = "Notiz"; + this.xrTableCell37.Weight = 0.50934579439252337D; + // + // xrLabel28 + // + this.xrLabel28.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Disabilities")}); + this.xrLabel28.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel28.LocationFloat = new DevExpress.Utils.PointFloat(139.58F, 244.0834F); + this.xrLabel28.Multiline = true; + this.xrLabel28.Name = "xrLabel28"; + this.xrLabel28.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel28.SizeF = new System.Drawing.SizeF(537.42F, 24F); + this.xrLabel28.StylePriority.UseFont = false; + this.xrLabel28.Text = "Vorname:"; + // + // xrLabel21 + // + this.xrLabel21.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrLabel21.LocationFloat = new DevExpress.Utils.PointFloat(0F, 244.0834F); + this.xrLabel21.Name = "xrLabel21"; + this.xrLabel21.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel21.SizeF = new System.Drawing.SizeF(139.58F, 24F); + this.xrLabel21.StylePriority.UseFont = false; + this.xrLabel21.Text = "Behinderungen:"; + // + // xrLabel14 + // + this.xrLabel14.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Notice")}); + this.xrLabel14.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel14.LocationFloat = new DevExpress.Utils.PointFloat(139.58F, 220.0834F); + this.xrLabel14.Multiline = true; + this.xrLabel14.Name = "xrLabel14"; + this.xrLabel14.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel14.SizeF = new System.Drawing.SizeF(537.42F, 23.99998F); + this.xrLabel14.StylePriority.UseFont = false; + this.xrLabel14.StylePriority.UseTextAlignment = false; + // + // xrLabel7 + // + this.xrLabel7.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrLabel7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 220.0834F); + this.xrLabel7.Name = "xrLabel7"; + this.xrLabel7.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel7.SizeF = new System.Drawing.SizeF(139.58F, 24F); + this.xrLabel7.StylePriority.UseFont = false; + this.xrLabel7.Text = "Kommentar:"; + // + // xrLabel27 + // + this.xrLabel27.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel27.LocationFloat = new DevExpress.Utils.PointFloat(479.125F, 76.08337F); + this.xrLabel27.Name = "xrLabel27"; + this.xrLabel27.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel27.SizeF = new System.Drawing.SizeF(197.875F, 24F); + this.xrLabel27.StylePriority.UseFont = false; + this.xrLabel27.Text = "[PostCode] [Town]"; + // + // xrLabel26 + // + this.xrLabel26.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Street")}); + this.xrLabel26.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel26.LocationFloat = new DevExpress.Utils.PointFloat(479.125F, 52.08333F); + this.xrLabel26.Name = "xrLabel26"; + this.xrLabel26.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel26.SizeF = new System.Drawing.SizeF(197.875F, 24F); + this.xrLabel26.StylePriority.UseFont = false; + this.xrLabel26.Text = "Vorname:"; + // + // xrLabel29 + // + this.xrLabel29.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Mobile")}); + this.xrLabel29.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel29.LocationFloat = new DevExpress.Utils.PointFloat(479.125F, 124.0833F); + this.xrLabel29.Name = "xrLabel29"; + this.xrLabel29.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel29.SizeF = new System.Drawing.SizeF(197F, 24F); + this.xrLabel29.StylePriority.UseFont = false; + this.xrLabel29.Text = "Vorname:"; + // + // xrLabel32 + // + this.xrLabel32.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Mail")}); + this.xrLabel32.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel32.LocationFloat = new DevExpress.Utils.PointFloat(479.125F, 196.0833F); + this.xrLabel32.Name = "xrLabel32"; + this.xrLabel32.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel32.SizeF = new System.Drawing.SizeF(196.9999F, 24F); + this.xrLabel32.StylePriority.UseFont = false; + this.xrLabel32.Text = "Vorname:"; + // + // xrLabel31 + // + this.xrLabel31.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Fax")}); + this.xrLabel31.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel31.LocationFloat = new DevExpress.Utils.PointFloat(479.125F, 172.0834F); + this.xrLabel31.Name = "xrLabel31"; + this.xrLabel31.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel31.SizeF = new System.Drawing.SizeF(197F, 24F); + this.xrLabel31.StylePriority.UseFont = false; + this.xrLabel31.Text = "Vorname:"; + // + // xrLabel30 + // + this.xrLabel30.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Phone")}); + this.xrLabel30.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel30.LocationFloat = new DevExpress.Utils.PointFloat(479.125F, 148.0834F); + this.xrLabel30.Name = "xrLabel30"; + this.xrLabel30.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel30.SizeF = new System.Drawing.SizeF(197F, 24F); + this.xrLabel30.StylePriority.UseFont = false; + this.xrLabel30.Text = "Vorname:"; + // + // xrLabel20 + // + this.xrLabel20.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrLabel20.LocationFloat = new DevExpress.Utils.PointFloat(339.5449F, 76.08331F); + this.xrLabel20.Name = "xrLabel20"; + this.xrLabel20.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel20.SizeF = new System.Drawing.SizeF(139.58F, 24F); + this.xrLabel20.StylePriority.UseFont = false; + this.xrLabel20.Text = "PLZ/Ort:"; + // + // xrLabel19 + // + this.xrLabel19.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrLabel19.LocationFloat = new DevExpress.Utils.PointFloat(339.5449F, 52.08333F); + this.xrLabel19.Name = "xrLabel19"; + this.xrLabel19.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel19.SizeF = new System.Drawing.SizeF(139.58F, 24F); + this.xrLabel19.StylePriority.UseFont = false; + this.xrLabel19.Text = "Straße:"; + // + // xrLabel22 + // + this.xrLabel22.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrLabel22.LocationFloat = new DevExpress.Utils.PointFloat(339.5449F, 124.0833F); + this.xrLabel22.Name = "xrLabel22"; + this.xrLabel22.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel22.SizeF = new System.Drawing.SizeF(139.58F, 24F); + this.xrLabel22.StylePriority.UseFont = false; + this.xrLabel22.Text = "Handy:"; + // + // xrLabel25 + // + this.xrLabel25.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrLabel25.LocationFloat = new DevExpress.Utils.PointFloat(339.5449F, 196.0834F); + this.xrLabel25.Name = "xrLabel25"; + this.xrLabel25.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel25.SizeF = new System.Drawing.SizeF(139.58F, 24F); + this.xrLabel25.StylePriority.UseFont = false; + this.xrLabel25.Text = "E-Mail:"; + // + // xrLabel24 + // + this.xrLabel24.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrLabel24.LocationFloat = new DevExpress.Utils.PointFloat(339.5449F, 172.0834F); + this.xrLabel24.Name = "xrLabel24"; + this.xrLabel24.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel24.SizeF = new System.Drawing.SizeF(139.58F, 24F); + this.xrLabel24.StylePriority.UseFont = false; + this.xrLabel24.Text = "Fax:"; + // + // xrLabel23 + // + this.xrLabel23.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrLabel23.LocationFloat = new DevExpress.Utils.PointFloat(339.5449F, 148.0834F); + this.xrLabel23.Name = "xrLabel23"; + this.xrLabel23.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel23.SizeF = new System.Drawing.SizeF(139.58F, 24F); + this.xrLabel23.StylePriority.UseFont = false; + this.xrLabel23.Text = "Telefon:"; + // + // xrLabel18 + // + this.xrLabel18.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Occupation")}); + this.xrLabel18.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel18.LocationFloat = new DevExpress.Utils.PointFloat(139.58F, 172.0834F); + this.xrLabel18.Name = "xrLabel18"; + this.xrLabel18.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel18.SizeF = new System.Drawing.SizeF(179.1633F, 24F); + this.xrLabel18.StylePriority.UseFont = false; + this.xrLabel18.Text = "Vorname:"; + // + // xrLabel17 + // + this.xrLabel17.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "FamilyStatus")}); + this.xrLabel17.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel17.LocationFloat = new DevExpress.Utils.PointFloat(139.58F, 148.0834F); + this.xrLabel17.Name = "xrLabel17"; + this.xrLabel17.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel17.SizeF = new System.Drawing.SizeF(179.1633F, 24F); + this.xrLabel17.StylePriority.UseFont = false; + this.xrLabel17.Text = "Vorname:"; + // + // xrLabel16 + // + this.xrLabel16.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "Sex")}); + this.xrLabel16.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel16.LocationFloat = new DevExpress.Utils.PointFloat(139.58F, 124.0834F); + this.xrLabel16.Name = "xrLabel16"; + this.xrLabel16.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel16.SizeF = new System.Drawing.SizeF(179.1633F, 24F); + this.xrLabel16.StylePriority.UseFont = false; + this.xrLabel16.Text = "Vorname:"; + // + // xrLabel15 + // + this.xrLabel15.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "DateOfBirth")}); + this.xrLabel15.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel15.LocationFloat = new DevExpress.Utils.PointFloat(139.58F, 100.0834F); + this.xrLabel15.Name = "xrLabel15"; + this.xrLabel15.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel15.SizeF = new System.Drawing.SizeF(179.1633F, 24F); + this.xrLabel15.StylePriority.UseFont = false; + this.xrLabel15.Text = "Vorname:"; + // + // xrLabel13 + // + this.xrLabel13.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "LastName")}); + this.xrLabel13.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel13.LocationFloat = new DevExpress.Utils.PointFloat(139.58F, 76.08337F); + this.xrLabel13.Name = "xrLabel13"; + this.xrLabel13.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel13.SizeF = new System.Drawing.SizeF(179.1633F, 24F); + this.xrLabel13.StylePriority.UseFont = false; + this.xrLabel13.Text = "Vorname:"; + // + // xrLabel12 + // + this.xrLabel12.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "FirstName")}); + this.xrLabel12.Font = new System.Drawing.Font("Arial", 10F); + this.xrLabel12.LocationFloat = new DevExpress.Utils.PointFloat(139.58F, 52.08333F); + this.xrLabel12.Name = "xrLabel12"; + this.xrLabel12.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel12.SizeF = new System.Drawing.SizeF(179.1633F, 24F); + this.xrLabel12.StylePriority.UseFont = false; + this.xrLabel12.Text = "Vorname:"; + // + // xrLabel11 + // + this.xrLabel11.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrLabel11.LocationFloat = new DevExpress.Utils.PointFloat(0F, 172.0834F); + this.xrLabel11.Name = "xrLabel11"; + this.xrLabel11.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel11.SizeF = new System.Drawing.SizeF(139.58F, 24F); + this.xrLabel11.StylePriority.UseFont = false; + this.xrLabel11.Text = "Beruf:"; + // + // xrLabel10 + // + this.xrLabel10.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrLabel10.LocationFloat = new DevExpress.Utils.PointFloat(0F, 148.0834F); + this.xrLabel10.Name = "xrLabel10"; + this.xrLabel10.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel10.SizeF = new System.Drawing.SizeF(139.58F, 24F); + this.xrLabel10.StylePriority.UseFont = false; + this.xrLabel10.Text = "Familienstand:"; + // + // xrLabel9 + // + this.xrLabel9.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrLabel9.LocationFloat = new DevExpress.Utils.PointFloat(0F, 124.0834F); + this.xrLabel9.Name = "xrLabel9"; + this.xrLabel9.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel9.SizeF = new System.Drawing.SizeF(139.58F, 24F); + this.xrLabel9.StylePriority.UseFont = false; + this.xrLabel9.Text = "Geschlecht:"; + // + // xrLabel8 + // + this.xrLabel8.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrLabel8.LocationFloat = new DevExpress.Utils.PointFloat(0F, 100.0834F); + this.xrLabel8.Name = "xrLabel8"; + this.xrLabel8.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel8.SizeF = new System.Drawing.SizeF(139.58F, 24F); + this.xrLabel8.StylePriority.UseFont = false; + this.xrLabel8.Text = "Geburtsdatum:"; + // + // xrLabel6 + // + this.xrLabel6.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrLabel6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 76.08337F); + this.xrLabel6.Name = "xrLabel6"; + this.xrLabel6.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel6.SizeF = new System.Drawing.SizeF(139.58F, 24F); + this.xrLabel6.StylePriority.UseFont = false; + this.xrLabel6.Text = "Nachname:"; + // + // xrLabel5 + // + this.xrLabel5.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrLabel5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 52.08333F); + this.xrLabel5.Name = "xrLabel5"; + this.xrLabel5.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel5.SizeF = new System.Drawing.SizeF(139.58F, 24F); + this.xrLabel5.StylePriority.UseFont = false; + this.xrLabel5.Text = "Vorname:"; + // + // xrLabel1 + // + this.xrLabel1.Font = new System.Drawing.Font("Arial", 12F, System.Drawing.FontStyle.Bold); + this.xrLabel1.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrLabel1.Name = "xrLabel1"; + this.xrLabel1.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel1.SizeF = new System.Drawing.SizeF(677F, 25F); + this.xrLabel1.StylePriority.UseFont = false; + this.xrLabel1.StylePriority.UseTextAlignment = false; + this.xrLabel1.Text = "Klientenübersicht [Name]"; + this.xrLabel1.TextAlignment = DevExpress.XtraPrinting.TextAlignment.MiddleCenter; + // + // PageFooter + // + this.PageFooter.HeightF = 0F; + this.PageFooter.Name = "PageFooter"; + this.PageFooter.Padding = new DevExpress.XtraPrinting.PaddingInfo(0, 0, 0, 0, 100F); + this.PageFooter.TextAlignment = DevExpress.XtraPrinting.TextAlignment.TopLeft; + // + // DetailReport + // + this.DetailReport.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.Detail1}); + this.DetailReport.DataMember = "CostBearers"; + this.DetailReport.DataSource = this.bindingSource1; + this.DetailReport.Level = 0; + this.DetailReport.Name = "DetailReport"; + // + // Detail1 + // + this.Detail1.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable5}); + this.Detail1.HeightF = 18F; + this.Detail1.Name = "Detail1"; + // + // xrTable5 + // + this.xrTable5.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrTable5.Name = "xrTable5"; + this.xrTable5.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow20}); + this.xrTable5.SizeF = new System.Drawing.SizeF(642F, 18F); + // + // xrTableRow20 + // + this.xrTableRow20.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell38, + this.xrTableCell39, + this.xrTableCell40}); + this.xrTableRow20.Name = "xrTableRow20"; + this.xrTableRow20.Weight = 1.0588235294117647D; + // + // xrTableCell38 + // + this.xrTableCell38.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell38.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "CostBearers.CostBearer")}); + this.xrTableCell38.Name = "xrTableCell38"; + this.xrTableCell38.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTableCell38.StylePriority.UseBorders = false; + this.xrTableCell38.StylePriority.UseFont = false; + this.xrTableCell38.StylePriority.UsePadding = false; + this.xrTableCell38.Text = "Kostenträger"; + this.xrTableCell38.Weight = 0.17912772585669781D; + // + // xrTableCell39 + // + this.xrTableCell39.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell39.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "CostBearers.ReferenceNumber")}); + this.xrTableCell39.Name = "xrTableCell39"; + this.xrTableCell39.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTableCell39.StylePriority.UseBorders = false; + this.xrTableCell39.StylePriority.UseFont = false; + this.xrTableCell39.StylePriority.UsePadding = false; + this.xrTableCell39.Text = "Aktenzeichen"; + this.xrTableCell39.Weight = 0.3115264797507788D; + // + // xrTableCell40 + // + this.xrTableCell40.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell40.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "CostBearers.Notice")}); + this.xrTableCell40.Name = "xrTableCell40"; + this.xrTableCell40.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTableCell40.StylePriority.UseBorders = false; + this.xrTableCell40.StylePriority.UseFont = false; + this.xrTableCell40.StylePriority.UsePadding = false; + this.xrTableCell40.Text = "Notiz"; + this.xrTableCell40.Weight = 0.50934579439252337D; + // + // DetailReport1 + // + this.DetailReport1.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.Detail2}); + this.DetailReport1.Level = 1; + this.DetailReport1.Name = "DetailReport1"; + // + // Detail2 + // + this.Detail2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable6, + this.xrLabel3}); + this.Detail2.HeightF = 60.00001F; + this.Detail2.Name = "Detail2"; + // + // xrTable6 + // + this.xrTable6.LocationFloat = new DevExpress.Utils.PointFloat(0F, 42.00001F); + this.xrTable6.Name = "xrTable6"; + this.xrTable6.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow21}); + this.xrTable6.SizeF = new System.Drawing.SizeF(642F, 18F); + // + // xrTableRow21 + // + this.xrTableRow21.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell41, + this.xrTableCell42, + this.xrTableCell43}); + this.xrTableRow21.Name = "xrTableRow21"; + this.xrTableRow21.Weight = 1.0588235294117647D; + // + // xrTableCell41 + // + this.xrTableCell41.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell41.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrTableCell41.Name = "xrTableCell41"; + this.xrTableCell41.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTableCell41.StylePriority.UseBorders = false; + this.xrTableCell41.StylePriority.UseFont = false; + this.xrTableCell41.StylePriority.UsePadding = false; + this.xrTableCell41.Text = "Betreuer"; + this.xrTableCell41.Weight = 0.17912772585669781D; + // + // xrTableCell42 + // + this.xrTableCell42.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell42.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrTableCell42.Name = "xrTableCell42"; + this.xrTableCell42.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTableCell42.StylePriority.UseBorders = false; + this.xrTableCell42.StylePriority.UseFont = false; + this.xrTableCell42.StylePriority.UsePadding = false; + this.xrTableCell42.Text = "Rolle"; + this.xrTableCell42.Weight = 0.3115264797507788D; + // + // xrTableCell43 + // + this.xrTableCell43.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell43.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrTableCell43.Name = "xrTableCell43"; + this.xrTableCell43.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTableCell43.StylePriority.UseBorders = false; + this.xrTableCell43.StylePriority.UseFont = false; + this.xrTableCell43.StylePriority.UsePadding = false; + this.xrTableCell43.Text = "Notiz"; + this.xrTableCell43.Weight = 0.50934579439252337D; + // + // xrLabel3 + // + this.xrLabel3.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrLabel3.LocationFloat = new DevExpress.Utils.PointFloat(0F, 17F); + this.xrLabel3.Multiline = true; + this.xrLabel3.Name = "xrLabel3"; + this.xrLabel3.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel3.SizeF = new System.Drawing.SizeF(192F, 25F); + this.xrLabel3.StylePriority.UseFont = false; + this.xrLabel3.Text = "Zuständige Betreuer:"; + // + // DetailReport2 + // + this.DetailReport2.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.Detail3}); + this.DetailReport2.DataMember = "RelatedEmployees"; + this.DetailReport2.DataSource = this.bindingSource1; + this.DetailReport2.Level = 2; + this.DetailReport2.Name = "DetailReport2"; + // + // Detail3 + // + this.Detail3.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable7}); + this.Detail3.HeightF = 18F; + this.Detail3.Name = "Detail3"; + // + // xrTable7 + // + this.xrTable7.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrTable7.Name = "xrTable7"; + this.xrTable7.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow22}); + this.xrTable7.SizeF = new System.Drawing.SizeF(642F, 18F); + this.xrTable7.StylePriority.UseFont = false; + // + // xrTableRow22 + // + this.xrTableRow22.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell44, + this.xrTableCell45, + this.xrTableCell46}); + this.xrTableRow22.Name = "xrTableRow22"; + this.xrTableRow22.Weight = 1.125D; + // + // xrTableCell44 + // + this.xrTableCell44.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell44.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "RelatedEmployees.Employee")}); + this.xrTableCell44.Name = "xrTableCell44"; + this.xrTableCell44.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTableCell44.StylePriority.UseBorders = false; + this.xrTableCell44.StylePriority.UseFont = false; + this.xrTableCell44.StylePriority.UsePadding = false; + this.xrTableCell44.Text = "Betreuer"; + this.xrTableCell44.Weight = 0.17912772585669781D; + // + // xrTableCell45 + // + this.xrTableCell45.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell45.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "RelatedEmployees.RelationRole")}); + this.xrTableCell45.Name = "xrTableCell45"; + this.xrTableCell45.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTableCell45.StylePriority.UseBorders = false; + this.xrTableCell45.StylePriority.UseFont = false; + this.xrTableCell45.StylePriority.UsePadding = false; + this.xrTableCell45.Text = "Rolle"; + this.xrTableCell45.Weight = 0.3115264797507788D; + // + // xrTableCell46 + // + this.xrTableCell46.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell46.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "RelatedEmployees.Notice")}); + this.xrTableCell46.Name = "xrTableCell46"; + this.xrTableCell46.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTableCell46.StylePriority.UseBorders = false; + this.xrTableCell46.StylePriority.UseFont = false; + this.xrTableCell46.StylePriority.UsePadding = false; + this.xrTableCell46.Text = "Notiz"; + this.xrTableCell46.Weight = 0.50934579439252337D; + // + // DetailReport3 + // + this.DetailReport3.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.Detail4}); + this.DetailReport3.Expanded = false; + this.DetailReport3.Level = 3; + this.DetailReport3.Name = "DetailReport3"; + // + // Detail4 + // + this.Detail4.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel4}); + this.Detail4.HeightF = 60.00004F; + this.Detail4.Name = "Detail4"; + // + // xrLabel4 + // + this.xrLabel4.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrLabel4.LocationFloat = new DevExpress.Utils.PointFloat(0F, 35.00004F); + this.xrLabel4.Multiline = true; + this.xrLabel4.Name = "xrLabel4"; + this.xrLabel4.Padding = new DevExpress.XtraPrinting.PaddingInfo(2, 2, 0, 0, 100F); + this.xrLabel4.SizeF = new System.Drawing.SizeF(192F, 25F); + this.xrLabel4.StylePriority.UseFont = false; + this.xrLabel4.Text = "Personen des Umfelds:"; + // + // xrTable8 + // + this.xrTable8.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrTable8.Name = "xrTable8"; + this.xrTable8.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow23}); + this.xrTable8.SizeF = new System.Drawing.SizeF(642F, 18F); + // + // xrTableRow23 + // + this.xrTableRow23.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell47, + this.xrTableCell48, + this.xrTableCell53, + this.xrTableCell49}); + this.xrTableRow23.Name = "xrTableRow23"; + this.xrTableRow23.Weight = 1.0588235294117647D; + // + // xrTableCell47 + // + this.xrTableCell47.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell47.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrTableCell47.Name = "xrTableCell47"; + this.xrTableCell47.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTableCell47.StylePriority.UseBorders = false; + this.xrTableCell47.StylePriority.UseFont = false; + this.xrTableCell47.StylePriority.UsePadding = false; + this.xrTableCell47.Text = "Person"; + this.xrTableCell47.Weight = 0.17912772585669781D; + // + // xrTableCell48 + // + this.xrTableCell48.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell48.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrTableCell48.Name = "xrTableCell48"; + this.xrTableCell48.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTableCell48.StylePriority.UseBorders = false; + this.xrTableCell48.StylePriority.UseFont = false; + this.xrTableCell48.StylePriority.UsePadding = false; + this.xrTableCell48.Text = "Rolle"; + this.xrTableCell48.Weight = 0.21806853582554517D; + // + // xrTableCell53 + // + this.xrTableCell53.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell53.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrTableCell53.Name = "xrTableCell53"; + this.xrTableCell53.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTableCell53.StylePriority.UseBorders = false; + this.xrTableCell53.StylePriority.UseFont = false; + this.xrTableCell53.StylePriority.UsePadding = false; + this.xrTableCell53.StylePriority.UseTextAlignment = false; + this.xrTableCell53.Text = "Telefonnr."; + this.xrTableCell53.Weight = 0.2180685358255452D; + // + // xrTableCell49 + // + this.xrTableCell49.Borders = ((DevExpress.XtraPrinting.BorderSide)((((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Top) + | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell49.Font = new System.Drawing.Font("Arial", 10F, System.Drawing.FontStyle.Bold); + this.xrTableCell49.Name = "xrTableCell49"; + this.xrTableCell49.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTableCell49.StylePriority.UseBorders = false; + this.xrTableCell49.StylePriority.UseFont = false; + this.xrTableCell49.StylePriority.UsePadding = false; + this.xrTableCell49.Text = "Notiz"; + this.xrTableCell49.Weight = 0.38473520249221183D; + // + // DetailReport4 + // + this.DetailReport4.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.Detail5, + this.GroupHeader2}); + this.DetailReport4.DataMember = "EnvironmentPersons"; + this.DetailReport4.DataSource = this.bindingSource1; + this.DetailReport4.Level = 4; + this.DetailReport4.Name = "DetailReport4"; + // + // Detail5 + // + this.Detail5.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable9}); + this.Detail5.HeightF = 18F; + this.Detail5.Name = "Detail5"; + // + // xrTable9 + // + this.xrTable9.LocationFloat = new DevExpress.Utils.PointFloat(0F, 0F); + this.xrTable9.Name = "xrTable9"; + this.xrTable9.Rows.AddRange(new DevExpress.XtraReports.UI.XRTableRow[] { + this.xrTableRow24}); + this.xrTable9.SizeF = new System.Drawing.SizeF(642F, 18F); + this.xrTable9.StylePriority.UseFont = false; + // + // xrTableRow24 + // + this.xrTableRow24.Cells.AddRange(new DevExpress.XtraReports.UI.XRTableCell[] { + this.xrTableCell50, + this.xrTableCell51, + this.xrTableCell54, + this.xrTableCell52}); + this.xrTableRow24.Name = "xrTableRow24"; + this.xrTableRow24.Weight = 1.125D; + // + // xrTableCell50 + // + this.xrTableCell50.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell50.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "EnvironmentPersons.Person")}); + this.xrTableCell50.Name = "xrTableCell50"; + this.xrTableCell50.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTableCell50.StylePriority.UseBorders = false; + this.xrTableCell50.StylePriority.UseFont = false; + this.xrTableCell50.StylePriority.UsePadding = false; + this.xrTableCell50.Text = "Betreuer"; + this.xrTableCell50.Weight = 0.17912772585669781D; + // + // xrTableCell51 + // + this.xrTableCell51.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell51.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "EnvironmentPersons.RelationRole")}); + this.xrTableCell51.Name = "xrTableCell51"; + this.xrTableCell51.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTableCell51.StylePriority.UseBorders = false; + this.xrTableCell51.StylePriority.UseFont = false; + this.xrTableCell51.StylePriority.UsePadding = false; + this.xrTableCell51.Text = "Rolle"; + this.xrTableCell51.Weight = 0.21806853582554517D; + // + // xrTableCell54 + // + this.xrTableCell54.Borders = ((DevExpress.XtraPrinting.BorderSide)((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell54.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "EnvironmentPersons.Person.ContactSummaryInfo")}); + this.xrTableCell54.Multiline = true; + this.xrTableCell54.Name = "xrTableCell54"; + this.xrTableCell54.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTableCell54.StylePriority.UseBorders = false; + this.xrTableCell54.StylePriority.UsePadding = false; + this.xrTableCell54.Text = "xrTableCell54"; + this.xrTableCell54.Weight = 0.2180685358255452D; + // + // xrTableCell52 + // + this.xrTableCell52.Borders = ((DevExpress.XtraPrinting.BorderSide)(((DevExpress.XtraPrinting.BorderSide.Left | DevExpress.XtraPrinting.BorderSide.Right) + | DevExpress.XtraPrinting.BorderSide.Bottom))); + this.xrTableCell52.DataBindings.AddRange(new DevExpress.XtraReports.UI.XRBinding[] { + new DevExpress.XtraReports.UI.XRBinding("Text", null, "EnvironmentPersons.Customer2PersonNotice")}); + this.xrTableCell52.Name = "xrTableCell52"; + this.xrTableCell52.Padding = new DevExpress.XtraPrinting.PaddingInfo(5, 0, 0, 0, 100F); + this.xrTableCell52.StylePriority.UseBorders = false; + this.xrTableCell52.StylePriority.UseFont = false; + this.xrTableCell52.StylePriority.UsePadding = false; + this.xrTableCell52.Text = "Notiz"; + this.xrTableCell52.Weight = 0.38473520249221183D; + // + // GroupHeader2 + // + this.GroupHeader2.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrTable8}); + this.GroupHeader2.HeightF = 18F; + this.GroupHeader2.Name = "GroupHeader2"; + this.GroupHeader2.RepeatEveryPage = true; + // + // topMarginBand1 + // + this.topMarginBand1.HeightF = 75F; + this.topMarginBand1.Name = "topMarginBand1"; + // + // bottomMarginBand1 + // + this.bottomMarginBand1.HeightF = 75F; + this.bottomMarginBand1.Name = "bottomMarginBand1"; + // + // ReportHeader + // + this.ReportHeader.Controls.AddRange(new DevExpress.XtraReports.UI.XRControl[] { + this.xrLabel1, + this.xrLabel5, + this.xrLabel6, + this.xrLabel8, + this.xrLabel9, + this.xrLabel10, + this.xrLabel11, + this.xrLabel12, + this.xrLabel13, + this.xrLabel15, + this.xrLabel16, + this.xrLabel17, + this.xrLabel18, + this.xrLabel23, + this.xrLabel24, + this.xrLabel25, + this.xrLabel22, + this.xrLabel19, + this.xrLabel20, + this.xrLabel30, + this.xrLabel31, + this.xrLabel32, + this.xrLabel29, + this.xrLabel26, + this.xrLabel27, + this.xrLabel7, + this.xrLabel14, + this.xrLabel21, + this.xrLabel28}); + this.ReportHeader.HeightF = 280F; + this.ReportHeader.Name = "ReportHeader"; + // + // bindingSource1 + // + this.bindingSource1.DataSource = typeof(BeWo.Report.ReportObjects.CustomerDataRO); + // + // SBDCharacteristicsReport + // + this.Bands.AddRange(new DevExpress.XtraReports.UI.Band[] { + this.Detail, + this.PageFooter, + this.DetailReport, + this.DetailReport1, + this.DetailReport2, + this.DetailReport3, + this.DetailReport4, + this.topMarginBand1, + this.bottomMarginBand1, + this.ReportHeader}); + this.DataSource = this.bindingSource1; + this.Font = new System.Drawing.Font("Arial", 10F); + this.Margins = new System.Drawing.Printing.Margins(75, 75, 75, 75); + this.PageHeight = 1169; + this.PageWidth = 827; + this.PaperKind = System.Drawing.Printing.PaperKind.A4; + this.Version = "17.1"; + ((System.ComponentModel.ISupportInitialize)(this.xrTable4)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable5)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable6)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable7)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable8)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.xrTable9)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this.bindingSource1)).EndInit(); + ((System.ComponentModel.ISupportInitialize)(this)).EndInit(); + + } + + #endregion + + private DevExpress.XtraReports.UI.DetailBand Detail; + private DevExpress.XtraReports.UI.PageFooterBand PageFooter; + private DevExpress.XtraReports.UI.XRLabel xrLabel1; + private System.Windows.Forms.BindingSource bindingSource1; + private DevExpress.XtraReports.UI.DetailReportBand DetailReport; + private DevExpress.XtraReports.UI.DetailBand Detail1; + private DevExpress.XtraReports.UI.XRLabel xrLabel2; + private DevExpress.XtraReports.UI.XRTable xrTable4; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow19; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell35; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell36; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell37; + private DevExpress.XtraReports.UI.XRTable xrTable5; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow20; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell38; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell39; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell40; + private DevExpress.XtraReports.UI.DetailReportBand DetailReport1; + private DevExpress.XtraReports.UI.DetailBand Detail2; + private DevExpress.XtraReports.UI.XRTable xrTable6; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow21; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell41; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell42; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell43; + private DevExpress.XtraReports.UI.XRLabel xrLabel3; + private DevExpress.XtraReports.UI.DetailReportBand DetailReport2; + private DevExpress.XtraReports.UI.DetailBand Detail3; + private DevExpress.XtraReports.UI.XRTable xrTable7; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow22; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell44; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell45; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell46; + private DevExpress.XtraReports.UI.DetailReportBand DetailReport3; + private DevExpress.XtraReports.UI.DetailBand Detail4; + private DevExpress.XtraReports.UI.XRTable xrTable8; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow23; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell47; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell48; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell49; + private DevExpress.XtraReports.UI.XRLabel xrLabel4; + private DevExpress.XtraReports.UI.DetailReportBand DetailReport4; + private DevExpress.XtraReports.UI.DetailBand Detail5; + private DevExpress.XtraReports.UI.XRTable xrTable9; + private DevExpress.XtraReports.UI.XRTableRow xrTableRow24; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell50; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell51; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell52; + private DevExpress.XtraReports.UI.TopMarginBand topMarginBand1; + private DevExpress.XtraReports.UI.BottomMarginBand bottomMarginBand1; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell53; + private DevExpress.XtraReports.UI.XRTableCell xrTableCell54; + private DevExpress.XtraReports.UI.XRLabel xrLabel11; + private DevExpress.XtraReports.UI.XRLabel xrLabel10; + private DevExpress.XtraReports.UI.XRLabel xrLabel9; + private DevExpress.XtraReports.UI.XRLabel xrLabel8; + private DevExpress.XtraReports.UI.XRLabel xrLabel6; + private DevExpress.XtraReports.UI.XRLabel xrLabel5; + private DevExpress.XtraReports.UI.XRLabel xrLabel28; + private DevExpress.XtraReports.UI.XRLabel xrLabel21; + private DevExpress.XtraReports.UI.XRLabel xrLabel14; + private DevExpress.XtraReports.UI.XRLabel xrLabel7; + private DevExpress.XtraReports.UI.XRLabel xrLabel27; + private DevExpress.XtraReports.UI.XRLabel xrLabel26; + private DevExpress.XtraReports.UI.XRLabel xrLabel29; + private DevExpress.XtraReports.UI.XRLabel xrLabel32; + private DevExpress.XtraReports.UI.XRLabel xrLabel31; + private DevExpress.XtraReports.UI.XRLabel xrLabel30; + private DevExpress.XtraReports.UI.XRLabel xrLabel20; + private DevExpress.XtraReports.UI.XRLabel xrLabel19; + private DevExpress.XtraReports.UI.XRLabel xrLabel22; + private DevExpress.XtraReports.UI.XRLabel xrLabel25; + private DevExpress.XtraReports.UI.XRLabel xrLabel24; + private DevExpress.XtraReports.UI.XRLabel xrLabel23; + private DevExpress.XtraReports.UI.XRLabel xrLabel18; + private DevExpress.XtraReports.UI.XRLabel xrLabel17; + private DevExpress.XtraReports.UI.XRLabel xrLabel16; + private DevExpress.XtraReports.UI.XRLabel xrLabel15; + private DevExpress.XtraReports.UI.XRLabel xrLabel13; + private DevExpress.XtraReports.UI.XRLabel xrLabel12; + private DevExpress.XtraReports.UI.ReportHeaderBand ReportHeader; + private DevExpress.XtraReports.UI.GroupHeaderBand GroupHeader2; + } +} diff --git a/Report/DefaultReports/SBDCharacteristicsReport.cs b/Report/DefaultReports/SBDCharacteristicsReport.cs new file mode 100644 index 000000000..4eef888fc --- /dev/null +++ b/Report/DefaultReports/SBDCharacteristicsReport.cs @@ -0,0 +1,22 @@ +using System; +using System.Drawing; +using System.Collections; +using System.ComponentModel; +using DevExpress.XtraReports.UI; +using BeWo.Report.ReportObjects; + +namespace BeWo.Report.DefaultReports +{ + public partial class SBDCharacteristicsReport : DevExpress.XtraReports.UI.XtraReport, IBeWoReport + { + public SBDCharacteristicsReport() + { + InitializeComponent(); + } + + public void SetReportDataSource(SBDCharacteristicsRO pRO) + { + this.bindingSource1.DataSource = pRO; + } + } +} diff --git a/Report/DefaultReports/SBDCharacteristicsReport.resx b/Report/DefaultReports/SBDCharacteristicsReport.resx new file mode 100644 index 000000000..d25f3eba2 --- /dev/null +++ b/Report/DefaultReports/SBDCharacteristicsReport.resx @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + 17, 17 + + \ No newline at end of file diff --git a/Report/Report.csproj b/Report/Report.csproj index 01d6d1c1c..20ff994da 100644 --- a/Report/Report.csproj +++ b/Report/Report.csproj @@ -75,12 +75,14 @@ + + False @@ -88,6 +90,7 @@ False + @@ -149,6 +152,12 @@ AdditionalServiceBookingReport.cs + + Component + + + SBDCharacteristicsReport.cs + Component @@ -362,6 +371,7 @@ + @@ -379,6 +389,10 @@ AdditionalServiceBookingReport.cs + + SBDCharacteristicsReport.cs + Designer + EmployeeDataReport.cs Designer diff --git a/Report/ReportObjects/SBDCharacteristicsRO.cs b/Report/ReportObjects/SBDCharacteristicsRO.cs new file mode 100644 index 000000000..f858ed54a --- /dev/null +++ b/Report/ReportObjects/SBDCharacteristicsRO.cs @@ -0,0 +1,231 @@ +using System.Collections.Generic; +using System.Linq; +using BeWo.Data.ICD10; +using BS.Shared; +using BS.Shared.DataContracts; + +namespace BeWo.Report.ReportObjects +{ + public class SBDCharacteristicsRO : AbstractBeWoReportObject + { + public long CustomerOid { get; set; } + + public List CostBearers { get; set; } + + public string DateOfBirth { get; set; } + + public string Disabilities { get; set; } + + public List EnvironmentPersons { get; set; } + + public List EnvironmentOrganisations { get; set; } + + public List Abwesenheiten { get; set; } + + public string FamilyStatus { get; set; } + + public string Fax { get; set; } + + public string FirstName { get; set; } + + public string LastName { get; set; } + + public string Mail { get; set; } + + public string Mobile { get; set; } + + public string Name => FirstName + " " + LastName; + + public string Notice { get; set; } + + public string Occupation { get; set; } + + public string Phone { get; set; } + + public string PostCode { get; set; } + + public string ReferenceNumber { get; set; } + + public List RelatedEmployees { get; set; } + + public string Sex { get; set; } + + public string Street { get; set; } + + public string Town { get; set; } + + public object VarField1 { get; set; } + + public object VarField2 { get; set; } + + public object VarField3 { get; set; } + + public object VarField4 { get; set; } + + public object VarField5 { get; set; } + + public object VarField6 { get; set; } + + public object VarField7 { get; set; } + + public object VarField8 { get; set; } + + public object VarField9 { get; set; } + + public object VarField10 { get; set; } + + public List ICD10Diagnosen { get; set; } + + public CustomerDC Customer { get; set; } + + public static SBDCharacteristicsRO Create(CustomerDC pDC) + { + var result = new SBDCharacteristicsRO {Customer = pDC}; + + if (pDC.AbsenceTimes != null) + { + result.Abwesenheiten = pDC.AbsenceTimes.OrderBy(a => a.Start).ToList(); + } + + result.CustomerOid = pDC.CustomerOid.Value; + result.FirstName = pDC.FirstName; + result.LastName = pDC.LastName; + result.ReferenceNumber = pDC.ReferenceNumber; + + if (pDC.DateOfBirth.HasValue) + { + result.DateOfBirth = pDC.DateOfBirth.Value.ToShortDateString(); + } + + result.ICD10Diagnosen = new List(); + foreach (var idc10 in pDC.ICD10DiagnosisCodes) + { + result.ICD10Diagnosen.Add(new ICD10Row(idc10, ICD10DAO.GetDiagnosisForCode(idc10))); + } + + result.Sex = pDC.Sex == BS.Shared.Sex.Female ? "weiblich" : "männlich"; + result.Occupation = pDC.Profession; + + if (pDC.FamilyStatus.HasValue) + { + switch (pDC.FamilyStatus.Value) + { + case BS.Shared.FamilyStatus.Divorced: + result.FamilyStatus = "geschieden"; + break; + case BS.Shared.FamilyStatus.Married: + result.FamilyStatus = "verheiratet"; + break; + case BS.Shared.FamilyStatus.Single: + result.FamilyStatus = "ledig"; + break; + case BS.Shared.FamilyStatus.Widowed: + result.FamilyStatus = "verwitwet"; + break; + case BS.Shared.FamilyStatus.Partner: + result.FamilyStatus = "in Partnerschaft"; + break; + case BS.Shared.FamilyStatus.PartnerDivorced: + result.FamilyStatus = "getrennt lebend"; + break; + case BS.Shared.FamilyStatus.PartnerDead: + result.FamilyStatus = "partnerhinterblieben"; + break; + case BS.Shared.FamilyStatus.PartnerMarried: + result.FamilyStatus = "verpartnert"; + break; + case BS.Shared.FamilyStatus.Entpartnert: + result.FamilyStatus = "entpartnert"; + break; + } + } + + result.Street = pDC.Street; + result.Town = pDC.Town; + result.PostCode = pDC.PostalCode; + + foreach (var iContact in pDC.ContactInformations) + { + switch (iContact.ContactType) + { + case ContactType.business_Phone: + result.Phone = iContact.ContactValue; + break; + case ContactType.business_MobilePhone: + result.Mobile = iContact.ContactValue; + break; + case ContactType.business_Mail: + result.Mail = iContact.ContactValue; + break; + case ContactType.business_Fax: + result.Fax = iContact.ContactValue; + break; + } + } + + result.Notice = pDC.Notice; + + result.Disabilities = string.Join(", ", pDC.Disabilities.Select(d => d.TypeDescription).ToArray()); + + result.CostBearers = pDC.CostBearers; + result.RelatedEmployees = pDC.RelatedEmployees; + result.EnvironmentPersons = pDC.EnvironmentPersons; + result.EnvironmentOrganisations = pDC.EnvironmentOrganisations; + + if (pDC.CustomerVarFields != null) + { + if (pDC.CustomerVarFields.Count > 0) + { + result.VarField1 = pDC.CustomerVarFields[0].VarFieldValue; + } + + if (pDC.CustomerVarFields.Count > 1) + { + result.VarField2 = pDC.CustomerVarFields[1].VarFieldValue; + } + + if (pDC.CustomerVarFields.Count > 2) + { + result.VarField3 = pDC.CustomerVarFields[2].VarFieldValue; + } + + if (pDC.CustomerVarFields.Count > 3) + { + result.VarField4 = pDC.CustomerVarFields[3].VarFieldValue; + } + + if (pDC.CustomerVarFields.Count > 4) + { + result.VarField5 = pDC.CustomerVarFields[4].VarFieldValue; + } + + if (pDC.CustomerVarFields.Count > 5) + { + result.VarField6 = pDC.CustomerVarFields[5].VarFieldValue; + } + + if (pDC.CustomerVarFields.Count > 6) + { + result.VarField7 = pDC.CustomerVarFields[6].VarFieldValue; + } + + if (pDC.CustomerVarFields.Count > 7) + { + result.VarField8 = pDC.CustomerVarFields[7].VarFieldValue; + } + + if (pDC.CustomerVarFields.Count > 8) + { + result.VarField9 = pDC.CustomerVarFields[8].VarFieldValue; + } + + if (pDC.CustomerVarFields.Count > 9) + { + result.VarField10 = pDC.CustomerVarFields[9].VarFieldValue; + } + } + + return result; + } + } +} diff --git a/Service/SBD/VertretungsManager.cs b/Service/SBD/VertretungsManager.cs index 9e6cd4d94..265c92841 100644 --- a/Service/SBD/VertretungsManager.cs +++ b/Service/SBD/VertretungsManager.cs @@ -16,6 +16,22 @@ namespace BeWo.Service.SBD { internal class VertretungsManager { + private static List LoadContactInformationForEntity(long entityOid) where T : BeWoEntityBase + { + Person entity; + + if(typeof(T) == typeof(Employee)) + { + entity = DAOFactory.GenericDAO.LoadByID(entityOid).Person; + } + else + { + entity = DAOFactory.GenericDAO.LoadByID(entityOid).Person; + } + + return MapperFactory.ContactDC_Contact.MapToNewDCs(entity.Contacts); + } + public List CreateVertretungsListe(DateTime start, DateTime end) { var result = new List(); @@ -24,6 +40,22 @@ namespace BeWo.Service.SBD var vertretungen = DAOFactory.SearchDAO.FindVertretungen(start, end).ToList(); var absenceTimes = DAOFactory.SearchDAO.FindAbsenceTimes(start, end).ToList(); + var customerOids = vertretungen.Where(w => w.CustomerOid.HasValue).Select(s => s.CustomerOid.Value).ToList(); + customerOids.AddRangeIfElementsNotIn(absenceTimes.Where(w => w.CustomerOid.HasValue).Select(s => s.CustomerOid.Value).ToList()); + + var customers = DAOFactory.GenericDAO.LoadByIDs(customerOids); + var customerContactInformation = new Dictionary>(); + + foreach (var customer in customers) + { + var contacts = MapperFactory.ContactDC_Contact.MapToNewDCs(customer.Person.Contacts); + + if(customer.Oid != null) + { + customerContactInformation.AddOrUpdateValueInDictionary(customer.Oid.Value, contacts); + } + } + foreach (var absenceTime in absenceTimes) { if (absenceTime.EmployeeOid.HasValue) //Abwesenheit Mitarbeiter @@ -41,7 +73,7 @@ namespace BeWo.Service.SBD { if (valueListEntry2Object.Entry.Type == ValueListEntryType.StaffRoleType && !valueListEntry2Object.Entry.Value.Equals("ehemalige Betreuung")) // Nur Hauptbetreuer? { - var items = ErstelleVertretungsItemsForAbsenceEmployee(absenceTime, employee, employee2Customer.Customer, vertretungen, start, end); + var items = ErstelleVertretungsItemsForAbsenceEmployee(absenceTime, employee, employee2Customer.Customer, vertretungen, start, end, LoadContactInformationForEntity(employee2Customer.Customer.Oid.Value), MapperFactory.ContactDC_Contact.MapToNewDCs(employee.Person.Contacts), MapperFactory.CustomerOrganisationRelationDC_Customer2Organisation.MapToNewDCs(employee2Customer.Customer.Customer2OrganisationList)); if (items != null) { result.AddRange(items); @@ -59,13 +91,15 @@ namespace BeWo.Service.SBD } var addEmpty = true; + foreach (var employee2Customer in customer.Employee2CustomerList.Where(e2c => e2c.Employee.IsActive == ActivationTypeId.Active)) { foreach (var valueListEntry2Object in employee2Customer.ValueList) { if (valueListEntry2Object.Entry.Type == ValueListEntryType.StaffRoleType) // Nur Hauptbetreuer? { - var items = ErstelleVertretungsItemsForAbsenceEmployee(absenceTime, employee2Customer.Employee, customer, null, start, end); + var substitutions = vertretungen.Where(vertretung => vertretung.CustomerOid.HasValue && vertretung.CustomerOid == customer.Oid).ToList(); + var items = ErstelleVertretungsItemsForAbsenceEmployee(absenceTime, employee2Customer.Employee, customer, substitutions, start, end, customerContactInformation[customer.Oid.Value], MapperFactory.ContactDC_Contact.MapToNewDCs(employee2Customer.Employee.Person.Contacts), MapperFactory.CustomerOrganisationRelationDC_Customer2Organisation.MapToNewDCs(customer.Customer2OrganisationList)); if (items != null) { addEmpty = false; @@ -77,7 +111,7 @@ namespace BeWo.Service.SBD if (addEmpty) { - var items = ErstelleVertretungsItemsForAbsenceEmployee(absenceTime, null, customer, null, start, end)?.ToList(); + var items = ErstelleVertretungsItemsForAbsenceEmployee(absenceTime, null, customer, null, start, end, customerContactInformation[customer.Oid.Value], null, MapperFactory.CustomerOrganisationRelationDC_Customer2Organisation.MapToNewDCs(customer.Customer2OrganisationList))?.ToList(); if (items != null) { result.AddRange(items); @@ -102,10 +136,7 @@ namespace BeWo.Service.SBD } } } - } - foreach (var item in result) - { if (item.MitarbeiterEinsatzBei == "???" && item.Employee != null) { item.MitarbeiterEinsatzBei = ""; @@ -122,7 +153,7 @@ namespace BeWo.Service.SBD return result; } - private static IEnumerable ErstelleVertretungsItemsForAbsenceEmployee(AbsenceTime absenceTime, Employee employee, Customer customer, List vertretungen, DateTime start, DateTime end) + private static IEnumerable ErstelleVertretungsItemsForAbsenceEmployee(AbsenceTime absenceTime, Employee employee, Customer customer, List vertretungen, DateTime start, DateTime end, List customerContactInformation, List employeeContactInformation, List schools) { var vertretungsItems = new List(); @@ -137,17 +168,25 @@ namespace BeWo.Service.SBD { newVertretungsItem.Employee = MapperFactory.CompactEmployeeDC_Employee.MapToNewDC(employee); + var lastSubstitutions = DAOFactory.SearchDAO.GetLastSubstitutionItems(employee.Oid.Value, 3); + + var lastSubstitutionDCs = MapperFactory.VertretungDC_Vertretung.MapToNewDCs(lastSubstitutions); + + newVertretungsItem.LastSubstitutions = lastSubstitutionDCs; + AddArbeitszeitToVertretungsItem(newVertretungsItem, employee, dateTime); } newVertretungsItem.Customer = MapperFactory.CompactCustomerDC_Customer.MapToNewDC(customer); SetzeSchule(newVertretungsItem, customer); + newVertretungsItem.CustomerContactInformation = customerContactInformation; + newVertretungsItem.EmployeeContactInformation = employeeContactInformation; + newVertretungsItem.Schools = schools; + if(customer != null && customer.Arbeitszeiten.Any()) { - // TODO: Betreuungszeit (Arbeitszeit) hinzufügen - var betreuungszeiten = - MapperFactory.ArbeitszeitDC_Arbeitszeit.MapToNewDCs(customer.Arbeitszeiten); + var betreuungszeiten = MapperFactory.ArbeitszeitDC_Arbeitszeit.MapToNewDCs(customer.Arbeitszeiten); var time = dateTime; var interval = betreuungszeiten.Where(w => w.GueltigVon.HasValue && w.GueltigBis.HasValue && time.InBetween(w.GueltigVon.Value, w.GueltigBis.Value, true)).ToList(); @@ -231,12 +270,23 @@ namespace BeWo.Service.SBD break; } - if (absenceTime.EmployeeOid.HasValue) // MA krank + newVertretungsItem.CustomerPflege = customer.Pflege ? "Ja" : "Nein"; + newVertretungsItem.CustomerToilettengang = customer.Toilettengang ? "Ja" : "Nein"; + newVertretungsItem.CustomerAggressivitaet = customer.Aggressiv ? "Ja" : "Nein"; + newVertretungsItem.CustomerHygienebelehrung = customer.Hygienebelehrung ? "Ja" : "Nein"; + newVertretungsItem.CustomerSchutzstufe = customer.Schutzstufe; + + newVertretungsItem.EmployeePflege = employee == null ? "Nein" : employee.Pflege ? "Ja" : "Nein"; + newVertretungsItem.EmployeeToilettengang = employee == null ? "Nein" : employee.Toilettengang ? "Ja" : "Nein"; + newVertretungsItem.EmployeeAggressivitaet = employee == null ? "Nein" : employee.Aggressiv ? "Ja" : "Nein"; + newVertretungsItem.EmployeeHygienebelehrung = employee == null ? "Nein" : employee.Hygienebelehrung ? "Ja" : "Nein"; + newVertretungsItem.EmployeeSchutzstufe = employee?.Schutzstufe; + + if (absenceTime.EmployeeOid.HasValue) // Mitarbeiter krank { newVertretungsItem.Pflege = customer.Pflege ? "Ja" : "Nein"; newVertretungsItem.Toilettengang = customer.Toilettengang ? "Ja" : "Nein"; newVertretungsItem.Aggressiv = customer.Aggressiv ? "Ja" : "Nein"; - if (customer.Person.Sex.HasValue) { diff --git a/Service/ServiceContracts/ICustomerService.cs b/Service/ServiceContracts/ICustomerService.cs index 7a1fc9692..e6324823f 100644 --- a/Service/ServiceContracts/ICustomerService.cs +++ b/Service/ServiceContracts/ICustomerService.cs @@ -708,5 +708,9 @@ namespace BeWo.Service.ServiceContracts [FaultContract(typeof(BeWoFault))] [OperationContract] List LoadCompactSupportConceptsById(IEnumerable pOids); + + [FaultContract(typeof(BeWoFault))] + [OperationContract] + List LoadContactInformationForCustomer(long customerOid); } } \ No newline at end of file diff --git a/Service/ServiceContracts/IOperationsService.cs b/Service/ServiceContracts/IOperationsService.cs index 1fa0437eb..4b90f1578 100644 --- a/Service/ServiceContracts/IOperationsService.cs +++ b/Service/ServiceContracts/IOperationsService.cs @@ -830,10 +830,14 @@ namespace BeWo.Service.ServiceContracts [FaultContract(typeof(BeWoFault))] [OperationContract] - bool CheckForOverlappingSubstitutionEntries(DateTime startDate, DateTime endDate, long? employeeOid, long? customerOid); + bool CheckForOverlappingSubstitutionEntries(DateTime startDate, DateTime endDate, long? employeeOid, long? customerOid, long? substitutionOid); [FaultContract(typeof(BeWoFault))] [OperationContract] IList GetHomeViewPanels(); + + [FaultContract(typeof(BeWoFault))] + [OperationContract] + bool CheckForOverlappingAbsenceTimes(DateTime startDate, DateTime endDate, long? employeeOid, long? customerOid); } } \ No newline at end of file diff --git a/Service/ServiceImplementations/CustomerServiceImp.cs b/Service/ServiceImplementations/CustomerServiceImp.cs index 855028675..ca1234684 100644 --- a/Service/ServiceImplementations/CustomerServiceImp.cs +++ b/Service/ServiceImplementations/CustomerServiceImp.cs @@ -4037,6 +4037,20 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Insert(addressHistoryEntry); } + + public List LoadContactInformationForCustomer(long customerOid) + { + try + { + var customer = DAOFactory.GenericDAO.LoadByID(customerOid); + + return MapperFactory.ContactDC_Contact.MapToNewDCs(customer.Person.Contacts); + } + catch(Exception e) + { + throw Utils.CreateBeWoFaultException(e); + } + } } internal struct WohnheimbuchungsIntervallStruct diff --git a/Service/ServiceImplementations/OperationsServiceImp.cs b/Service/ServiceImplementations/OperationsServiceImp.cs index 759f09b28..9988a4a8f 100644 --- a/Service/ServiceImplementations/OperationsServiceImp.cs +++ b/Service/ServiceImplementations/OperationsServiceImp.cs @@ -51,7 +51,7 @@ namespace BeWo.Service.ServiceImplementations { ServiceLogic.SetActivationType(pInvoices.ToDictionary(i => i.InvoiceOid.Value, i => i.InvoiceVersion.Value), ActivationTypeId.Deleted); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -63,7 +63,7 @@ namespace BeWo.Service.ServiceImplementations { ServiceLogic.SetActivationType(pOid2Version, ActivationTypeId.Deleted); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -75,7 +75,7 @@ namespace BeWo.Service.ServiceImplementations { ServiceLogic.SetActivationType(pOid2Version, ActivationTypeId.Deleted); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -92,7 +92,7 @@ namespace BeWo.Service.ServiceImplementations } }, ActivationTypeId.Deleted); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -109,7 +109,7 @@ namespace BeWo.Service.ServiceImplementations } }, ActivationTypeId.Deleted); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -121,7 +121,7 @@ namespace BeWo.Service.ServiceImplementations { ServiceLogic.SetActivationType(pOid2Version, ActivationTypeId.Deleted); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -133,7 +133,7 @@ namespace BeWo.Service.ServiceImplementations { ServiceLogic.SetActivationType(pOid2Version, ActivationTypeId.Deleted); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -150,7 +150,7 @@ namespace BeWo.Service.ServiceImplementations } }); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -166,7 +166,7 @@ namespace BeWo.Service.ServiceImplementations // DAOFactory.GenericDAO.Deactivate(lOriginals); DAOFactory.GenericDAO.Delete(lOriginals); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -183,7 +183,7 @@ namespace BeWo.Service.ServiceImplementations } }); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -198,7 +198,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Delete(lOriginals); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -213,7 +213,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Delete(lOriginals); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -230,7 +230,7 @@ namespace BeWo.Service.ServiceImplementations } }); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -247,7 +247,7 @@ namespace BeWo.Service.ServiceImplementations } }); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -262,7 +262,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Delete(lOriginals); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -279,7 +279,7 @@ namespace BeWo.Service.ServiceImplementations } }); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -301,9 +301,9 @@ namespace BeWo.Service.ServiceImplementations var srListToDelete = new List(); - foreach (var item in lOriginals) + foreach(var item in lOriginals) { - if (item.Group != null) + if(item.Group != null) { MakeServiceRecordHistoryEntry(item.Group.ServiceRecordList, null, StatementType.Delete); @@ -315,13 +315,13 @@ namespace BeWo.Service.ServiceImplementations } } - if (srListToDelete.Count > 0) + if(srListToDelete.Count > 0) { MakeServiceRecordHistoryEntry(srListToDelete, null, StatementType.Delete); DAOFactory.GenericDAO.Delete(srListToDelete); } } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -341,14 +341,14 @@ namespace BeWo.Service.ServiceImplementations var costBearer = lCb2Sc.CostBearer; string tenant = null; - if (MultitenancyOperationContextExt.Current != null) + if(MultitenancyOperationContextExt.Current != null) { tenant = MultitenancyOperationContextExt.Current.Tenant; } var factory = PluginLoader.FindClass(costBearer.ID); - if (factory == null) + if(factory == null) { factory = InvoiceFactory.GetInstance(costBearer.ID, tenant); } @@ -359,7 +359,7 @@ namespace BeWo.Service.ServiceImplementations return lResult; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -380,7 +380,7 @@ namespace BeWo.Service.ServiceImplementations { return MapperFactory.AccountingTransactionDC_AccountingTransaction.MapToNewDCs(DAOFactory.SearchDAO.FindAccoutingTransactions(pSpan, pSupportConceptOid, pSupportConceptCostBearerRelOid)); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -392,7 +392,7 @@ namespace BeWo.Service.ServiceImplementations { return MapperFactory.InvoiceDC_Invoice.MapToNewDCs(DAOFactory.GenericDAO.GetAllActive()); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -406,7 +406,7 @@ namespace BeWo.Service.ServiceImplementations return s.GetAllActiveSupportConceptCostbearer(onlyApproved, onlyWithAssignedCostbearer, employeeOid); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -419,7 +419,7 @@ namespace BeWo.Service.ServiceImplementations IList list = DAOFactory.GenericDAO.GetAllActive(); return MapperFactory.AdditionalServiceDC_AdditionalService.MapToNewDCs(list); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -437,7 +437,7 @@ namespace BeWo.Service.ServiceImplementations return result; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -450,7 +450,7 @@ namespace BeWo.Service.ServiceImplementations IList list = DAOFactory.GenericDAO.GetAllActive(); return MapperFactory.ServiceCategoryDC_ServiceCategory.MapToNewDCs(list); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -465,7 +465,7 @@ namespace BeWo.Service.ServiceImplementations var dcList = MapperFactory.ServiceDescriptionDC_ServiceDescription.MapToNewDCs(list); AppSettings settings = AppSettings.CreateSettings(); - if (settings.SortServiceDescriptionAlphabetically) + if(settings.SortServiceDescriptionAlphabetically) { dcList = dcList.OrderBy(sd => sd.Name).ToList(); } @@ -473,7 +473,7 @@ namespace BeWo.Service.ServiceImplementations { dcList.Sort((a, b) => { - if (a.Position == b.Position) + if(a.Position == b.Position) { return a.ServiceDescriptionOid.Value.CompareTo(b.ServiceDescriptionOid.Value); } @@ -486,7 +486,7 @@ namespace BeWo.Service.ServiceImplementations return dcList; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -498,7 +498,7 @@ namespace BeWo.Service.ServiceImplementations { return MapperFactory.ServiceDescriptionDC_ServiceDescription.MapToNewDCs(DAOFactory.SearchDAO.FindServiceDescriptionForCategory(pCategoryOid)); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -510,7 +510,7 @@ namespace BeWo.Service.ServiceImplementations { return MapperFactory.ServiceDescriptionDC_ServiceDescription.MapToNewDC(DAOFactory.GenericDAO.GetByID(pServiceDescriptionOid)); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -522,7 +522,7 @@ namespace BeWo.Service.ServiceImplementations { return ICD10DAO.GetCompressedString(); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -535,7 +535,7 @@ namespace BeWo.Service.ServiceImplementations var result = new CustomerInfoDC(); var customer = DAOFactory.GenericDAO.LoadByID(customerOid); - if (customer.SupportConcepts == null || !customer.SupportConcepts.Exists(sc => sc.IsActive == ActivationTypeId.Active)) + if(customer.SupportConcepts == null || !customer.SupportConcepts.Exists(sc => sc.IsActive == ActivationTypeId.Active)) { result.CurrentSupportConcept = "Kein aktueller Hilfeplan"; } @@ -544,12 +544,12 @@ namespace BeWo.Service.ServiceImplementations SupportConcept currentSC = customer.SupportConcepts.Where(sc => sc.IsActive == ActivationTypeId.Active).OrderByDescending(sc => sc.StartDate).First(); result.CurrentSupportConcept = "Akt. HP: "; - if (currentSC.StartDate.HasValue) + if(currentSC.StartDate.HasValue) { result.CurrentSupportConcept += currentSC.StartDate.Value.ToShortDateString().Remove(6, 2); } - if (currentSC.EndDate.HasValue) + if(currentSC.EndDate.HasValue) { result.CurrentSupportConcept += " - " + currentSC.EndDate.Value.ToShortDateString().Remove(6, 2); } @@ -559,7 +559,7 @@ namespace BeWo.Service.ServiceImplementations return result; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -572,17 +572,17 @@ namespace BeWo.Service.ServiceImplementations var result = new List(); var srList = DAOFactory.SearchDAO.FindServiceRecordsDetailsForLastDays(costbearer2SupportConceptOid, days); - if (srList != null) + if(srList != null) { var serviceRecordsProcessed = new Dictionary(); - foreach (var item in srList) + foreach(var item in srList) { - if (!serviceRecordsProcessed.ContainsKey(item.Oid.Value)) + if(!serviceRecordsProcessed.ContainsKey(item.Oid.Value)) { //ServiceRecordDC dc = MapperFactory.ServiceRecordDC_ServiceRecord.MapToNewDC(item); //result.Add(dc); var dc = CreateServiceRecordDCCompact(item); - if (dc != null) + if(dc != null) { result.Add(dc); } @@ -594,7 +594,7 @@ namespace BeWo.Service.ServiceImplementations return result; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -607,19 +607,19 @@ namespace BeWo.Service.ServiceImplementations var result = new List(); var lCustomer = DAOFactory.SearchDAO.FindCustomerWithServiceRecordsWithDetail(pCustomerOid); - if (lCustomer != null) + if(lCustomer != null) { var srList = lCustomer.ServiceRecordList; - if (srList != null) + if(srList != null) { var serviceRecordsProcessed = new Dictionary(); - foreach (var item in srList) + foreach(var item in srList) { - if (!serviceRecordsProcessed.ContainsKey(item.Oid.Value)) + if(!serviceRecordsProcessed.ContainsKey(item.Oid.Value)) { var dc = CreateServiceRecordDCIfSupportConceptIsActive(item, lCustomer, !fetchArchivedSupportConcepts); - if (dc != null) + if(dc != null) { result.Add(dc); } @@ -632,7 +632,7 @@ namespace BeWo.Service.ServiceImplementations return result; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -646,7 +646,7 @@ namespace BeWo.Service.ServiceImplementations return list.Where(i => i.Start.HasValue && i.Start.Value.Year.Equals(pMonth.Year) && i.Start.Value.Month.Equals(pMonth.Month)).ToList(); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -660,7 +660,7 @@ namespace BeWo.Service.ServiceImplementations return MapperFactory.ServiceRecordDC_ServiceRecord.MapToNewDCs(list); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -674,7 +674,7 @@ namespace BeWo.Service.ServiceImplementations return MapperFactory.ServiceRecordDC_ServiceRecord.MapToNewDCs(list); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -688,7 +688,7 @@ namespace BeWo.Service.ServiceImplementations return MapperFactory.ServiceRecordDC_ServiceRecord.MapToNewDCs(list); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -701,17 +701,17 @@ namespace BeWo.Service.ServiceImplementations var result = new List(); var srList = DAOFactory.SearchDAO.FindServiceRecordsDetailsForLastDaysWithStartEndDate(costbearer2SupportConceptOid, start, ende); - if (srList != null) + if(srList != null) { var serviceRecordsProcessed = new Dictionary(); - foreach (var item in srList) + foreach(var item in srList) { - if (!serviceRecordsProcessed.ContainsKey(item.Oid.Value)) + if(!serviceRecordsProcessed.ContainsKey(item.Oid.Value)) { //ServiceRecordDC dc = MapperFactory.ServiceRecordDC_ServiceRecord.MapToNewDC(item); //result.Add(dc); var dc = CreateServiceRecordDCCompact(item); - if (dc != null) + if(dc != null) { result.Add(dc); } @@ -723,7 +723,7 @@ namespace BeWo.Service.ServiceImplementations return result; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -737,7 +737,7 @@ namespace BeWo.Service.ServiceImplementations return MapperFactory.ServiceRecordDC_ServiceRecord.MapToNewDCs(list); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -751,7 +751,7 @@ namespace BeWo.Service.ServiceImplementations return files.Select(item => MapperFactory.FileAttachmentDC_FileAttachmentInfo.MapToNewDC(item)).ToList(); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -765,7 +765,7 @@ namespace BeWo.Service.ServiceImplementations bool templateFolder = folder.Any(f => f.SystemEntryID.Equals(SystemEntryID.TemplateDirectory)); var folderDCList = new List(); - foreach (BeWoFolder item in folder) + foreach(BeWoFolder item in folder) { folderDCList.Add(MapperFactory.BeWoFolderDC_BeWoFolder.MapToNewDC(item)); } @@ -773,7 +773,7 @@ namespace BeWo.Service.ServiceImplementations IEnumerable files = DAOFactory.SearchDAO.FindFileAttachmentInfos(pObjectTid, pObjectOid); var fileDCList = new List(); - foreach (FileAttachmentInfo item in files) + foreach(FileAttachmentInfo item in files) { fileDCList.Add(MapperFactory.FileAttachmentDC_FileAttachmentInfo.MapToNewDC(item)); } @@ -782,7 +782,7 @@ namespace BeWo.Service.ServiceImplementations return CreateFolderTree(folderDCList, fileDCList, pObjectTid, pObjectOid, templateFolder); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -797,7 +797,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Delete(origFolder); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -814,7 +814,7 @@ namespace BeWo.Service.ServiceImplementations BeWoFolderDC newFolderDC = MapperFactory.BeWoFolderDC_BeWoFolder.MapToNewDC(newFolder); return newFolderDC.BeWoFolderOid.Value; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -835,7 +835,7 @@ namespace BeWo.Service.ServiceImplementations BeWoFolderDC updatedFolderDC = MapperFactory.BeWoFolderDC_BeWoFolder.MapToNewDC(origFolder); return updatedFolderDC; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -853,7 +853,7 @@ namespace BeWo.Service.ServiceImplementations FileAttachmentDC updatedFileDC = MapperFactory.FileAttachmentDC_FileAttachmentInfo.MapToNewDC(origFile); return updatedFileDC; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -864,9 +864,10 @@ namespace BeWo.Service.ServiceImplementations try { var origFile = DAOFactory.GenericDAO.LoadByID(file.FileAttachmentOid.Value); - if (!origFile.Data.Equals(file.BinaryData)) + if(!origFile.Data.Equals(file.BinaryData)) { } + MapperFactory.FileAttachmentDC_FileAttachment.MergeWithEntity(file, origFile); DAOFactory.GenericDAO.Update(origFile); @@ -874,7 +875,7 @@ namespace BeWo.Service.ServiceImplementations FileAttachmentDC updatedFileDC = MapperFactory.FileAttachmentDC_FileAttachment.MapToNewDC(origFile); return updatedFileDC; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -894,14 +895,14 @@ namespace BeWo.Service.ServiceImplementations Dictionary settingValueDict = GetSettingsValueDict(manDc.Settings); - if (fetchContractState) + if(fetchContractState) { string contractState = GetContractState(); Dictionary contractStateDict = GetSettingsValueDict(contractState); - foreach (var kv in contractStateDict) + foreach(var kv in contractStateDict) { - if (settingValueDict.ContainsKey(kv.Key)) + if(settingValueDict.ContainsKey(kv.Key)) { settingValueDict.Remove(kv.Key); } @@ -910,17 +911,19 @@ namespace BeWo.Service.ServiceImplementations } } - if (!settingValueDict.ContainsKey("ShowScheduler") && man.IsSchedulerAllowed) + if(!settingValueDict.ContainsKey("ShowScheduler") && man.IsSchedulerAllowed) { settingValueDict.Add("ShowScheduler", "1"); } - if (!settingValueDict.ContainsKey("ShowMedication") && man.IsMedicationAllowed) + + if(!settingValueDict.ContainsKey("ShowMedication") && man.IsMedicationAllowed) { settingValueDict.Add("ShowMedication", "1"); } - if (!settingValueDict.ContainsKey("ShowDistanceFields") && settingValueDict.ContainsKey("ShowKilometer")) + + if(!settingValueDict.ContainsKey("ShowDistanceFields") && settingValueDict.ContainsKey("ShowKilometer")) { - if (settingValueDict["ShowKilometer"] != "0") + if(settingValueDict["ShowKilometer"] != "0") { settingValueDict.Add("ShowDistanceFields", "1"); } @@ -930,18 +933,19 @@ namespace BeWo.Service.ServiceImplementations manDc.Settings = ""; - foreach (var kv in settingValueDict) + foreach(var kv in settingValueDict) { - if (manDc.Settings.Length > 0) + if(manDc.Settings.Length > 0) { manDc.Settings += ";"; } + manDc.Settings += String.Format("{0}={1}", kv.Key, kv.Value); } return manDc; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -957,7 +961,7 @@ namespace BeWo.Service.ServiceImplementations return result; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -974,9 +978,9 @@ namespace BeWo.Service.ServiceImplementations var result = new List(); var serviceRecordsProcessed = new Dictionary(); - foreach (ServiceRecord item in group.ServiceRecordList) + foreach(ServiceRecord item in group.ServiceRecordList) { - if (!serviceRecordsProcessed.ContainsKey(item.Oid.Value)) + if(!serviceRecordsProcessed.ContainsKey(item.Oid.Value)) { var dc = new ServiceRecordDC(); @@ -997,7 +1001,7 @@ namespace BeWo.Service.ServiceImplementations dc.ServiceRecordFormat = item.ServiceRecordFormat; CompactCustomerDC customerDC = null; - if (item.Customer != null) + if(item.Customer != null) { customerDC = new CompactCustomerDC(); @@ -1013,7 +1017,7 @@ namespace BeWo.Service.ServiceImplementations } dc.Customer = customerDC; - if (item.Employee != null) + if(item.Employee != null) { var employeeDC = new CompactEmployeeDC(); @@ -1028,7 +1032,7 @@ namespace BeWo.Service.ServiceImplementations } CompactSupportConceptDC scDC = null; - if (item.SupportConcept != null) + if(item.SupportConcept != null) { scDC = new CompactSupportConceptDC(); @@ -1042,11 +1046,11 @@ namespace BeWo.Service.ServiceImplementations dc.SupportConcept = scDC; CostBearer2SupportConcept cb2sc = item.CostBearer2SupportConcept; - if (cb2sc != null) + if(cb2sc != null) { dc.CostBearer2SupportConceptOid = cb2sc.Oid.Value; - if (scDC != null) + if(scDC != null) { var costBearer = new CompactCostBearerDC(); @@ -1064,7 +1068,7 @@ namespace BeWo.Service.ServiceImplementations // costBearer.ApprovedFLSTotal = cb2sc.ApprovedFLSTotal; costBearer.CustomerReferenceNumber = cb2sc.CustomerReferenceNumber; - if (cb2sc.CostBearer.Organisation != null) + if(cb2sc.CostBearer.Organisation != null) { CompactOrganisationDC orgDC = MapperFactory.CompactOrganisationDC_Organisation.MapToNewDC(cb2sc.CostBearer.Organisation); @@ -1094,7 +1098,7 @@ namespace BeWo.Service.ServiceImplementations return groupDC; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1122,7 +1126,7 @@ namespace BeWo.Service.ServiceImplementations { CostBearer = cb2sc.CostBearer.Organisation.Name, ApprovedHours = calc.GetApprovedHoursTotal(cb2sc.MapToNewDC(), true) ?? 0m, - RecordedHours = calc.GetBillableDurationInMinutes(cb2sc.ServiceRecords.MapToNewDCsCompact())/60 + RecordedHours = calc.GetBillableDurationInMinutes(cb2sc.ServiceRecords.MapToNewDCsCompact()) / 60 }; // if (cb2sc.ApprovedStartDate.HasValue && cb2sc.ApprovedEndDate.HasValue) @@ -1165,7 +1169,7 @@ namespace BeWo.Service.ServiceImplementations return res; }).ToList(); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1177,7 +1181,7 @@ namespace BeWo.Service.ServiceImplementations { return BuildTree(DAOFactory.GenericDAO.GetAllActiveAndArchived()); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1189,7 +1193,7 @@ namespace BeWo.Service.ServiceImplementations { return BuildTree(DAOFactory.GenericDAO.GetAllActive().Where(sc => sc.CostBearer2SupportConceptList.Count > 0)); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1201,7 +1205,7 @@ namespace BeWo.Service.ServiceImplementations { return BuildTree(DAOFactory.SearchDAO.FindCurrentSupportConcepts()); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1215,7 +1219,7 @@ namespace BeWo.Service.ServiceImplementations return s.GetSupportConceptTreeByEmployee(pEmployeeOid); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1227,7 +1231,7 @@ namespace BeWo.Service.ServiceImplementations { return BuildTree(DAOFactory.SearchDAO.FindSupportConceptsInSpan(pSpan)); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1243,7 +1247,7 @@ namespace BeWo.Service.ServiceImplementations dc.CustomerAbsenceTimes = MapperFactory.AbsenceTimeDC_AbsenceTime.MapToNewDCs(customer.AbsenceTimes); - if (pSupportConceptOid != null) + if(pSupportConceptOid != null) { var sc = DAOFactory.GenericDAO.LoadByID(pSupportConceptOid.Value); @@ -1262,28 +1266,30 @@ namespace BeWo.Service.ServiceImplementations dc.ServiceAccountings = MapperFactory.ServiceAccountingDC_ServiceAccounting.MapToNewDCs(sc.ServiceAccountings); } - if (pCostbearer2SupportConceptOid != null) + if(pCostbearer2SupportConceptOid != null) { var c2s = DAOFactory.GenericDAO.LoadByID(pCostbearer2SupportConceptOid.Value); dc.ApprovalPeriods = MapperFactory.SupportConceptApprovalPeriodDC_SupportConceptApprovalPeriod.MapToNewDCs(c2s.ApprovalPeriodList); - if (dc.ApprovalPeriods != null) + if(dc.ApprovalPeriods != null) { - foreach (SupportConceptApprovalPeriodDC item in dc.ApprovalPeriods) + foreach(SupportConceptApprovalPeriodDC item in dc.ApprovalPeriods) { - if (!item.StartDate.HasValue) + if(!item.StartDate.HasValue) { item.StartDate = c2s.ApprovedStartDate.HasValue ? c2s.ApprovedStartDate : c2s.RequestedStartDate; } - if (!item.EndDate.HasValue) + + if(!item.EndDate.HasValue) { item.EndDate = c2s.ApprovedEndDate.HasValue ? c2s.ApprovedEndDate : c2s.RequestedEndDate; } } } } + return dc; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1293,17 +1299,18 @@ namespace BeWo.Service.ServiceImplementations { try { - if (dc.CostRatePeriods == null || dc.CostRatePeriods.Count == 0) + if(dc.CostRatePeriods == null || dc.CostRatePeriods.Count == 0) { var org = DAOFactory.GenericDAO.LoadByID(dc.OrganisationOid); - if (org != null) + if(org != null) { MapperFactory.CompactOrganisationDC_Organisation.MergeWithDC(org, dc); } } + return dc; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1317,7 +1324,7 @@ namespace BeWo.Service.ServiceImplementations return MapperFactory.AccountingTransactionDC_AccountingTransaction.MapToNewDCs(list); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1329,7 +1336,7 @@ namespace BeWo.Service.ServiceImplementations { return MapperFactory.VarFieldDC_VarField.VarFieldMapToDCs(DAOFactory.SearchDAO.GetVarFieldDefs(tid), null); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1339,9 +1346,9 @@ namespace BeWo.Service.ServiceImplementations { try { - foreach (var at in pAccountingTransactions) + foreach(var at in pAccountingTransactions) { - if (at.SupportConceptCostBearerRelDC.CostBearer2SupportConceptOid.HasValue && !at.SupportConceptCostBearerRelDC.CostBearer2SupportConceptVersion.HasValue) + if(at.SupportConceptCostBearerRelDC.CostBearer2SupportConceptOid.HasValue && !at.SupportConceptCostBearerRelDC.CostBearer2SupportConceptVersion.HasValue) { var c2s = DAOFactory.GenericDAO.LoadByID(at.SupportConceptCostBearerRelDC.CostBearer2SupportConceptOid.Value); var c2sDc = MapperFactory.SupportConceptCostBearerRelDC_CostBearer2SupportConcept.MapToNewDC(c2s); @@ -1349,11 +1356,12 @@ namespace BeWo.Service.ServiceImplementations } } + List lEntities = MapperFactory.AccountingTransactionDC_AccountingTransaction.MapToNewEntities(pAccountingTransactions); DAOFactory.GenericDAO.Insert(lEntities); return lEntities.Select(e => e.Oid.Value).ToList(); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1365,7 +1373,7 @@ namespace BeWo.Service.ServiceImplementations { DAOFactory.GenericDAO.Insert(MapperFactory.InvoiceDC_Invoice.MapToNewEntities(pInvoices)); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1379,7 +1387,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Insert(lServiceCategories); return lServiceCategories.Select(sc => sc.Oid.Value).ToList(); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1393,7 +1401,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Insert(lAdditionalServices); return lAdditionalServices.Select(ads => ads.Oid.Value).ToList(); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1409,20 +1417,21 @@ namespace BeWo.Service.ServiceImplementations //Prüfe ob es HPs gibt wo die Leistung hinterlegt werden muss IList newServiceDescriptionOids = new List(); - foreach (ServiceDescription newSd in lServiceDescriptions) + foreach(ServiceDescription newSd in lServiceDescriptions) { newServiceDescriptionOids.Add(newSd.Oid.Value); } - foreach (ServiceDescription newSd in lServiceDescriptions) + + foreach(ServiceDescription newSd in lServiceDescriptions) { ServiceCategory cat = newSd.ServiceCategory; IEnumerable descList = DAOFactory.SearchDAO.FindServiceDescriptionForCategory(cat.Oid.Value); IList oids = new List(); - foreach (ServiceDescription oldSd in descList) + foreach(ServiceDescription oldSd in descList) { - if (!newServiceDescriptionOids.Contains(oldSd.Oid.Value)) + if(!newServiceDescriptionOids.Contains(oldSd.Oid.Value)) { oids.Add(oldSd.Oid.Value); } @@ -1432,11 +1441,11 @@ namespace BeWo.Service.ServiceImplementations IEnumerable accountingList = DAOFactory.SearchDAO.FindServiceAccountingsForServiceDescriptions(oids); var supportConceptCountDict = new Dictionary(); - foreach (ServiceAccounting acc in accountingList) + foreach(ServiceAccounting acc in accountingList) { - if (acc.SupportConceptOid.HasValue) + if(acc.SupportConceptOid.HasValue) { - if (supportConceptCountDict.ContainsKey(acc.SupportConceptOid.Value)) + if(supportConceptCountDict.ContainsKey(acc.SupportConceptOid.Value)) { supportConceptCountDict[acc.SupportConceptOid.Value]++; } @@ -1448,16 +1457,16 @@ namespace BeWo.Service.ServiceImplementations } IList supportConceptToUpdateOids = new List(); - foreach (var pair in supportConceptCountDict) + foreach(var pair in supportConceptCountDict) { - if (pair.Value == oids.Count) + if(pair.Value == oids.Count) { //Wenn es für alle alten Leistungen eine ServiceAccounting gibt, füge die neue Leistung auch hinzu supportConceptToUpdateOids.Add(pair.Key); } } - foreach (long scOid in supportConceptToUpdateOids) + foreach(long scOid in supportConceptToUpdateOids) { var sc = DAOFactory.GenericDAO.LoadByID(scOid); var newSa = new ServiceAccounting(); @@ -1469,7 +1478,7 @@ namespace BeWo.Service.ServiceImplementations } } - if (scToSave.Count > 0) + if(scToSave.Count > 0) { DAOFactory.GenericDAO.Insert(scToSave); } @@ -1477,7 +1486,7 @@ namespace BeWo.Service.ServiceImplementations return lServiceDescriptions.Select(sd => sd.Oid.Value).ToList(); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1491,7 +1500,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Insert(lAdditionalServiceRegions); return lAdditionalServiceRegions.Select(asr => asr.Oid.Value).ToList(); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1505,7 +1514,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Insert(lAdditionalServiceRegion); return lAdditionalServiceRegion.Oid.Value; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1517,7 +1526,7 @@ namespace BeWo.Service.ServiceImplementations { return MapperFactory.AdditionalServiceRegionDC_AdditionalServiceRegion.MapToNewDC(DAOFactory.GenericDAO.GetByID(pRegionOid)); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1530,46 +1539,46 @@ namespace BeWo.Service.ServiceImplementations var group = MapperFactory.ServiceRecordGroupDC_ServiceRecordGroup.MapToNewEntity(pServiceRecordGroup); var lServiceRecords = new List(); - if (pServiceRecordGroup.ServiceRecordList != null && pServiceRecordGroup.ServiceRecordList.Count > 0) + if(pServiceRecordGroup.ServiceRecordList != null && pServiceRecordGroup.ServiceRecordList.Count > 0) { lServiceRecords = MapperFactory.ServiceRecordDC_ServiceRecord.MapToNewEntities(pServiceRecordGroup.ServiceRecordList); - foreach (var iServiceRecord in lServiceRecords) + foreach(var iServiceRecord in lServiceRecords) { - if (!group.StartDate.HasValue && group.EndDate.HasValue) + if(!group.StartDate.HasValue && group.EndDate.HasValue) { - group.StartDate = group.EndDate.Value.AddMinutes((double)group.RoundedDuration*-1); + group.StartDate = group.EndDate.Value.AddMinutes((double) group.RoundedDuration * -1); } - if (group.StartDate.HasValue && group.EndDate.HasValue) + if(group.StartDate.HasValue && group.EndDate.HasValue) { //Korrigieren - if (group.StartDate.Value == group.EndDate.Value) + if(group.StartDate.Value == group.EndDate.Value) { - if (iServiceRecord.RoundedDuration > 0) + if(iServiceRecord.RoundedDuration > 0) { - group.EndDate = group.StartDate.Value.AddMinutes((double)iServiceRecord.RoundedDuration); + group.EndDate = group.StartDate.Value.AddMinutes((double) iServiceRecord.RoundedDuration); } } } - if (group.StartDate.HasValue) + if(group.StartDate.HasValue) { iServiceRecord.Start = group.StartDate; } - if (group.EndDate.HasValue) + if(group.EndDate.HasValue) { iServiceRecord.End = group.EndDate; } //if(group.RoundedDuration == 0) //{ - if (group.EndDate.HasValue && group.StartDate.HasValue) + if(group.EndDate.HasValue && group.StartDate.HasValue) { var minutes = group.EndDate.Value.Subtract(group.StartDate.Value).TotalMinutes; - group.RoundedDuration = (decimal)minutes; + group.RoundedDuration = (decimal) minutes; } //} @@ -1578,7 +1587,7 @@ namespace BeWo.Service.ServiceImplementations iServiceRecord.GroupRoundedDuration = group.RoundedDuration; //} - if (iServiceRecord.IP == null) + if(iServiceRecord.IP == null) { iServiceRecord.IP = Utils.GetClientIP(); } @@ -1596,7 +1605,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Insert(group); - if (lServiceRecords.Count > 0) + if(lServiceRecords.Count > 0) { MakeServiceRecordHistoryEntry(lServiceRecords, lServiceRecords.Select(sr => sr.Oid.Value).ToList(), StatementType.Insert); } @@ -1607,7 +1616,7 @@ namespace BeWo.Service.ServiceImplementations return newGroupDC; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1617,9 +1626,9 @@ namespace BeWo.Service.ServiceImplementations { try { - DeleteAdditionalServiceGroupOfPeopleRelations(new Dictionary { { pOid, pVersion } }); + DeleteAdditionalServiceGroupOfPeopleRelations(new Dictionary {{pOid, pVersion}}); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1634,7 +1643,7 @@ namespace BeWo.Service.ServiceImplementations lOriginals.DoForEach(or => MapperFactory.AdditionalServiceBookingDC_AdditionalServiceBooking.ConcurrencyCheck(pOid2Version[or.Oid.Value], or)); List asbListToDelete = lOriginals.ToList(); - if (asbListToDelete.Count <= 0) + if(asbListToDelete.Count <= 0) return; DAOFactory.GenericDAO.Delete(asbListToDelete); @@ -1642,7 +1651,7 @@ namespace BeWo.Service.ServiceImplementations IList allEntries = DAOFactory.GenericDAO.GetAll(); var entries2Delete = new List(); - foreach (AdditionalServiceBooking item in lOriginals) + foreach(AdditionalServiceBooking item in lOriginals) { entries2Delete.AddRange(allEntries.Where(e => pOid2Version.ContainsKey(e.Customer.Oid.Value) && e.Day.Equals(item.Datum.Value) && @@ -1651,7 +1660,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Delete(entries2Delete); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1665,7 +1674,7 @@ namespace BeWo.Service.ServiceImplementations MapperFactory.AdditionalServiceGroupOfPeopleRelationDC_AdditionalService2GroupOfPeople.MergeWithEntitys(pAdditionalServiceGroupOfPeopleRelations, lOriginals); DAOFactory.GenericDAO.Update(lOriginals); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1691,7 +1700,7 @@ namespace BeWo.Service.ServiceImplementations //var no = avList.First(v => !String.IsNullOrEmpty(v.Description) && v.Description.Equals("Nein") && // v.SystemEntryID.Equals(SystemEntryID.AdditionalServiceAssessmentSheet)); - foreach (AdditionalServiceBooking item in lOriginals) + foreach(AdditionalServiceBooking item in lOriginals) { IEnumerable list = DAOFactory.SearchDAO.GetAdditionalAssessmentSheetEntries(item.Datum.Value); @@ -1701,29 +1710,30 @@ namespace BeWo.Service.ServiceImplementations entries2Update.AddRange(list2); - foreach (Customer2AddServiceBooking c2a in item.Customer2AddServiceBookings) + foreach(Customer2AddServiceBooking c2a in item.Customer2AddServiceBookings) { bool containsEntry = false; - foreach (AssessmentSheetEntry entry in entries2Update) + foreach(AssessmentSheetEntry entry in entries2Update) { - if (entry.Customer.Oid == null) + if(entry.Customer.Oid == null) continue; - if (entry.Customer.Oid.Value.Equals(c2a.CustomerOid)) + if(entry.Customer.Oid.Value.Equals(c2a.CustomerOid)) { containsEntry = true; - if (c2a.Participated) + if(c2a.Participated) entry.AssessmentSheetValue = yes; else entries2Delete.Add(entry); } } - if (c2a.Participated && !containsEntry) + + if(c2a.Participated && !containsEntry) { AssessmentSheetCategory cat = DAOFactory.SearchDAO.GetAddServiceAssessmentSheetCategoryWithName( item.AdditionalServiceRegion.AdditionalService.Name); - if (cat != null) + if(cat != null) { newEntries.Add(new AssessmentSheetEntry { @@ -1744,7 +1754,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Delete(entries2Delete); DAOFactory.GenericDAO.Insert(newEntries); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1785,7 +1795,7 @@ namespace BeWo.Service.ServiceImplementations return newGroupDC; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1796,14 +1806,13 @@ namespace BeWo.Service.ServiceImplementations try { List lAdditionalServiceGroupOfPeopleRelations = - MapperFactory.AdditionalServiceGroupOfPeopleRelationDC_AdditionalService2GroupOfPeople. - MapToNewEntities(pAdditionalServiceGroupOfPeopleRelations); + MapperFactory.AdditionalServiceGroupOfPeopleRelationDC_AdditionalService2GroupOfPeople.MapToNewEntities(pAdditionalServiceGroupOfPeopleRelations); DAOFactory.GenericDAO.Insert(lAdditionalServiceGroupOfPeopleRelations); return lAdditionalServiceGroupOfPeopleRelations.Select(asgopr => asgopr.Oid.Value).ToList(); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1821,7 +1830,7 @@ namespace BeWo.Service.ServiceImplementations return lGroups.Select(asgop => asgop.Oid.Value).ToList(); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1838,22 +1847,22 @@ namespace BeWo.Service.ServiceImplementations { ServiceRecordGroup group = null; - foreach (var iServiceRecord in lServiceRecords) + foreach(var iServiceRecord in lServiceRecords) { - if (string.IsNullOrEmpty(iServiceRecord.IP)) + if(string.IsNullOrEmpty(iServiceRecord.IP)) { iServiceRecord.IP = OperationContext.Current != null ? Utils.GetClientIP() : "::1"; } - if (iServiceRecord.InsTs == null) + if(iServiceRecord.InsTs == null) { iServiceRecord.InsTs = DateTime.Now; } - if (iServiceRecord.GroupEmployeeCount != null && iServiceRecord.GroupPersonCount != null && - (iServiceRecord.GroupEmployeeCount.Value + iServiceRecord.GroupPersonCount.Value > 2)) + if(iServiceRecord.GroupEmployeeCount != null && iServiceRecord.GroupPersonCount != null && + (iServiceRecord.GroupEmployeeCount.Value + iServiceRecord.GroupPersonCount.Value > 2)) { - if (group == null) + if(group == null) { group = new ServiceRecordGroup { @@ -1870,12 +1879,13 @@ namespace BeWo.Service.ServiceImplementations else { var srdc = PluginLoader.FindClass(); - if (srdc != null) + if(srdc != null) { srdc.CalculateRoundedDuration(iServiceRecord); } + var bsi = PluginLoader.FindClass(); - if (bsi != null) + if(bsi != null) { bsi.BeforeSaveServiceRecord(iServiceRecord); } @@ -1888,7 +1898,7 @@ namespace BeWo.Service.ServiceImplementations return lServiceRecords.Select(sr => sr.Oid.Value).ToList(); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1901,14 +1911,14 @@ namespace BeWo.Service.ServiceImplementations List lAdditionalServiceBookings = MapperFactory.AdditionalServiceBookingDC_AdditionalServiceBooking.MapToNewEntities(pAdditionalServiceBookings); DAOFactory.GenericDAO.Insert(lAdditionalServiceBookings); - foreach (AdditionalServiceBooking booking in lAdditionalServiceBookings) + foreach(AdditionalServiceBooking booking in lAdditionalServiceBookings) { AttachAddServiceToAssessment(booking); } return lAdditionalServiceBookings.Select(asb => asb.Oid.Value).ToList(); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1932,7 +1942,7 @@ namespace BeWo.Service.ServiceImplementations return lResult; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1951,7 +1961,7 @@ namespace BeWo.Service.ServiceImplementations return lResult; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1965,7 +1975,7 @@ namespace BeWo.Service.ServiceImplementations MapperFactory.AccountingTransactionDC_AccountingTransaction.MergeWithEntitys(pAccountingTransactions, lOriginals); DAOFactory.GenericDAO.Update(lOriginals); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1979,7 +1989,7 @@ namespace BeWo.Service.ServiceImplementations MapperFactory.InvoiceDC_Invoice.MergeWithEntitys(invoices, lOriginals); DAOFactory.GenericDAO.Update(lOriginals); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -1996,7 +2006,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Update(lOriginal); return MapperFactory.MandatorDC_Mandator.MapToNewDC(lOriginal); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -2012,7 +2022,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Update(lOriginals); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -2028,7 +2038,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Update(lOriginals); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -2044,7 +2054,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Update(lOriginals); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -2060,7 +2070,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Update(lOriginals); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -2075,25 +2085,25 @@ namespace BeWo.Service.ServiceImplementations var originalStart = lOriginal.StartDate; var originalEnde = lOriginal.EndDate; - if (originalStart.HasValue && originalEnde.HasValue && pServiceRecordGroup.StartDate.HasValue && - pServiceRecordGroup.EndDate.HasValue) + if(originalStart.HasValue && originalEnde.HasValue && pServiceRecordGroup.StartDate.HasValue && + pServiceRecordGroup.EndDate.HasValue) { var minutesOrg = originalEnde.Value.Subtract(originalStart.Value).TotalMinutes; var minutesNew = pServiceRecordGroup.EndDate.Value.Subtract(pServiceRecordGroup.StartDate.Value).TotalMinutes; //Start und Ende korrigieren - if (Math.Abs(minutesNew - minutesOrg) < 0.1 && pServiceRecordGroup.StartDate.Value.Hour == 0 && pServiceRecordGroup.StartDate.Value.Minute == 0 && - pServiceRecordGroup.StartDate.Value.Second == 0) + if(Math.Abs(minutesNew - minutesOrg) < 0.1 && pServiceRecordGroup.StartDate.Value.Hour == 0 && pServiceRecordGroup.StartDate.Value.Minute == 0 && + pServiceRecordGroup.StartDate.Value.Second == 0) { //prüfen ob korrigiert werden muss - if (originalStart.Value.Hour != 0 || - originalStart.Value.Minute != 0) + if(originalStart.Value.Hour != 0 || + originalStart.Value.Minute != 0) { pServiceRecordGroup.StartDate = originalStart; pServiceRecordGroup.EndDate = originalEnde; - pServiceRecordGroup.RoundedDuration = (decimal)originalEnde.Value.Subtract(originalStart.Value).TotalMinutes; - foreach (var srdc in pServiceRecordGroup.ServiceRecordList) + pServiceRecordGroup.RoundedDuration = (decimal) originalEnde.Value.Subtract(originalStart.Value).TotalMinutes; + foreach(var srdc in pServiceRecordGroup.ServiceRecordList) { srdc.Start = originalStart; srdc.End = originalEnde; @@ -2104,15 +2114,17 @@ namespace BeWo.Service.ServiceImplementations } - if (!pServiceRecordGroup.StartDate.HasValue && pServiceRecordGroup.EndDate.HasValue) + + if(!pServiceRecordGroup.StartDate.HasValue && pServiceRecordGroup.EndDate.HasValue) { pServiceRecordGroup.StartDate = - pServiceRecordGroup.EndDate.Value.AddMinutes((double)pServiceRecordGroup.RoundedDuration * -1); + pServiceRecordGroup.EndDate.Value.AddMinutes((double) pServiceRecordGroup.RoundedDuration * -1); } - pServiceRecordGroup.RoundedDuration = (decimal)pServiceRecordGroup.EndDate.Value.Subtract(pServiceRecordGroup.StartDate.Value).TotalMinutes; - foreach (var srdc in pServiceRecordGroup.ServiceRecordList) + + pServiceRecordGroup.RoundedDuration = (decimal) pServiceRecordGroup.EndDate.Value.Subtract(pServiceRecordGroup.StartDate.Value).TotalMinutes; + foreach(var srdc in pServiceRecordGroup.ServiceRecordList) { srdc.GroupRoundedDuration = pServiceRecordGroup.RoundedDuration; } @@ -2124,20 +2136,22 @@ namespace BeWo.Service.ServiceImplementations // update servicerecords MapperFactory.ServiceRecordDC_ServiceRecord.MergeWithEntitys(pServiceRecordGroup.ServiceRecordList, lOriginal.ServiceRecordList); - foreach (ServiceRecord iServiceRecord in lOriginal.ServiceRecordList) + foreach(ServiceRecord iServiceRecord in lOriginal.ServiceRecordList) { - if (String.IsNullOrEmpty(iServiceRecord.IP)) + if(String.IsNullOrEmpty(iServiceRecord.IP)) iServiceRecord.IP = Utils.GetClientIP(); iServiceRecord.GroupOid = lOriginal.Oid; lServiceRecords.Add(iServiceRecord); } + var gdc = PluginLoader.FindClass(); - if (gdc != null) + if(gdc != null) { gdc.CalculateGroupDuration(lOriginal); } + DAOFactory.GenericDAO.Update(lOriginal); MakeServiceRecordHistoryEntry(lServiceRecords, null, StatementType.Update); @@ -2148,7 +2162,7 @@ namespace BeWo.Service.ServiceImplementations return newGroupDC; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -2162,7 +2176,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.LoadByIDs( pServiceRecords.Select(sr => sr.ServiceRecordOid.Value)); - if (lOriginals.Count == 1 && pServiceRecords.Count == 1) + if(lOriginals.Count == 1 && pServiceRecords.Count == 1) { var srDc = pServiceRecords[0]; var srOrg = lOriginals[0]; @@ -2170,18 +2184,18 @@ namespace BeWo.Service.ServiceImplementations var originalStart = srOrg.Start; var originalEnde = srOrg.End; - if (originalStart.HasValue && originalEnde.HasValue && srDc.Start.HasValue && srDc.End.HasValue) + if(originalStart.HasValue && originalEnde.HasValue && srDc.Start.HasValue && srDc.End.HasValue) { var minutesOrg = originalEnde.Value.Subtract(originalStart.Value).TotalMinutes; var minutesNew = srDc.End.Value.Subtract(srDc.Start.Value).TotalMinutes; //Start und Ende korrigieren - if (Math.Abs(minutesNew - minutesOrg) < 0.1 && srDc.Start.Value.Hour == 0 && srDc.Start.Value.Minute == 0 && srDc.Start.Value.Second == 0) + if(Math.Abs(minutesNew - minutesOrg) < 0.1 && srDc.Start.Value.Hour == 0 && srDc.Start.Value.Minute == 0 && srDc.Start.Value.Second == 0) { //prüfen ob korrigiert werden muss - if (originalStart.Value.Hour != 0 || - originalStart.Value.Minute != 0) + if(originalStart.Value.Hour != 0 || + originalStart.Value.Minute != 0) { srDc.Start = originalStart; srDc.End = originalEnde; @@ -2200,20 +2214,21 @@ namespace BeWo.Service.ServiceImplementations var srdc = PluginLoader.FindClass(); var gdc = PluginLoader.FindClass(); - foreach (var serviceRecord in lOriginals) + foreach(var serviceRecord in lOriginals) { - if (srdc != null) + if(srdc != null) { srdc.CalculateRoundedDuration(serviceRecord); } - if (serviceRecord.GroupOid.HasValue && serviceRecord.GroupPersonCount.HasValue && serviceRecord.GroupEmployeeCount.HasValue && gdc != null) + + if(serviceRecord.GroupOid.HasValue && serviceRecord.GroupPersonCount.HasValue && serviceRecord.GroupEmployeeCount.HasValue && gdc != null) { var gc = gdc.CalculateGroupDuration(serviceRecord.GroupPersonCount.Value, serviceRecord.GroupEmployeeCount.Value, serviceRecord.RoundedDuration); - var singleduration = serviceRecord.RoundedDuration/serviceRecord.GroupPersonCount.Value; + var singleduration = serviceRecord.RoundedDuration / serviceRecord.GroupPersonCount.Value; - if (gc != null) + if(gc != null) { singleduration = gc.SingleDuration; } @@ -2224,19 +2239,20 @@ namespace BeWo.Service.ServiceImplementations } - if (srdc != null) + if(srdc != null) { } var si = PluginLoader.FindClass(); - if (si != null) + if(si != null) { - foreach (var serviceRecord in lOriginals) + foreach(var serviceRecord in lOriginals) { si.BeforeSaveServiceRecord(serviceRecord); } } + DAOFactory.GenericDAO.Update(lOriginals); @@ -2246,7 +2262,7 @@ namespace BeWo.Service.ServiceImplementations MakeServiceRecordHistoryEntry(lOriginals, null, StatementType.Update); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -2282,7 +2298,7 @@ namespace BeWo.Service.ServiceImplementations IList as2gop = DAOFactory.GenericDAO.GetAll(); return as2gop.Select(item => MapperFactory.AdditionalServiceGroupOfPeopleRelationDC_AdditionalService2GroupOfPeople.MergeWithDC(item, new AdditionalServiceGroupOfPeopleRelationDC())).ToList(); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -2298,7 +2314,7 @@ namespace BeWo.Service.ServiceImplementations return result; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -2314,7 +2330,7 @@ namespace BeWo.Service.ServiceImplementations return result; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -2354,17 +2370,17 @@ namespace BeWo.Service.ServiceImplementations { IList allSettlementInvoices = DAOFactory.GenericDAO.GetAll(); - foreach (SettlementInvoice rechnung in allSettlementInvoices) + foreach(SettlementInvoice rechnung in allSettlementInvoices) { - if (rechnung.InvoiceBase.CostBearer2SupportConcept.Oid.HasValue) - if (rechnung.InvoiceBase.CostBearer2SupportConcept.Oid.Value.Equals(pServiceRecord.CostBearer2SupportConceptOid.Value) && rechnung.IsActive.Equals(ActivationTypeId.Active)) + if(rechnung.InvoiceBase.CostBearer2SupportConcept.Oid.HasValue) + if(rechnung.InvoiceBase.CostBearer2SupportConcept.Oid.Value.Equals(pServiceRecord.CostBearer2SupportConceptOid.Value) && rechnung.IsActive.Equals(ActivationTypeId.Active)) { result.Add(ServiceRecordValidationResult.SettlementInvoiceAlreadyExisting); break; } } } - catch (Exception) + catch(Exception) { result.Add(ServiceRecordValidationResult.Error); } @@ -2386,7 +2402,7 @@ namespace BeWo.Service.ServiceImplementations return result; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -2398,13 +2414,13 @@ namespace BeWo.Service.ServiceImplementations { var sr = DAOFactory.GenericDAO.GetByID(pId); - if (sr == null) + if(sr == null) return null; ServiceRecordDC result = MapperFactory.ServiceRecordDC_ServiceRecord.MapToNewDC(sr); return result; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -2416,7 +2432,7 @@ namespace BeWo.Service.ServiceImplementations { return MapperFactory.FileAttachmentDC_FileAttachmentInfo.MapToNewDCs(DAOFactory.SearchDAO.FindFileAttachmentInfoByType(fileAttachmentType)); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -2428,7 +2444,7 @@ namespace BeWo.Service.ServiceImplementations { return MapperFactory.ServiceRecordDC_ServiceRecord.MapToNewDCs(DAOFactory.SearchDAO.FindServiceRecordsForSupportConcept(pSupportConceptOid)); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -2441,7 +2457,7 @@ namespace BeWo.Service.ServiceImplementations BeWoMobilBrowserInfo info = MapperFactory.BeWoMobilBrowserInfoDC_BeWoMobilBrowserInfo.MapToNewEntity(browserInfo); DAOFactory.GenericDAO.Insert(info); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -2453,7 +2469,7 @@ namespace BeWo.Service.ServiceImplementations { return MapperFactory.ServiceRecordDC_ServiceRecord.MapToNewDCs(DAOFactory.SearchDAO.FindServiceRecordsForDays(costbearer2SupportConceptOid, days, employeeOid)); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -2468,7 +2484,7 @@ namespace BeWo.Service.ServiceImplementations return s.GetCompactSupportConcepts(supportConceptOid, employeeOid); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -2487,7 +2503,7 @@ namespace BeWo.Service.ServiceImplementations dc.Notice3 = sr.Notice3; dc.Notice4 = sr.Notice4; dc.Notice5 = sr.Notice5; - if (sr.ServiceDescription != null) + if(sr.ServiceDescription != null) dc.ServiceDescription = MapperFactory.ServiceDescriptionDC_ServiceDescription.MapToNewDC(sr.ServiceDescription); @@ -2507,7 +2523,7 @@ namespace BeWo.Service.ServiceImplementations dc.GroupOid = sr.GroupOid; dc.SignatureOid = sr.SignatureOid; - if (sr.Employee != null) + if(sr.Employee != null) { //dc.Employee = MapperFactory.CompactEmployeeDC_Employee.MapToNewDC(sr.Employee); dc.Employee = new CompactEmployeeDC(); @@ -2541,7 +2557,7 @@ namespace BeWo.Service.ServiceImplementations private static ServiceRecordDC CreateServiceRecordDCIfSupportConceptIsActive(ServiceRecord sr, Customer cust, bool checkArchivedSupportConcepts) { ServiceRecordDC dc = null; - if (!checkArchivedSupportConcepts || (sr.SupportConcept != null && sr.SupportConcept.IsActive == ActivationTypeId.Active)) + if(!checkArchivedSupportConcepts || (sr.SupportConcept != null && sr.SupportConcept.IsActive == ActivationTypeId.Active)) { dc = new ServiceRecordDC(); @@ -2554,7 +2570,7 @@ namespace BeWo.Service.ServiceImplementations dc.Notice3 = sr.Notice3; dc.Notice4 = sr.Notice4; dc.Notice5 = sr.Notice5; - if (sr.ServiceDescription != null) + if(sr.ServiceDescription != null) dc.ServiceDescription = MapperFactory.ServiceDescriptionDC_ServiceDescription.MapToNewDC(sr.ServiceDescription); dc.RoundedDuration = sr.RoundedDuration; dc.InsertedOn = sr.InsTs; @@ -2583,7 +2599,7 @@ namespace BeWo.Service.ServiceImplementations //Employee ----------------- - if (sr.Employee != null) + if(sr.Employee != null) { //dc.Employee = MapperFactory.CompactEmployeeDC_Employee.MapToNewDC(sr.Employee); dc.Employee = new CompactEmployeeDC(); @@ -2598,7 +2614,7 @@ namespace BeWo.Service.ServiceImplementations //SupportConcept ----------------- - if (sr.SupportConcept != null) + if(sr.SupportConcept != null) { dc.SupportConcept = new CompactSupportConceptDC(); @@ -2648,15 +2664,15 @@ namespace BeWo.Service.ServiceImplementations } //Costbearer ----------------- - if (sr.CostBearer2SupportConcept != null) + if(sr.CostBearer2SupportConcept != null) { dc.CostBearer2SupportConceptOid = sr.CostBearer2SupportConcept.Oid.Value; - if (dc.SupportConcept != null) + if(dc.SupportConcept != null) { var costBearer = new CompactCostBearerDC(); - if (sr.CostBearer2SupportConcept.CostBearer.Organisation != null) + if(sr.CostBearer2SupportConcept.CostBearer.Organisation != null) { var orgDC = new CompactOrganisationDC(); orgDC.Name = sr.CostBearer2SupportConcept.CostBearer.Organisation.Name; @@ -2665,6 +2681,7 @@ namespace BeWo.Service.ServiceImplementations dc.CostBearer = orgDC; costBearer.Organisation = orgDC; } + costBearer.CostBearerID = sr.CostBearer2SupportConcept.CostBearer.ID; costBearer.CostBearerOid = sr.CostBearer2SupportConcept.CostBearer.Oid.Value; costBearer.CostBearer2SupportConceptOid = sr.CostBearer2SupportConcept.Oid.Value; @@ -2681,9 +2698,9 @@ namespace BeWo.Service.ServiceImplementations dc.SupportConcept.CostBearerRelOids.Add(sr.CostBearer2SupportConcept.Oid.Value); } - if (dc.CostBearer == null) + if(dc.CostBearer == null) { - if (sr.CostBearer2SupportConcept.CostBearer.Organisation != null) + if(sr.CostBearer2SupportConcept.CostBearer.Organisation != null) dc.CostBearer = MapperFactory.CompactOrganisationDC_Organisation.MapToNewDC(sr.CostBearer2SupportConcept.CostBearer.Organisation); } } @@ -2703,6 +2720,7 @@ namespace BeWo.Service.ServiceImplementations dc.GroupOid = sr.GroupOid; dc.ServiceRecordType = sr.ServiceRecordType ?? ServiceRecordTypeId.DefaultActivity; } + return dc; } @@ -2722,19 +2740,19 @@ namespace BeWo.Service.ServiceImplementations Files = new List() }; - if (templateFolder) + if(templateFolder) root = folderDCList.First(f => f.Name.Equals("Vorlagen")); resultList.Add(root); - foreach (BeWoFolderDC cfo in folderDCList) + foreach(BeWoFolderDC cfo in folderDCList) { - if (root.Equals(cfo)) + if(root.Equals(cfo)) continue; - if (cfo.ParentBeWoFolderOid.HasValue) + if(cfo.ParentBeWoFolderOid.HasValue) { - if (folderDict.ContainsKey(cfo.ParentBeWoFolderOid.Value)) + if(folderDict.ContainsKey(cfo.ParentBeWoFolderOid.Value)) { BeWoFolderDC parent = folderDict[cfo.ParentBeWoFolderOid.Value]; parent.SubFolders.Add(cfo); @@ -2750,11 +2768,11 @@ namespace BeWo.Service.ServiceImplementations } } - foreach (FileAttachmentDC fi in fileDCList) + foreach(FileAttachmentDC fi in fileDCList) { - if (fi.BeWoFolderOid.HasValue) + if(fi.BeWoFolderOid.HasValue) { - if (folderDict.ContainsKey(fi.BeWoFolderOid.Value)) + if(folderDict.ContainsKey(fi.BeWoFolderOid.Value)) { BeWoFolderDC parent = folderDict[fi.BeWoFolderOid.Value]; parent.Files.Add(fi); @@ -2776,14 +2794,14 @@ namespace BeWo.Service.ServiceImplementations public static Dictionary GetSettingsValueDict(string settings) { var dict = new Dictionary(); - if (!String.IsNullOrEmpty(settings)) + if(!String.IsNullOrEmpty(settings)) { string[] keyValuePairs = settings.Split(';'); - foreach (string pair in keyValuePairs) + foreach(string pair in keyValuePairs) { string[] keyValuePair = pair.Split('='); - if (keyValuePair.Length == 2) + if(keyValuePair.Length == 2) { dict.Add(keyValuePair[0], keyValuePair[1]); } @@ -2809,7 +2827,7 @@ namespace BeWo.Service.ServiceImplementations try { string url = ConfigurationManager.AppSettings.Get("ContractStateUrl"); - if (MultitenancyOperationContextExt.Current != null) + if(MultitenancyOperationContextExt.Current != null) { url = url.Replace("[TENANT]", MultitenancyOperationContextExt.Current.Tenant); } @@ -2817,9 +2835,10 @@ namespace BeWo.Service.ServiceImplementations { url = url.Replace("[TENANT]", SessionFacade.Tenant); } + url += "&t=1"; - using (var client = new WebClient()) + using(var client = new WebClient()) { //MessageBox.Show(hostAddress); byte[] response = client.DownloadData(url); @@ -2827,7 +2846,7 @@ namespace BeWo.Service.ServiceImplementations return Encoding.ASCII.GetString(response); } } - catch (Exception) + catch(Exception) { } @@ -2844,10 +2863,10 @@ namespace BeWo.Service.ServiceImplementations List srListToDelete = lOriginals.ToList(); - if (srListToDelete.Count > 0) + if(srListToDelete.Count > 0) DAOFactory.GenericDAO.Delete(srListToDelete); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -2857,14 +2876,14 @@ namespace BeWo.Service.ServiceImplementations { try { - var newCategoryDC = new AssessmentSheetCategoryDC { Description = pAdditionalServiceBookingDC.AdditionalServiceRegion.AdditionalService.Name }; + var newCategoryDC = new AssessmentSheetCategoryDC {Description = pAdditionalServiceBookingDC.AdditionalServiceRegion.AdditionalService.Name}; AssessmentSheetCategory lCategory = MapperFactory.AssessmentSheetCategoryDC_AssessmentSheetCategory.MapToNewEntity(newCategoryDC); lCategory.SystemEntryID = SystemEntryID.AdditionalServiceAssessmentSheet; AssessmentSheetCategory cat = DAOFactory.SearchDAO.GetAddServiceAssessmentSheetCategoryWithName(lCategory.Description); - if (cat == null) + if(cat == null) { DAOFactory.GenericDAO.Insert(lCategory); } @@ -2904,7 +2923,7 @@ namespace BeWo.Service.ServiceImplementations SystemEntryID = SystemEntryID.AdditionalServiceAssessmentSheet }; - if (!yesExists) + if(!yesExists) { DAOFactory.GenericDAO.Insert(lYes); } @@ -2916,7 +2935,7 @@ namespace BeWo.Service.ServiceImplementations c.Description.Equals(lYes.Description)); } - if (!noExists) + if(!noExists) { DAOFactory.GenericDAO.Insert(lNo); } @@ -2928,16 +2947,16 @@ namespace BeWo.Service.ServiceImplementations c.Description.Equals(lNo.Description)); } - if (!lCategory.PossibleValues.Contains(lYes)) + if(!lCategory.PossibleValues.Contains(lYes)) DAOFactory.AdoDAO.ExecuteQuery(string.Format("INSERT INTO assessmentsheetcategory2assessmentsheetvalue(assessmentsheetcategoryoid, assessmentsheetvalueoid) VALUES({0}, {1})", lCategory.Oid.Value, lYes.Oid.Value)); - if (!lCategory.PossibleValues.Contains(lNo)) + if(!lCategory.PossibleValues.Contains(lNo)) DAOFactory.AdoDAO.ExecuteQuery(string.Format("INSERT INTO assessmentsheetcategory2assessmentsheetvalue(assessmentsheetcategoryoid, assessmentsheetvalueoid) VALUES({0}, {1})", lCategory.Oid.Value, lNo.Oid.Value)); var entryList = new List(); string sqlString = string.Empty; - foreach (Customer2AddServiceBooking customerParticipated in pAdditionalServiceBookingDC.Customer2AddServiceBookings) + foreach(Customer2AddServiceBooking customerParticipated in pAdditionalServiceBookingDC.Customer2AddServiceBookings) { var customer = DAOFactory.GenericDAO.GetByID(customerParticipated.CustomerOid); entryList.Add(new AssessmentSheetEntry @@ -2954,14 +2973,14 @@ namespace BeWo.Service.ServiceImplementations abc.SystemEntryID.Equals(SystemEntryID.AdditionalServiceAssessmentSheet) && abc.Description.Equals(lCategory.Description)); - if (f.Customers == null || !f.Customers.Contains(customer)) + if(f.Customers == null || !f.Customers.Contains(customer)) sqlString += string.Format("INSERT INTO customer2assessmentsheetcategory(customeroid, assessmentsheetoid) VALUES({0}, {1});", customer.Oid.Value, lCategory.Oid.Value); } DAOFactory.GenericDAO.Insert(entryList); DAOFactory.AdoDAO.ExecuteQuery(sqlString); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -2971,10 +2990,10 @@ namespace BeWo.Service.ServiceImplementations { var hServiceRecords = new List(); - if (statementType.Equals(StatementType.Insert) && serviceRecordOidList != null) + if(statementType.Equals(StatementType.Insert) && serviceRecordOidList != null) { int iterator = 0; - foreach (ServiceRecordHistory history in lOriginals.Select(ServiceRecordOriginal => new ServiceRecordHistory + foreach(ServiceRecordHistory history in lOriginals.Select(ServiceRecordOriginal => new ServiceRecordHistory { TimeStamp = DateTime.Now, ChangeType = statementType, @@ -3058,7 +3077,7 @@ namespace BeWo.Service.ServiceImplementations { return MapperFactory.TextModuleDC_TextModule.MapToNewDCs(DAOFactory.GenericDAO.GetAllActive()); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3071,7 +3090,7 @@ namespace BeWo.Service.ServiceImplementations var list = MapperFactory.TextModuleDC_TextModule.MapToNewDCs(DAOFactory.SearchDAO.GetActiveTextModules(pShouldShowAllTextModules, pHasRightToSeeAllTextModules, pIsInAdministrationView, pEmployeeOid)); return list.OrderBy(t => t.Name).ToList(); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3083,7 +3102,7 @@ namespace BeWo.Service.ServiceImplementations { return MapperFactory.TextModuleDC_TextModule.MapToNewDCs(DAOFactory.SearchDAO.GetActiveTextModuleByServiceCategory(pServiceCategoryOid)); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3098,7 +3117,7 @@ namespace BeWo.Service.ServiceImplementations return lTextbausteine.Select(asb => asb.Oid.Value).ToList(); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3114,7 +3133,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Update(lOriginals); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3129,13 +3148,14 @@ namespace BeWo.Service.ServiceImplementations IList modulesToDelete = new List(); - foreach (var textModule in lOriginals) + foreach(var textModule in lOriginals) { AddModuleAndChildsToList(textModule, modulesToDelete); } + DAOFactory.GenericDAO.Delete(modulesToDelete); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3145,10 +3165,11 @@ namespace BeWo.Service.ServiceImplementations { var children = DAOFactory.SearchDAO.GetChildTextModules(textModule); - foreach (var child in children) + foreach(var child in children) { AddModuleAndChildsToList(child, modulesToDelete); } + modulesToDelete.Add(textModule); } @@ -3159,7 +3180,7 @@ namespace BeWo.Service.ServiceImplementations var records = DAOFactory.SearchDAO.FindServiceRecordsInSpan(pCostBearer2SupportConceptOid, period); return MapperFactory.ServiceRecordDC_ServiceRecord.MapToNewDCs(records); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3173,7 +3194,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Insert(lSignature); SignatureDC updatedSignatureDC = MapperFactory.SignatureDC_Signature.MapToNewDC(lSignature); - if (s.ServiceRecordOid.HasValue) + if(s.ServiceRecordOid.HasValue) { var sr = DAOFactory.GenericDAO.LoadByID(s.ServiceRecordOid.Value); @@ -3184,7 +3205,7 @@ namespace BeWo.Service.ServiceImplementations return updatedSignatureDC; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3202,11 +3223,11 @@ namespace BeWo.Service.ServiceImplementations var aa = DAOFactory.SearchDAO.FindAllEmployeeAppCodes(employeeOid).ToList(); bool isOk = false; - if (aa.Count > 0) + if(aa.Count > 0) { var response = DeletZufallsCode(apikey, kundennummer, "E" + employeeOid); - if (response == 0) + if(response == 0) { isOk = true; } @@ -3224,16 +3245,16 @@ namespace BeWo.Service.ServiceImplementations isOk = true; } - if (isOk) + if(isOk) { string zufallscode = ErzeugeZufallsCode(apikey, kundennummer, "E" + employeeOid); - if (zufallscode != null) + if(zufallscode != null) { var appcodes = DAOFactory.SearchDAO.FindAllEmployeeAppCodes(employeeOid).ToList(); EmployeeAPPCode newCode = null; - if (appcodes.Count > 0) + if(appcodes.Count > 0) { newCode = appcodes[0]; } @@ -3244,6 +3265,7 @@ namespace BeWo.Service.ServiceImplementations newCode.EmployeeOid = employeeOid; } + newCode.EmployeeCode = zufallscode; newCode.EmployeeCodeGenDate = DateTime.Now; newCode.NotfallStatement = ""; @@ -3260,7 +3282,7 @@ namespace BeWo.Service.ServiceImplementations return null; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3272,9 +3294,9 @@ namespace BeWo.Service.ServiceImplementations { var employeecode = DAOFactory.SearchDAO.FindAllEmployeeAppCodes(employeeOid); - foreach (var items in employeecode) + foreach(var items in employeecode) { - if (activeType == 1) + if(activeType == 1) items.IsChatAktiv = activeType; else items.IsChatAktiv = 0; @@ -3282,7 +3304,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Update(employeecode); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3294,7 +3316,7 @@ namespace BeWo.Service.ServiceImplementations { var employeecode = DAOFactory.SearchDAO.FindAllEmployeeAppCodes(employeeOid); - foreach (var items in employeecode) + foreach(var items in employeecode) { items.NotfallStatement = notfallstate; } @@ -3302,7 +3324,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Update(employeecode); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3320,11 +3342,11 @@ namespace BeWo.Service.ServiceImplementations var aa = DAOFactory.SearchDAO.FindAllCustomerAppCodes(customerOid).ToList(); bool isOk = false; - if (aa.Count > 0) + if(aa.Count > 0) { var response = DeletZufallsCode(apikey, kundennummer, "C" + customerOid); - if (response == 0) + if(response == 0) { isOk = true; } @@ -3343,15 +3365,15 @@ namespace BeWo.Service.ServiceImplementations } - if (isOk) + if(isOk) { string zufallscode = ErzeugeZufallsCode(apikey, kundennummer, "C" + customerOid); - if (zufallscode != null) + if(zufallscode != null) { var appcodes = DAOFactory.SearchDAO.FindAllCustomerAppCodes(customerOid).ToList(); CustomerAPPCode newCode = null; - if (appcodes.Count > 0) + if(appcodes.Count > 0) { newCode = appcodes[0]; } @@ -3360,6 +3382,7 @@ namespace BeWo.Service.ServiceImplementations newCode = new CustomerAPPCode(); newCode.CustomerOid = customerOid; } + newCode.CustomerCode = zufallscode; //bei C noch die UserID mitgeben newCode.CustomerCodeGenDate = DateTime.Now; newCode.IsChatAktiv = 1; @@ -3380,7 +3403,7 @@ namespace BeWo.Service.ServiceImplementations return null; } } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3402,7 +3425,7 @@ namespace BeWo.Service.ServiceImplementations }; - if (teamid != 0) + if(teamid != 0) { chatMessage.TeamOid = teamid; } @@ -3417,7 +3440,7 @@ namespace BeWo.Service.ServiceImplementations return ChatMessagesDC; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3429,9 +3452,9 @@ namespace BeWo.Service.ServiceImplementations { var customercode = DAOFactory.SearchDAO.FindAllCustomerAppCodes(customerOid); - foreach (var items in customercode) + foreach(var items in customercode) { - if (activeType == 1) + if(activeType == 1) { items.IsChatAktiv = activeType; // Erstelle hier ein weiteren Code @@ -3442,9 +3465,10 @@ namespace BeWo.Service.ServiceImplementations //Lösche hier den aktuellen Code } } + DAOFactory.GenericDAO.Update(customercode); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3460,7 +3484,7 @@ namespace BeWo.Service.ServiceImplementations return customerAPPCodeDC; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3479,7 +3503,7 @@ namespace BeWo.Service.ServiceImplementations string serverUrl = ErmittleServerURL(customerId); - if (serverUrl.IsNullOrEmpty()) + if(serverUrl.IsNullOrEmpty()) { return 3; // ServerURl konnte nicht ermittelt werden } @@ -3498,11 +3522,11 @@ namespace BeWo.Service.ServiceImplementations response = request.GetResponse(); // Display the status. - var statusResponse = ((HttpWebResponse)response).StatusDescription; + var statusResponse = ((HttpWebResponse) response).StatusDescription; string responseFromServer = ReadStreamForChatCode(response); - var def = new { result = "" }; + var def = new {result = ""}; var jsonDatentyp = JsonConvert.DeserializeAnonymousType(responseFromServer, def); @@ -3511,13 +3535,13 @@ namespace BeWo.Service.ServiceImplementations return Convert.ToInt32(jsonDatentyp.result); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } } } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3530,7 +3554,7 @@ namespace BeWo.Service.ServiceImplementations try { - string serverURl = serverUrl+"/api/ownchat/chatcode/create/"+ apikey +"/"+ customerId + "/"+userId; // ändern + string serverURl = serverUrl + "/api/ownchat/chatcode/create/" + apikey + "/" + customerId + "/" + userId; // ändern WebRequest request = WebRequest.Create(serverURl); @@ -3541,16 +3565,16 @@ namespace BeWo.Service.ServiceImplementations response = request.GetResponse(); // Display the status. - var statusResponse = ((HttpWebResponse)response).StatusDescription; + var statusResponse = ((HttpWebResponse) response).StatusDescription; string responseFromServer = ReadStreamForChatCode(response); - var definiti = new { result = "", chatcode = "" }; + var definiti = new {result = "", chatcode = ""}; var jsonDatentyp = JsonConvert.DeserializeAnonymousType(responseFromServer, definiti); // neuen authentifikationstyp erstellen response.Close(); - if (!jsonDatentyp.result.Equals("0")) + if(!jsonDatentyp.result.Equals("0")) { //fange fehler ab return null; @@ -3560,7 +3584,7 @@ namespace BeWo.Service.ServiceImplementations return jsonDatentyp.chatcode; } } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3570,7 +3594,7 @@ namespace BeWo.Service.ServiceImplementations { try { - string url = "https://dict.ownchat.de/api/server/resolve/1/" + customerId;//customerId; //customerid == kundennummer + string url = "https://dict.ownchat.de/api/server/resolve/1/" + customerId; //customerId; //customerid == kundennummer WebRequest request = WebRequest.Create(url); @@ -3580,7 +3604,7 @@ namespace BeWo.Service.ServiceImplementations string responseFromServer = ReadStreamForChatCode(response); - var definition = new { status = "", URL = "", SYNCTYPE = "" }; + var definition = new {status = "", URL = "", SYNCTYPE = ""}; var jsondaten = JsonConvert.DeserializeAnonymousType(responseFromServer, definition); @@ -3589,7 +3613,7 @@ namespace BeWo.Service.ServiceImplementations return serverUrl; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3613,7 +3637,7 @@ namespace BeWo.Service.ServiceImplementations return responseFromServer; } - catch (Exception e) + catch(Exception e) { return null; } @@ -3629,7 +3653,7 @@ namespace BeWo.Service.ServiceImplementations return ChatMessagesDC; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3647,17 +3671,18 @@ namespace BeWo.Service.ServiceImplementations var serviceRecordOid = oidList[0]; - if (!String.IsNullOrEmpty(sig.DataBild)) + if(!String.IsNullOrEmpty(sig.DataBild)) { var lSignature = MapperFactory.SignatureDC_Signature.MapToNewEntity(sig); // lSignature.ServiceRecordOid = serviceRecordOid; DAOFactory.GenericDAO.Insert(lSignature); } + return serviceRecordOid; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3672,7 +3697,7 @@ namespace BeWo.Service.ServiceImplementations return s.CreateDefaultServiceRecords(monat, oids); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3686,7 +3711,7 @@ namespace BeWo.Service.ServiceImplementations return MapperFactory.OrganisationPersonRelDC_Organisation2PersonMapper.MapToNewDCs(customerPersonRels); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3700,7 +3725,7 @@ namespace BeWo.Service.ServiceImplementations return MapperFactory.BargeldkassenDCBargeldkasseDC_BargeldkassenDCBargeldkasse.MapToNewDCs(bargeldkassen); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3715,7 +3740,7 @@ namespace BeWo.Service.ServiceImplementations return lBargeldkasse.Oid.Value; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3732,7 +3757,7 @@ namespace BeWo.Service.ServiceImplementations return MapperFactory.BargeldkassenDCBargeldkasseDC_BargeldkassenDCBargeldkasse.MapToNewDC(lOriginal); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3742,9 +3767,9 @@ namespace BeWo.Service.ServiceImplementations { try { - ServiceLogic.SetActivationType(new Dictionary { { pOid, pVersion } }, ActivationTypeId.Deleted); + ServiceLogic.SetActivationType(new Dictionary {{pOid, pVersion}}, ActivationTypeId.Deleted); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3756,7 +3781,7 @@ namespace BeWo.Service.ServiceImplementations { var kategorien = DAOFactory.SearchDAO.FindNotizenKategorien(objectTid, objectOid); - if (kategorien.Count == 0) + if(kategorien.Count == 0) { var newKat = new NotizenKategorie(); newKat.KategorieName = "Gesprächsnotizen"; @@ -3766,9 +3791,10 @@ namespace BeWo.Service.ServiceImplementations kategorien.Add(newKat); } + return MapperFactory.NotizenKategorieDC_NotizenKategorie.MapToNewDCs(kategorien.Where(k => k.IsActive == ActivationTypeId.Active)); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3783,7 +3809,7 @@ namespace BeWo.Service.ServiceImplementations return entity.Oid.Value; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3800,7 +3826,7 @@ namespace BeWo.Service.ServiceImplementations return MapperFactory.NotizenKategorieDC_NotizenKategorie.MapToNewDC(lOriginal); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3810,9 +3836,9 @@ namespace BeWo.Service.ServiceImplementations { try { - ServiceLogic.SetActivationType(new Dictionary { { pOid, pVersion } }, ActivationTypeId.Deleted); + ServiceLogic.SetActivationType(new Dictionary {{pOid, pVersion}}, ActivationTypeId.Deleted); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3822,9 +3848,9 @@ namespace BeWo.Service.ServiceImplementations { try { - ServiceLogic.SetActivationType(new Dictionary { { pOid, pVersion } }, ActivationTypeId.Deleted); + ServiceLogic.SetActivationType(new Dictionary {{pOid, pVersion}}, ActivationTypeId.Deleted); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3839,7 +3865,7 @@ namespace BeWo.Service.ServiceImplementations var lOriginals = DAOFactory.GenericDAO.LoadByIDs(pOid2Version.Select(e => e.Key)).Where(e => e.SystemEntryID == null).ToList(); DAOFactory.GenericDAO.Delete(lOriginals); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3854,7 +3880,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Update(emp); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3870,7 +3896,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Update(cust); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3884,7 +3910,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Delete(origVertretung); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3896,13 +3922,14 @@ namespace BeWo.Service.ServiceImplementations { var origVertretung = DAOFactory.GenericDAO.LoadByID(vert.VertretungOid.Value); - DAOFactory.SearchDAO.CheckForOverlappingSubstitutions(vert.EmployeeOid, vert.CustomerOid, vert.VertretungsZeitraumVon, vert.VertretungsZeitraumBis); + // TODO: Beim Aufruf dieser Methode prüfen, ob eine Vertretung sich mit dem Objekt überschneidet + var isOverlapping = DAOFactory.SearchDAO.CheckForOverlappingSubstitutions(vert.EmployeeOid, vert.CustomerOid, vert.VertretungsZeitraumVon, vert.VertretungsZeitraumBis, vert.VertretungOid); MapperFactory.VertretungDC_Vertretung.MergeWithEntity(vert, origVertretung); DAOFactory.GenericDAO.Update(origVertretung); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3927,7 +3954,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Update(origAbsenceTime); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3942,7 +3969,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Insert(x); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3958,7 +3985,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Update(x); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3971,7 +3998,7 @@ namespace BeWo.Service.ServiceImplementations var vertretungsManager = new VertretungsManager(); return vertretungsManager.CreateVertretungsListe(datum.Date, datum.Date); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -3988,7 +4015,7 @@ namespace BeWo.Service.ServiceImplementations // return x; return null; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -4007,7 +4034,7 @@ namespace BeWo.Service.ServiceImplementations //return cusAcc; return null; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -4022,7 +4049,7 @@ namespace BeWo.Service.ServiceImplementations return mgr.CreateVertretungsListe(start.Date, ende.Date); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -4037,9 +4064,9 @@ namespace BeWo.Service.ServiceImplementations var vertreter = DAOFactory.GenericDAO.GetAllActive(); - foreach (var vert in vertreter) + foreach(var vert in vertreter) { - if (vert.CustomerOid == klientenOid) + if(vert.CustomerOid == klientenOid) { vlist.Add(vert); } @@ -4047,9 +4074,9 @@ namespace BeWo.Service.ServiceImplementations List emOidList = new List(); - foreach (var empoid in vlist) + foreach(var empoid in vlist) { - if (empoid.VertretenderMitarbeiterOid.HasValue) + if(empoid.VertretenderMitarbeiterOid.HasValue) { emOidList.Add(empoid.VertretenderMitarbeiterOid.Value); } @@ -4063,7 +4090,7 @@ namespace BeWo.Service.ServiceImplementations return x; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -4077,40 +4104,40 @@ namespace BeWo.Service.ServiceImplementations IList fToken = new List(); - if (zugehoerigkeitsTyp == SchulbegleitenderZugehoerigkeitsTyp.Klient) + if(zugehoerigkeitsTyp == SchulbegleitenderZugehoerigkeitsTyp.Klient) { var x = GetCustomer2TokenList(); - foreach (var item in token) + foreach(var item in token) { - foreach (var c2t in x) + foreach(var c2t in x) { - if (item.Oid == c2t.Token.TokenOid && c2t.Customer.CustomerOid == oid) + if(item.Oid == c2t.Token.TokenOid && c2t.Customer.CustomerOid == oid) { item.MemberOid = oid; fToken.Add(item); } - else if (item.Oid == c2t.Token.TokenOid) + else if(item.Oid == c2t.Token.TokenOid) { fToken.Add(item); } } } } - else if (zugehoerigkeitsTyp == SchulbegleitenderZugehoerigkeitsTyp.Mitarbeiter) + else if(zugehoerigkeitsTyp == SchulbegleitenderZugehoerigkeitsTyp.Mitarbeiter) { var x = GetEmployee2TokenList(); - foreach (var item in token) + foreach(var item in token) { - foreach (var e2t in x) + foreach(var e2t in x) { - if (item.Oid == e2t.Token.TokenOid && e2t.Employee.EmployeeOid == oid) + if(item.Oid == e2t.Token.TokenOid && e2t.Employee.EmployeeOid == oid) { item.MemberOid = oid; fToken.Add(item); } - else if (item.Oid == e2t.Token.TokenOid) + else if(item.Oid == e2t.Token.TokenOid) { fToken.Add(item); } @@ -4120,7 +4147,7 @@ namespace BeWo.Service.ServiceImplementations return MapperFactory.CompactTokenDC_Token.MapToNewDCs(fToken); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -4134,7 +4161,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Update(t); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -4150,7 +4177,7 @@ namespace BeWo.Service.ServiceImplementations TokenTyp = typ }; - if (zugehoerigkeitsTyp == SchulbegleitenderZugehoerigkeitsTyp.Klient) + if(zugehoerigkeitsTyp == SchulbegleitenderZugehoerigkeitsTyp.Klient) { var x = DAOFactory.GenericDAO.GetByID(oid.Value); @@ -4167,7 +4194,7 @@ namespace BeWo.Service.ServiceImplementations token.RelatedCustomers = c2tList; } - else if (zugehoerigkeitsTyp == SchulbegleitenderZugehoerigkeitsTyp.Mitarbeiter) + else if(zugehoerigkeitsTyp == SchulbegleitenderZugehoerigkeitsTyp.Mitarbeiter) { var x = DAOFactory.GenericDAO.GetByID(oid.Value); @@ -4188,7 +4215,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Insert(t); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -4198,21 +4225,21 @@ namespace BeWo.Service.ServiceImplementations { try { - if (art == 1) + if(art == 1) { - if (verfuegbarerAusschlussToken.ContainsKey(token)) + if(verfuegbarerAusschlussToken.ContainsKey(token)) { CompactTokenDC nToken = null; - foreach (var tokenkey in verfuegbarerAusschlussToken) + foreach(var tokenkey in verfuegbarerAusschlussToken) { - if (tokenkey.Key.Equals(token)) + if(tokenkey.Key.Equals(token)) { nToken = tokenkey.Value; } } - if (nToken != null) + if(nToken != null) { InsertNewRelationToken(nToken, TokenTyp.AusschlussKriterium, zugehoerigkeitsTyp, Oid); } @@ -4223,62 +4250,63 @@ namespace BeWo.Service.ServiceImplementations } } - if (art == 0) + if(art == 0) { - if (verfuegbarerAusschlussToken.ContainsKey(token)) + if(verfuegbarerAusschlussToken.ContainsKey(token)) { CompactTokenDC nToken = null; - foreach (var tokenkey in verfuegbarerAusschlussToken) + foreach(var tokenkey in verfuegbarerAusschlussToken) { - if (tokenkey.Key.Equals(token)) + if(tokenkey.Key.Equals(token)) { nToken = tokenkey.Value; } } - if (nToken != null) + if(nToken != null) { DeletTokenRelation(nToken, Oid, zugehoerigkeitsTyp); } } else { - if (zugehoerigkeitsTyp == SchulbegleitenderZugehoerigkeitsTyp.Klient) + if(zugehoerigkeitsTyp == SchulbegleitenderZugehoerigkeitsTyp.Klient) { var c2tList = GetCustomer2TokenList(); List otoken = new List(); - foreach (var ct2 in c2tList) + foreach(var ct2 in c2tList) { - if (ct2.Token.Beschreibung.Equals(token) && ct2.Customer.CustomerOid == Oid) + if(ct2.Token.Beschreibung.Equals(token) && ct2.Customer.CustomerOid == Oid) { otoken.Add(ct2.Token); } } - foreach (var ken in otoken) + foreach(var ken in otoken) { - if (ken != null) + if(ken != null) DeletTokenRelation(ken, Oid, zugehoerigkeitsTyp); } } - else if (zugehoerigkeitsTyp == SchulbegleitenderZugehoerigkeitsTyp.Mitarbeiter) + else if(zugehoerigkeitsTyp == SchulbegleitenderZugehoerigkeitsTyp.Mitarbeiter) { var e2tList = GetEmployee2TokenList(); List otoken = new List(); - foreach (var et2 in e2tList) + foreach(var et2 in e2tList) { - if (et2.Token.Beschreibung.Equals(token) && et2.Employee.EmployeeOid == Oid) + if(et2.Token.Beschreibung.Equals(token) && et2.Employee.EmployeeOid == Oid) { otoken.Add(et2.Token); } } - foreach (var ken in otoken) + + foreach(var ken in otoken) { DeletTokenRelation(ken, Oid, zugehoerigkeitsTyp); } @@ -4286,7 +4314,7 @@ namespace BeWo.Service.ServiceImplementations } } } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -4296,21 +4324,21 @@ namespace BeWo.Service.ServiceImplementations { try { - if (art == 1) + if(art == 1) { - if (verfuegbarerWunschToken.ContainsKey(token)) + if(verfuegbarerWunschToken.ContainsKey(token)) { CompactTokenDC nToken = null; - foreach (var tokenkey in verfuegbarerWunschToken) + foreach(var tokenkey in verfuegbarerWunschToken) { - if (tokenkey.Key.Equals(token)) + if(tokenkey.Key.Equals(token)) { nToken = tokenkey.Value; } } - if (nToken != null) + if(nToken != null) { InsertNewRelationToken(nToken, TokenTyp.WunschKriterium, zugehoerigkeitsTyp, Oid); } @@ -4322,60 +4350,61 @@ namespace BeWo.Service.ServiceImplementations } - if (art == 0) + if(art == 0) { - if (verfuegbarerWunschToken.ContainsKey(token)) + if(verfuegbarerWunschToken.ContainsKey(token)) { CompactTokenDC nToken = null; - foreach (var tokenkey in verfuegbarerWunschToken) + foreach(var tokenkey in verfuegbarerWunschToken) { - if (tokenkey.Key.Equals(token)) + if(tokenkey.Key.Equals(token)) { nToken = tokenkey.Value; } } - if (nToken != null) + if(nToken != null) { DeletTokenRelation(nToken, Oid, zugehoerigkeitsTyp); } } else { - if (zugehoerigkeitsTyp == SchulbegleitenderZugehoerigkeitsTyp.Klient) + if(zugehoerigkeitsTyp == SchulbegleitenderZugehoerigkeitsTyp.Klient) { var c2tList = GetCustomer2TokenList(); List otoken = new List(); - foreach (var ct2 in c2tList) + foreach(var ct2 in c2tList) { - if (ct2.Token.Beschreibung.Equals(token) && ct2.Customer.CustomerOid == Oid) + if(ct2.Token.Beschreibung.Equals(token) && ct2.Customer.CustomerOid == Oid) { otoken.Add(ct2.Token); } } - foreach (var ken in otoken) + foreach(var ken in otoken) { DeletTokenRelation(ken, Oid, zugehoerigkeitsTyp); } } - else if (zugehoerigkeitsTyp == SchulbegleitenderZugehoerigkeitsTyp.Mitarbeiter) + else if(zugehoerigkeitsTyp == SchulbegleitenderZugehoerigkeitsTyp.Mitarbeiter) { var e2tList = GetEmployee2TokenList(); List otoken = new List(); - foreach (var et2 in e2tList) + foreach(var et2 in e2tList) { - if (et2.Token.Beschreibung.Equals(token) && et2.Employee.EmployeeOid == Oid) + if(et2.Token.Beschreibung.Equals(token) && et2.Employee.EmployeeOid == Oid) { otoken.Add(et2.Token); } } - foreach (var ken in otoken) + + foreach(var ken in otoken) { DeletTokenRelation(ken, Oid, zugehoerigkeitsTyp); } @@ -4384,7 +4413,7 @@ namespace BeWo.Service.ServiceImplementations } } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -4398,7 +4427,7 @@ namespace BeWo.Service.ServiceImplementations var token = MapperFactory.TokenDC_Token.MapToNewDC(tk); - if (zugehoerigkeitsTyp == SchulbegleitenderZugehoerigkeitsTyp.Klient) + if(zugehoerigkeitsTyp == SchulbegleitenderZugehoerigkeitsTyp.Klient) { var x = DAOFactory.GenericDAO.GetByID(oid.Value); @@ -4415,7 +4444,7 @@ namespace BeWo.Service.ServiceImplementations token.RelatedCustomers = c2tList; } - else if (zugehoerigkeitsTyp == SchulbegleitenderZugehoerigkeitsTyp.Mitarbeiter) + else if(zugehoerigkeitsTyp == SchulbegleitenderZugehoerigkeitsTyp.Mitarbeiter) { var x = DAOFactory.GenericDAO.GetByID(oid.Value); @@ -4438,7 +4467,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Update(t); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -4452,7 +4481,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Delete(t); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -4462,48 +4491,48 @@ namespace BeWo.Service.ServiceImplementations { try { - if (typ == SchulbegleitenderZugehoerigkeitsTyp.Klient) + if(typ == SchulbegleitenderZugehoerigkeitsTyp.Klient) { var tokenEntity = DAOFactory.GenericDAO.LoadByID(token.TokenOid.Value); Customer2Token t = null; - foreach (var c2tToken in tokenEntity.Customer2TokenList) + foreach(var c2tToken in tokenEntity.Customer2TokenList) { - if (c2tToken.Customer.Oid == oid) + if(c2tToken.Customer.Oid == oid) { t = c2tToken; } } - if (t != null) + if(t != null) { tokenEntity.Customer2TokenList.Remove(t); DAOFactory.GenericDAO.Update(tokenEntity); } } - else if (typ == SchulbegleitenderZugehoerigkeitsTyp.Mitarbeiter) + else if(typ == SchulbegleitenderZugehoerigkeitsTyp.Mitarbeiter) { var tokenEntity = DAOFactory.GenericDAO.LoadByID(token.TokenOid.Value); Employee2Token t = null; - foreach (var e2tToken in tokenEntity.Employee2TokenList) + foreach(var e2tToken in tokenEntity.Employee2TokenList) { - if (e2tToken.Employee.Oid == oid) + if(e2tToken.Employee.Oid == oid) { t = e2tToken; } } - if (t != null) + if(t != null) { tokenEntity.Employee2TokenList.Remove(t); DAOFactory.GenericDAO.Update(tokenEntity); } } } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -4519,7 +4548,7 @@ namespace BeWo.Service.ServiceImplementations return y; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -4535,7 +4564,7 @@ namespace BeWo.Service.ServiceImplementations return y; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -4554,7 +4583,7 @@ namespace BeWo.Service.ServiceImplementations return lResult; } - catch (Exception e) + catch(Exception e) { throw (Utils.CreateBeWoFaultException(e)); } @@ -4564,10 +4593,11 @@ namespace BeWo.Service.ServiceImplementations { var factory = PluginLoader.FindClass(); - if (factory != null) + if(factory != null) { return factory.GetServiceRecordStatisticInfo(costBearer2SupportConceptOid, statisticsDate); } + return null; } @@ -4576,10 +4606,11 @@ namespace BeWo.Service.ServiceImplementations var factory = PluginLoader.FindClass(); - if (factory == null) + if(factory == null) { factory = new ServiceRecordStatisticFactory(); } + return factory.CreateSupportConceptStatistics(costBearer2SupportConceptOid, statisticsDate); } @@ -4610,10 +4641,11 @@ namespace BeWo.Service.ServiceImplementations { var calc = PluginLoader.FindClass(); - if (calc != null) + if(calc != null) { return calc.CalculateGroupDuration(personCount, employeeCount, totalDuration); } + return null; } @@ -4621,10 +4653,11 @@ namespace BeWo.Service.ServiceImplementations { var calc = PluginLoader.FindClass(); - if (calc != null) + if(calc != null) { return calc.CalculateGroupDuration(personCount, employeeCount, totalDuration, costBearer2SupportConceptArray); } + return null; } @@ -4632,7 +4665,7 @@ namespace BeWo.Service.ServiceImplementations { var factory = PluginLoader.FindClass(); - if (factory == null) + if(factory == null) { factory = new UiElementFactory(); } @@ -4643,7 +4676,7 @@ namespace BeWo.Service.ServiceImplementations private static List BuildTree(IEnumerable pSupportConcepts) { var lResult = new List(); - foreach (SupportConcept iSC in pSupportConcepts) + foreach(SupportConcept iSC in pSupportConcepts) { var lScNode = new SupportConceptTreeNodeDC { @@ -4652,14 +4685,14 @@ namespace BeWo.Service.ServiceImplementations }; lScNode.Description = String.Format("{0}, {1}", iSC.Customer.Person.LastName, iSC.Customer.Person.FirstName); - foreach (CostBearer2SupportConcept iSC2Cb in iSC.CostBearer2SupportConceptList) + foreach(CostBearer2SupportConcept iSC2Cb in iSC.CostBearer2SupportConceptList) { var tnode = new SupportConceptTreeNodeDC(); tnode.NodeType = NodeType.SupportConceptCostBearerRelDC; tnode.SupportConcept = lScNode.SupportConcept; tnode.SupportConceptCostBearerRelDC = MapperFactory.SupportConceptCostBearerRelDC_CostBearer2SupportConcept.MapToNewDC(iSC2Cb); - if (iSC2Cb.CostBearer.Organisation != null) + if(iSC2Cb.CostBearer.Organisation != null) { tnode.Description = iSC2Cb.CostBearer.Organisation.Name; } @@ -4686,16 +4719,16 @@ namespace BeWo.Service.ServiceImplementations var organisation2Person = new Organisation2Person { - Organisation = DAOFactory.GenericDAO.LoadByID(pOrganisationOid), + Organisation = DAOFactory.GenericDAO.LoadByID(pOrganisationOid), Notice = pNotice, RolleInOrganisation = pValue != null ? DAOFactory.GenericDAO.LoadByID(pValue.ValueListEntryOid.Value) : null, - Person = DAOFactory.GenericDAO.LoadByID(personOid), + Person = DAOFactory.GenericDAO.LoadByID(personOid), Contacts = contactList }; DAOFactory.GenericDAO.Insert(organisation2Person); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -4709,7 +4742,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Delete(organisation2Person); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -4723,13 +4756,13 @@ namespace BeWo.Service.ServiceImplementations string serverUrl = ErmittleServerURL(customerId); - if (serverUrl == null) + if(serverUrl == null) { handout.Result = 11; return handout; } - else if (serverUrl.Equals("")) + else if(serverUrl.Equals("")) { handout.Result = 11; @@ -4821,7 +4854,7 @@ namespace BeWo.Service.ServiceImplementations string postdaten = ""; int i = 0; - foreach (var key in postparameter.Keys) + foreach(var key in postparameter.Keys) { //hier noch chatcode übergeben postdaten += HttpUtility.UrlEncode(key) + "=" + HttpUtility.UrlEncode(postparameter[key]) + "&"; @@ -4846,14 +4879,14 @@ namespace BeWo.Service.ServiceImplementations requestStream.Close(); } - catch (Exception e) + catch(Exception e) { MessageBox.Show("Es konnte keine Verbindung aufgebaut werden.", "Fehler", MessageBoxButton.OK); } //response bereich | Verarbeiten - HttpWebResponse response = (HttpWebResponse)requesten.GetResponse(); + HttpWebResponse response = (HttpWebResponse) requesten.GetResponse(); //response.ContentType = "application/pdf"; //###################################################################### @@ -4868,7 +4901,7 @@ namespace BeWo.Service.ServiceImplementations //WebResponse response = request.GetResponse(); - using (Stream stream = response.GetResponseStream()) + using(Stream stream = response.GetResponseStream()) { byte[] buffer = new byte[stream.Length]; stream.Read(buffer, 0, buffer.Length); @@ -4877,7 +4910,7 @@ namespace BeWo.Service.ServiceImplementations string responseFromServer = ReadStreamForChatCode(response); - if (responseFromServer.Contains("PDF")) + if(responseFromServer.Contains("PDF")) { PdfChatHandoutDC hd = new PdfChatHandoutDC(); hd.File = responseFromServer; @@ -4893,7 +4926,7 @@ namespace BeWo.Service.ServiceImplementations return jsonDatentyp; } } - catch (Exception e) + catch(Exception e) { //throw Utils.CreateBeWoFaultException(e); var handout = new PdfChatHandoutDC(); @@ -4909,20 +4942,20 @@ namespace BeWo.Service.ServiceImplementations CustomerAPPCodeDC aa = new CustomerAPPCodeDC(); var result = DeletZufallsCode(apikey, kundennummer, "C" + customeroid); - if (result == 0 || result == 32) + if(result == 0 || result == 32) { try { var customerappcode = DAOFactory.SearchDAO.FindAllCustomerAppCodes(customeroid); - if (customerappcode != null) + if(customerappcode != null) { var anzahl = customerappcode.Count(); - if (anzahl > 0) + if(anzahl > 0) { - foreach (var code in customerappcode) + foreach(var code in customerappcode) { code.CustomerCode = ""; code.CustomerCodeGenDate = DateTime.Now; @@ -4944,7 +4977,7 @@ namespace BeWo.Service.ServiceImplementations } } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -4961,7 +4994,7 @@ namespace BeWo.Service.ServiceImplementations EmployeeAPPCodeDC emp = new EmployeeAPPCodeDC(); var result = DeletZufallsCode(apikey, kundennummer, "E" + employeeoid); - if (result == 0 || result == 32) + if(result == 0 || result == 32) { try { @@ -4970,14 +5003,14 @@ namespace BeWo.Service.ServiceImplementations var employeeappcode = DAOFactory.SearchDAO.FindAllEmployeeAppCodes(employeeoid); - if (employeeappcode != null) + if(employeeappcode != null) { var anzahl = employeeappcode.Count(); - if (anzahl > 0) + if(anzahl > 0) { - foreach (var code in employeeappcode) + foreach(var code in employeeappcode) { code.EmployeeCode = ""; code.EmployeeCodeGenDate = DateTime.Now; @@ -5001,7 +5034,7 @@ namespace BeWo.Service.ServiceImplementations return emp; } } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -5017,10 +5050,11 @@ namespace BeWo.Service.ServiceImplementations { var td = PluginLoader.FindClass(); - if (td != null) + if(td != null) { return td.GetTranslationDictionary(); } + return null; } @@ -5030,7 +5064,7 @@ namespace BeWo.Service.ServiceImplementations { return MapperFactory.TextbausteinDC_Textbaustein.MapToNewDCs(DAOFactory.GenericDAO.GetAllActive()); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -5045,7 +5079,7 @@ namespace BeWo.Service.ServiceImplementations return lTextbausteine.Select(asb => asb.Oid.Value).ToList(); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -5061,7 +5095,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Update(lOriginals); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -5076,7 +5110,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Delete(lOriginals); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -5088,14 +5122,14 @@ namespace BeWo.Service.ServiceImplementations { var pi = PluginLoader.FindClass(); - if (pi != null) + if(pi != null) { return pi.GetSbdConfig(); } return new SbdConfigDC(); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -5107,13 +5141,13 @@ namespace BeWo.Service.ServiceImplementations { var pi = PluginLoader.FindClass(); - if (pi != null) + if(pi != null) { pi.SaveSbdConfig(config); } } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -5128,7 +5162,7 @@ namespace BeWo.Service.ServiceImplementations var pPerson = DAOFactory.GenericDAO.LoadByID(pPersonOid); pPerson.Abbreviation = null; - if (pPerson.DateOfBirth != null) + if(pPerson.DateOfBirth != null) { pPerson.DateOfBirth = new DateTime(pPerson.DateOfBirth.Value.Year, 1, 1); } @@ -5137,7 +5171,7 @@ namespace BeWo.Service.ServiceImplementations pPerson.LastName = anonimyzedName; pPerson.Notice = null; - if (pPerson.Address != null) + if(pPerson.Address != null) { pPerson.Address.AddressLine1 = null; pPerson.Address.AddressLine2 = null; @@ -5157,13 +5191,13 @@ namespace BeWo.Service.ServiceImplementations pPerson.UdpUser = anonimyzedName; var bankaccountOid = pPerson.BankAccount?.Oid; - if (bankaccountOid != null) + if(bankaccountOid != null) { pPerson.BankAccount = null; } pPerson.FamilyStatus = null; - if (pPerson.InvoiceAddress != null) + if(pPerson.InvoiceAddress != null) { pPerson.InvoiceAddress.AddressLine1 = null; pPerson.InvoiceAddress.AddressLine2 = null; @@ -5182,7 +5216,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Update(pPerson); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -5195,34 +5229,34 @@ namespace BeWo.Service.ServiceImplementations const string anonimyzedName = "Anonymisiert"; var customer = DAOFactory.GenericDAO.GetByID(pCustomerOid); - if (customer.Person.Oid != null) + if(customer.Person.Oid != null) { AnonymizePerson(customer.Person.Oid.Value); } customer.VarFieldValueList?.Clear(); - customer.AbWelchemKrankheitsTag = 0; + customer.AbWelchemKrankheitsTag = 0; customer.AbsenceTimes.DoForEach(at => { - at.Notice = null; + at.Notice = null; at.InsUser = anonimyzedName; at.UdpUser = anonimyzedName; }); - customer.Ansprechpartner = null; + customer.Ansprechpartner = null; customer.AssessmentSheetCategoryList?.Clear(); - customer.AssistanceBegin = null; - customer.AusstVersAmt = null; - customer.AusweisGueltigBis = null; - customer.AusweisGueltigVon = null; + customer.AssistanceBegin = null; + customer.AusstVersAmt = null; + customer.AusweisGueltigBis = null; + customer.AusweisGueltigVon = null; customer.AusweisUnbefristetGueltig = null; customer.BehinderungsartenListe?.Clear(); - customer.BeiblattGueltigBis = null; - customer.Childs = null; - customer.CostCenter = null; - customer.Ansprechpartner = null; - customer.AssistanceBegin = null; + customer.BeiblattGueltigBis = null; + customer.Childs = null; + customer.CostCenter = null; + customer.Ansprechpartner = null; + customer.AssistanceBegin = null; customer.Customer2CostBearerList?.Clear(); customer.Customer2OrganisationList?.Clear(); @@ -5237,67 +5271,67 @@ namespace BeWo.Service.ServiceImplementations personRelation.Notice = null; }); - customer.CustomerAlias = null; - customer.DebitorNumber = null; - customer.Diagnosis = null; + customer.CustomerAlias = null; + customer.DebitorNumber = null; + customer.Diagnosis = null; customer.Diagnosis2CustomerList?.Clear(); - customer.DistanceInMeter = null; + customer.DistanceInMeter = null; customer.Employee2CustomerList?.Clear(); - customer.Environment = null; - customer.EquityContribution = null; - customer.FamilyData = null; - customer.GradDerBehinderung = null; - customer.ICD10Diagnosis = null; - customer.InsUser = anonimyzedName; - customer.IsAdvisedOrAttended = null; - customer.Jugendamt = null; - customer.Medication = null; + customer.Environment = null; + customer.EquityContribution = null; + customer.FamilyData = null; + customer.GradDerBehinderung = null; + customer.ICD10Diagnosis = null; + customer.InsUser = anonimyzedName; + customer.IsAdvisedOrAttended = null; + customer.Jugendamt = null; + customer.Medication = null; customer.Medikamentenverordnungslisten?.Clear(); customer.MerkzeichenListe?.Clear(); - customer.Notice = null; - customer.Pflegegrad = null; + customer.Notice = null; + customer.Pflegegrad = null; customer.PlacementList?.Clear(); - customer.ReferenceNumber = null; + customer.ReferenceNumber = null; customer.Team2CustomerList?.Clear(); - customer.TerminationDate = null; - customer.TerminationReason = null; - customer.UdpUser = anonimyzedName; + customer.TerminationDate = null; + customer.TerminationReason = null; + customer.UdpUser = anonimyzedName; customer.ValueList?.Clear(); customer.VertretungDringendErforderlich = false; - customer.VertretungGewuenscht = false; + customer.VertretungGewuenscht = false; customer.ServiceRecordList?.DoForEach(record => { - record.Notice = null; - record.Notice2 = null; - record.Notice3 = null; - record.Notice4 = null; - record.Notice5 = null; - record.RTFNotice1 = null; - record.RTFNotice2 = null; - record.RTFNotice3 = null; - record.RTFNotice4 = null; - record.RTFNotice5 = null; - record.InsUser = anonimyzedName; - record.UdpUser = anonimyzedName; + record.Notice = null; + record.Notice2 = null; + record.Notice3 = null; + record.Notice4 = null; + record.Notice5 = null; + record.RTFNotice1 = null; + record.RTFNotice2 = null; + record.RTFNotice3 = null; + record.RTFNotice4 = null; + record.RTFNotice5 = null; + record.InsUser = anonimyzedName; + record.UdpUser = anonimyzedName; }); customer.SupportConcepts?.DoForEach(supportConcept => { - supportConcept.Notice = null; + supportConcept.Notice = null; supportConcept.InsUser = anonimyzedName; supportConcept.UdpUser = anonimyzedName; supportConcept.CostBearer2SupportConceptList.DoForEach(cb2SC => { cb2SC.CustomerReferenceNumber = null; - cb2SC.Notice = null; - cb2SC.InsUser = anonimyzedName; - cb2SC.UdpUser = anonimyzedName; + cb2SC.Notice = null; + cb2SC.InsUser = anonimyzedName; + cb2SC.UdpUser = anonimyzedName; }); }); - if (customer.Oid != null) + if(customer.Oid != null) { var bargeldKassen = DAOFactory.SearchDAO.FindBargeldkasse(TableID.Customer, customer.Oid.Value); @@ -5310,7 +5344,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Update(customer); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -5328,7 +5362,7 @@ namespace BeWo.Service.ServiceImplementations var supportConceptOids = customer.SupportConcepts.Select(sc => sc.Oid.Value).ToList(); UserDC user; - if (LoggedInUserOperationContextExt.Current != null && LoggedInUserOperationContextExt.Current.User != null) + if(LoggedInUserOperationContextExt.Current != null && LoggedInUserOperationContextExt.Current.User != null) { user = MapperFactory.UserDC_User.MapToNewDC(LoggedInUserOperationContextExt.Current.User); } @@ -5337,19 +5371,19 @@ namespace BeWo.Service.ServiceImplementations user = MapperFactory.UserDC_User.MapToNewDC(SessionFacade.LoggedInUser); } - if (user != null) + if(user != null) { string initial; - if (customer.Person.FirstName.Length > 0) + if(customer.Person.FirstName.Length > 0) { initial = customer.Person.FirstName[0].ToString(); } - else if (customer.Person.LastName.Length > 0) + else if(customer.Person.LastName.Length > 0) { initial = customer.Person.LastName[0].ToString(); } - else if (customer.CustomerAlias?.Length > 0) + else if(customer.CustomerAlias?.Length > 0) { initial = customer.CustomerAlias[0].ToString(); } @@ -5369,16 +5403,16 @@ namespace BeWo.Service.ServiceImplementations var costBearer2SupportConcepts = new List(); var groupsToGetReferencesRemoved = new List(); - foreach (var sc in customer.SupportConcepts) + foreach(var sc in customer.SupportConcepts) { - foreach (var cb2sc in sc.CostBearer2SupportConceptList) + foreach(var cb2sc in sc.CostBearer2SupportConceptList) { groupsToGetReferencesRemoved.AddRangeIfElementsNotIn(DAOFactory.SearchDAO.GroupOfPeopleForSupportConcept(cb2sc.Oid.Value)); costBearer2SupportConcepts.AddIfNotIn(cb2sc); } } - foreach (var group in groupsToGetReferencesRemoved) + foreach(var group in groupsToGetReferencesRemoved) { group.CostBearer2SupportConceptList.RemoveRange(costBearer2SupportConcepts); } @@ -5388,7 +5422,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Update(customer.SupportConcepts); var additionalServiceGroups = DAOFactory.SearchDAO.GetAdditionalServiceGroupOfPeopleForCustomer(customer.Oid.Value); - foreach (var additionalServiceGroup in additionalServiceGroups) + foreach(var additionalServiceGroup in additionalServiceGroups) { additionalServiceGroup.CustomerList.Remove(customer); } @@ -5405,7 +5439,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Update(customer); customer.SupportConcepts.DoForEach(s => s.CostBearer2SupportConceptList?.Clear()); - foreach (var assessmentSheetCategory in customer.AssessmentSheetCategoryList) + foreach(var assessmentSheetCategory in customer.AssessmentSheetCategoryList) { assessmentSheetCategory.Customers.Remove(customer); } @@ -5422,7 +5456,7 @@ namespace BeWo.Service.ServiceImplementations invoiceBases2Delete.DoForEach(ib => invoiceItems.AddRange(ib.InvoiceItems)); DAOFactory.GenericDAO.Update(invoiceBases2Delete); - if (supportConceptOids.Any()) + if(supportConceptOids.Any()) { var tasksAndAppointments2Delete = DAOFactory.SearchDAO.GetTasksAndAppointmentsBySupportConceptOids(supportConceptOids); DAOFactory.GenericDAO.Delete(tasksAndAppointments2Delete); @@ -5446,12 +5480,12 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Delete(DAOFactory.GenericDAO.LoadByID(customer.Oid.Value)); - if (deletionHistoryEntry.DeletingEmployeeName != null) + if(deletionHistoryEntry.DeletingEmployeeName != null) { DAOFactory.GenericDAO.Insert(deletionHistoryEntry); } } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -5464,7 +5498,7 @@ namespace BeWo.Service.ServiceImplementations { } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -5477,7 +5511,7 @@ namespace BeWo.Service.ServiceImplementations { } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -5490,7 +5524,7 @@ namespace BeWo.Service.ServiceImplementations { var employee = DAOFactory.GenericDAO.LoadByID(pEmployeeOid); - if (employee.Person.Oid != null) + if(employee.Person.Oid != null) { AnonymizePerson(employee.Person.Oid.Value); } @@ -5503,7 +5537,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Update(employee); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -5517,7 +5551,7 @@ namespace BeWo.Service.ServiceImplementations var appointments2Delete = DAOFactory.SearchDAO.LoadFilteredAppointments(pHasRightToSeeAllEmployeeAppointments, pEmployeeOid, new DateTime(1, 1, 1), pIntervalEnd, pSelectedEmployees, pSelectedCustomers, pSelectedResources, pEmployeesOnly, pCustomersOnly, pResourcesOnly, pPrivateAppointmentsOnly, pOnlyMyAppointments, true); DAOFactory.GenericDAO.Delete(appointments2Delete); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -5531,34 +5565,34 @@ namespace BeWo.Service.ServiceImplementations const string foreground = "Foreground=\"Red\""; const string fontWeight = "FontWeight=\"Bold\""; - if (pObjectTid == TableID.Customer && pMessageType == MessageType.Anonymization) + if(pObjectTid == TableID.Customer && pMessageType == MessageType.Anonymization) { actualTextMessage = "Achtung! Das Anonymisieren eines Klienten kann nicht rückgängig gemacht werden! "; } - if (pObjectTid == TableID.Customer && pMessageType == MessageType.DeleteForGood) + if(pObjectTid == TableID.Customer && pMessageType == MessageType.DeleteForGood) { actualTextMessage = "Achtung! Das endgültige Löschen eines Klienten kann nicht rückgängig gemacht werden! "; } - if (pObjectTid == TableID.Person && pMessageType == MessageType.DeleteForGood) + if(pObjectTid == TableID.Person && pMessageType == MessageType.DeleteForGood) { actualTextMessage = "Achtung! Das endgültige Löschen einer Person kann nicht rückgängig gemacht werden! "; } - if (pObjectTid == TableID.Employee && pMessageType == MessageType.Anonymization) + if(pObjectTid == TableID.Employee && pMessageType == MessageType.Anonymization) { actualTextMessage = "Achtung! Das Anonymisieren eines Mitarbeiters kann nicht rückgängig gemacht werden! "; } - if (pObjectTid == TableID.Employee && pMessageType == MessageType.DeleteForGood) + if(pObjectTid == TableID.Employee && pMessageType == MessageType.DeleteForGood) { actualTextMessage = "Achtung! Das endgültige Löschen eines Mitarbeiters kann nicht rückgängig gemacht werden! "; } return $""; } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -5581,7 +5615,7 @@ namespace BeWo.Service.ServiceImplementations return MapperFactory.SignatureDC_Signature.MapToNewDC(lOriginal); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -5594,7 +5628,7 @@ namespace BeWo.Service.ServiceImplementations var list = DAOFactory.GenericDAO.GetAllActive(); return MapperFactory.BudgetDC_Budget.MapToNewDCs(list); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -5607,7 +5641,7 @@ namespace BeWo.Service.ServiceImplementations var budget = MapperFactory.BudgetDC_Budget.MapToNewEntities(budgets); DAOFactory.GenericDAO.Insert(budget); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -5619,7 +5653,7 @@ namespace BeWo.Service.ServiceImplementations { ServiceLogic.SetActivationType(pOid2Version, ActivationTypeId.Deleted); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -5635,7 +5669,7 @@ namespace BeWo.Service.ServiceImplementations DAOFactory.GenericDAO.Update(lOriginals); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -5646,20 +5680,20 @@ namespace BeWo.Service.ServiceImplementations try { var s = PluginLoader.FindClass(); - + return s.GetAllFlexibleReportEntrys(filter); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } } - + public IList GetFlexibleReportLayouts() { var result = new List(); - foreach (var item in DAOFactory.GenericDAO.GetAllActive().Where(x => x.CreatorOid == LoggedInUserOperationContextExt.Current.User.Oid.Value)) + foreach(var item in DAOFactory.GenericDAO.GetAllActive().Where(x => x.CreatorOid == LoggedInUserOperationContextExt.Current.User.Oid.Value)) { result.Add(MapperFactory.FlexibleReportLayoutDC_FlexibleReportLayout.MapToNewDC(item)); } @@ -5675,7 +5709,7 @@ namespace BeWo.Service.ServiceImplementations flexibleReportLayout.CreatorOid = LoggedInUserOperationContextExt.Current.User.Oid.Value; DAOFactory.GenericDAO.Insert(flexibleReportLayout); } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } @@ -5693,39 +5727,41 @@ namespace BeWo.Service.ServiceImplementations var toUpdate = new List(); var toDelete = new List(); - foreach (var flexOri in flexOriList) + foreach(var flexOri in flexOriList) { bool gefunden = false; - foreach (var flexNew in flexNewList) + foreach(var flexNew in flexNewList) { - if (flexOri.Oid == flexNew.FlexibleReportOid) + if(flexOri.Oid == flexNew.FlexibleReportOid) { gefunden = true; - if (flexOri.LayoutName != flexNew.LayoutName) + if(flexOri.LayoutName != flexNew.LayoutName) { flexOri.LayoutName = flexNew.LayoutName; DAOFactory.GenericDAO.Update(flexOri); } + break; } } - if (!gefunden) + + if(!gefunden) DAOFactory.GenericDAO.Deactivate(flexOri); } } - catch (Exception e) + catch(Exception e) { throw Utils.CreateBeWoFaultException(e); } } - public bool CheckForOverlappingSubstitutionEntries(DateTime startDate, DateTime endDate, long? employeeOid, long? customerOid) + public bool CheckForOverlappingSubstitutionEntries(DateTime startDate, DateTime endDate, long? employeeOid, long? customerOid, long? substitutionOid) { try { - return DAOFactory.SearchDAO.CheckForOverlappingSubstitutions(employeeOid, customerOid, startDate, endDate); + return DAOFactory.SearchDAO.CheckForOverlappingSubstitutions(employeeOid, customerOid, startDate, endDate, substitutionOid); } catch(Exception exception) { @@ -5740,7 +5776,19 @@ namespace BeWo.Service.ServiceImplementations return MapperFactory.HomeViewPanelDC_HomeViewPanel.MapToNewDCs( DAOFactory.GenericDAO.GetAllActive()); } - catch (Exception exception) + catch(Exception exception) + { + throw Utils.CreateBeWoFaultException(exception); + } + } + + public bool CheckForOverlappingAbsenceTimes(DateTime startDate, DateTime endDate, long? employeeOid, long? customerOid) + { + try + { + return DAOFactory.SearchDAO.CheckForOverlappingAbsenceTimes(startDate, endDate, employeeOid, customerOid); + } + catch(Exception exception) { throw Utils.CreateBeWoFaultException(exception); } diff --git a/Shared/DataContracts/ReportTypes.cs b/Shared/DataContracts/ReportTypes.cs index ad9579646..b2c1ae1b2 100644 --- a/Shared/DataContracts/ReportTypes.cs +++ b/Shared/DataContracts/ReportTypes.cs @@ -24,6 +24,7 @@ Jahresbericht, Employee, Contract, - NotizenKategorie + NotizenKategorie, + SBDCharacteristics } } \ No newline at end of file diff --git a/Shared/DataContracts/VertretungsItemDC.cs b/Shared/DataContracts/VertretungsItemDC.cs index a5a16bc0f..bf9249a59 100644 --- a/Shared/DataContracts/VertretungsItemDC.cs +++ b/Shared/DataContracts/VertretungsItemDC.cs @@ -76,5 +76,49 @@ namespace BS.Shared.DataContracts [DataMember] public VertretungDC Vertretung { get; set; } + + [DataMember] + public List CustomerContactInformation { get; set; } + + [DataMember] + public List EmployeeContactInformation { get; set; } + + [DataMember] + public List Schools { get; set; } + + [DataMember] + public List LastSubstitutions { get; set; } + + [DataMember] + public string CustomerPflege { get; set; } + + [DataMember] + public string EmployeePflege { get; set; } + + [DataMember] + public string CustomerToilettengang { get; set; } + + [DataMember] + public string EmployeeToilettengang { get; set; } + + [DataMember] + public string CustomerAggressivitaet { get; set; } + + [DataMember] + public string EmployeeAggressivitaet { get; set; } + + [DataMember] + public string CustomerHygienebelehrung { get; set; } + + [DataMember] + public string EmployeeHygienebelehrung { get; set; } + + [DataMember] + public string CustomerSchutzstufe { get; set; } + + [DataMember] + public string EmployeeSchutzstufe { get; set; } + + } } \ No newline at end of file diff --git a/Shared/Extensions/IDictionaryTExtensions.cs b/Shared/Extensions/IDictionaryTExtensions.cs index c5e9d847e..f0a96701d 100644 --- a/Shared/Extensions/IDictionaryTExtensions.cs +++ b/Shared/Extensions/IDictionaryTExtensions.cs @@ -29,7 +29,7 @@ namespace BS.Shared.Extensions } else { - pDictionary[pKey].Add(pValue); + pDictionary[pKey].AddIfNotIn(pValue); } return pDictionary;