Show / Hide Table of Contents

Class NSSuggestedAppointment

Syntax

Constructors

NSSuggestedAppointment()

Initializes a new instance of the NSSuggestedAppointment class.

Declaration
NSSuggestedAppointment

Methods

GetAssociate()

Declaration
NSAssociate GetAssociate()
Returns
Type Description
NSAssociate

The owner of the suggested activity. Always the same as the sales owner.

Examples
NSSuggestedAppointment thing;
NSAssociate associate = thing.GetAssociate();

GetAutoSuggest()

Declaration
Integer GetAutoSuggest()
Returns
Type Description
Integer

Should this appointment be auto-suggested.

Examples
NSSuggestedAppointment thing;
Integer autoSuggest = thing.GetAutoSuggest();

GetDaysFuture()

Declaration
Integer GetDaysFuture()
Returns
Type Description
Integer

How many days into the future the appointment should be scheduled.

Examples
NSSuggestedAppointment thing;
Integer daysFuture = thing.GetDaysFuture();

GetDeleted()

Declaration
Integer GetDeleted()
Returns
Type Description
Integer

0 -> record is active 1 -> record is 'deleted' and should not be shown in lists.

Examples
NSSuggestedAppointment thing;
Integer deleted = thing.GetDeleted();

GetDuration()

Declaration
Integer GetDuration()
Returns
Type Description
Integer

Duration in minutes of suggested appointment.

Examples
NSSuggestedAppointment thing;
Integer duration = thing.GetDuration();

GetName()

Declaration
String GetName()
Returns
Type Description
String

Item name, visible in Guide.

Examples
NSSuggestedAppointment thing;
String name = thing.GetName();

GetProjectTypeStatusLinkId()

Declaration
Integer GetProjectTypeStatusLinkId()
Returns
Type Description
Integer

Link to projectTypeStatusLink, the anchor for project guide items.

Remarks

Either this OR saleAnchorId should be set, not both at the same time.

Examples
NSSuggestedAppointment thing;
Integer projectTypeStatusLinkId = thing.GetProjectTypeStatusLinkId();

GetRank()

Declaration
Integer GetRank()
Returns
Type Description
Integer

Rank, controls rank of non-instantiated items in Guide.

Examples
NSSuggestedAppointment thing;
Integer rank = thing.GetRank();

GetRegisteredAssociateId()

Declaration
Integer GetRegisteredAssociateId()
Returns
Type Description
Integer

Registered by whom.

Examples
NSSuggestedAppointment thing;
Integer registeredAssociateId = thing.GetRegisteredAssociateId();

GetSaleTypeStageLinkId()

Declaration
Integer GetSaleTypeStageLinkId()
Returns
Type Description
Integer

Link to saleTypeStageLink, the anchor for sale guide items.

Remarks

Either this OR projectAnchorId should be set, not both at the same time.

Examples
NSSuggestedAppointment thing;
Integer saleTypeStageLinkId = thing.GetSaleTypeStageLinkId();

GetSuggestedAppointmentId()

Declaration
Integer GetSuggestedAppointmentId()
Returns
Type Description
Integer

Primary key.

Examples
NSSuggestedAppointment thing;
Integer suggestedAppointmentId = thing.GetSuggestedAppointmentId();

GetTaskId()

Declaration
Integer GetTaskId()
Returns
Type Description
Integer

Type of the suggested appointment.

Examples
NSSuggestedAppointment thing;
Integer taskId = thing.GetTaskId();

GetText()

Declaration
String GetText()
Returns
Type Description
String

The suggested text of the new appointment.

Examples
NSSuggestedAppointment thing;
String text = thing.GetText();

GetTooltip()

Declaration
String GetTooltip()
Returns
Type Description
String

Tooltip / description.

Examples
NSSuggestedAppointment thing;
String tooltip = thing.GetTooltip();

SetAssociate(NSAssociate)

Declaration
Void SetAssociate(NSAssociate associate)
Parameters
Type Name Description
NSAssociate associate

The owner of the suggested activity. Always the same as the sales owner.

Returns
Type Description
Void
Examples
NSSuggestedAppointment thing;
NSAssociate associate;
thing.SetAssociate(associate);

SetAutoSuggest(Integer)

Declaration
Void SetAutoSuggest(Integer autoSuggest)
Parameters
Type Name Description
Integer autoSuggest

Should this appointment be auto-suggested.

