Azet, TimasAPI, Asfinag
This commit is contained in:
@@ -34,6 +34,8 @@ Public Class cATEZ_NCTS_DATA
|
||||
Public Property SendungsId As Integer
|
||||
Public Property atezId As String
|
||||
Public Property json As String
|
||||
Public Property dakosy_ref As String
|
||||
Public Property selectedDocuments As String
|
||||
|
||||
Dim SQL As New VERAG_PROG_ALLGEMEIN.SQL
|
||||
|
||||
@@ -67,6 +69,8 @@ Public Class cATEZ_NCTS_DATA
|
||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("status", status))
|
||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("erstellung", erstellung))
|
||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("json", json))
|
||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("dakosy_ref", dakosy_ref))
|
||||
list.Add(New VERAG_PROG_ALLGEMEIN.SQLVariable("selectedDocuments", selectedDocuments))
|
||||
|
||||
Return list
|
||||
End Function
|
||||
|
||||
@@ -222,12 +222,12 @@ Public Class cTimasAPI
|
||||
Dim json As New Chilkat.JsonObject
|
||||
success = json.UpdateString("externid", mitarbeiter.mit_id)
|
||||
success = json.UpdateString("markingColor", "#3acc2d")
|
||||
success = json.UpdateString("pnr1", mitarbeiter.mit_PersonalNr)
|
||||
success = json.UpdateString("pnr1", mitarbeiter.mit_PersonalNr) 'für Personalverr.
|
||||
'success = json.UpdateString("pnr2", "ZZ-3A-Q")
|
||||
success = json.UpdateString("firstname", mitarbeiter.mit_vname)
|
||||
success = json.UpdateString("lastname", mitarbeiter.mit_nname)
|
||||
success = json.UpdateString("gender", IIf(mitarbeiter.mit_geschlecht = "m", "male", "female"))
|
||||
'success = json.UpdateInt("card", 42)
|
||||
success = json.UpdateInt("card", mitarbeiter.mit_id)
|
||||
success = json.UpdateString("info", mitarbeiter.mit_firma & " - " & mitarbeiter.mit_abteilung)
|
||||
'success = json.UpdateString("clientNumber", "5600-02")
|
||||
'success = json.UpdateInt("rfid", 178230359)
|
||||
@@ -237,7 +237,7 @@ Public Class cTimasAPI
|
||||
|
||||
success = json.UpdateString("entry", CDate(mitarbeiter.mit_einstiegsdatum).ToString("yyyy-MM-dd"))
|
||||
success = json.UpdateNull("exit")
|
||||
success = json.UpdateString("importSign", "Iimport from Aviso")
|
||||
success = json.UpdateString("importSign", "Import from Aviso")
|
||||
success = json.UpdateString("login", mitarbeiter.mit_AliasAD_Username)
|
||||
success = json.UpdateBool("loginActive", 1)
|
||||
success = json.UpdateString("email", mitarbeiter.mit_email)
|
||||
@@ -452,7 +452,7 @@ Public Class cTimasAPI
|
||||
End If
|
||||
|
||||
If Not mitarbeiter.mit_timasId > 0 Then
|
||||
info = "Mitarbeiter besitzt keine TImas-Zuordnung"
|
||||
info = "Mitarbeiter besitzt keine Timas-Zuordnung"
|
||||
Return timeEntryCreated
|
||||
End If
|
||||
|
||||
|
||||
Reference in New Issue
Block a user