Jobs: ErrorCodePraefix
This commit is contained in:
parent
ed0fc3539d
commit
c8d0cb184a
@ -47,7 +47,7 @@ Namespace ZUGFeRD
|
||||
' ErrorCode valid?
|
||||
If pErrorCode <> ErrorCode.Unknown Then
|
||||
Dim intCode As Integer = DirectCast(pErrorCode, Integer)
|
||||
oErrorCode = $"ZUGFERD_Rejection_{intCode}"
|
||||
oErrorCode = $"{EmailStrings.ErrorCodePraefix}{intCode}"
|
||||
|
||||
Dim oSQL = $"SELECT COUNT(*) FROM TBDD_GUI_LANGUAGE_PHRASE WHERE TITLE = '{oErrorCode}'"
|
||||
If _mssql.GetScalarValue(oSQL) > 0 Then
|
||||
|
||||
@ -57,4 +57,10 @@
|
||||
Public Const EMAIL_UNSUPPORTED_DOCUMENT = "
|
||||
<p>Ihre Email ({0}) enthielt ein ZUGFeRD Format ({1}), welches zur Zeit noch nicht freigeschaltet ist.</p>
|
||||
"
|
||||
|
||||
''' <summary>
|
||||
''' Präfix für den verwendeten ErrorCode
|
||||
''' Beispiel: ZUGFERD_Rejection_20001
|
||||
''' </summary>
|
||||
Public Const ErrorCodePraefix = "ZUGFERD_Rejection_"
|
||||
End Class
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user