Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

BC Automated Tests with Cronus License - date outside of allowed range error

Posted on by 13
Hello,
We have some automated tests set up for a PTE. We're running them on BC 22.4 in a container (called by AL-GO for GitHub to be precise).
Now that we have approached March, the tests started to fail because of violating the Cronus license permissions.
Error: Validation error for Field: Requested Delivery Date, Message = 'In the current company the date you've entered is outside the allowed interval (this is determined by the filter '??11*|??12*|??01*|??02*', which is defined by the license file). (Select Refresh to discard errors)'
 

Starting with BC22 the Cronus license should be super-powered and should be able to handle the full range of dates in the CI process.
 
I noticed that the tests that error out are the ones that call pages with UI (TestPage.OpenNew() method). Is that a limitation of the new Cronus license? I was hoping that in the automated tests process it would skip the check even though technically the UI is used in the background. Did anyone have similar experience?
Categories:
  • Community member Profile Picture
    Community member 13 on at
    BC Automated Tests with Cronus License - date outside of allowed range error
    An extra question, since this is not resolved, is there any other channel where this question could be verified? 
  • Community member Profile Picture
    Community member 13 on at
    BC Automated Tests with Cronus License - date outside of allowed range error
    No, the ranges are outside of this period, but in the CI process that should be allowed. I am afraid that the part about UI applies to automated tests UI as well, but I couldn't find a confirmation for it in Microsoft docs. If this license's date range is unlocked for automated tests, I believe it should unlock all scenarios. 

  • Suggested answer
    gdrenteria Profile Picture
    gdrenteria 12,167 Most Valuable Professional on at
    BC Automated Tests with Cronus License - date outside of allowed range error
    Hi
    Have you verified that the dates are these?
    Best regards
    Gerardo

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans