Skip to main content

Notifications

Announcements

No record found.

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 557

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. 

  • atajjo Profile Picture
    atajjo 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;
        }

  • Martin Dráb Profile Picture
    Martin Dráb 230,445 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.

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!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans