web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

This report can't be run for a time period of more than 31 days.

(1) ShareShare
ReportReport
Posted on by 565

We have an issue that our ledger main account statements don't show opening balance for asset accounts. We have an account for employee advances, so we need the opening balance to calculate the loan left for the employee. To make matters worse, the ledger account statements can now only be drawn for a period of 31 days. It is confusing decision from Microsoft. 

Any advice on how to draw the report for a full year and have the proper opening balance show in the report. For the record, "Include opening balance" option is selected to no avail. 

Appreciate if someone can give us a solution. 

I have the same question (0)
  • Martin Dráb Profile Picture
    237,681 Most Valuable Professional on at
    RE: This report can't be run for a time period of more than 31 days.

    This topic was already discussed in the DUG forum and in the Insider Program Yammer forum.

    Not that there is much to help, though. What I noticed is that the validation is controlled by LedgerDimensionStatementReportPeriodLimitFlight.

  • atajjo Profile Picture
    509 on at
    RE: This report can't be run for a time period of more than 31 days.

    I faced the same issue in another report. The solution was to write an extension in the data contract class that changes the "to date" before validation and then changes it back to the original value once the validation ended.

    // bypass 1 month limit on report
        public boolean validate()
        {
            TransDate toDateOrig = this.toDate;
            this.toDate = this.fromDate;
    
            var ret = next validate(); 
    
            this.toDate = toDateOrig;
    
            return ret;
        }

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 683 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 563 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 398 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans