ATEZ, Timas, ASFINAG
This commit is contained in:
@@ -87,7 +87,8 @@ Public Class cSDL
|
||||
Me.KundenNr = KundenNr
|
||||
Me.KfzKennzeichen = KfzKennzeichen
|
||||
Me.SDLNr = SDLNr
|
||||
Me.History = SQL.getValueTxtBySql("SELECT TOP 1 History FROM SDL WHERE KundenNr='" & KundenNr & "' AND KfzKennzeichen='" & KfzKennzeichen & "' AND SDLNr='" & SDLNr & "' ORDER BY History DESC", "SDL")
|
||||
Dim histroyTemp = SQL.getValueTxtBySql("SELECT TOP 1 History FROM SDL WHERE KundenNr='" & KundenNr & "' AND KfzKennzeichen='" & KfzKennzeichen & "' AND SDLNr='" & SDLNr & "' ORDER BY History DESC", "SDL")
|
||||
Me.History = IIf(histroyTemp <> "", histroyTemp, 0)
|
||||
LOAD()
|
||||
End Sub
|
||||
|
||||
|
||||
@@ -858,7 +858,7 @@ Public Class cATEZ_NCTS_IN
|
||||
'Dim json1 As New Chilkat.JsonObject
|
||||
success = bd.LoadFile(VERAG_PROG_ALLGEMEIN.cDATENSERVER.GET_PDFPath_BY_DocID(r.Cells("anh_docId").Value))
|
||||
success = jsonData.UpdateString("Attachments.Attachment[" & i & "].FileType", r.Cells("anh_Typ").Value)
|
||||
success = jsonData.UpdateString("Attachments.Attachment[" & i & "].DocumentType", r.Cells("anh_Art").Value)
|
||||
success = jsonData.UpdateString("Attachments.Attachment[" & i & "].DocumentType", IIf(r.Cells("anh_Art").Value IsNot DBNull.Value, r.Cells("anh_Art").Value, "OTHER"))
|
||||
success = jsonData.UpdateString("Attachments.Attachment[" & i & "].base64BinaryStream", bd.GetEncoded("base64"))
|
||||
i = i + 1
|
||||
End If
|
||||
|
||||
@@ -534,7 +534,7 @@ Public Class cTimasAPI
|
||||
|
||||
If (rest.ResponseStatusCode <> 201) Then
|
||||
Debug.WriteLine(rest.ResponseHeader)
|
||||
MsgBox(rest.ResponseStatusCode & " " & rest.ResponseStatusText)
|
||||
MsgBox(rest.ResponseStatusCode & " " & rest.ResponseStatusText & vbNewLine & sbResponseBody.ToString)
|
||||
Return Nothing
|
||||
End If
|
||||
|
||||
|
||||
Reference in New Issue
Block a user