Class NSProjectTypeEntity
Carrier object for ProjectTypeEntity.
Constructors
NSProjectTypeEntity()
Initializes a new instance of the NSProjectTypeEntity class.
Declaration
NSProjectTypeEntity Methods
GetDeleted()
Declaration
Bool GetDeleted() Examples
NSProjectTypeEntity thing;
Bool deleted = thing.GetDeleted();
Returns
| Type | Description |
| Bool | 0 -> record is active 1 -> record is 'deleted' and should not be shown in lists. |
GetDurationUnit()
Declaration
Integer GetDurationUnit() Examples
NSProjectTypeEntity thing;
Integer durationUnit = thing.GetDurationUnit();
Returns
| Type | Description |
| Integer | Units for the duration. See <xref href="CRMScript.NetServer.DurationUnit" data-throw-if-not-resolved="false"></xref>. |
GetHasGuide()
Declaration
Bool GetHasGuide() Examples
NSProjectTypeEntity thing;
Bool hasGuide = thing.GetHasGuide();
Returns
| Type | Description |
| Bool | Does this project type have a guide attached. |
GetIsAutoAdvance()
Declaration
Bool GetIsAutoAdvance() Examples
NSProjectTypeEntity thing;
Bool isAutoAdvance = thing.GetIsAutoAdvance();
Returns
| Type | Description |
| Bool | Does the project status advance automatically, when the last guided activity in a status is completed? |
GetName()
Declaration
String GetName() Examples
NSProjectTypeEntity thing;
String name = thing.GetName();
Returns
| Type | Description |
| String | The list item. |
GetProjectDuration()
Declaration
Integer GetProjectDuration() Examples
NSProjectTypeEntity thing;
Integer projectDuration = thing.GetProjectDuration();
Returns
| Type | Description |
| Integer | Expected duration of project, in given units. |
GetProjTypeId()
Declaration
Integer GetProjTypeId() Examples
NSProjectTypeEntity thing;
Integer projTypeId = thing.GetProjTypeId();
Returns
| Type | Description |
| Integer | Primary key. |
GetRank()
Declaration
Integer GetRank() Examples
NSProjectTypeEntity thing;
Integer rank = thing.GetRank();
Returns
| Type | Description |
| Integer | Rank order. |
GetStages()
Declaration
NSSelectableMDOListItem[] GetStages() Examples
NSProjectTypeEntity thing;
NSSelectableMDOListItem[] stages = thing.GetStages();
Returns
| Type | Description |
| NSSelectableMDOListItem[] | Stages (project statuses), those associated with this ProjType are selected. |
GetTooltip()
Declaration
String GetTooltip() Examples
NSProjectTypeEntity thing;
String tooltip = thing.GetTooltip();
Returns
| Type | Description |
| String | Tooltip or other description. |
SetDeleted(Bool)
Declaration
Void SetDeleted(Bool deleted) Examples
NSProjectTypeEntity thing;
Bool deleted;
thing.SetDeleted(deleted);
Parameters
| Type | Name | Description |
| Bool | deleted | 0 -> record is active 1 -> record is 'deleted' and should not be shown in lists. |
Returns
| Type | Description |
| Void |
SetDurationUnit(Integer)
Declaration
Void SetDurationUnit(Integer durationUnit) Examples
NSProjectTypeEntity thing;
Integer durationUnit;
thing.SetDurationUnit(durationUnit);
Parameters
| Type | Name | Description |
| Integer | durationUnit | Units for the duration. See <xref href="CRMScript.NetServer.DurationUnit" data-throw-if-not-resolved="false"></xref>. |
Returns
| Type | Description |
| Void |
SetHasGuide(Bool)
Declaration
Void SetHasGuide(Bool hasGuide) Examples
NSProjectTypeEntity thing;
Bool hasGuide;
thing.SetHasGuide(hasGuide);
Parameters
| Type | Name | Description |
| Bool | hasGuide | Does this project type have a guide attached. |
Returns
| Type | Description |
| Void |
SetIsAutoAdvance(Bool)
Declaration
Void SetIsAutoAdvance(Bool isAutoAdvance) Examples
NSProjectTypeEntity thing;
Bool isAutoAdvance;
thing.SetIsAutoAdvance(isAutoAdvance);
Parameters
| Type | Name | Description |
| Bool | isAutoAdvance | Does the project status advance automatically, when the last guided activity in a status is completed? |
Returns
| Type | Description |
| Void |
SetName(String)
Declaration
Void SetName(String name) Examples
NSProjectTypeEntity thing;
String name;
thing.SetName(name);
Parameters
| Type | Name | Description |
| String | name | The list item. |
Returns
| Type | Description |
| Void |
SetProjectDuration(Integer)
Declaration
Void SetProjectDuration(Integer projectDuration) Examples
NSProjectTypeEntity thing;
Integer projectDuration;
thing.SetProjectDuration(projectDuration);
Parameters
| Type | Name | Description |
| Integer | projectDuration | Expected duration of project, in given units. |
Returns
| Type | Description |
| Void |
SetProjTypeId(Integer)
Declaration
Void SetProjTypeId(Integer projTypeId) Examples
NSProjectTypeEntity thing;
Integer projTypeId;
thing.SetProjTypeId(projTypeId);
Parameters
| Type | Name | Description |
| Integer | projTypeId | Primary key. |
Returns
| Type | Description |
| Void |
SetRank(Integer)
Declaration
Void SetRank(Integer rank) Examples
NSProjectTypeEntity thing;
Integer rank;
thing.SetRank(rank);
Parameters
| Type | Name | Description |
| Integer | rank | Rank order. |
Returns
| Type | Description |
| Void |
SetStages(NSSelectableMDOListItem[])
Declaration
Void SetStages(NSSelectableMDOListItem[] stages) Examples
NSProjectTypeEntity thing;
NSSelectableMDOListItem[] stages;
thing.SetStages(stages);
Parameters
| Type | Name | Description |
| NSSelectableMDOListItem[] | stages | Stages (project statuses), those associated with this ProjType are selected. |
Returns
| Type | Description |
| Void |