> ## Documentation Index
> Fetch the complete documentation index at: https://superofficeas-bugfix-ty-screen-designer-paradox.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# NSChangedDataItem

> Table name/record ID pair used to refer to records.

Table name/record ID pair used to refer to records.

## Constructors

### NSChangedDataItem()

```crmscript theme={null}
NSChangedDataItem
```

Initializes a new instance of the NSChangedDataItem class.

## Methods

## GetRecordId()

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

**Returns:** [CRMScript.Global.Integer](CRMScript.Global.Integer) - ID of record, should never be 0

**Example:**

```crmscript theme={null}
NSChangedDataItem thing;
Integer recordId = thing.GetRecordId();
```

## GetTablename()

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

**Returns:** [CRMScript.Global.String](CRMScript.Global.String) - Name of table, standardized to lowercase.

**Example:**

```crmscript theme={null}
NSChangedDataItem thing;
String tablename = thing.GetTablename();
```

## SetRecordId(Integer)

```crmscript theme={null}
Void SetRecordId(Integer recordId)
```

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

**Example:**

```crmscript theme={null}
NSChangedDataItem thing;
Integer recordId;
thing.SetRecordId(recordId);
```

## SetTablename(String)

```crmscript theme={null}
Void SetTablename(String tablename)
```

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

**Example:**

```crmscript theme={null}
NSChangedDataItem thing;
String tablename;
thing.SetTablename(tablename);
```
