Show / Hide Table of Contents

Class NSTicketSummaryItem

The ticket summary with heading, created date.

Syntax

Constructors

NSTicketSummaryItem()

Initializes a new instance of the NSTicketSummaryItem class.

Introduced or updated in version: 8.5R08

Declaration
NSTicketSummaryItem

Methods

GetRegistered()

Introduced or updated in version: 8.5R08

Declaration
DateTime GetRegistered()
Returns
Type Description
DateTime

When the ticket was created.

Examples
NSTicketSummaryItem thing;
DateTime registered = thing.GetRegistered();

GetTicketId()

Introduced or updated in version: 8.5R08

Declaration
Integer GetTicketId()
Returns
Type Description
Integer

The primary key (auto-incremented).

Examples
NSTicketSummaryItem thing;
Integer ticketId = thing.GetTicketId();

GetTicketStatus()

Introduced or updated in version: 8.5R08

Declaration
Integer GetTicketStatus()
Returns
Type Description
Integer

User-defined ticket status.

Examples
NSTicketSummaryItem thing;
Integer ticketStatus = thing.GetTicketStatus();

GetTitle()

Introduced or updated in version: 8.5R08

Declaration
String GetTitle()
Returns
Type Description
String

The title of the ticket.

Examples
NSTicketSummaryItem thing;
String title = thing.GetTitle();

SetRegistered(DateTime)

Introduced or updated in version: 8.5R08

Declaration
Void SetRegistered(DateTime registered)
Parameters
Type Name Description
DateTime registered

When the ticket was created.

Returns
Type Description
Void
Examples
NSTicketSummaryItem thing;
DateTime registered;
thing.SetRegistered(registered);

SetTicketId(Integer)

Introduced or updated in version: 8.5R08

Declaration
Void SetTicketId(Integer ticketId)
Parameters
Type Name Description
Integer ticketId

The primary key (auto-incremented).

Returns
Type Description
Void
Examples
NSTicketSummaryItem thing;
Integer ticketId;
thing.SetTicketId(ticketId);

SetTicketStatus(Integer)

Introduced or updated in version: 8.5R08

Declaration
Void SetTicketStatus(Integer ticketStatus)
Parameters
Type Name Description
Integer ticketStatus

User defined ticket status.

Returns
Type Description
Void
Examples
NSTicketSummaryItem thing;
Integer ticketStatus;
thing.SetTicketStatus(ticketStatus);

SetTitle(String)

Introduced or updated in version: 8.5R08

Declaration
Void SetTitle(String title)
Parameters
Type Name Description
String title

The title of the ticket.

Returns
Type Description
Void
Examples
NSTicketSummaryItem thing;
String title;
thing.SetTitle(title);
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top