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

Invoice posting extremely slow since mid-November

(1) ShareShare
ReportReport
Posted on by 74
Hi all,
we are facing a severe performance issue with Sales invoice posting in our D365 Finance & SCM production environment and would appreciate any hints or similar experiences.
Scenario
  • Environment: D365 F&O, PROD, Application release 10.0.45, Platform release PU69 (7.0.7690.69)
  • Process: Sales invoice posting batch (Accounts receivable --> Batch Invoicing)
  • Until around 13 November 2025, we were able to post about 23,000 invoices in 6–8 hours in this environment.
Since ~13 November, performance has degraded drastically.
Symptoms
  • After the change in behavior, a run with:
    • 100 sales orders took ~13 minutes.
    • 1000 sales orders took ~66 minutes
      ~900 invoices/hour, far below what we had before.
  • We see a recurring pattern: after processing around 1000 invoices, performance drops further and some batch tasks go into Error.
  • It looks like BATCHAOS2 stops processing work or becomes ineffective at that point.
  • While the batch is running:
    • CPU on the AOS/BATCHAOS servers is relatively low.
    • But the “Memory Available (MBytes)” metric for BATCHAOS in LCS drops close to 0 MB at certain times → strong memory pressure.
  • To keep invoicing moving at all, we had to split the workload into multiple smaller batch jobs (max. 1000 orders each) and run them sequentially, but throughput is still very poor.
About the index
Around the time we noticed the problem, there was also a CREATE INDEX on a custom Table running in the database (auto-tuning / DTA style _dta_index_…).
This index creation has since completed and is no longer running or blocking, but the slow invoice posting remains, so we don’t see the index as the current root cause anymore.

Question to the community
Has anyone seen similar behavior in PROD, where:
  • Sales invoice posting becomes extremely slow,
  • BATCHAOS memory drops close to zero while CPU stays low,
  • and after ~1000 invoices tasks start failing / one BAOS instance seems to “stop working”?
Any pointers on:
  • Known issues / hotfixes related to Sales invoice posting, batch framework or memory leaks,
  • typical root causes in such scenarios (AOS topology, batch configuration, database/index problems),
  • or concrete checks we should run (specific traces, performance counters, SQL traces, etc.)
would be very helpful.
Thanks in advance for any insights!
Best regards,
Stefan


 
Categories:
I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    300,316 Super User 2025 Season 2 on at
    Invoice posting extremely slow since mid-November
    Hi Stefan,
     
    I have seen severe performance issues, but in this process only related to customizations. You mentioned that there is at least a custom table. Were there any changes to the environment around that date? E.g. new customizations deployed? 

    What are the customizations in this environment?

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…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

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

#1
Martin Dráb Profile Picture

Martin Dráb 667 Most Valuable Professional

#2
CU05031448-0 Profile Picture

CU05031448-0 584

#3
André Arnaud de Calavon Profile Picture

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

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans