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

# 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-bugfix-ty-screen-designer-paradox/G4reeQVP-LmhQATQ/media/loc/en/database/tables/temp_db_lock.png?fit=max&auto=format&n=G4reeQVP-LmhQATQ&q=85&s=42d535997a165a0f5a1cdd01519e568e" 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.
