Class NSSuggestedAppointment
Syntax
Constructors
NSSuggestedAppointment()
Initializes a new instance of the NSSuggestedAppointment class.
Introduced or updated in version: 7
Declaration
NSSuggestedAppointment
Methods
GetAssociate()
Introduced or updated in version: 7
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()
Introduced or updated in version: 7
Declaration
Integer GetAutoSuggest()
Returns
Type | Description |
---|---|
Integer | Should this appointment be auto-suggested. |
Examples
NSSuggestedAppointment thing;
Integer autoSuggest = thing.GetAutoSuggest();
GetDaysFuture()
Introduced or updated in version: 7
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()
Introduced or updated in version: 7
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()
Introduced or updated in version: 7
Declaration
Integer GetDuration()
Returns
Type | Description |
---|---|
Integer | Duration in minutes of suggested appointment. |
Examples
NSSuggestedAppointment thing;
Integer duration = thing.GetDuration();
GetName()
Introduced or updated in version: 7
Declaration
String GetName()
Returns
Type | Description |
---|---|
String | Item name, visible in Guide. |
Examples
NSSuggestedAppointment thing;
String name = thing.GetName();
GetProjectTypeStatusLinkId()
Introduced or updated in version: 7
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()
Introduced or updated in version: 7
Declaration
Integer GetRank()
Returns
Type | Description |
---|---|
Integer | Rank, controls rank of non-instantiated items in Guide. |
Examples
NSSuggestedAppointment thing;
Integer rank = thing.GetRank();
GetRegisteredAssociateId()
Introduced or updated in version: 7
Declaration
Integer GetRegisteredAssociateId()
Returns
Type | Description |
---|---|
Integer | Registered by whom. |
Examples
NSSuggestedAppointment thing;
Integer registeredAssociateId = thing.GetRegisteredAssociateId();
GetSaleTypeStageLinkId()
Introduced or updated in version: 7
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()
Introduced or updated in version: 7
Declaration
Integer GetSuggestedAppointmentId()
Returns
Type | Description |
---|---|
Integer | Primary key. |
Examples
NSSuggestedAppointment thing;
Integer suggestedAppointmentId = thing.GetSuggestedAppointmentId();
GetTaskId()
Introduced or updated in version: 7
Declaration
Integer GetTaskId()
Returns
Type | Description |
---|---|
Integer | Type of the suggested appointment. |
Examples
NSSuggestedAppointment thing;
Integer taskId = thing.GetTaskId();
GetText()
Introduced or updated in version: 7
Declaration
String GetText()
Returns
Type | Description |
---|---|
String | The suggested text of the new appointment. |
Examples
NSSuggestedAppointment thing;
String text = thing.GetText();
GetTooltip()
Introduced or updated in version: 7
Declaration
String GetTooltip()
Returns
Type | Description |
---|---|
String | Tooltip / description. |
Examples
NSSuggestedAppointment thing;
String tooltip = thing.GetTooltip();
SetAssociate(NSAssociate)
Introduced or updated in version: 7
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)
Introduced or updated in version: 7
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)
Introduced or updated in version: 7
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)
Introduced or updated in version: 7
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)
Introduced or updated in version: 7
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)
Introduced or updated in version: 7
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)
Introduced or updated in version: 7
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)
Introduced or updated in version: 7
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)
Introduced or updated in version: 7
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)
Introduced or updated in version: 7
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)
Introduced or updated in version: 7
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)
Introduced or updated in version: 7
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)
Introduced or updated in version: 7
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)
Introduced or updated in version: 7
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);