external_document Table (401)
•
Environment: onsite, online
Some tooltip text!
• 2 minutes to read
• 2 minutes to read
This table stores documents which can be viewed externaly, through the customer module
Fields
| Name | Description | Type | Null |
|---|---|---|---|
| id | Primary key | PK | |
| hierarchy_id | This document belongs to the following folder | FK hierarchy | |
| attachment_id | The attachment.id for the attachment associated with this external document. | FK attachment | |
| title | The title for the document | String(255) | |
| description | The description of the external document | Clob | ● |
| created_at | When the document was created | DateTime | ● |
| created_by | Who created the document | FK ejuser | |
| last_changed | When the document last was changed | DateTime | ● |
| changed_by | Who last changed the document | FK ejuser | ● |
| deleted | A boolean telling if the external document is to be treated as deleted | Bool | |
| s_message | Relation to s_message if this document is an image in a newsletter | FK s_message | ● |

Indexes
| Fields | Types | Description |
|---|---|---|
| id | PK | Clustered, Unique |
| hierarchy_id | FK | Index |
| attachment_id | FK | Index |
| title | String(255) | Index |
| created_by | FK | Index |
| changed_by | FK | Index |
| s_message | FK | Index |
Relationships
| Table | Description |
|---|---|
| attachment | This table contains metadata for attachments. The actual attachments are stored directly on disk, with filenames based on the the primary key for this table. |
| ejuser | This table contains entries for the users of the system. |
| hierarchy | This table contains folders used to group the extra tables in the system. |
| s_message | A message used in a shipment. Can be html and/or plain text |
Replication Flags
- None
Security Flags
- No access control via user's Role.