Skip to main content
Describes the meta data for a ticket category, and provides special operations on it.

Constructors

NSTicketCategoryEntity()

Initializes a new instance of the NSTicketCategoryEntity class.

Methods

GetAssignmentLag()

Returns: CRMScript.Global.Integer - Number of minutes we shall override the assignment if a customer sends consecutive messages to this category. Example:

GetCategoryMaster()

Returns: CRMScript.Global.Integer - The user associated with this category. Example:

GetClosingStatus()

Returns: CRMScript.Global.Integer - Should new requests have the ‘close request’ in this category checked as default, or should the users preferences be selected? See <xref href=“CRMScript.NetServer.TicketCategoryClosingStatus” data-throw-if-not-resolved=“false”></xref> Example:

GetCustomFields()

Gets the user-defined + extra fields on an NSTicketCategoryEntity as a map.
Returns: CRMScript.Native.Map Example:

GetDelegateMethod()

Returns: CRMScript.Global.Integer - An integer indicating the delegation method for this category. See <xref href=“CRMScript.NetServer.TicketCategoryDelegateMethod” data-throw-if-not-resolved=“false”></xref>. Example:

GetExternalName()

Returns: CRMScript.Global.String - The external name for this category, used for the customer frontend. Example:

GetExtraFields()

Gets the extra fields on NSTicketCategoryEntity as a map.
Returns: CRMScript.Native.Map - Map containing extra field values by field name. Example:

GetFlags()

Returns: CRMScript.Global.Integer - A bitmask representing flags for this category. See <xref href=“CRMScript.NetServer.TicketCategoryFlags” data-throw-if-not-resolved=“false”></xref>. Example:

GetFullname()

Returns: CRMScript.Global.String - The fullname (compiled from parents’ names) for this category. E.g. ‘norway/product A/support’. Example:

GetMsgClosingStatus()

Returns: CRMScript.Global.Integer - Should new messages have the ‘close request’ in this category checked as default, or should the users preferences be selected? See <xref href=“CRMScript.NetServer.TicketCategoryClosingStatus” data-throw-if-not-resolved=“false”></xref>. Example:

GetName()

Returns: CRMScript.Global.String - The (short) name of this category. E.g. ‘support’. Example:

GetNotificationEmail()

Returns: CRMScript.Global.String - Comma-separated list of addresses to notify when requests are re-delegated to (unassigned) in this category. Example:

GetParentId()

Returns: CRMScript.Global.Integer - The parent category for this category. -1 if this is a top-level category. Example:

GetReplyTemplate()

Returns: CRMScript.Global.Integer - Reply template to merge with messages posted in this category. Example:

GetTicketCategoryId()

Returns: CRMScript.Global.Integer - The ID of the ticket category. (primary key). Example:

SetAssignmentLag(Integer)

Returns: CRMScript.Global.Void Example:

SetCategoryMaster(Integer)

Returns: CRMScript.Global.Void Example:

SetClosingStatus(Integer)

Returns: CRMScript.Global.Void Example:

SetCustomFields(Map)

Sets the user-defined and extra fields on an NSTicketCategoryEntity with a map.
Returns: CRMScript.Global.Void Example:

SetDelegateMethod(Integer)

Returns: CRMScript.Global.Void Example:

SetExternalName(String)

Returns: CRMScript.Global.Void Example:

SetExtraFields(Map)

Sets the extra field values on NSTicketCategoryEntity with a map.
Returns: CRMScript.Global.Void Example:

SetFlags(Integer)

Returns: CRMScript.Global.Void Example:

SetFullname(String)

Returns: CRMScript.Global.Void Example:

SetMsgClosingStatus(Integer)

Returns: CRMScript.Global.Void Example:

SetName(String)

Returns: CRMScript.Global.Void Example:

SetNotificationEmail(String)

Returns: CRMScript.Global.Void Example:

SetParentId(Integer)

Returns: CRMScript.Global.Void Example:

SetReplyTemplate(Integer)

Returns: CRMScript.Global.Void Example:

SetTicketCategoryId(Integer)

Returns: CRMScript.Global.Void Example: