Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.
Constructors
NSTicketPriorityEntity()
Initializes a new instance of the NSTicketPriorityEntity class.
Methods
GetChangedOwner()
Returns: CRMScript.Global.Integer - What to do with the escalation chain when the request changes owner (manually). See <xref href=“CRMScript.NetServer.TicketPriorityEscalateEvent” data-throw-if-not-resolved=“false”></xref>.
Example:
GetDeadline()
Returns: CRMScript.Global.Integer - Deadline to add if escalated (minutes).
Example:
GetFlags()
Returns: CRMScript.Global.Integer - A bit mask of flags. See <xref href=“CRMScript.NetServer.TicketPriorityFlags” data-throw-if-not-resolved=“false”></xref>.
Example:
GetFriStart()
Returns: CRMScript.Global.DateTime - The work hour start for Fridays. Note that only the time part of the DateTime is used.
Example:
GetFriStop()
Returns: CRMScript.Global.DateTime - The work hour stop for Fridays. Note that only the time part of the DateTime is used.
Example:
GetMonStart()
Returns: CRMScript.Global.DateTime - The work hour start for Mondays. Note that only the time part of the DateTime is used.
Example:
GetMonStop()
Returns: CRMScript.Global.DateTime - The work hour stop for Mondays. Note that only the time part of the DateTime is used.
Example:
GetName()
Returns: CRMScript.Global.String - The name of the priority.
Example:
GetNonDates()
Returns: CRMScript.Global.DateTime[] - Dates which the escalation time should not be running.
Note that only the day of the year (day and month) is used. So the year and time part is not used even if this is a DateTime
Example:
GetSatStart()
Returns: CRMScript.Global.DateTime - The work hour start for Saturdays. Note that only the time part of the DateTime is used.
Example:
GetSatStop()
Returns: CRMScript.Global.DateTime - The work hour stop for Saturdays. Note that only the time part of the DateTime is used.
Example:
GetSortOrder()
Returns: CRMScript.Global.Integer - Indicates the sort order for this priority. 1 is first, 100 is last.
Example:
GetStatus()
Returns: CRMScript.Global.Integer - The status (normal/deleted) of the priority. See <xref href=“CRMScript.NetServer.TicketPriorityStatus” data-throw-if-not-resolved=“false”></xref>
Example:
GetSunStart()
Returns: CRMScript.Global.DateTime - The work hour start for Sundays. Note that only the time part of the DateTime is used.
Example:
GetSunStop()
Returns: CRMScript.Global.DateTime - The work hour stop for Sundays. Note that only the time part of the DateTime is used.
Example:
GetThuStart()
Returns: CRMScript.Global.DateTime - The work hour start for Thursdays. Note that only the time part of the DateTime is used.
Example:
GetThuStop()
Returns: CRMScript.Global.DateTime - The work hour stop for Thursdays. Note that only the time part of the DateTime is used.
Example:
GetTicketChangedPriority()
Returns: CRMScript.Global.Integer - What to do with the escalation chain when the request is changed into this priority. See <xref href=“CRMScript.NetServer.TicketPriorityEscalateEvent” data-throw-if-not-resolved=“false”></xref>.
Example:
GetTicketClosed()
Returns: CRMScript.Global.Integer - indicates what to do with the escalation chain when the request is closed. See <xref href=“CRMScript.NetServer.TicketPriorityEscalateEvent” data-throw-if-not-resolved=“false”></xref>.
Example:
GetTicketNew()
Returns: CRMScript.Global.Integer - What to do with the escalation chain when a new request is registered. See <xref href=“CRMScript.NetServer.TicketPriorityEscalateEvent” data-throw-if-not-resolved=“false”></xref>.
Example:
GetTicketNewinfo()
Returns: CRMScript.Global.Integer - What to do with the escalation chain when the request gets new info. See <xref href=“CRMScript.NetServer.TicketPriorityEscalateEvent” data-throw-if-not-resolved=“false”></xref>.
Example:
GetTicketPriorityId()
Returns: CRMScript.Global.Integer - The primary key (auto-incremented).
Example:
GetTicketRead()
Returns: CRMScript.Global.Integer - What to do with the escalation chain when the request is read. See <xref href=“CRMScript.NetServer.TicketPriorityEscalateEvent” data-throw-if-not-resolved=“false”></xref>.
Example:
GetTueStart()
Returns: CRMScript.Global.DateTime - The work hour start for Tuesdays. Note that only the time part of the DateTime is used.
Example:
GetTueStop()
Returns: CRMScript.Global.DateTime - The work hour stop for Tuesdays. Note that only the time part of the DateTime is used.
Example:
GetWedStart()
Returns: CRMScript.Global.DateTime - The work hour start for Wednesdays. Note that only the time part of the DateTime is used.
Example:
GetWedStop()
Returns: CRMScript.Global.DateTime - The work hour stop for Wednesdays. Note that only the time part of the DateTime is used.
Example:
SetChangedOwner(Integer)
Returns: CRMScript.Global.Void
Example:
SetDeadline(Integer)
Returns: CRMScript.Global.Void
Example:
SetFlags(Integer)
Returns: CRMScript.Global.Void
Example:
SetFriStart(DateTime)
Returns: CRMScript.Global.Void
Example:
SetFriStop(DateTime)
Returns: CRMScript.Global.Void
Example:
SetMonStart(DateTime)
Returns: CRMScript.Global.Void
Example:
SetMonStop(DateTime)
Returns: CRMScript.Global.Void
Example:
SetName(String)
Returns: CRMScript.Global.Void
Example:
SetNonDates(DateTime[])
Returns: CRMScript.Global.Void
Example:
SetSatStart(DateTime)
Returns: CRMScript.Global.Void
Example:
SetSatStop(DateTime)
Returns: CRMScript.Global.Void
Example:
SetSortOrder(Integer)
Returns: CRMScript.Global.Void
Example:
SetStatus(Integer)
Returns: CRMScript.Global.Void
Example:
SetSunStart(DateTime)
Returns: CRMScript.Global.Void
Example:
SetSunStop(DateTime)
Returns: CRMScript.Global.Void
Example:
SetThuStart(DateTime)
Returns: CRMScript.Global.Void
Example:
SetThuStop(DateTime)
Returns: CRMScript.Global.Void
Example:
SetTicketChangedPriority(Integer)
Returns: CRMScript.Global.Void
Example:
SetTicketClosed(Integer)
Returns: CRMScript.Global.Void
Example:
SetTicketNew(Integer)
Returns: CRMScript.Global.Void
Example:
SetTicketNewinfo(Integer)
Returns: CRMScript.Global.Void
Example:
SetTicketPriorityId(Integer)
Returns: CRMScript.Global.Void
Example:
SetTicketRead(Integer)
Returns: CRMScript.Global.Void
Example:
SetTueStart(DateTime)
Returns: CRMScript.Global.Void
Example:
SetTueStop(DateTime)
Returns: CRMScript.Global.Void
Example:
SetWedStart(DateTime)
Returns: CRMScript.Global.Void
Example:
SetWedStop(DateTime)
Returns: CRMScript.Global.Void
Example: