We are getting this error message:
"Customers cannot be deleted while dependent Customer balance statistics exist. Delete dependent Customer balance statistics and try again"
There are not transactions. Why am i getting this message?
Thanks
You didn't mention before that you imported the customers. Can you tell how this was done? Are you sure nobody else did try to create e.g. a journal line with this customer?
When does this table get populated? Is there a way to prevent it?
Also, I deleted the record from CredManCustBalanceStat. Now getting a different error message:
The Customer 'CUSTXXXXXX' is used in one or more transactions of the following types: Ledger and cannot be deleted
Also, credit management is not enabled. Why, then, is the CredManCustBalanceStat table getting populated when we import.
Hi,
This issue is already reported to the product team and please refer the below LCS link:
fix.lcs.dynamics.com/.../Details
Thanks,
Sheela
Hi brianmaric,
Can you please check is there any unposted transaction related to this customer? such as SO or Any Journal?
Hi Brianmaric,
You can check if there are records for this customer in the table CredManCustBalanceStat. This table is part of the new credit management features. If there is a record in this table, you will get the error you encountered.
No
Can you check in General section in action pane-> Statistics?
Is there any value added there?
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Andrés Arias as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Sohaib Cheema 745 User Group Leader
Martin Dráb 597 Most Valuable Professional
André Arnaud de Cal... 580 Super User 2025 Season 2