remove useremailaddress

This commit is contained in:
Jonathan Jenne 2023-10-11 09:16:22 +02:00
parent 590409ff36
commit df3e01b921
3 changed files with 10 additions and 4 deletions

View File

@ -14,8 +14,15 @@
Created = 0 Created = 0
End Enum End Enum
Public Enum ActionType Public Enum EnvelopeHistoryActionType
Created = 0 Created = 0
Saved = 1
Sent = 2
EmailSent = 3
Delivered = 4
Seen = 5
Signed = 6
Rejected = 7
End Enum End Enum
Public Enum ContractType Public Enum ContractType

View File

@ -1,9 +1,8 @@
Public Class EnvelopeHistoryEntry Public Class EnvelopeHistoryEntry
Public EnvelopeId As Integer Public EnvelopeId As Integer
Public ActionType As Constants.ActionType
Public UserReference As String Public UserReference As String
Public ActionType As Constants.EnvelopeHistoryActionType
Public ActionDescription As String Public ActionDescription As String
Public ActionDate As DateTime Public ActionDate As DateTime
Public UserEmailAddress As String
End Class End Class

View File

@ -24,7 +24,7 @@ Public Class HistoryModel
Dim oCommand As New SqlCommand(oSql) Dim oCommand As New SqlCommand(oSql)
oCommand.Parameters.Add("ENVELOPE_ID", SqlDbType.Int).Value = pHistory.EnvelopeId oCommand.Parameters.Add("ENVELOPE_ID", SqlDbType.Int).Value = pHistory.EnvelopeId
oCommand.Parameters.Add("USER_REFERENCE", SqlDbType.NVarChar).Value = pHistory.UserEmailAddress oCommand.Parameters.Add("USER_REFERENCE", SqlDbType.NVarChar).Value = pHistory.UserReference
oCommand.Parameters.Add("ACTION_TYPE", SqlDbType.NVarChar).Value = pHistory oCommand.Parameters.Add("ACTION_TYPE", SqlDbType.NVarChar).Value = pHistory
oCommand.Parameters.Add("ACTION_DESCRIPTION", SqlDbType.NVarChar).Value = pHistory.ActionDescription oCommand.Parameters.Add("ACTION_DESCRIPTION", SqlDbType.NVarChar).Value = pHistory.ActionDescription
oCommand.Parameters.Add("ACTION_DATE", SqlDbType.DateTime).Value = pHistory oCommand.Parameters.Add("ACTION_DATE", SqlDbType.DateTime).Value = pHistory