Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Suggested answer

How to perform calculations on sales data

(0) ShareShare
ReportReport
Posted on by 66

Hi all

We are new to D365F&O. We have a separate system, where some sales are booked.

We need to import this data, but perform certain calculations. Some transactions come direct from the customer, others are booked via a third party and hence receive commission. Some attract sales tax, others do not etc.

The separate system does not handle this business logic. At present, the business logic is being applied offline via spreadsheets, and then imported as a sales into D365.

Is there a way we can make this business logic happen within Dynamics? Apologies for what is probably a very basic question.

Many thanks

  • Suggested answer
    Arunraj Rajasekar Profile Picture
    Arunraj Rajasekar 1,731 on at
    RE: How to perform calculations on sales data

    Hi,

    there are three options to achieve this.

    1) If you want data to be imported automatically, you can write a custom service and run it as batch job.

    2) you can build a power automation using REST API to import the data, if you have the data calculated and saved in an excel

    3) More easier solution, you can write a class to import from excel.

    You need to determine how to consolidate all the transaction before importing them into the system.

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,996 Super User 2025 Season 1 on at
    RE: How to perform calculations on sales data

    Hi Benken,

    It is possible to import data using data entities. You can apply x++ on several methods of the data entity to perform calculations.

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,996 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,853 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans