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

# screen_definition_action table

> An action to perform for a certain button in an screen

## screen\_definition\_action Table (371)

An action to perform for a certain button in an screen

## Fields

| Name               | Description                                                                                 | Type                                             | Nullable |
| ------------------ | ------------------------------------------------------------------------------------------- | ------------------------------------------------ | :------: |
| id                 | Primary key                                                                                 | PK                                               |    No    |
| screen\_definition | The screen-definition this element belongs to                                               | FK [screen\_definition](./screen-definition.mdx) |    Yes   |
| button             | The name of the button triggering this action                                               | String(255)                                      |    Yes   |
| ejscript           | Deprecated. The ejscript to execute if this is a form which is posted                       | FK [ejscript](./ejscript.mdx)                    |    Yes   |
| ejscript\_body     | The script to execute for this button/action                                                | Clob                                             |    Yes   |
| do\_check          | If set, then run check() before executing button (making sure values in form fields are ok) | Bool                                             |    Yes   |

<img src="https://mintcdn.com/superofficeas-bugfix-ty-screen-designer-paradox/G4reeQVP-LmhQATQ/media/loc/en/database/tables/screen_definition_action.png?fit=max&auto=format&n=G4reeQVP-LmhQATQ&q=85&s=3ca8f034eb81eef19893a58763ef7c87" alt="screen_definition_action table relationship diagram" width="795" height="59" data-path="media/loc/en/database/tables/screen_definition_action.png" />

## Indexes

| Fields             | Types | Description |
| ------------------ | ----- | ----------- |
| screen\_definition | FK    | Index       |
| ejscript           | FK    | Index       |

## Relationships

| Table                                     | Description           |
| ----------------------------------------- | --------------------- |
| [ejscript](./ejscript)                    | ejscript              |
| [screen\_definition](./screen-definition) | A configurable screen |

## Replication Flags

* None

## Security Flags

* No access control via user's Role.
