Class TicketRow
This table contains the tickets (requests) of the system. Its purpose should be evident.
Row Object for table 'ticket'. Row objects correspond directly to database tables, and one
instance of a row object represents one row in the corresponding table in the database.
Inherited Members
Namespace: SuperOfficeCRMRows
Assembly: SoDataBase.dll
Syntax
public class TicketRow : TableRowBase, INestedPersist, ISoDataLookup, ISentryIgnorable, IExtraFieldsHelper
Remarks
Row objects can be created in several ways.
- Use the static CreateNew() method to create a new, empty object. After populating it with values, you call the SuperOffice.CRM.Data.TableRowBase.Save method and a corresponding row in the database is created, and the objects' primary key field updated. This is the preferred way to insert new rows into the database.
- You can create a (nested) TicketRow TicketRow.CustomSearch object to obtain a query pre-populated with the correct tableinfo and return fields. This query can be modified with restrictions, etc. Then, use the static GetFromCustomSearch(CustomSearch) method to apply the query to the database and obtain the result as a Row object. This is how you select existing rows from the database when you have a query that does not correspond to any of the existing database indexes.
- For each unique index defined for the table, there is a corresponding GetFromIdx method to make retrieving data via the indexes easy. Note that if you try to fetch a row that does not exist (for instance, by using the primary key index and specifying a primary key that does not exist in the database), you will get a Row object with the SuperOffice.CRM.Data.TicketRow.IsNew and SuperOffice.CRM.Data.TicketRow.IsDirty properties set to true. Such a Row object is called a 'ghost' and cannot be updated, saved or deleted. You can also get a ghost if the row does exist in the database, but the Sentry system denies Select rights to the row.
- Finally, if you have an SoDataReader that contains ALL the fields of the table, and you have the TicketTableInfo instance used in the query behind the reader, you can use the static GetFromReader(SoDataReader, TicketTableInfo) method to create a new row object from the reader and the table info. This is useful when you have a larger, more complex query, for instance one that joins a number of tables, and you wish to use Row objects to process the result set. If your result set corresponds to an entity, consider using the corresponding Entity layer object instead, since entities automatically handle ID allocation and mapping, rights, and other higher-level aspects.
Unique indexes on table Ticket are:
| Index fields | Nested index class name |
|---|
Constructors
TicketRow(TicketRowIdxBase)
Constructor for the class taking an index as argument. This table contains the tickets (requests) of the system. Its purpose should be evident.
Declaration
protected TicketRow(TicketRow.TicketRowIdxBase idx)
Parameters
| Type | Name | Description |
|---|---|---|
| TicketRowTicketRowIdxBase | idx | The index representing a SELECT command to the database. |
Fields
_currentActivate
Current value, see property Activate.
Declaration
protected DateTime _currentActivate
Field Value
| Type | Description |
|---|---|
| DateTime |
_currentAlertLevel
Current value, see property AlertLevel.
Declaration
protected short _currentAlertLevel
Field Value
| Type | Description |
|---|---|
| short |
_currentAlertStop
Current value, see property AlertStop.
Declaration
protected int _currentAlertStop
Field Value
| Type | Description |
|---|---|
| int |
_currentAlertTimeout
Current value, see property AlertTimeout.
Declaration
protected DateTime _currentAlertTimeout
Field Value
| Type | Description |
|---|---|
| DateTime |
_currentAuthor
Current value, see property Author.
Declaration
protected string _currentAuthor
Field Value
| Type | Description |
|---|---|
| string |
_currentCategory
Current value, see property Category.
Declaration
protected int _currentCategory
Field Value
| Type | Description |
|---|---|
| int |
_currentClosedAt
Current value, see property ClosedAt.
Declaration
protected DateTime _currentClosedAt
Field Value
| Type | Description |
|---|---|
| DateTime |
_currentConnectId
Current value, see property ConnectId.
Declaration
protected int _currentConnectId
Field Value
| Type | Description |
|---|---|
| int |
_currentContactId
Current value, see property ContactId.
Declaration
protected int _currentContactId
Field Value
| Type | Description |
|---|---|
| int |
_currentCreatedAt
Current value, see property CreatedAt.
Declaration
protected DateTime _currentCreatedAt
Field Value
| Type | Description |
|---|---|
| DateTime |
_currentCreatedBy
Current value, see property CreatedBy.
Declaration
protected int _currentCreatedBy
Field Value
| Type | Description |
|---|---|
| int |
_currentCreatedByWorkflowId
Current value, see property CreatedByWorkflowId.
Declaration
protected int _currentCreatedByWorkflowId
Field Value
| Type | Description |
|---|---|
| int |
_currentCustId
Current value, see property CustId.
Declaration
protected int _currentCustId
Field Value
| Type | Description |
|---|---|
| int |
_currentDbiAgentId
Current value, see property DbiAgentId.
Declaration
protected int _currentDbiAgentId
Field Value
| Type | Description |
|---|---|
| int |
_currentDbiKey
Current value, see property DbiKey.
Declaration
protected string _currentDbiKey
Field Value
| Type | Description |
|---|---|
| string |
_currentDbiLastModified
Current value, see property DbiLastModified.
Declaration
protected DateTime _currentDbiLastModified
Field Value
| Type | Description |
|---|---|
| DateTime |
_currentDbiLastSyncronized
Current value, see property DbiLastSyncronized.
Declaration
protected DateTime _currentDbiLastSyncronized
Field Value
| Type | Description |
|---|---|
| DateTime |
_currentDeadline
Current value, see property Deadline.
Declaration
protected DateTime _currentDeadline
Field Value
| Type | Description |
|---|---|
| DateTime |
_currentDisplayFilter
Current value, see property DisplayFilter.
Declaration
protected string _currentDisplayFilter
Field Value
| Type | Description |
|---|---|
| string |
_currentFilterAddress
Current value, see property FilterAddress.
Declaration
protected string _currentFilterAddress
Field Value
| Type | Description |
|---|---|
| string |
_currentFilterId
Current value, see property FilterId.
Declaration
protected int _currentFilterId
Field Value
| Type | Description |
|---|---|
| int |
_currentFirstReadByOwner
Current value, see property FirstReadByOwner.
Declaration
protected DateTime _currentFirstReadByOwner
Field Value
| Type | Description |
|---|---|
| DateTime |
_currentFirstReadByUser
Current value, see property FirstReadByUser.
Declaration
protected DateTime _currentFirstReadByUser
Field Value
| Type | Description |
|---|---|
| DateTime |
_currentFormSubmissionId
Current value, see property FormSubmissionId.
Declaration
protected int _currentFormSubmissionId
Field Value
| Type | Description |
|---|---|
| int |
_currentFromAddress
Current value, see property FromAddress.
Declaration
protected string _currentFromAddress
Field Value
| Type | Description |
|---|---|
| string |
_currentHasAttachment
Current value, see property HasAttachment.
Declaration
protected short _currentHasAttachment
Field Value
| Type | Description |
|---|---|
| short |
_currentLanguage
Current value, see property Language.
Declaration
protected string _currentLanguage
Field Value
| Type | Description |
|---|---|
| string |
_currentLastChanged
Current value, see property LastChanged.
Declaration
protected DateTime _currentLastChanged
Field Value
| Type | Description |
|---|---|
| DateTime |
_currentNumMessages
Current value, see property NumMessages.
Declaration
protected int _currentNumMessages
Field Value
| Type | Description |
|---|---|
| int |
_currentNumReplies
Current value, see property NumReplies.
Declaration
protected int _currentNumReplies
Field Value
| Type | Description |
|---|---|
| int |
_currentOrigCategory
Current value, see property OrigCategory.
Declaration
protected int _currentOrigCategory
Field Value
| Type | Description |
|---|---|
| int |
_currentOrigHumanCategoryId
Current value, see property OrigHumanCategoryId.
Declaration
protected int _currentOrigHumanCategoryId
Field Value
| Type | Description |
|---|---|
| int |
_currentOrigPriority
Current value, see property OrigPriority.
Declaration
protected int _currentOrigPriority
Field Value
| Type | Description |
|---|---|
| int |
_currentOrigin
Current value, see property Origin.
Declaration
protected TicketOrigin _currentOrigin
Field Value
| Type | Description |
|---|---|
| TicketOrigin |
_currentOwnedBy
Current value, see property OwnedBy.
Declaration
protected int _currentOwnedBy
Field Value
| Type | Description |
|---|---|
| int |
_currentPriority
Current value, see property Priority.
Declaration
protected int _currentPriority
Field Value
| Type | Description |
|---|---|
| int |
_currentProjectId
Current value, see property ProjectId.
Declaration
protected int _currentProjectId
Field Value
| Type | Description |
|---|---|
| int |
_currentReadByCustomer
Current value, see property ReadByCustomer.
Declaration
protected DateTime _currentReadByCustomer
Field Value
| Type | Description |
|---|---|
| DateTime |
_currentReadByOwner
Current value, see property ReadByOwner.
Declaration
protected DateTime _currentReadByOwner
Field Value
| Type | Description |
|---|---|
| DateTime |
_currentReadStatus
Current value, see property ReadStatus.
Declaration
protected TicketReadStatus _currentReadStatus
Field Value
| Type | Description |
|---|---|
| TicketReadStatus |
_currentRealTimeSpentExternally
Current value, see property RealTimeSpentExternally.
Declaration
protected int _currentRealTimeSpentExternally
Field Value
| Type | Description |
|---|---|
| int |
_currentRealTimeSpentInternally
Current value, see property RealTimeSpentInternally.
Declaration
protected int _currentRealTimeSpentInternally
Field Value
| Type | Description |
|---|---|
| int |
_currentRealTimeSpentQueue
Current value, see property RealTimeSpentQueue.
Declaration
protected int _currentRealTimeSpentQueue
Field Value
| Type | Description |
|---|---|
| int |
_currentRealTimeToClose
Current value, see property RealTimeToClose.
Declaration
protected int _currentRealTimeToClose
Field Value
| Type | Description |
|---|---|
| int |
_currentRealTimeToReply
Current value, see property RealTimeToReply.
Declaration
protected int _currentRealTimeToReply
Field Value
| Type | Description |
|---|---|
| int |
_currentRepliedAt
Current value, see property RepliedAt.
Declaration
protected DateTime _currentRepliedAt
Field Value
| Type | Description |
|---|---|
| DateTime |
_currentSaleId
Current value, see property SaleId.
Declaration
protected int _currentSaleId
Field Value
| Type | Description |
|---|---|
| int |
_currentSentiment
Current value, see property Sentiment.
Declaration
protected int _currentSentiment
Field Value
| Type | Description |
|---|---|
| int |
_currentSentimentConfidence
Current value, see property SentimentConfidence.
Declaration
protected int _currentSentimentConfidence
Field Value
| Type | Description |
|---|---|
| int |
_currentSlevel
Current value, see property Slevel.
Declaration
protected TicketSecurityLevel _currentSlevel
Field Value
| Type | Description |
|---|---|
| TicketSecurityLevel |
_currentStatus
Current value, see property Status.
Declaration
protected TicketBaseStatus _currentStatus
Field Value
| Type | Description |
|---|---|
| TicketBaseStatus |
_currentSuggestedCategoryId
Current value, see property SuggestedCategoryId.
Declaration
protected int _currentSuggestedCategoryId
Field Value
| Type | Description |
|---|---|
| int |
_currentTags
Current value, see property Tags.
Declaration
protected int[] _currentTags
Field Value
| Type | Description |
|---|---|
| int |
_currentTicketId
Current value, see property TicketId.
Declaration
protected int _currentTicketId
Field Value
| Type | Description |
|---|---|
| int |
_currentTicketStatus
Current value, see property TicketStatus.
Declaration
protected int _currentTicketStatus
Field Value
| Type | Description |
|---|---|
| int |
_currentTicketType
Current value, see property TicketType.
Declaration
protected int _currentTicketType
Field Value
| Type | Description |
|---|---|
| int |
_currentTimeSpent
Current value, see property TimeSpent.
Declaration
protected int _currentTimeSpent
Field Value
| Type | Description |
|---|---|
| int |
_currentTimeSpentCalculated
Current value, see property TimeSpentCalculated.
Declaration
protected DateTime _currentTimeSpentCalculated
Field Value
| Type | Description |
|---|---|
| DateTime |
_currentTimeSpentExternally
Current value, see property TimeSpentExternally.
Declaration
protected int _currentTimeSpentExternally
Field Value
| Type | Description |
|---|---|
| int |
_currentTimeSpentInternally
Current value, see property TimeSpentInternally.
Declaration
protected int _currentTimeSpentInternally
Field Value
| Type | Description |
|---|---|
| int |
_currentTimeSpentQueue
Current value, see property TimeSpentQueue.
Declaration
protected int _currentTimeSpentQueue
Field Value
| Type | Description |
|---|---|
| int |
_currentTimeToClose
Current value, see property TimeToClose.
Declaration
protected int _currentTimeToClose
Field Value
| Type | Description |
|---|---|
| int |
_currentTimeToReply
Current value, see property TimeToReply.
Declaration
protected int _currentTimeToReply
Field Value
| Type | Description |
|---|---|
| int |
_currentTitle
Current value, see property Title.
Declaration
protected string _currentTitle
Field Value
| Type | Description |
|---|---|
| string |
_persistedActivate
Persisted value, see property Activate.
Declaration
protected DateTime _persistedActivate
Field Value
| Type | Description |
|---|---|
| DateTime |
_persistedAlertLevel
Persisted value, see property AlertLevel.
Declaration
protected short _persistedAlertLevel
Field Value
| Type | Description |
|---|---|
| short |
_persistedAlertStop
Persisted value, see property AlertStop.
Declaration
protected int _persistedAlertStop
Field Value
| Type | Description |
|---|---|
| int |
_persistedAlertTimeout
Persisted value, see property AlertTimeout.
Declaration
protected DateTime _persistedAlertTimeout
Field Value
| Type | Description |
|---|---|
| DateTime |
_persistedAuthor
Persisted value, see property Author.
Declaration
protected string _persistedAuthor
Field Value
| Type | Description |
|---|---|
| string |
_persistedCategory
Persisted value, see property Category.
Declaration
protected int _persistedCategory
Field Value
| Type | Description |
|---|---|
| int |
_persistedClosedAt
Persisted value, see property ClosedAt.
Declaration
protected DateTime _persistedClosedAt
Field Value
| Type | Description |
|---|---|
| DateTime |
_persistedConnectId
Persisted value, see property ConnectId.
Declaration
protected int _persistedConnectId
Field Value
| Type | Description |
|---|---|
| int |
_persistedContactId
Persisted value, see property ContactId.
Declaration
protected int _persistedContactId
Field Value
| Type | Description |
|---|---|
| int |
_persistedCreatedAt
Persisted value, see property CreatedAt.
Declaration
protected DateTime _persistedCreatedAt
Field Value
| Type | Description |
|---|---|
| DateTime |
_persistedCreatedBy
Persisted value, see property CreatedBy.
Declaration
protected int _persistedCreatedBy
Field Value
| Type | Description |
|---|---|
| int |
_persistedCreatedByWorkflowId
Persisted value, see property CreatedByWorkflowId.
Declaration
protected int _persistedCreatedByWorkflowId
Field Value
| Type | Description |
|---|---|
| int |
_persistedCustId
Persisted value, see property CustId.
Declaration
protected int _persistedCustId
Field Value
| Type | Description |
|---|---|
| int |
_persistedDbiAgentId
Persisted value, see property DbiAgentId.
Declaration
protected int _persistedDbiAgentId
Field Value
| Type | Description |
|---|---|
| int |
_persistedDbiKey
Persisted value, see property DbiKey.
Declaration
protected string _persistedDbiKey
Field Value
| Type | Description |
|---|---|
| string |
_persistedDbiLastModified
Persisted value, see property DbiLastModified.
Declaration
protected DateTime _persistedDbiLastModified
Field Value
| Type | Description |
|---|---|
| DateTime |
_persistedDbiLastSyncronized
Persisted value, see property DbiLastSyncronized.
Declaration
protected DateTime _persistedDbiLastSyncronized
Field Value
| Type | Description |
|---|---|
| DateTime |
_persistedDeadline
Persisted value, see property Deadline.
Declaration
protected DateTime _persistedDeadline
Field Value
| Type | Description |
|---|---|
| DateTime |
_persistedDisplayFilter
Persisted value, see property DisplayFilter.
Declaration
protected string _persistedDisplayFilter
Field Value
| Type | Description |
|---|---|
| string |
_persistedFilterAddress
Persisted value, see property FilterAddress.
Declaration
protected string _persistedFilterAddress
Field Value
| Type | Description |
|---|---|
| string |
_persistedFilterId
Persisted value, see property FilterId.
Declaration
protected int _persistedFilterId
Field Value
| Type | Description |
|---|---|
| int |
_persistedFirstReadByOwner
Persisted value, see property FirstReadByOwner.
Declaration
protected DateTime _persistedFirstReadByOwner
Field Value
| Type | Description |
|---|---|
| DateTime |
_persistedFirstReadByUser
Persisted value, see property FirstReadByUser.
Declaration
protected DateTime _persistedFirstReadByUser
Field Value
| Type | Description |
|---|---|
| DateTime |
_persistedFormSubmissionId
Persisted value, see property FormSubmissionId.
Declaration
protected int _persistedFormSubmissionId
Field Value
| Type | Description |
|---|---|
| int |
_persistedFromAddress
Persisted value, see property FromAddress.
Declaration
protected string _persistedFromAddress
Field Value
| Type | Description |
|---|---|
| string |
_persistedHasAttachment
Persisted value, see property HasAttachment.
Declaration
protected short _persistedHasAttachment
Field Value
| Type | Description |
|---|---|
| short |
_persistedLanguage
Persisted value, see property Language.
Declaration
protected string _persistedLanguage
Field Value
| Type | Description |
|---|---|
| string |
_persistedLastChanged
Persisted value, see property LastChanged.
Declaration
protected DateTime _persistedLastChanged
Field Value
| Type | Description |
|---|---|
| DateTime |
_persistedNumMessages
Persisted value, see property NumMessages.
Declaration
protected int _persistedNumMessages
Field Value
| Type | Description |
|---|---|
| int |
_persistedNumReplies
Persisted value, see property NumReplies.
Declaration
protected int _persistedNumReplies
Field Value
| Type | Description |
|---|---|
| int |
_persistedOrigCategory
Persisted value, see property OrigCategory.
Declaration
protected int _persistedOrigCategory
Field Value
| Type | Description |
|---|---|
| int |
_persistedOrigHumanCategoryId
Persisted value, see property OrigHumanCategoryId.
Declaration
protected int _persistedOrigHumanCategoryId
Field Value
| Type | Description |
|---|---|
| int |
_persistedOrigPriority
Persisted value, see property OrigPriority.
Declaration
protected int _persistedOrigPriority
Field Value
| Type | Description |
|---|---|
| int |
_persistedOrigin
Persisted value, see property Origin.
Declaration
protected TicketOrigin _persistedOrigin
Field Value
| Type | Description |
|---|---|
| TicketOrigin |
_persistedOwnedBy
Persisted value, see property OwnedBy.
Declaration
protected int _persistedOwnedBy
Field Value
| Type | Description |
|---|---|
| int |
_persistedPriority
Persisted value, see property Priority.
Declaration
protected int _persistedPriority
Field Value
| Type | Description |
|---|---|
| int |
_persistedProjectId
Persisted value, see property ProjectId.
Declaration
protected int _persistedProjectId
Field Value
| Type | Description |
|---|---|
| int |
_persistedReadByCustomer
Persisted value, see property ReadByCustomer.
Declaration
protected DateTime _persistedReadByCustomer
Field Value
| Type | Description |
|---|---|
| DateTime |
_persistedReadByOwner
Persisted value, see property ReadByOwner.
Declaration
protected DateTime _persistedReadByOwner
Field Value
| Type | Description |
|---|---|
| DateTime |
_persistedReadStatus
Persisted value, see property ReadStatus.
Declaration
protected TicketReadStatus _persistedReadStatus
Field Value
| Type | Description |
|---|---|
| TicketReadStatus |
_persistedRealTimeSpentExternally
Persisted value, see property RealTimeSpentExternally.
Declaration
protected int _persistedRealTimeSpentExternally
Field Value
| Type | Description |
|---|---|
| int |
_persistedRealTimeSpentInternally
Persisted value, see property RealTimeSpentInternally.
Declaration
protected int _persistedRealTimeSpentInternally
Field Value
| Type | Description |
|---|---|
| int |
_persistedRealTimeSpentQueue
Persisted value, see property RealTimeSpentQueue.
Declaration
protected int _persistedRealTimeSpentQueue
Field Value
| Type | Description |
|---|---|
| int |
_persistedRealTimeToClose
Persisted value, see property RealTimeToClose.
Declaration
protected int _persistedRealTimeToClose
Field Value
| Type | Description |
|---|---|
| int |
_persistedRealTimeToReply
Persisted value, see property RealTimeToReply.
Declaration
protected int _persistedRealTimeToReply
Field Value
| Type | Description |
|---|---|
| int |
_persistedRepliedAt
Persisted value, see property RepliedAt.
Declaration
protected DateTime _persistedRepliedAt
Field Value
| Type | Description |
|---|---|
| DateTime |
_persistedSaleId
Persisted value, see property SaleId.
Declaration
protected int _persistedSaleId
Field Value
| Type | Description |
|---|---|
| int |
_persistedSentiment
Persisted value, see property Sentiment.
Declaration
protected int _persistedSentiment
Field Value
| Type | Description |
|---|---|
| int |
_persistedSentimentConfidence
Persisted value, see property SentimentConfidence.
Declaration
protected int _persistedSentimentConfidence
Field Value
| Type | Description |
|---|---|
| int |
_persistedSlevel
Persisted value, see property Slevel.
Declaration
protected TicketSecurityLevel _persistedSlevel
Field Value
| Type | Description |
|---|---|
| TicketSecurityLevel |
_persistedStatus
Persisted value, see property Status.
Declaration
protected TicketBaseStatus _persistedStatus
Field Value
| Type | Description |
|---|---|
| TicketBaseStatus |
_persistedSuggestedCategoryId
Persisted value, see property SuggestedCategoryId.
Declaration
protected int _persistedSuggestedCategoryId
Field Value
| Type | Description |
|---|---|
| int |
_persistedTags
Persisted value, see property Tags.
Declaration
protected int[] _persistedTags
Field Value
| Type | Description |
|---|---|
| int |
_persistedTicketId
Persisted value, see property TicketId.
Declaration
protected int _persistedTicketId
Field Value
| Type | Description |
|---|---|
| int |
_persistedTicketStatus
Persisted value, see property TicketStatus.
Declaration
protected int _persistedTicketStatus
Field Value
| Type | Description |
|---|---|
| int |
_persistedTicketType
Persisted value, see property TicketType.
Declaration
protected int _persistedTicketType
Field Value
| Type | Description |
|---|---|
| int |
_persistedTimeSpent
Persisted value, see property TimeSpent.
Declaration
protected int _persistedTimeSpent
Field Value
| Type | Description |
|---|---|
| int |
_persistedTimeSpentCalculated
Persisted value, see property TimeSpentCalculated.
Declaration
protected DateTime _persistedTimeSpentCalculated
Field Value
| Type | Description |
|---|---|
| DateTime |
_persistedTimeSpentExternally
Persisted value, see property TimeSpentExternally.
Declaration
protected int _persistedTimeSpentExternally
Field Value
| Type | Description |
|---|---|
| int |
_persistedTimeSpentInternally
Persisted value, see property TimeSpentInternally.
Declaration
protected int _persistedTimeSpentInternally
Field Value
| Type | Description |
|---|---|
| int |
_persistedTimeSpentQueue
Persisted value, see property TimeSpentQueue.
Declaration
protected int _persistedTimeSpentQueue
Field Value
| Type | Description |
|---|---|
| int |
_persistedTimeToClose
Persisted value, see property TimeToClose.
Declaration
protected int _persistedTimeToClose
Field Value
| Type | Description |
|---|---|
| int |
_persistedTimeToReply
Persisted value, see property TimeToReply.
Declaration
protected int _persistedTimeToReply
Field Value
| Type | Description |
|---|---|
| int |
_persistedTitle
Persisted value, see property Title.
Declaration
protected string _persistedTitle
Field Value
| Type | Description |
|---|---|
| string |
Properties
Activate
.NET type: DateTime. When the ticket should be activated, if it is postponed.
Declaration
public virtual DateTime Activate { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Remarks
Original type in dictionary: DateTime.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (DateTime.MinValue)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
AlertLevel
.NET type: short. The alert level for the ticket. Matches the level value of the ticket_alert table.
Declaration
public virtual short AlertLevel { get; set; }
Property Value
| Type | Description |
|---|---|
| short |
Remarks
Original type in dictionary: Short.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value ((short)0)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
AlertStop
.NET type: int. If the esclatation was stopped, this fields indicates how many seconds left before the next escalation level. -1 if escalation is running.
Declaration
public virtual int AlertStop { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: Int.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (0)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
AlertTimeout
.NET type: DateTime. The datetime for when the ticket should jump to the next alert_level.
Declaration
public virtual DateTime AlertTimeout { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Remarks
Original type in dictionary: DateTime.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (DateTime.MinValue)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
Author
.NET type: string. A string representing the author of the ticket (same as author of first message).
Declaration
public virtual string Author { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Original type in dictionary: String[256].
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (string.Empty)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
Category
.NET type: int. The id of the category a ticket is in.
Declaration
public virtual int Category { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: FK.
Setting this field to a new value will reset the Sentry and recalculate your rights based on the new value
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (0)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
ClosedAt
.NET type: DateTime. When the ticket was closed.
Declaration
public virtual DateTime ClosedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Remarks
Original type in dictionary: DateTime.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
ConnectId
.NET type: int. If a ticket is connected to another ticket, this field is set to the id of the 'master' ticket.
Declaration
public virtual int ConnectId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: FK.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (0)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
ContactId
.NET type: int. The company of the person in the cust_id field, if that person belongs to a company
Declaration
public virtual int ContactId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: FK.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
CreatedAt
.NET type: DateTime. When the ticket was created.
Declaration
public virtual DateTime CreatedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Remarks
Original type in dictionary: DateTime.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (DateTime.MinValue)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
CreatedBy
.NET type: int. The id of the user who created the ticket. 1 (system user) if the ticket was created externally
Declaration
public virtual int CreatedBy { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: FK.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (0)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
CreatedByWorkflowId
.NET type: int. The workflow this request/ticket was created by
Declaration
public virtual int CreatedByWorkflowId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: FK.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
CustId
.NET type: int. The reference to the customer. NULL or -1 if ticket is not connected to customer.
Declaration
public virtual int CustId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: FK.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (0)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
DbiAgentId
.NET type: int. Integration agent (eJournal)
Declaration
public virtual int DbiAgentId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: FK.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
DbiKey
.NET type: string. The primary key for the integrated entry in the external datasource.
Declaration
public virtual string DbiKey { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Original type in dictionary: String[256].
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
DbiLastModified
.NET type: DateTime. When the entry was last modified.
Declaration
public virtual DateTime DbiLastModified { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Remarks
Original type in dictionary: DateTime.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
DbiLastSyncronized
.NET type: DateTime. Last external synchronization.
Declaration
public virtual DateTime DbiLastSyncronized { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Remarks
Original type in dictionary: DateTime.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
Deadline
.NET type: DateTime. Deadline for ticket.
Declaration
public virtual DateTime Deadline { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Remarks
Original type in dictionary: DateTime.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (DateTime.MinValue)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
DisplayFilter
.NET type: string. The name of the mailbox from which the ticket was created. Only for displaypurposes
Declaration
public virtual string DisplayFilter { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Original type in dictionary: String[256].
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (string.Empty)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
FilterAddress
.NET type: string. Address of receiving filter (mail box)
Declaration
public virtual string FilterAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Original type in dictionary: String[256].
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (string.Empty)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
FilterId
.NET type: int. The reference to the mailbox from which the ticket was created. NULL or -1 if the ticket was not created by a mailbox.
Declaration
public virtual int FilterId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: FK.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (0)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
FirstReadByOwner
.NET type: DateTime. The datetime for when the ticket first was read by the current owner.
Declaration
public virtual DateTime FirstReadByOwner { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Remarks
Original type in dictionary: DateTime.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (DateTime.MinValue)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
FirstReadByUser
.NET type: DateTime. The datetime for when the ticket first was read by a user.
Declaration
public virtual DateTime FirstReadByUser { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Remarks
Original type in dictionary: DateTime.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (DateTime.MinValue)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
FormSubmissionId
.NET type: int. If this ticket was created from a form submission, this field will point to that record
Declaration
public virtual int FormSubmissionId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: FK.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
FromAddress
.NET type: string. The from-address used when this ticket got created, e.g. by email
Declaration
public virtual string FromAddress { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Original type in dictionary: String[4001].
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
HasAttachment
.NET type: short. Boolean indicating if this ticket has one or more attachments.
Declaration
public virtual short HasAttachment { get; set; }
Property Value
| Type | Description |
|---|---|
| short |
Remarks
Original type in dictionary: Bool.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value ((Int16)0)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
InnerFieldValuePairs
The values of all the fields in the row.
The first field is the primary key.
The index of the value corresponds to the name
of the field returned from the Fields property.
Declaration
protected override ArgumentParameterCollection InnerFieldValuePairs { get; }
Property Value
| Type | Description |
|---|---|
| ArgumentParameterCollection |
Overrides
InnerPrimaryKey
The primary key needed to decide which specific row to alter with the current sql-command.
Declaration
protected override FieldInfo InnerPrimaryKey { get; }
Property Value
| Type | Description |
|---|---|
| FieldInfo |
Overrides
InnerPrimaryKeyValue
The actual value the primary key must have.
Declaration
protected override Parameter InnerPrimaryKeyValue { get; }
Property Value
| Type | Description |
|---|---|
| Parameter |
Overrides
IsDirty
Is the row dirty, e.g. been modified since the last time it was saved to the database.
Declaration
public override bool IsDirty { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
IsNew
Is this object new, meaning that it does not exist in the database.
Declaration
public override bool IsNew { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Overrides
this[string]
Get or set a value based on the name of the field.
Declaration
public override object this[string fieldName] { get; set; }
Parameters
| Type | Name | Description |
|---|---|---|
| string | fieldName | Name of the field in the database |
Property Value
| Type | Description |
|---|---|
| object | Value of the field. |
Overrides
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | Thrown if the field is not known. |
Language
.NET type: string. The language of the first external message
Declaration
public virtual string Language { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Original type in dictionary: String[11].
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
LastChanged
.NET type: DateTime. The last time the ticket was modified.
Declaration
public virtual DateTime LastChanged { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Remarks
Original type in dictionary: DateTime.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (DateTime.MinValue)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
NumMessages
.NET type: int. The total number of messages for this request.
Declaration
public virtual int NumMessages { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: Int.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (0)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
NumReplies
.NET type: int. The number of replies (messages) to the customer for this request.
Declaration
public virtual int NumReplies { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: Int.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (0)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
OrigCategory
.NET type: int. The id of the category the ticket was posted to.
Declaration
public virtual int OrigCategory { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: FK.
Setting this field to a new value will reset the Sentry and recalculate your rights based on the new value
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (0)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
OrigHumanCategoryId
.NET type: int. Will contain the category id selected by the user, when having the choice of using the suggested category or manually selecting a category
Declaration
public virtual int OrigHumanCategoryId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: FK.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
OrigPriority
.NET type: int. The reference to the initial priority for the ticket.
Declaration
public virtual int OrigPriority { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: FK.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (0)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
Origin
.NET type: TicketOrigin. What is the origin of this ticket
Declaration
public TicketOrigin Origin { get; set; }
Property Value
| Type | Description |
|---|---|
| TicketOrigin |
Remarks
Original type in dictionary: Enum.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
OwnedBy
.NET type: int. The id of the user who owns the ticket. 1 (system user) if the ticket is unassigned.
Declaration
public virtual int OwnedBy { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: FK.
Setting this field to a new value will reset the Sentry and recalculate your rights based on the new value
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (0)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
Priority
.NET type: int. The reference to the ticket_priority table.
Declaration
public virtual int Priority { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: FK.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (0)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
ProjectId
.NET type: int. Reference to project table
Declaration
public virtual int ProjectId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: FK.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
ReadByCustomer
.NET type: DateTime. The datetime for when the ticket was read by the customer.
Declaration
public virtual DateTime ReadByCustomer { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Remarks
Original type in dictionary: DateTime.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (DateTime.MinValue)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
ReadByOwner
.NET type: DateTime. The datetime for when the ticket last was read by the owner.
Declaration
public virtual DateTime ReadByOwner { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Remarks
Original type in dictionary: DateTime.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (DateTime.MinValue)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
ReadStatus
.NET type: TicketReadStatus. Whether the owner has read the ticket or not (red, yellow, green).
Declaration
public virtual TicketReadStatus ReadStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| TicketReadStatus |
Remarks
Original type in dictionary: Enum.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value ((short)0)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
RealTimeSpentExternally
.NET type: int. The total time (seconds) within 24x7 the ticket has been in a external waiting status (configurable), not including current state
Declaration
public virtual int RealTimeSpentExternally { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: Int.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (0)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
RealTimeSpentInternally
.NET type: int. The total time (seconds) within 24x7 the ticket has been in an open status (configurable), not including current state
Declaration
public virtual int RealTimeSpentInternally { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: Int.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (0)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
RealTimeSpentQueue
.NET type: int. The total time (seconds) within 24x7 hours the ticket has been in a queue status, not including current state
Declaration
public virtual int RealTimeSpentQueue { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: Int.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (0)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
RealTimeToClose
.NET type: int. Same as time_to_close, but not calculated based on priority.
Declaration
public virtual int RealTimeToClose { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: Int.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (0)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
RealTimeToReply
.NET type: int. Same as time_to_reply, but not calculated based on priority.
Declaration
public virtual int RealTimeToReply { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: Int.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (0)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
RepliedAt
.NET type: DateTime. The datetime for when the ticket was replied to. I.e. the first external message added to the ticket.
Declaration
public virtual DateTime RepliedAt { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Remarks
Original type in dictionary: DateTime.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (DateTime.MinValue)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
SaleId
.NET type: int. Reference to sale table
Declaration
public virtual int SaleId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: FK.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
Sentiment
.NET type: int. The sentiment index of the last external message
Declaration
public virtual int Sentiment { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: Int.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
SentimentConfidence
.NET type: int. The sentiment confidence of the last external message
Declaration
public virtual int SentimentConfidence { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: Int.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
Slevel
.NET type: TicketSecurityLevel. The securitylevel of the ticket.
Declaration
public virtual TicketSecurityLevel Slevel { get; set; }
Property Value
| Type | Description |
|---|---|
| TicketSecurityLevel |
Remarks
Original type in dictionary: Enum.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value ((short)0)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
Status
.NET type: TicketBaseStatus. The status of the ticket. I.e. active/closed/postponed/deleted
Declaration
public virtual TicketBaseStatus Status { get; set; }
Property Value
| Type | Description |
|---|---|
| TicketBaseStatus |
Remarks
Original type in dictionary: Enum.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value ((short)0)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
SuggestedCategoryId
.NET type: int. Suggestion for categorization, based on the text of the message (AI)
Declaration
public virtual int SuggestedCategoryId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: FK.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
TableInfo
Get the TableInfo for the table.
Declaration
public override TableInfo TableInfo { get; }
Property Value
| Type | Description |
|---|---|
| TableInfo | The TableInfo for the table. |
Overrides
Tags
.NET type: Int32[]. Array of references to the Tags records
Declaration
public virtual int[] Tags { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: FKArray.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
TicketId
.NET type: int. The primary key (auto-incremented)
Declaration
public virtual int TicketId { get; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: PK.
This field is the primary key and can only be read, never written.
This field is not protected by the Sentry system, and can always be read
TicketStatus
.NET type: int. User defined ticket status
Declaration
public virtual int TicketStatus { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: FK.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (0)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
TicketTableInfo
Get the TicketTableInfo object associated with the row.
Declaration
public TicketTableInfo TicketTableInfo { get; }
Property Value
| Type | Description |
|---|---|
| TicketTableInfo |
TicketType
.NET type: int. Tickettype of the ticket
Declaration
public virtual int TicketType { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: FK.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
TimeSpent
.NET type: int. The total time (minutes). Aggregated time spent from ticket's messages. Read-only for external use.
Declaration
public virtual int TimeSpent { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: Int.
Setting this field to a new value will not affect the Sentry calculations and your rights
This field is not protected by the Sentry system, and can always be read
This field is not protected by the Sentry system, and can be written to unless other restrictions prevent it
TimeSpentCalculated
.NET type: DateTime. When the time_spent value was last calculated.
Declaration
public virtual DateTime TimeSpentCalculated { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTime |
Remarks
Original type in dictionary: DateTime.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (DateTime.MinValue)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
TimeSpentExternally
.NET type: int. The total time (seconds) within the priority's office hours the ticket has been in a external waiting status (configurable), not including current state
Declaration
public virtual int TimeSpentExternally { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: Int.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (0)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
TimeSpentInternally
.NET type: int. The total time (seconds) within the priority's office hours the ticket has been in an open status (configurable), not including current state
Declaration
public virtual int TimeSpentInternally { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: Int.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (0)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
TimeSpentQueue
.NET type: int. The total time (seconds) within the priority's office hours the ticket has been in a queue status, not including current state
Declaration
public virtual int TimeSpentQueue { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: Int.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (0)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
TimeToClose
.NET type: int. The time (minutes) between when the ticket was created and when it was closed. Calculated based on priority's timeframe.
Declaration
public virtual int TimeToClose { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: Int.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (0)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
TimeToReply
.NET type: int. The time (minutes) between when the ticket was created and when it was replied to. Calculated based on priority's timeframe.
Declaration
public virtual int TimeToReply { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
Remarks
Original type in dictionary: Int.
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (0)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
Title
.NET type: string. The title of the ticket.
Declaration
public virtual string Title { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Original type in dictionary: String[256].
You need to have Read access to get the value of this field. If you do not have access, you will get a blank value (string.Empty)
You need to have Write access to set this field to a new value (Sentry will throw exception otherwise)
Setting this field to a new value will not affect the Sentry calculations and your rights
Exceptions
| Type | Condition |
|---|---|
| SoSentryException | Thrown if the set method is accessed without having the Write access right to the field |
Methods
CreateNew()
Create a new instance of the TicketRow object. This table contains the tickets (requests) of the system. Its purpose should be evident.
Declaration
public static TicketRow CreateNew()
Returns
| Type | Description |
|---|---|
| TicketRow | A new instance of the TicketRow object. |
GetExtraFieldsHelper()
Returns the row's helper so that the entity can forward settings to it.
Declaration
public ExtraFieldsHelper GetExtraFieldsHelper()
Returns
| Type | Description |
|---|---|
| ExtraFieldsHelper | Returns the helper |
GetFromCustomSearch(CustomSearch)
Create a new instance of the TicketRow object, and populate it with data from a custom search. If the search returns no results, an object with IsNew will be returned; if the result contains one row, an object representing that row will be returned. If the result contains more than one row, the first row will be used and the rest discarded (there is no way of detecting this situation).
Declaration
public static TicketRow GetFromCustomSearch(TicketRow.CustomSearch query)
Parameters
| Type | Name | Description |
|---|---|---|
| TicketRowCustomSearch | query | The custom search to execute against the database |
Returns
| Type | Description |
|---|---|
| TicketRow | A new instance of the TicketRow object, reflecting the result of the query. |
GetFromCustomSearchAsync(CustomSearch, CancellationToken)
Create a new instance of the TicketRow object, and populate it with data from a custom search. If the search returns no results, an object with IsNew will be returned; if the result contains one row, an object representing that row will be returned. If the result contains more than one row, the first row will be used and the rest discarded (there is no way of detecting this situation).
Declaration
[CreateSyncVersion(OmitNullableDirective = true)]
public static Task<TicketRow> GetFromCustomSearchAsync(TicketRow.CustomSearch query, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| TicketRowCustomSearch | query | The custom search to execute against the database |
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| TaskTicketRow | A new instance of the TicketRow object, reflecting the result of the query. |
GetFromIdxTicketIdAsync(int, CancellationToken)
Create a new instance of the TicketRow object, by querying the database table via the index 'IDXTicketId'. This method is intended to make it easy to use efficient queries that match a database index.
Declaration
public static Task<TicketRow> GetFromIdxTicketIdAsync(int ticketId, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| int | ticketId | |
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| TaskTicketRow | Row object that represents the result of the search. IsNew will be true if the query did not match any row in the table |
Remarks
This method represents one of the unique indexes on the Ticket table. Non-unique indexes have corresponding inner classes and methods in the TicketRows collection, since they may return more than one row.
GetFromReader(SoDataReader, TicketTableInfo)
Create a new instance of the TicketRow object, and populate it with data from a reader/tableinfo. If the reader has DBNull as the current value of the primary key field, an unpopulated object with IsNew == true will be returned. If any fields are missing or one of the non-primary key fields is DBNull, an exception will be thrown. This table contains the tickets (requests) of the system. Its purpose should be evident.
Declaration
public static TicketRow GetFromReader(SoDataReader reader, TicketTableInfo tableInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| SoDataReader | reader | SoDataReader positioned to a valid database row. |
| TicketTableInfo | tableInfo | TicketTableInfo instance used in the query that is the source of the reader. The fields used from the reader will be those owned by this tableinfo object. |
Returns
| Type | Description |
|---|---|
| TicketRow | A new instance of the TicketRow object. |
GetPersistedFieldValue(FieldInfo)
Get the persisted value of a field.
Declaration
public override object GetPersistedFieldValue(FieldInfo field)
Parameters
| Type | Name | Description |
|---|---|---|
| FieldInfo | field | Specification of a field |
Returns
| Type | Description |
|---|---|
| object | Field value, such as an int, DateTime, string ... Null can be returned if the value is not known. |
Overrides
Exceptions
| Type | Condition |
|---|---|
| ArgumentException | Thrown if the field is not known. |
InternalSetValue(string, object)
Declaration
protected override void InternalSetValue(string fieldName, object value)
Parameters
| Type | Name | Description |
|---|---|---|
| string | fieldName | |
| object | value |
Overrides
IsPersistedFieldValueKnown(FieldInfo)
Check if the persisted value for a field is known.
Declaration
public override bool IsPersistedFieldValueKnown(FieldInfo field)
Parameters
| Type | Name | Description |
|---|---|---|
| FieldInfo | field | Specification of a field |
Returns
| Type | Description |
|---|---|
| bool | True if the value is known and sentry permits read. |
Overrides
OnLoad(SoDataReader, TableInfo)
Fill the object with data returned from the database.
Declaration
protected override void OnLoad(SoDataReader reader, TableInfo tableInfo)
Parameters
| Type | Name | Description |
|---|---|---|
| SoDataReader | reader | Object holding the data returned from the database. |
| TableInfo | tableInfo | The TableInfo used for the SELECT statement. |
Overrides
OnSaveAsync(BatchSave)
Add the object to the BatchSave list if it needs saving.
Declaration
protected override Task OnSaveAsync(BatchSave batchSave)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchSave | batchSave | Collection of objects to be saved within the transaction. |
Returns
| Type | Description |
|---|---|
| Task |
Overrides
Remarks
Classes overriding this method should call it.
OnSavedAsync(bool)
Method called after the save operation has been performed.
Declaration
protected override Task OnSavedAsync(bool bSucceeded)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | bSucceeded | True if the save operation succeeded (e.g. transaction committed), or false if the save operation failed (e.g. transaction rolled back) |
Returns
| Type | Description |
|---|---|
| Task |
Overrides
Reset()
Reset the changes made on the object.
Declaration
protected override void Reset()
Overrides
Remarks
If the row is not persisted to the database (e.g. IsNew is true), all the values will be reset. If the row has been persisted to or loaded from the database, the properties will be set to those of the last persisted or loaded values.
SetDefaultsAsync(DefaulterStrategy, CancellationToken)
Set default values for the row.
Declaration
public override Task SetDefaultsAsync(DefaulterStrategy strategy, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| DefaulterStrategy | strategy | Strategy used when applying default values; values depend on where we are in the Create/Fetch/Populate/Save cycle |
| CancellationToken | cancellationToken |
Returns
| Type | Description |
|---|---|
| Task |
Overrides
SetPrimaryKey(int)
Set the primary key for the row.
Declaration
protected override void SetPrimaryKey(int primaryKey)
Parameters
| Type | Name | Description |
|---|---|---|
| int | primaryKey | The new primary key for the row. |
Overrides
SetRowAsNew()
Declaration
public override void SetRowAsNew()
Overrides
ToString()
ToString method intended for debugging, returns a string that displays the object type, new/dirty status, primary key and the string fields
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |
Overrides
Validate(RowValidator)
Validate this row.
Declaration
public override void Validate(RowValidator rowValidator)
Parameters
| Type | Name | Description |
|---|---|---|
| RowValidator | rowValidator | RowValidator for inserting the result of the validation |