> ## 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.

# NSProjectStatus

> Carrier object for ProjectStatus.

Carrier object for ProjectStatus.

## Constructors

### NSProjectStatus()

```crmscript theme={null}
NSProjectStatus
```

Initializes a new instance of the NSProjectStatus class.

## Methods

## GetId()

Gets the primary key (ID) for the NSProjectStatus.

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

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

**Example:**

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

## GetTooltip()

Gets the tooltip description for the NSProjectStatus list item.

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

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

**Example:**

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

## GetValue()

Gets the name of the NSProjectStatus.

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

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

**Example:**

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

## SetId(Integer)

Sets the primary key (ID) for the NSProjectStatus

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

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

**Example:**

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

## SetTooltip(String)

Sets the tooltip description for the NSProjectStatus list item.

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

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

**Example:**

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

## SetValue(String)

Sets the name of the NSProjectStatus item.

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

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

**Example:**

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


## Related topics

- [Update project](/en/automation/crmscript/howto/project/update.md)
- [NSListAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSListAgent.md)
- [NSProjectEntity](/en/automation/crmscript/reference/CRMScript.NetServer.NSProjectEntity.md)
- [Project status](/en/project/admin/project-status.md)
- [Delete Project Status](/en/api/reference/restful/agent/list_agent/delete-project-status.md)
