MGCEarmarkLicenseStateEntity
Read-only export of the cached entitlement answer, for estate monitoring - which environments are in grace or lapsed, and when each last reached the license service. Read the verdict together with the source: a cached answer with an older successful check is the last thing the service said, not a live answer. Nothing can be loaded through this entity, because an import that could declare a customer entitled is the one thing the product must not permit. And no refusal comes from this answer: a lapse produces a banner and a statement watermark. The block date comes from the licensing service's own timeline.
- Public collection name:
MGCEarmarkLicenseStates
- Primary key:
ProductCode
Fields
| Name | Type | Mandatory | Description |
|---|
ProductCode | MGCEarmarkNaturalKey | Yes | The product code this entitlement answer is about. Earmark's product code is fixed in the product and registered with the licensing module automatically at every application start; the license check records the answer for it here. |
Verdict | MGCEarmarkLicenseVerdict | No | |
Source | MGCEarmarkLicenseSource | No | |
GraceEndDate | TransDate | No | The date the grace period ends. It is the sentence the workspace banner is built from, which is why a grace verdict without one is refused. Nothing changes when the date passes except the words on the banner. |
LastCheckDateTime | TransDateTime | No | When the entitlement was last checked, whether or not the check succeeded. Read together with the last successful check, it is how the status page can say plainly that the answer beside it is old. |
LastSuccessfulCheckDateTime | TransDateTime | No | When a check last actually reached the license service. The verdict may only move on the back of one of these, which is what keeps a cached lapse from silently becoming entitled because the service was unavailable. |
Mappings
| Entity field | Data source | Field |
|---|
ProductCode | MGCEarmarkLicenseState | ProductCode |
Verdict | MGCEarmarkLicenseState | Verdict |
Source | MGCEarmarkLicenseState | Source |
GraceEndDate | MGCEarmarkLicenseState | GraceEndDate |
LastCheckDateTime | MGCEarmarkLicenseState | LastCheckDateTime |
LastSuccessfulCheckDateTime | MGCEarmarkLicenseState | LastSuccessfulCheckDateTime |