Codeunit 2300 "Tenant License State"
System Application · System.Environment
Across versions
- BC23-30present
Neighbourhood 9 connected objects and pages
System Application · System.Environment · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Public |
Procedures
GetPeriod(TenantLicenseState: Enum "Tenant License State"): Integer: Returns the default number of days that the tenant license can be in the current state, passed as a parameter.GetStartDate(): DateTime: Gets the start date for the current license state.GetEndDate(): DateTime: Gets the end date for the current license state.IsEvaluationMode(): Boolean: Checks whether the current license state is evaluation.IsTrialMode(): Boolean: Checks whether the current license state is trial.IsTrialSuspendedMode(): Boolean: Checks whether the trial license is suspended.IsTrialExtendedMode(): Boolean: Checks whether the trial license has been extended.IsTrialExtendedSuspendedMode(): Boolean: Checks whether the trial license has been extended and is currently suspended.IsPaidMode(): Boolean: Checks whether the current license state is paid.IsPaidWarningMode(): Boolean: Checks whether the paid license is in warning mode.IsPaidSuspendedMode(): Boolean: Checks whether the paid license is suspended.GetLicenseState(): Enum "Tenant License State": Gets the the current license state.ExtendTrialLicense(): Extends the trial license.
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 2301 “Tenant License State Impl.” (13 calls:
ExtendTrialLicense → ExtendTrialLicense,GetEndDate → GetEndDate,GetLicenseState → GetLicenseState, …)
Called by
- Codeunit 1430 “Role Center Notification Mgt.” (10 calls:
GetLicenseFullyUsedDays → GetStartDate,GetLicenseRemainingDays → GetEndDate,GetTrialTotalDays → GetPeriod, …) - Page 1828 “Extend Trial Wizard” (3 calls:
ExtendTrialAction → ExtendTrialLicense,ExtendTrialAction → GetEndDate,OnOpenPage → IsTrialMode) - Codeunit 9175 “User Settings Impl.” (2 calls:
UpdateCurrentUsersSettings → IsEvaluationMode,UpdateCurrentUsersSettings → IsTrialMode) - Codeunit 1518 “My Platform Notifications” (1 call:
InsertDefaultNotification → IsEvaluationMode) - Codeunit 1997 “Checklist Events” (1 call:
InitializeChecklistForEvaluationCompanies → IsPaidMode) - Codeunit 50 “SaaS Log In Management” (1 call:
ShouldShowTermsAndConditions → IsEvaluationMode) - Codeunit 7205 “CDS Int. Table. Subscriber” (1 call:
DeleteCouplingOnBeforeDeleteCompany → GetLicenseState) - Page 9192 “Company Creation Wizard” (1 call:
UpdateDataDescription → IsPaidMode)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Tenant License State"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.