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

(1) ShareShare
ReportReport
Posted on by
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?
  • 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? 
  • 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 13,556 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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,965 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,817 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans