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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

When the multithreading useful to used in D365FO

(0) ShareShare
ReportReport
Posted on by 710

Hi team,

I little bit know about multithreading. Please let me know, when it's exactly useful to used? How it's worked in real world. Is there any setup required?

Pls advise, thanks 

Categories:
I have the same question (0)
  • Suggested answer
    Navneeth Nagrajan Profile Picture
    2,659 Super User 2026 Season 2 on at

    Hi @CU10121822-0,

    Multi-threading means splitting a long-running or a batch task into parallel tasks (threads) so that multiple processes of a business process run simultaneously and reduce the total execution time. Instead of one large job handling the entire business process the system uses multiple smaller threads to process data in chunks. 

    Purpose:
    - Processing large volumes of data (Vendor payment journals, customer invoice journals, sales order invoicing, inventory closing etc.)
    - Parallel processing and performance critical operations.
    Advantages are you can define the number of threads/parallel tasks required to process the multi-threaded jobs too. Combine multi-threading with batch priority scheduling for month-end and year-end heavy workload tasks. 

    A classic example of this is the posting approved journals. Would recommend referring to this class LedgerJournalMultiPost

    Hope this helps. Happy to answer questions, if any.

  • CU10121822-0 Profile Picture
    710 on at

    Thanks Navneeth well explained…

    I like to do practically to understand well with custom batch job using multithreading 

    Could you please guide me from scratch with the class and setup if required. I mean where to define the number of threads and how will I executed this.

    For example - Suppose I have declared number of threads 5, then how will I executed this 5 threads in batch to executes simentaniously.

    Pls advise, thanks.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

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

#1
Martin Dráb Profile Picture

Martin Dráb 263 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 257 Super User 2026 Season 2

#3
Subra Profile Picture

Subra 235 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans