# Table data editing

The **Table Data Editing** feature lets authorized users view and edit the data of any table directly, including G/L entries, customer and vendor ledger entries, VAT entries, item ledger entries and posted documents, which normally cannot be changed from standard pages.

It is a tool intended for targeted corrections by expert users: changes are written to the database immediately, without additional checks. Use it with care.


Only authorized users can use the feature.

1. Open the **User Setup** page.
2. On the user's line, turn on the **Allow Table Editing** field.

| Field | Description |
|---|---|
| Allow Table Editing | If on, the user can open the Table Data Editing feature. If the user is not in User Setup or the field is off, an error is shown when opening it. |


Search for **Table Data Editing** with the search function (Tell me what you want to do). The feature is listed among the administration tasks.


When opened, a window with the following options is shown.

| Field | Description |
|---|---|
| Table ID | Number of the table to edit. It can be chosen from the list of available tables. |
| Table Name | Name of the selected table, filled in automatically. |
| Filter | Filters to apply to the table records. Set it with the assist button (…), which opens the standard filter window. |
| Fields | Fields to show and edit. Choose them with the assist button (…), which opens the list of the table's fields; primary key fields are preselected. Up to 20 fields can be selected. |


1. Open **Table Data Editing**.
2. Enter the **Table ID**.
3. Optionally set a **Filter** to limit the records.
4. Select the **Fields** to display.
5. Confirm with **OK**. If the table or the fields are missing, an error is shown.
6. A list opens with the table records and one column per selected field, captioned with the original field name.
7. Edit the values directly in the lines:
   - **changing** a value updates the record in the table;
   - **adding a new line** inserts a new record into the table with the given values;
   - **deleting** a line deletes the record from the table.


- At most 1,000 records are shown. If the table (with the filter applied) contains more, a message asks you to refine the filter.
- Only normal fields (not calculated fields) appear in the list of selectable fields.
- Values are entered as text and converted to the type of the original field. Text, code, integer, decimal, date, time, date/time, option and yes/no fields are supported; for other types editing is not allowed and an error is shown.
- Changes are saved immediately, without running the checks performed by standard pages.