Returns
Type Description
Void
Examples
NSSuggestedAppointment thing;
Integer autoSuggest;
thing.SetAutoSuggest(autoSuggest);

SetDaysFuture(Integer)

Declaration
Void SetDaysFuture(Integer daysFuture)
Parameters
Type Name Description
Integer daysFuture

How many days into the future the appointment should be scheduled.

Returns
Type Description
Void
Examples
NSSuggestedAppointment thing;
Integer daysFuture;
thing.SetDaysFuture(daysFuture);

SetDeleted(Integer)

Declaration
Void SetDeleted(Integer deleted)
Parameters
Type Name Description
Integer deleted

0 -> record is active 1 -> record is 'deleted' and should not be shown in lists.

Returns
Type Description
Void
Examples
NSSuggestedAppointment thing;
Integer deleted;
thing.SetDeleted(deleted);

SetDuration(Integer)

Declaration
Void SetDuration(Integer duration)
Parameters
Type Name Description
Integer duration

Duration in minutes of suggested appointment.

Returns
Type Description
Void
Examples
NSSuggestedAppointment thing;
Integer duration;
thing.SetDuration(duration);

SetName(String)

Declaration
Void SetName(String name)
Parameters
Type Name Description
String name

Item name, visible in Guide.

Returns
Type Description
Void
Examples
NSSuggestedAppointment thing;
String name;
thing.SetName(name);

SetProjectTypeStatusLinkId(Integer)

Declaration
Void SetProjectTypeStatusLinkId(Integer projectTypeStatusLinkId)
Parameters
Type Name Description
Integer projectTypeStatusLinkId

Link to projectTypeStatusLink, the anchor for project guide items.

Returns
Type Description
Void
Remarks

Either this OR saleAnchorId should be set, not both at the same time.

Examples
NSSuggestedAppointment thing;
Integer projectTypeStatusLinkId;
thing.SetProjectTypeStatusLinkId(projectTypeStatusLinkId);

SetRank(Integer)

Declaration
Void SetRank(Integer rank)
Parameters
Type Name Description
Integer rank

Rank, controls rank of non-instantiated items in Guide.

Returns
Type Description
Void
Examples
NSSuggestedAppointment thing;
Integer rank;
thing.SetRank(rank);

SetRegisteredAssociateId(Integer)

Declaration
Void SetRegisteredAssociateId(Integer registeredAssociateId)
Parameters
Type Name Description
Integer registeredAssociateId

Registered by whom.

Returns
Type Description
Void
Examples
NSSuggestedAppointment thing;
Integer registeredAssociateId;
thing.SetRegisteredAssociateId(registeredAssociateId);

SetSaleTypeStageLinkId(Integer)

Declaration
Void SetSaleTypeStageLinkId(Integer saleTypeStageLinkId)
Parameters
Type Name Description
Integer saleTypeStageLinkId

Link to saleTypeStageLink, the anchor for sale guide items.

Returns
Type Description
Void
Remarks

Either this OR projectAnchorId should be set, not both at the same time.

Examples
NSSuggestedAppointment thing;
Integer saleTypeStageLinkId;
thing.SetSaleTypeStageLinkId(saleTypeStageLinkId);

SetSuggestedAppointmentId(Integer)

Declaration
Void SetSuggestedAppointmentId(Integer suggestedAppointmentId)
Parameters
Type Name Description
Integer suggestedAppointmentId

Primary key.

Returns
Type Description
Void
Examples
NSSuggestedAppointment thing;
Integer suggestedAppointmentId;
thing.SetSuggestedAppointmentId(suggestedAppointmentId);

SetTaskId(Integer)

Declaration
Void SetTaskId(Integer taskId)
Parameters
Type Name Description
Integer taskId

Type of the suggested appointment.

Returns
Type Description
Void
Examples
NSSuggestedAppointment thing;
Integer taskId;
thing.SetTaskId(taskId);

SetText(String)

Declaration
Void SetText(String text)
Parameters
Type Name Description
String text

The suggested text of the new appointment.

Returns
Type Description
Void
Examples
NSSuggestedAppointment thing;
String text;
thing.SetText(text);

SetTooltip(String)

Declaration
Void SetTooltip(String tooltip)
Parameters
Type Name Description
String tooltip

Tooltip / description.

Returns
Type Description
Void
Examples
NSSuggestedAppointment thing;
String tooltip;
thing.SetTooltip(tooltip);
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top