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

# travelcurrent table

> Information about this database and its place in the hierarchy

## travelcurrent Table (32)

Information about this database and its place in the hierarchy

## Fields

| Name                      | Description                                                                                                                                | Type                                                        | Nullable |
| ------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------- | :------: |
| travelcurrent\_id         | Primary key                                                                                                                                | PK                                                          |    No    |
| systemlevel               | 10 = central, 9 = first child, 8 = second-generation child                                                                                 | UShort                                                      |    Yes   |
| current\_id               | Central=0, Departm.=H01000000-H7F000000, Travel=assoc\_id                                                                                  | FK [associate](./associate.mdx)                             |    Yes   |
| central\_id               | ID of parent database (from its current\_id)                                                                                               | FK [associate](./associate.mdx)                             |    Yes   |
| area\_id                  | Area ID this database represents                                                                                                           | Id                                                          |    Yes   |
| central\_generatedtime    | When was the central database generated                                                                                                    | DateTime                                                    |    Yes   |
| current\_generatedtime    | When was this database generated                                                                                                           | DateTime                                                    |    Yes   |
| last\_recordtime          | Timestamp of last traveltranslog record received from the parent of this database                                                          | DateTime                                                    |    Yes   |
| last\_recordnumber        | Traveltranslog record ID of last record this database has received from its parent                                                         | FK [traveltransactionlog](./traveltransactionlog.mdx)       |    Yes   |
| first\_recordnumber       | First traveltranslog record in parent that was transmitted to this database                                                                | FK [traveltransactionlog](./traveltransactionlog.mdx)       |    Yes   |
| last\_playbacktime        | Datetamp of when we last read a file from our parent                                                                                       | DateTime                                                    |    Yes   |
| last\_playbacknumber      | File number of last file read from our parent                                                                                              | Id                                                          |    Yes   |
| databasetype              | Default database type for prototypes made from this database, unless the Area record says something else                                   | UShort                                                      |    Yes   |
| dbTag                     | 128-bit database tag (in hex) of this database                                                                                             | String(39)                                                  |    No    |
| parentDbTag               | 128-bit database tag (in hex) of this database's parent database                                                                           | String(39)                                                  |    No    |
| centralDbTag              | 128-bit database tag (in hex) of the central database                                                                                      | String(39)                                                  |    No    |
| encryptedComm             | Use encrypted communication back to parent: 0 = no, 1 = serial no as key, 2 = target db tag as key (secure but lots of hassle for support) | Enum [TravelEncryptionOwn](./enums/travelencryptionown.mdx) |    Yes   |
| defaultMakeReturn         | Default value for the 'make return log' checkbox, based on last answer                                                                     | UShort                                                      |    Yes   |
| adminLogin                | Encrypted string containing user name & password of DB user who has create/delete user authority for this database                         | String(127)                                                 |    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/travelcurrent.png?fit=max&auto=format&n=8-OIGQQJR0VGDXy_&q=85&s=16a17e5c72f1591180dad3e133f370e2" alt="travelcurrent table relationship diagram" width="754" height="71" data-path="media/loc/en/database/tables/travelcurrent.png" />

## Indexes

| Fields | Types | Description |
| ------ | ----- | ----------- |

## Relationships

| Table                                          | Description                                                          |
| ---------------------------------------------- | -------------------------------------------------------------------- |
| [associate](./associate)                       | Employees, resources and other users - except for External persons   |
| [traveltransactionlog](./traveltransactionlog) | Log of all updates made to the database, that need to be replicated. |

## Replication Flags

* None

## Security Flags

* No access control via user's Role.


## Related topics

- [traveltransactionlog table](/en/database/tables/traveltransactionlog.md)
- [Protected tables](/en/api/bulk-operations/mass-operations/protected-tables.md)
- [BaseTZLocation table](/en/database/tables/basetzlocation.md)
- [Enum TravelEncryptionOwn](/en/automation/crmscript/reference/CRMScript.NetServer.TravelEncryptionOwn.md)
- [Enum values for TravelEncryptionOwn](/en/database/tables/enums/travelencryptionown.md)
- [User preferences](/en/admin/user-preferences/index.md)
