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

# temp_db_lock table

> Represents a temporary lock on a resource identified by table_id and key

## temp\_db\_lock Table (535)

Represents a temporary lock on a resource identified by table\_id and key

## Fields

| Name                      | Description                                                             | Type                            | Nullable |
| ------------------------- | ----------------------------------------------------------------------- | ------------------------------- | :------: |
| temp\_db\_lock\_id        | Primary key                                                             | PK                              |    No    |
| table\_number             | The table number (or domain) of the locked resource                     | TableNumber                     |    Yes   |
| key                       | The key/id of the locked resource                                       | RecordId                        |    Yes   |
| timeout\_at               | When this lock times out. Refreshing this while working is a good idea. | UtcDateTime                     |    Yes   |
| registered                | Registered when                                                         | UtcDateTime                     |    No    |
| registered\_associate\_id | Registered by whom                                                      | FK [associate](./associate.mdx) |    No    |
| updated                   | Last updated when                                                       | UtcDateTime                     |    No    |
| updated\_associate\_id    | Last updated by whom                                                    | FK [associate](./associate.mdx) |    No    |
| updatedCount              | Number of updates made to this record                                   | UShort                          |    No    |

<img src="https://mintcdn.com/superofficeas/8-OIGQQJR0VGDXy_/media/loc/en/database/tables/temp_db_lock.png?fit=max&auto=format&n=8-OIGQQJR0VGDXy_&q=85&s=a4dbdf2e36af2984950f2d6bb4a1a6c8" alt="temp_db_lock table relationship diagram" width="430" height="59" data-path="media/loc/en/database/tables/temp_db_lock.png" />

## Indexes

| Fields        | Types       | Description |
| ------------- | ----------- | ----------- |
| table\_number | TableNumber | Index       |
| key           | RecordId    | Index       |

## Relationships

| Table                    | Description                                                        |
| ------------------------ | ------------------------------------------------------------------ |
| [associate](./associate) | Employees, resources and other users - except for External persons |

## Replication Flags

* None

## Security Flags

* No access control via user's Role.


## Related topics

- [What's new in version 10.2.7.5452](/release-notes/database/changes-10.2.7.md)
- [What's new in version 10.2.8.655](/release-notes/database/changes-10.2.8.md)
- [What's new in version 10.2.9.778](/release-notes/database/changes-10.2.9.md)
- [What's new in version 10.2.10.1344](/release-notes/database/changes-10.2.10.md)
- [What's new in version 10.2.11.1228](/release-notes/database/changes-10.2.11.md)
- [What's new in version 10.3.1.759](/release-notes/database/changes-10.3.1.md)
