GetState vollständig
response Message von App 8 weiter geben
This commit is contained in:
2024-11-05 10:53:47 +01:00
parent ad4356f2d9
commit 53fc6e6618
2 changed files with 5 additions and 1 deletions

View File

@@ -943,6 +943,7 @@ namespace BeWo.Service.ServiceImplementations
MapperFactory.GkvTransferProtokollDC_GkvTransferprotokoll.MergeWithEntity(app8_protokoll, protokoll);
response.Success = app8_response.Success;
response.Message = app8_response.Message;
}
catch (GkvException de)
{
@@ -1243,7 +1244,7 @@ namespace BeWo.Service.ServiceImplementations
var res = SendNewGkvAbrechnung(new_req);
if (!res.Success)
throw new GkvException(res.Message);
throw new GkvException("Success - " + res.Message);
}
}
}

View File

@@ -24,6 +24,9 @@ namespace BS.Shared.Extensions
if (gkvAbrechnung.LastTransferProtokoll.ResultType == GkvTransferResultType.FailFatal)
return GkvState.ErrorFatal;
if (gkvAbrechnung.LastTransferProtokoll.ResultType == GkvTransferResultType.FailFollowUp)
return GkvState.ErrorFolgefehler;
if (gkvAbrechnung.LastTransferProtokoll.ResultType is null)
return GkvState.WaitingForDakota;