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

# Task table

> Task list table, activity types, like Phone, Meeting

## Task Table (67)

Task MDO list item table.
Task list table, activity types, like Phone, Meeting

## Fields

| Name                          | Description                                                                       | Type                                                      | Nullable |
| ----------------------------- | --------------------------------------------------------------------------------- | --------------------------------------------------------- | :------: |
| Task\_id                      | Primary key                                                                       | PK                                                        |    No    |
| name                          | The list item                                                                     | String(239)                                               |    No    |
| rank                          | Rank order                                                                        | UShort                                                    |    Yes   |
| tooltip                       | Tooltip or other description                                                      | String(254)                                               |    Yes   |
| deleted                       | 0 -> record is active 1 -> record is 'deleted' and should not be shown in lists   | UShort                                                    |    Yes   |
| record\_type                  | 1 = app, 2 = doc, 3 = email, 4 = fax, 5 = phone, 6 = todo - see EAppntRecordTypes | Enum [TaskType](./enums/tasktype.mdx)                     |    No    |
| direction                     | 1 = incoming, 2 = outgoing, see EAppntDirection                                   | Enum [TaskDirection](./enums/taskdirection.mdx)           |    Yes   |
| color\_index                  | JAP                                                                               | UShort                                                    |    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    |
| defaultAlldayEvent            | Default value for alldayEvent flag                                                | Enum [AllDayEvent](./enums/alldayevent.mdx)               |    Yes   |
| defaultFreeBusy               | Default value for Free/Busy indicator                                             | Enum [FreeBusy](./enums/freebusy.mdx)                     |    Yes   |
| defaultPublishType            | Should this field be published by default?                                        | Enum [PublishType](./enums/publishtype.mdx)               |    Yes   |
| intentId                      | Link to the intention of this kind of task (used by SAINT)                        | FK [Intent](./intent.mdx)                                 |    Yes   |
| default\_videomeeting\_status | Default video-meeting status for meetings created in SuperOffice CRM.             | Enum [VideoMeetingStatus](./enums/videomeetingstatus.mdx) |    No    |

<img src="https://mintcdn.com/superofficeas/i6M2qZmvMNH7UTeu/media/loc/en/database/tables/Task.png?fit=max&auto=format&n=i6M2qZmvMNH7UTeu&q=85&s=57df5f7fc37ac9831886d1f35735f24b" alt="Task table relationship diagram" width="952" height="798" data-path="media/loc/en/database/tables/Task.png" />

## Indexes

| Fields | Types       | Description |
| ------ | ----------- | ----------- |
| name   | String(239) | Unique      |

## Relationships

| Table                                          | Description                                                                                                                                                                 |
| ---------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [appointment](./appointment)                   | Tasks, appointments, followups, phone calls; and documents (document\_id != 0). An appointment always has a corresponding record in VisibleFor specifying who may see this. |
| [associate](./associate)                       | Employees, resources and other users - except for External persons                                                                                                          |
| [ExternalEvent](./externalevent)               | The definition of projects as events in Audience (or other Collaborative apps)                                                                                              |
| [Intent](./intent)                             | Intent list for SAINT. More information regarding SuperOffice Sales Intelligence on [http://techdoc.superoffice.com](http://techdoc.superoffice.com)                        |
| [s\_link](./s-link)                            | Links in messages to measure success rate of a campaign.                                                                                                                    |
| [StatusDef](./statusdef)                       | Status definitions. Name and description are in LocaleText for internationalization                                                                                         |
| [SuggestedAppointment](./suggestedappointment) | Defines a suggested appointment for use in a Sale Guide or Project Guide                                                                                                    |
| [TaskGroupLink](./taskgrouplink)               | User group link table for Task, for MDO item hiding                                                                                                                         |
| [TaskHeadingLink](./taskheadinglink)           | Heading link table for Task, for MDO headers                                                                                                                                |

## Replication Flags

* Replicate changes DOWN from central to satellites and travellers.
* Replicate changes UP from satellites and travellers back to central.
* Copy to satellite and travel prototypes.

## Security Flags

* No access control via user's Role.


## Related topics

- [task](/en/api/mdo-providers/reference/task.md)
- [scheduled_task table](/en/database/tables/scheduled-task.md)
- [BatchTask table](/en/database/tables/batchtask.md)
- [TaskMenu table](/en/database/tables/taskmenu.md)
- [TaskHeadingLink table](/en/database/tables/taskheadinglink.md)
- [TaskGroupLink table](/en/database/tables/taskgrouplink.md)
