Class ProjectTypeEntity
Carrier object for ProjectTypeEntity. Services for the ProjectTypeEntity Carrier is available from the List Agent.
Namespace: SuperOffice.CRM.Services
Assembly: SuperOffice.Services.dll
Syntax
[DataContract(Namespace = "http://www.superoffice.net/ws/crm/NetServer/11.7.0.0")]
public class ProjectTypeEntity : Carrier
Examples
Get ProjectTypeEntity 123 using the agent:
using SuperOffice;
using SuperOffice.CRM.Services;
using (SoSession mySession = SoSession.Authenticate("user", "pass"))
{
var agent = new ListAgent();
var projectTypeEntity = agent.GetProjectTypeEntity( 123 );
}
Constructors
ProjectTypeEntity()
Default constructor
Declaration
public ProjectTypeEntity()
See Also
Properties
Deleted
0 -> record is active 1 -> record is 'deleted' and should not be shown in lists
Declaration
[DataMember]
public virtual bool Deleted { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
DurationUnit
Units for the duration
Declaration
[DataMember]
public virtual DurationUnit DurationUnit { get; set; }
Property Value
| Type | Description |
|---|---|
| DurationUnit |
See Also
HasGuide
Does this project type have a guide attached
Declaration
[DataMember]
public virtual bool HasGuide { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
IsAutoAdvance
Does the project status advance automatically, when the last guided activity in a status is completed?
Declaration
[DataMember]
public virtual bool IsAutoAdvance { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
See Also
Name
The list item
Declaration
[DataMember]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
ProjTypeId
Primary key
Declaration
[DataMember]
public virtual int ProjTypeId { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
ProjectDuration
Expected duration of project, in given units
Declaration
[DataMember]
public virtual int ProjectDuration { get; set; }
Property Value
| Type | Description |
|---|---|
| int |
See Also
Rank
Rank order
Declaration
[DataMember]
public virtual short Rank { get; set; }
Property Value
| Type | Description |
|---|---|
| short |
See Also
Stages
Stages (project statuses), those associated with this ProjType are selected.
Declaration
[DataMember]
public virtual SelectableMDOListItem[] Stages { get; set; }
Property Value
| Type | Description |
|---|---|
| SelectableMDOListItem[] |
See Also
Tooltip
Tooltip or other description
Declaration
[DataMember]
public virtual string Tooltip { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
See Also
Methods
ToString()
Returns the carrier contents as a formatted string.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | The carrier contents. |
See Also
ToString(string)
Returns the carrier contents as a formatted string, useful for debugging. Each line in the output is prefixed with the input value.
Declaration
public string ToString(string prefix)
Parameters
| Type | Name | Description |
|---|---|---|
| string | prefix | The line prefix (typically used for indenting) |
Returns
| Type | Description |
|---|---|
| string | The carrier contents. |