> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# NSProjectType

> Carrier object for ProjectType.

Carrier object for ProjectType.

## Constructors

### NSProjectType()

```crmscript theme={null}
NSProjectType
```

Initializes a new instance of the NSProjectType class.

## Methods

## GetId()

Gets the primary key (ID) for the NSProjectType.

```crmscript theme={null}
Integer GetId()
```

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - NSProjectType Id.

**Example:**

```crmscript theme={null}
NSProjectType thing;
Integer id = thing.GetId();
```

## GetTooltip()

Gets the tooltip description for the NSProjectType list item.

```crmscript theme={null}
String GetTooltip()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - NSProjectType tooltip description.

**Example:**

```crmscript theme={null}
NSProjectType thing;
String descr = thing.GetTooltip();
```

## GetValue()

Gets the name of the NSProjectType.

```crmscript theme={null}
String GetValue()
```

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - NSProjectType name.

**Example:**

```crmscript theme={null}
NSProjectType thing;
String name = thing.GetValue();
```

## SetId(Integer)

Sets the primary key (ID) for the NSProjectType

```crmscript theme={null}
Void SetId(Integer id)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSProjectType thing;
thing.SetId(123);
```

## SetTooltip(String)

Sets the tooltip description for the NSProjectType list item.

```crmscript theme={null}
Void SetTooltip(String tooltip)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSProjectType thing;
String descr = "something new";
thing.SetTooltip(descr);
```

## SetValue(String)

Sets the name of the NSProjectType item.

```crmscript theme={null}
Void SetValue(String value)
```

**Returns:** [CRMScript.Global.Void](CRMScript.Global.Void)

**Example:**

```crmscript theme={null}
NSProjectType thing;
thing.SetValue("frotz");
```


## Related topics

- [NSProjectEntity](/en/automation/crmscript/reference/CRMScript.NetServer.NSProjectEntity.md)
- [NSListAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSListAgent.md)
- [Samples](/en/automation/crmscript/howto/project/samples.md)
- [NSProjectTypeEntity](/en/automation/crmscript/reference/CRMScript.NetServer.NSProjectTypeEntity.md)
- [NSProjectTypeStatusLink](/en/automation/crmscript/reference/CRMScript.NetServer.NSProjectTypeStatusLink.md)
- [NSSuggestedAppointmentEntity](/en/automation/crmscript/reference/CRMScript.NetServer.NSSuggestedAppointmentEntity.md)
