Loading...

Multithreaded Execution Of The Calculate Sales Totals Batch Job in Dynamics 365 Finance and Operations

Multithreaded Execution Of The Calculate Sales Totals Batch Job in Dynamics 365 Finance and Operations

In this blog post, we will learn about a new feature released in D365 Finance and Operations Platform updates 10.0.29 i.e., Multithread capability in the "Calculate sales totals" batch.

image.png

Navigation path

Modules -> Sales and marketing -> Periodic tasks -> Calculate sales totals

Background

The business functionality of this batch job was introduced about 3 to 4 years ago in Dynamics 365 FO mainly to bridge the gap in data synchronization between Dynamics 365 Sales & Dynamics 365 Finance and Operations.

In the scenario of Dynamics 365 Cross-apps when Dual-write is installed and all sales orders are created and updated in Dynamics 365 FO and then changes are reflected in Dynamics 365 Customer Engagement app when Calculate Sales Totals is executed in Dynamics 365 FO (Not before).

Basically, the main purpose of this batch job is the calculation and synchronization of monetary value.

Why Multi-thread approach required?

In the real-life business world, the sales department often demands accurate sales order totals displayed, besides the sales order grid.

image.png Originally this batch job was designed to manage the performance issues by having two dedicated tables such as SalesOrderTotals and SalesOrderLineTotals. However, the average throughput of the total amount to be updated which includes invoiced and backorder lines was not great and impacted business users' downstream processes.

This feature helps improve system performance by enabling the system to use parallel processing when calculating sales totals in batches.

How does it work?

The feature adds a new "Number of threads" field to the "Calculate sales totals" dialog. If you choose to run the calculation in batch, you'll also be able to use this field to set the maximum number of threads. A value of zero or one uses a single thread, while values higher than 1 enable multithreading.

Note: This batch job does not change in Dynamics 365 FO Sales order header and Sales order line. The tables i.e., sales and line total tables populated to enable data sync to Dataverse (and CE).

image.png

Business benefit

A faster time to initiate downstream processes with correct sync data values across Dynamics 365 Apps.

I hope this article was a good read for you. Do share it with your friends and other peers.

Thank you for Reading - Let's Connect!

Enjoy my blog? For more such awesome blog articles - follow, subscribe and let's connect on LinkedIn , Twitter ,YouTube

Stay tuned!

Published on:

Learn more
Rakesh Darge's Blog
Rakesh Darge's Blog

Rakesh Darge's Blog

Share post:

Related posts

Dynamics 365 Sales – Connect AI agents to sales workflows using Model Context Protocol server – updated date

We are announcing the ability to connect Dynamics 365 Sales to your agents and assistants with the new Model Context Protocol server. This fea...

3 days ago

Functional Analysis of Product Families and Bundles in Dynamics 365 Sales

In Dynamics 365 Sales, Product Families and Product Bundles serve distinct but complementary roles in managing and selling products efficientl...

8 days ago

Dynamics 365 Sales – Reduce competitive risk with tailored insights and talking points from Sales Qualification Agent

We are announcing the ability to proactively mitigate competitive risks with tailored competitor insights and talking points from the Sales Qu...

11 days ago

Dynamics 365 Sales – Improve research relevance by adding custom web sources for the agent

We are announcing the ability to improve research relevance by adding custom web sources for agents in Dynamics 365 Sales. This feature will r...

11 days ago

Dynamics 365 Sales – Streamline data entry with smart paste

We are announcing the ability to streamline data entry with smart paste in Dynamics 365 Sales. This feature will reach general availability on...

11 days ago

Dynamics 365 Sales – Boost pipeline by autonomously researching leads with Sales Qualification Agent

We are announcing the general availability of Sales Qualification Agent in Dynamics 365 Sales, which autonomously researches and engages leads...

17 days ago

Simplifying License Management for Dynamics 365 Finance and Operations: Improved User License Validation

Microsoft is updating the timeline for in-app notifications and per-user license validation to give customers more time to prepare. To enable ...

18 days ago

Dynamics 365 Sales – Find, filter, and sort using natural language with smart grid

We are announcing the find, filter, and sort using natural language with smart grid feature for Dynamics 365 Sales. With this feature users ca...

19 days ago

Simplifying License Management for Dynamics 365 Finance and Operations: Improved User License Validation

In-product notifications and user subscription license (USL) validation has been amended for customers in FY25 Q4, FY26 Q1 renewals. Microsoft...

20 days ago

D365FO Integration: Import Purchase Orders from PDF using Gemini AI

Learn how to use AI to import purchase orders into Dynamics 365 Finance from complex PDF files. This post covers integration design, sample pr...

1 month ago
Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy