Blockiert senden von GkvAbrechnungen mit Bedingung: Bereits zum Senden & LetztesProtokoll andere IKDatenannahmestelle als aktuelles

This commit is contained in:
2024-11-15 15:16:42 +01:00
parent 682c8aba8a
commit 482032fcfe
2 changed files with 7 additions and 0 deletions

View File

@@ -4,6 +4,7 @@ using BS.Shared.Core;
using BS.Shared.DataContracts;
using BS.Shared.DataContracts.GkvAbrechnung;
using BS.Shared.Extensions;
using BS.Shared.Interface;
using NHibernate.Linq;
using System.Collections.Generic;
using System.Linq;
@@ -92,6 +93,11 @@ namespace BeWo.Service.DCEntityMapper
{
isReady = false;
tooltip = "Organisation fehlen Informationen";
}
else if(pDataContract.LastTransferProtokoll is IGkvTransferProtokoll last_prot && orga.IKDatenannahmestelle != last_prot.IKDatenannahmestelle)
{
isReady = false;
tooltip = "Datenannahmestelle hat sich geändert. Bitte neue Abrechnung erstellen.";
}
}

View File

@@ -8,6 +8,7 @@ namespace BS.Shared.Interface
{
public interface IGkvTransferProtokoll
{
string IKDatenannahmestelle { get; set; }
GkvTransferResultType? ResultType { get; set; }
}
}