Class NSTicketPriorityEntity
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.
Declaration
NSTicketPriorityEntity Methods
GetChangedOwner()
Declaration
Integer GetChangedOwner() Examples
NSTicketPriorityEntity thing;
Integer changedOwner = thing.GetChangedOwner();
Returns
| Type | Description |
| 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>. |
GetDeadline()
Declaration
Integer GetDeadline() Examples
NSTicketPriorityEntity thing;
Integer deadline = thing.GetDeadline();
Returns
| Type | Description |
| Integer | Deadline to add if escalated (minutes). |
GetFlags()
Declaration
Integer GetFlags() Examples
NSTicketPriorityEntity thing;
Integer flags = thing.GetFlags();
Returns
| Type | Description |
| Integer | A bit mask of flags. See <xref href="CRMScript.NetServer.TicketPriorityFlags" data-throw-if-not-resolved="false"></xref>. |
GetFriStart()
Declaration
DateTime GetFriStart() Examples
NSTicketPriorityEntity thing;
DateTime friStart = thing.GetFriStart();
Returns
| Type | Description |
| DateTime | The work hour start for Fridays. Note that only the time part of the DateTime is used. |
GetFriStop()
Declaration
DateTime GetFriStop() Examples
NSTicketPriorityEntity thing;
DateTime friStop = thing.GetFriStop();
Returns
| Type | Description |
| DateTime | The work hour stop for Fridays. Note that only the time part of the DateTime is used. |
GetMonStart()
Declaration
DateTime GetMonStart() Examples
NSTicketPriorityEntity thing;
DateTime monStart = thing.GetMonStart();
Returns
| Type | Description |
| DateTime | The work hour start for Mondays. Note that only the time part of the DateTime is used. |
GetMonStop()
Declaration
DateTime GetMonStop() Examples
NSTicketPriorityEntity thing;
DateTime monStop = thing.GetMonStop();
Returns
| Type | Description |
| DateTime | The work hour stop for Mondays. Note that only the time part of the DateTime is used. |
GetName()
Declaration
String GetName() Examples
NSTicketPriorityEntity thing;
String name = thing.GetName();
Returns
| Type | Description |
| String | The name of the priority. |
GetNonDates()
Declaration
DateTime[] GetNonDates() Examples
NSTicketPriorityEntity thing;
DateTime[] nonDates = thing.GetNonDates();
Returns
| Type | Description |
| DateTime[] | Dates which the escalation time should not be running. |
GetSatStart()
Declaration
DateTime GetSatStart() Examples
NSTicketPriorityEntity thing;
DateTime satStart = thing.GetSatStart();
Returns
| Type | Description |
| DateTime | The work hour start for Saturdays. Note that only the time part of the DateTime is used. |
GetSatStop()
Declaration
DateTime GetSatStop() Examples
NSTicketPriorityEntity thing;
DateTime satStop = thing.GetSatStop();
Returns
| Type | Description |
| DateTime | The work hour stop for Saturdays. Note that only the time part of the DateTime is used. |
GetSortOrder()
Declaration
Integer GetSortOrder() Examples
NSTicketPriorityEntity thing;
Integer sortOrder = thing.GetSortOrder();
Returns
| Type | Description |
| Integer | Indicates the sort order for this priority. 1 is first, 100 is last. |
GetStatus()
Declaration
Integer GetStatus() Examples
NSTicketPriorityEntity thing;
Integer status = thing.GetStatus();
Returns
| Type | Description |
| Integer | The status (normal/deleted) of the priority. See <xref href="CRMScript.NetServer.TicketPriorityStatus" data-throw-if-not-resolved="false"></xref> |
GetSunStart()
Declaration
DateTime GetSunStart() Examples
NSTicketPriorityEntity thing;
DateTime sunStart = thing.GetSunStart();
Returns
| Type | Description |
| DateTime | The work hour start for Sundays. Note that only the time part of the DateTime is used. |
GetSunStop()
Declaration
DateTime GetSunStop() Examples
NSTicketPriorityEntity thing;
DateTime sunStop = thing.GetSunStop();
Returns
| Type | Description |
| DateTime | The work hour stop for Sundays. Note that only the time part of the DateTime is used. |
GetThuStart()
Declaration
DateTime GetThuStart() Examples
NSTicketPriorityEntity thing;
DateTime thuStart = thing.GetThuStart();
Returns
| Type | Description |
| DateTime | The work hour start for Thursdays. Note that only the time part of the DateTime is used. |
GetThuStop()
Declaration
DateTime GetThuStop() Examples
NSTicketPriorityEntity thing;
DateTime thuStop = thing.GetThuStop();
Returns
| Type | Description |
| DateTime | The work hour stop for Thursdays. Note that only the time part of the DateTime is used. |
GetTicketChangedPriority()
Declaration
Integer GetTicketChangedPriority() Examples
NSTicketPriorityEntity thing;
Integer ticketChangedPriority = thing.GetTicketChangedPriority();
Returns
| Type | Description |
| 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>. |
GetTicketClosed()
Declaration
Integer GetTicketClosed() Examples
NSTicketPriorityEntity thing;
Integer ticketClosed = thing.GetTicketClosed();
Returns
| Type | Description |
| 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>. |
GetTicketNew()
Declaration
Integer GetTicketNew() Examples
NSTicketPriorityEntity thing;
Integer ticketNew = thing.GetTicketNew();
Returns
| Type | Description |
| 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>. |
GetTicketNewinfo()
Declaration
Integer GetTicketNewinfo() Examples
NSTicketPriorityEntity thing;
Integer ticketNewinfo = thing.GetTicketNewinfo();
Returns
| Type | Description |
| 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>. |
GetTicketPriorityId()
Declaration
Integer GetTicketPriorityId() Examples
NSTicketPriorityEntity thing;
Integer ticketPriorityId = thing.GetTicketPriorityId();
Returns
| Type | Description |
| Integer | The primary key (auto-incremented). |
GetTicketRead()
Declaration
Integer GetTicketRead() Examples
NSTicketPriorityEntity thing;
Integer ticketRead = thing.GetTicketRead();
Returns
| Type | Description |
| 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>. |
GetTueStart()
Declaration
DateTime GetTueStart() Examples
NSTicketPriorityEntity thing;
DateTime tueStart = thing.GetTueStart();
Returns
| Type | Description |
| DateTime | The work hour start for Tuesdays. Note that only the time part of the DateTime is used. |
GetTueStop()
Declaration
DateTime GetTueStop() Examples
NSTicketPriorityEntity thing;
DateTime tueStop = thing.GetTueStop();
Returns
| Type | Description |
| DateTime | The work hour stop for Tuesdays. Note that only the time part of the DateTime is used. |
GetWedStart()
Declaration
DateTime GetWedStart() Examples
NSTicketPriorityEntity thing;
DateTime wedStart = thing.GetWedStart();
Returns
| Type | Description |
| DateTime | The work hour start for Wednesdays. Note that only the time part of the DateTime is used. |
GetWedStop()
Declaration
DateTime GetWedStop() Examples
NSTicketPriorityEntity thing;
DateTime wedStop = thing.GetWedStop();
Returns
| Type | Description |
| DateTime | The work hour stop for Wednesdays. Note that only the time part of the DateTime is used. |
SetChangedOwner(Integer)
Declaration
Void SetChangedOwner(Integer changedOwner) Examples
NSTicketPriorityEntity thing;
Integer changedOwner;
thing.SetChangedOwner(changedOwner);
Parameters
| Type | Name | Description |
| Integer | changedOwner | 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>. |
Returns
| Type | Description |
| Void |
SetDeadline(Integer)
Declaration
Void SetDeadline(Integer deadline) Examples
NSTicketPriorityEntity thing;
Integer deadline;
thing.SetDeadline(deadline);
Parameters
| Type | Name | Description |
| Integer | deadline | Deadline to add if escalated (minutes). |
Returns
| Type | Description |
| Void |
SetFlags(Integer)
Declaration
Void SetFlags(Integer flags) Examples
NSTicketPriorityEntity thing;
Integer flags;
thing.SetFlags(flags);
Parameters
| Type | Name | Description |
| Integer | flags | A bitmask of flags. See <xref href="CRMScript.NetServer.TicketPriorityFlags" data-throw-if-not-resolved="false"></xref>. |
Returns
| Type | Description |
| Void |
SetFriStart(DateTime)
Declaration
Void SetFriStart(DateTime friStart) Examples
NSTicketPriorityEntity thing;
DateTime friStart;
thing.SetFriStart(friStart);
Parameters
| Type | Name | Description |
| DateTime | friStart | The work hour start for Fridays. Note that only the time part of the DateTime is used. |
Returns
| Type | Description |
| Void |
SetFriStop(DateTime)
Declaration
Void SetFriStop(DateTime friStop) Examples
NSTicketPriorityEntity thing;
DateTime friStop;
thing.SetFriStop(friStop);
Parameters
| Type | Name | Description |
| DateTime | friStop | The work hour stop for Fridays. Note that only the time part of the DateTime is used. |
Returns
| Type | Description |
| Void |
SetMonStart(DateTime)
Declaration
Void SetMonStart(DateTime monStart) Examples
NSTicketPriorityEntity thing;
DateTime monStart;
thing.SetMonStart(monStart);
Parameters
| Type | Name | Description |
| DateTime | monStart | The work hour start for Mondays. Note that only the time part of the DateTime is used. |
Returns
| Type | Description |
| Void |
SetMonStop(DateTime)
Declaration
Void SetMonStop(DateTime monStop) Examples
NSTicketPriorityEntity thing;
DateTime monStop;
thing.SetMonStop(monStop);
Parameters
| Type | Name | Description |
| DateTime | monStop | The work hour stop for Mondays. Note that only the time part of the DateTime is used. |
Returns
| Type | Description |
| Void |
SetName(String)
Declaration
Void SetName(String name) Examples
NSTicketPriorityEntity thing;
String name;
thing.SetName(name);
Parameters
| Type | Name | Description |
| String | name | The name of the priority. |
Returns
| Type | Description |
| Void |
SetNonDates(DateTime[])
Declaration
Void SetNonDates(DateTime[] nonDates) Examples
NSTicketPriorityEntity thing;
DateTime[] nonDates;
thing.SetNonDates(nonDates);
Parameters
| Type | Name | Description |
| DateTime[] | nonDates | 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. |
Returns
| Type | Description |
| Void |
SetSatStart(DateTime)
Declaration
Void SetSatStart(DateTime satStart) Examples
NSTicketPriorityEntity thing;
DateTime satStart;
thing.SetSatStart(satStart);
Parameters
| Type | Name | Description |
| DateTime | satStart | The work hour start for Saturdays. Note that only the time part of the DateTime is used. |
Returns
| Type | Description |
| Void |
SetSatStop(DateTime)
Declaration
Void SetSatStop(DateTime satStop) Examples
NSTicketPriorityEntity thing;
DateTime satStop;
thing.SetSatStop(satStop);
Parameters
| Type | Name | Description |
| DateTime | satStop | The work hour stop for Saturdays. Note that only the time part of the DateTime is used. |
Returns
| Type | Description |
| Void |
SetSortOrder(Integer)
Declaration
Void SetSortOrder(Integer sortOrder) Examples
NSTicketPriorityEntity thing;
Integer sortOrder;
thing.SetSortOrder(sortOrder);
Parameters
| Type | Name | Description |
| Integer | sortOrder | Indicates the sort order for this priority. 1 is first, 100 is last. |
Returns
| Type | Description |
| Void |
SetStatus(Integer)
Declaration
Void SetStatus(Integer status) Examples
NSTicketPriorityEntity thing;
Integer status;
thing.SetStatus(status);
Parameters
| Type | Name | Description |
| Integer | status | The status (normal/deleted) of the priority. See <xref href="CRMScript.NetServer.TicketPriorityStatus" data-throw-if-not-resolved="false"></xref>. |
Returns
| Type | Description |
| Void |
SetSunStart(DateTime)
Declaration
Void SetSunStart(DateTime sunStart) Examples
NSTicketPriorityEntity thing;
DateTime sunStart;
thing.SetSunStart(sunStart);
Parameters
| Type | Name | Description |
| DateTime | sunStart | The work hour start for Sundays. Note that only the time part of the DateTime is used. |
Returns
| Type | Description |
| Void |
SetSunStop(DateTime)
Declaration
Void SetSunStop(DateTime sunStop) Examples
NSTicketPriorityEntity thing;
DateTime sunStop;
thing.SetSunStop(sunStop);
Parameters
| Type | Name | Description |
| DateTime | sunStop | The work hour stop for Sundays. Note that only the time part of the DateTime is used. |
Returns
| Type | Description |
| Void |
SetThuStart(DateTime)
Declaration
Void SetThuStart(DateTime thuStart) Examples
NSTicketPriorityEntity thing;
DateTime thuStart;
thing.SetThuStart(thuStart);
Parameters
| Type | Name | Description |
| DateTime | thuStart | The work hour start for Thursdays. Note that only the time part of the DateTime is used. |
Returns
| Type | Description |
| Void |
SetThuStop(DateTime)
Declaration
Void SetThuStop(DateTime thuStop) Examples
NSTicketPriorityEntity thing;
DateTime thuStop;
thing.SetThuStop(thuStop);
Parameters
| Type | Name | Description |
| DateTime | thuStop | The work hour stop for Thursdays. Note that only the time part of the DateTime is used. |
Returns
| Type | Description |
| Void |
SetTicketChangedPriority(Integer)
Declaration
Void SetTicketChangedPriority(Integer ticketChangedPriority) Examples
NSTicketPriorityEntity thing;
Integer ticketChangedPriority;
thing.SetTicketChangedPriority(ticketChangedPriority);
Parameters
| Type | Name | Description |
| Integer | ticketChangedPriority | Indicates 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>. |
Returns
| Type | Description |
| Void |
SetTicketClosed(Integer)
Declaration
Void SetTicketClosed(Integer ticketClosed) Examples
NSTicketPriorityEntity thing;
Integer ticketClosed;
thing.SetTicketClosed(ticketClosed);
Parameters
| Type | Name | Description |
| Integer | ticketClosed | 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>. |
Returns
| Type | Description |
| Void |
SetTicketNew(Integer)
Declaration
Void SetTicketNew(Integer ticketNew) Examples
NSTicketPriorityEntity thing;
Integer ticketNew;
thing.SetTicketNew(ticketNew);
Parameters
| Type | Name | Description |
| Integer | ticketNew | Indicates 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>. |
Returns
| Type | Description |
| Void |
SetTicketNewinfo(Integer)
Declaration
Void SetTicketNewinfo(Integer ticketNewinfo) Examples
NSTicketPriorityEntity thing;
Integer ticketNewinfo;
thing.SetTicketNewinfo(ticketNewinfo);
Parameters
| Type | Name | Description |
| Integer | ticketNewinfo | Indicates 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>. |
Returns
| Type | Description |
| Void |
SetTicketPriorityId(Integer)
Declaration
Void SetTicketPriorityId(Integer ticketPriorityId) Examples
NSTicketPriorityEntity thing;
Integer ticketPriorityId;
thing.SetTicketPriorityId(ticketPriorityId);
Parameters
| Type | Name | Description |
| Integer | ticketPriorityId | The primary key (auto-incremented). |
Returns
| Type | Description |
| Void |
SetTicketRead(Integer)
Declaration
Void SetTicketRead(Integer ticketRead) Examples
NSTicketPriorityEntity thing;
Integer ticketRead;
thing.SetTicketRead(ticketRead);
Parameters
| Type | Name | Description |
| Integer | ticketRead | 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>. |
Returns
| Type | Description |
| Void |
SetTueStart(DateTime)
Declaration
Void SetTueStart(DateTime tueStart) Examples
NSTicketPriorityEntity thing;
DateTime tueStart;
thing.SetTueStart(tueStart);
Parameters
| Type | Name | Description |
| DateTime | tueStart | The work hour start for Tuesdays. Note that only the time part of the DateTime is used. |
Returns
| Type | Description |
| Void |
SetTueStop(DateTime)
Declaration
Void SetTueStop(DateTime tueStop) Examples
NSTicketPriorityEntity thing;
DateTime tueStop;
thing.SetTueStop(tueStop);
Parameters
| Type | Name | Description |
| DateTime | tueStop | The work hour stop for Tuesdays. Note that only the time part of the DateTime is used. |
Returns
| Type | Description |
| Void |
SetWedStart(DateTime)
Declaration
Void SetWedStart(DateTime wedStart) Examples
NSTicketPriorityEntity thing;
DateTime wedStart;
thing.SetWedStart(wedStart);
Parameters
| Type | Name | Description |
| DateTime | wedStart | The work hour start for Wednesdays. Note that only the time part of the DateTime is used. |
Returns
| Type | Description |
| Void |
SetWedStop(DateTime)
Declaration
Void SetWedStop(DateTime wedStop) Examples
NSTicketPriorityEntity thing;
DateTime wedStop;
thing.SetWedStop(wedStop);
Parameters
| Type | Name | Description |
| DateTime | wedStop | The work hour stop for Wednesdays. Note that only the time part of the DateTime is used. |
Returns
| Type | Description |
| Void |