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 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; }
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.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,113 Super User 2024 Season 2
Martin Dráb 229,918 Most Valuable Professional
nmaenpaa 101,156