From 03cc2e06944fbd997a740488d577b3945fb31e85 Mon Sep 17 00:00:00 2001 From: Rene Evertz Date: Fri, 6 Dec 2024 13:18:24 +0100 Subject: [PATCH] =?UTF-8?q?BUG:=20Fehler=20wird=20in=20bestimmten=20F?= =?UTF-8?q?=C3=A4llen=20nicht=20gespeichert?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Service/ServiceImplementations/AccountingServiceImp.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Service/ServiceImplementations/AccountingServiceImp.cs b/Service/ServiceImplementations/AccountingServiceImp.cs index 958e8a65f..c5941e9f4 100644 --- a/Service/ServiceImplementations/AccountingServiceImp.cs +++ b/Service/ServiceImplementations/AccountingServiceImp.cs @@ -929,15 +929,15 @@ namespace BeWo.Service.ServiceImplementations GkvAbrechnungOid = entity.Oid.Value }; - try - { - CreateGkvTransferProtokoll(oid, entity, protokoll); - if (entity.GkvTransferProtokolle is null) entity.GkvTransferProtokolle = new List(); entity.GkvTransferProtokolle.Add(protokoll); + try + { + CreateGkvTransferProtokoll(oid, entity, protokoll); + // Protokoll braucht Oid DAOFactory.GenericDAO.Update(entity);