Class NSSuggestedAppointment
Syntax
Constructors
NSSuggestedAppointment()
Initializes a new instance of the NSSuggestedAppointment class.
Declaration
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
Returns
Type |
Description |
Integer |
Should this appointment be auto-suggested.
|
Examples
NSSuggestedAppointment thing;
Integer autoSuggest = thing.GetAutoSuggest();
GetDaysFuture()
Declaration
Returns
Type |
Description |
Integer |
How many days into the future the appointment should be scheduled.
|
Examples
NSSuggestedAppointment thing;
Integer daysFuture = thing.GetDaysFuture();
GetDeleted()
Declaration
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
Returns
Type |
Description |
Integer |
Duration in minutes of suggested appointment.
|
Examples
NSSuggestedAppointment thing;
Integer duration = thing.GetDuration();
GetName()
Declaration
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.
|
Examples
NSSuggestedAppointment thing;
Integer projectTypeStatusLinkId = thing.GetProjectTypeStatusLinkId();
GetRank()
Declaration
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.
|
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
Returns
Type |
Description |
Integer |
Type of the suggested appointment.
|
Examples
NSSuggestedAppointment thing;
Integer taskId = thing.GetTaskId();
GetText()
Declaration
Returns
Type |
Description |
String |
The suggested text of the new appointment.
|
Examples
NSSuggestedAppointment thing;
String text = thing.GetText();
Declaration
Returns
Type |
Description |
String |
Tooltip / description.
|
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
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
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
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
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
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
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
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
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
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
Examples
NSSuggestedAppointment thing;
Integer saleTypeStageLinkId;
thing.SetSaleTypeStageLinkId(saleTypeStageLinkId);
SetSuggestedAppointmentId(Integer)
Declaration
Void SetSuggestedAppointmentId(Integer suggestedAppointmentId)
Parameters
Type |
Name |
Description |
Integer |
suggestedAppointmentId |
Primary key.
|
Returns
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
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
Examples
NSSuggestedAppointment thing;
String text;
thing.SetText(text);
Declaration
Void SetTooltip(String tooltip)
Parameters
Type |
Name |
Description |
String |
tooltip |
Tooltip / description.
|
Returns
NSSuggestedAppointment thing;
String tooltip;
thing.SetTooltip(tooltip);