Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Codeunit 2300 Tenant License State: useful functions to add. #215

Closed
demiliani opened this issue Aug 6, 2018 · 1 comment
Closed

Codeunit 2300 Tenant License State: useful functions to add. #215

demiliani opened this issue Aug 6, 2018 · 1 comment

Comments

@demiliani
Copy link

Actually this codeunit contains only a GetPeriod function (useful for checking if you're on a trial tenant or not), see here:
https://demiliani.com/2018/08/02/dynamics-365-business-central-how-to-check-in-your-extension-is-running-on-a-trial-tenant/

This function checks the Tenant License State table (2000000189) that contains details of your tenant license such as Start Date and End Date and the State of your license (that is an option field with the following values: Evaluation,Trial,Paid,Warning,Suspended,Deleted,,,,LockedOut ).

It could be useful to have in codeunit 2300 some functions to return the Start Date and the End Date of a tenant license and maybe directly the State, without querying the table.

@StanislawStempin StanislawStempin transferred this issue from microsoft/AL Nov 1, 2018
@ikoletic
Copy link

Added in latest BC releases.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants