Class NSSuggestedAppointmentEntity
Syntax
Constructors
NSSuggestedAppointmentEntity()
Initializes a new instance of the NSSuggestedAppointmentEntity class.
Declaration
NSSuggestedAppointmentEntity
Methods
GetAssignToMember()
Declaration
Returns
Type |
Description |
Bool |
Should this appointment be assigned to project member.
|
Examples
NSSuggestedAppointmentEntity thing;
Bool assignToMember = thing.GetAssignToMember();
GetAutoSuggest()
Declaration
Returns
Type |
Description |
Bool |
Should this appointment be auto-suggested.
|
Examples
NSSuggestedAppointmentEntity thing;
Bool autoSuggest = thing.GetAutoSuggest();
GetDaysFuture()
Declaration
Returns
Type |
Description |
Integer |
How many days into the future the appointment should be scheduled.
|
Examples
NSSuggestedAppointmentEntity thing;
Integer daysFuture = thing.GetDaysFuture();
GetDeleted()
Declaration
Returns
Type |
Description |
Bool |
0 -> record is active 1 -> record is 'deleted' and should not be shown in lists.
|
Examples
NSSuggestedAppointmentEntity thing;
Bool deleted = thing.GetDeleted();
GetDuration()
Declaration
Returns
Type |
Description |
TimeSpan |
Duration in minutes of suggested appointment.
|
Examples
NSSuggestedAppointmentEntity thing;
TimeSpan duration = thing.GetDuration();
GetIsMilestone()
Declaration
Returns
Type |
Description |
Bool |
Is this a milestone activity.
|
Examples
NSSuggestedAppointmentEntity thing;
Bool isMilestone = thing.GetIsMilestone();
GetName()
Declaration
Returns
Type |
Description |
String |
Item name, visible in Guide.
|
Examples
NSSuggestedAppointmentEntity thing;
String name = thing.GetName();
GetProjectTypeStatusLink()
Declaration
NSProjectTypeStatusLink GetProjectTypeStatusLink()
Returns
Examples
NSSuggestedAppointmentEntity thing;
NSProjectTypeStatusLink projectTypeStatusLink = thing.GetProjectTypeStatusLink();
GetRank()
Declaration
Returns
Type |
Description |
Integer |
Rank, controls rank of non-instantiated items in Guide.
|
Examples
NSSuggestedAppointmentEntity thing;
Integer rank = thing.GetRank();
GetSaleTypeStageLink()
Declaration
NSSaleTypeStageLink GetSaleTypeStageLink()
Returns
Examples
NSSuggestedAppointmentEntity thing;
NSSaleTypeStageLink saleTypeStageLink = thing.GetSaleTypeStageLink();
GetSuggestedAppointmentId()
Declaration
Integer GetSuggestedAppointmentId()
Returns
Type |
Description |
Integer |
Primary key.
|
Examples
NSSuggestedAppointmentEntity thing;
Integer suggestedAppointmentId = thing.GetSuggestedAppointmentId();
GetText()
Declaration
Returns
Type |
Description |
String |
The suggested text of the new appointment.
|
Examples
NSSuggestedAppointmentEntity thing;
String text = thing.GetText();
Declaration
Returns
Type |
Description |
String |
Tooltip / description.
|
NSSuggestedAppointmentEntity thing;
String tooltip = thing.GetTooltip();
GetType()
Declaration
Returns
Type |
Description |
NSTask |
Type of the suggested appointment.
|
Examples
NSSuggestedAppointmentEntity thing;
NSTask type = thing.GetType();
SetAssignToMember(Bool)
Declaration
Void SetAssignToMember(Bool assignToMember)
Parameters
Type |
Name |
Description |
Bool |
assignToMember |
Should this appointment be assigned to project member.
|
Returns
Examples
NSSuggestedAppointmentEntity thing;
Bool assignToMember;
thing.SetAssignToMember(assignToMember);
SetAutoSuggest(Bool)
Declaration
Void SetAutoSuggest(Bool autoSuggest)
Parameters
Type |
Name |
Description |
Bool |
autoSuggest |
Should this appointment be auto-suggested.
|
Returns
Examples
NSSuggestedAppointmentEntity thing;
Bool 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
NSSuggestedAppointmentEntity thing;
Integer daysFuture;
thing.SetDaysFuture(daysFuture);
SetDeleted(Bool)
Declaration
Void SetDeleted(Bool deleted)
Parameters
Type |
Name |
Description |
Bool |
deleted |
0 -> record is active 1 -> record is 'deleted' and should not be shown in lists.
|
Returns
Examples
NSSuggestedAppointmentEntity thing;
Bool deleted;
thing.SetDeleted(deleted);
SetDuration(TimeSpan)
Declaration
Void SetDuration(TimeSpan duration)
Parameters
Type |
Name |
Description |
TimeSpan |
duration |
Duration in minutes of suggested appointment.
|
Returns
Examples
NSSuggestedAppointmentEntity thing;
TimeSpan duration;
thing.SetDuration(duration);
SetIsMilestone(Bool)
Declaration
Void SetIsMilestone(Bool isMilestone)
Parameters
Type |
Name |
Description |
Bool |
isMilestone |
Is this a milestone activity.
|
Returns
Examples
NSSuggestedAppointmentEntity thing;
Bool isMilestone;
thing.SetIsMilestone(isMilestone);
SetName(String)
Declaration
Void SetName(String name)
Parameters
Type |
Name |
Description |
String |
name |
Item name, visible in Guide.
|
Returns
Examples
NSSuggestedAppointmentEntity thing;
String name;
thing.SetName(name);
SetProjectTypeStatusLink(NSProjectTypeStatusLink)
Declaration
Void SetProjectTypeStatusLink(NSProjectTypeStatusLink projectTypeStatusLink)
Parameters
Returns
Examples
NSSuggestedAppointmentEntity thing;
NSProjectTypeStatusLink projectTypeStatusLink;
thing.SetProjectTypeStatusLink(projectTypeStatusLink);
SetRank(Integer)
Declaration
Void SetRank(Integer rank)
Parameters
Type |
Name |
Description |
Integer |
rank |
Rank, controls rank of non-instantiated items in Guide.
|
Returns
Examples
NSSuggestedAppointmentEntity thing;
Integer rank;
thing.SetRank(rank);
SetSaleTypeStageLink(NSSaleTypeStageLink)
Declaration
Void SetSaleTypeStageLink(NSSaleTypeStageLink saleTypeStageLink)
Parameters
Returns
Examples
NSSuggestedAppointmentEntity thing;
NSSaleTypeStageLink saleTypeStageLink;
thing.SetSaleTypeStageLink(saleTypeStageLink);
SetSuggestedAppointmentId(Integer)
Declaration
Void SetSuggestedAppointmentId(Integer suggestedAppointmentId)
Parameters
Type |
Name |
Description |
Integer |
suggestedAppointmentId |
Primary key.
|
Returns
Examples
NSSuggestedAppointmentEntity thing;
Integer suggestedAppointmentId;
thing.SetSuggestedAppointmentId(suggestedAppointmentId);
SetText(String)
Declaration
Void SetText(String text)
Parameters
Type |
Name |
Description |
String |
text |
The suggested text of the new appointment.
|
Returns
Examples
NSSuggestedAppointmentEntity thing;
String text;
thing.SetText(text);
Declaration
Void SetTooltip(String tooltip)
Parameters
Type |
Name |
Description |
String |
tooltip |
Tooltip / description.
|
Returns
NSSuggestedAppointmentEntity thing;
String tooltip;
thing.SetTooltip(tooltip);
SetType(NSTask)
Declaration
Void SetType(NSTask type)
Parameters
Type |
Name |
Description |
NSTask |
type |
Type of the suggested appointment.
|
Returns
Examples
NSSuggestedAppointmentEntity thing;
NSTask type;
thing.SetType(type);