foreignkey Table (183)
•
Environment: onsite, online
Some tooltip text!
• 1 minute to read
• 1 minute to read
Foreign Key - enables storage of arbitrary extra key information for every table/row in SuperOffice. You may use this table to store your extra information instead of using the dictionary SDK to create your own tables.
Fields
| Name | Description | Type | Null |
|---|---|---|---|
| foreignkey_id | Primary key | PK | |
| foreigndevice_id | Reference to device definition | FK foreigndevice | |
| table_id | SuperOffice table reference | TableNumber | |
| record_id | Record in the referenced table | RecordId | |
| seqno | Sequence number, order of subkeys within one key | Id | |
| subkey | Subkey (optional) | String(239) | ● |
| subvalue | Key value | String(239) | ● |
| registered | Registered when | UtcDateTime | |
| registered_associate_id | Registered by whom | FK associate | |
| updated | Last updated when | UtcDateTime | |
| updated_associate_id | Last updated by whom | FK associate | |
| updatedCount | Number of updates made to this record | UShort |

Indexes
| Fields | Types | Description |
|---|---|---|
| foreignkey_id | PK | Clustered, Unique |
| foreigndevice_id | FK | Index |
| record_id | RecordId | Index |
| seqno | Id | Index |
| subkey | String(239) | Index |
| subvalue | String(239) | Index |
Relationships
| Table | Description |
|---|---|
| associate | Employees, resources and other users - except for External persons |
| foreigndevice | Middle level of Foreign Key system |
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.