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

# LicenseAssocLink table

> Link between ModuleLicense and Associate, for per-assoc licenses; this is how licenses are assigned/consumed

## LicenseAssocLink Table (238)

Link between ModuleLicense and Associate, for per-assoc licenses; this is how licenses are assigned/consumed

## Fields

| Name                      | Description                                                                                                   | Type                                    | Nullable |
| ------------------------- | ------------------------------------------------------------------------------------------------------------- | --------------------------------------- | :------: |
| LicenseAssocLink\_id      | Primary key                                                                                                   | PK                                      |    No    |
| moduleLicenseId           | The license being linked                                                                                      | FK [ModuleLicense](./modulelicense.mdx) |    No    |
| assocId                   | The associate who occupies one instance of this license                                                       | FK [associate](./associate.mdx)         |    No    |
| validFrom                 | Reserved field: Valid from date                                                                               | DateTime                                |    No    |
| validTo                   | Reserved field: Valid to date                                                                                 | DateTime                                |    No    |
| licenseNumber             | Number of license items occupied by this associate - each module will have to decide on the semantics of this | UInt                                    |    No    |
| comment                   | Optional comment field                                                                                        | String(254)                             |    No    |
| encryptedCheck            | Encrypted checksum; tampering will block system usage                                                         | String(254)                             |    No    |
| 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/zNQa3AO19PFK63SB/media/loc/en/database/tables/LicenseAssocLink.png?fit=max&auto=format&n=zNQa3AO19PFK63SB&q=85&s=63c306a136f21a447b6122170cea0e87" alt="LicenseAssocLink table relationship diagram" width="758" height="59" data-path="media/loc/en/database/tables/LicenseAssocLink.png" />

## Indexes

| Fields                   | Types  | Description |
| ------------------------ | ------ | ----------- |
| moduleLicenseId, assocId | FK, FK | Unique      |

## Relationships

| Table                            | Description                                                        |
| -------------------------------- | ------------------------------------------------------------------ |
| [associate](./associate)         | Employees, resources and other users - except for External persons |
| [ModuleLicense](./modulelicense) | Module licenses, belonging to one single owner                     |

## Replication Flags

* Area Management controlled table. Contents replicated to satellites and traveller databases.
* Copy to satellite and travel prototypes.

## Security Flags

* Sentry controls access to items in this table using user's Role and data rights matrix on the table's parent.


## Related topics

- [LicenseSatlLink table](/en/database/tables/licensesatllink.md)
- [ModuleLicense table](/en/database/tables/modulelicense.md)
- [Module licenses](/en/admin/license/dev/module-licenses.md)
- [Protected tables](/en/api/bulk-operations/mass-operations/protected-tables.md)
- [associate table](/en/database/tables/associate.md)
- [AssociateHeadingLink table](/en/database/tables/associateheadinglink.md)
