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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Customer Balance to Date - unapplied entries

(4) ShareShare
ReportReport
Posted on by 395
In the standard report Custopmer Balance To Date, there seems to be an issue when an invoice has unappliesd entries related to it as it shows it as closed when in reality it is not as at the date provided in the report. Example below; 
 
 
Customer ABC123 has a customer ledger entry dated 01/06/2022 with Document Type = Invoice for an amount of $1000. 
A payment dated 11/01/2023 has been allocated to this invoice. Users realised that this was a mistake so the payment was allocated from the invoice and reversed. 
A new payment dated 19/01/2023 was posted and allocated to the invoice. 
 
When running the Customer Balance To Date report as at 31/12/2022, the invoice is not showing and it is being considered as closed/fully paid off. This is not the case as the payment is dated 2023, so technically, the invoice was closed off in 2023 and still open in 2022. 
 
I checked the code behind the report and from my understanding it checks if there are any unapplied detailed customer ledger entries linked to the Initial Entry (i.e. the invoice) and if it finds such entries, the customer ledger entry is skipped from being printed out. How does this make sense? 
Below is reference to the code reviewed; 
 
 
 
 
 
In my case, the procedure CheckUnappliedEntryExists is returning true but then it is being reversed by the not when the function is called initially and exits. 
 
Could anyone shed some light on the above reported issue, please? 
 
Thanks in advance! 
 
I have the same question (0)
  • Ramesh Kumar Profile Picture
    7,529 Super User 2025 Season 2 on at
    It seems like a bug, but when reversing the transaction, I noticed the unapplied flag is still set to "Yes," which is something Business Central does. The exact reason is unclear, as the behavior can vary depending on different financial tables. That said, I would recommend checking further or raising a ticket with the Microsoft Business Central team for clarification.
     
    Thanks
    Ramesh
     
    If this helped you, please check the box Does this answer your question?
  • Suggested answer
    YUN ZHU Profile Picture
    95,739 Super User 2025 Season 2 on at
    Hi, you can try submitting it to AL issues or BC Yammer group
     
    Thanks.
    ZHU
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    20,612 Super User 2025 Season 2 on at

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,135

#2
YUN ZHU Profile Picture

YUN ZHU 733 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 612

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans