Skip to main content
Entity for a ticket status. This entity describes the meta data for a ticket status, and provides special operations on it.

Constructors

NSTicketStatusEntity()

Initializes a new instance of the NSTicketStatusEntity class.

Methods

GetName()

Returns: CRMScript.Global.String - Name of user defined ticket status. Example:

GetNoEmailReopen()

Returns: CRMScript.Global.Bool - Whether inbound emails can reopen requests with this status or not. Example:

GetStatus()

Returns: CRMScript.Global.Integer - The classic ticket status (active/closed/postponed/deleted). See <xref href=“CRMScript.NetServer.TicketBaseStatus” data-throw-if-not-resolved=“false”></xref>. Example:

GetTicketStatusId()

Returns: CRMScript.Global.Integer - The primary key (auto-incremented). Example:

GetTimeCounter()

Returns: CRMScript.Global.Integer - Which field in ticket we count time spent on (queue, internal, external). See <xref href=“CRMScript.NetServer.TicketStatusTimeCounter” data-throw-if-not-resolved=“false”></xref>. Example:

SetName(String)

Returns: CRMScript.Global.Void Example:

SetNoEmailReopen(Bool)

Returns: CRMScript.Global.Void Example:

SetStatus(Integer)

Returns: CRMScript.Global.Void Example:

SetTicketStatusId(Integer)

Returns: CRMScript.Global.Void Example:

SetTimeCounter(Integer)

Returns: CRMScript.Global.Void Example: