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

# NSBusiness

> Carrier object for Business.

Carrier object for Business.

## Constructors

### NSBusiness()

```crmscript theme={null}
NSBusiness
```

Initializes a new instance of the NSBusiness class.

## Methods

## GetId()

Gets the primary key (ID) for the NSBusiness

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

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

**Example:**

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

## GetTooltip()

Gets the tooltip description for the NSBusiness list item.

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

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

**Example:**

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

## GetValue()

Gets the name of the NSBusiness.

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

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

**Example:**

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

## SetId(Integer)

Sets the primary key (ID) for the NSBusiness

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

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

**Example:**

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

## SetTooltip(String)

Sets the tooltip description for the NSBusiness list item.

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

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

**Example:**

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

## SetValue(String)

Sets the name of the NSBusiness item.

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

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

**Example:**

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


## Related topics

- [NSListAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSListAgent.md)
- [NSPersonEntity](/en/automation/crmscript/reference/CRMScript.NetServer.NSPersonEntity.md)
- [NSContactEntity](/en/automation/crmscript/reference/CRMScript.NetServer.NSContactEntity.md)
- [Namespace CRMScript.NetServer](/en/automation/crmscript/reference/CRMScript.NetServer.md)
- [business](/en/api/mdo-providers/reference/business.md)
- [Business table](/en/database/tables/business.md)
