Blockiert senden von GkvAbrechnungen mit Bedingung: Bereits zum Senden & LetztesProtokoll andere IKDatenannahmestelle als aktuelles
This commit is contained in:
@@ -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.";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@ namespace BS.Shared.Interface
|
||||
{
|
||||
public interface IGkvTransferProtokoll
|
||||
{
|
||||
string IKDatenannahmestelle { get; set; }
|
||||
GkvTransferResultType? ResultType { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user