Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

Discount Calculation - problematically custom discount

(0) ShareShare
ReportReport
Posted on by

Hello all,

I need some help. I am trying to apply custom discount for line items in a sales order (for new sales order). 

Below is an discount table i am implementing trying to and sample example.

Chain Discount and Whole Discount are not suitable, we need some custom code approach. SDK development documentation is not fully informative. I am wondering if I need to create a custom screen from scratch or can utilize existing Sales Order Screen to add vb logic for below discount implementation.

Number of Sites System & Software Discount  Additional Hardware Discount
Order Type SS AMS
1 0.00% 0.00%
2 - 5 5.00% 2.50%
6 - 10 7.00% 3.50%
11  - 25 10.00% 5.00%
26 - 40 12.50% 6.25%
41 - 70 15.00% 7.50%
71 - 100 17.50% 8.75%
101 - 150 20.00% 10.00%
151 - 200 22.50% 11.25%
201 - 300 25.00% 12.50%
301 - 400 27.50% 13.75%
401 and over 30.00% 15.00%

Example:
OrderType SitesMin SitesMax Discount
SS 0 1 0.00%
SS 2 5 5.00%
SS 6 10 7.00%
SS 11 25 10.00%
…
AMS 0 1 0.00%
AMS 2 5 2.50%
AMS 6 10 3.50%
AMS 11 25 5.00%

*This post is locked for comments

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics SL (Archived)

#1
Community Member Profile Picture

Community Member 136

#2
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 102 Super User 2025 Season 1

#3
REUser Profile Picture

REUser 8

Featured topics

Product updates

Dynamics 365 release plans