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, ...
Suggested answer

“Cannot apply Total Discount on Sales Order Header in D365 F&O when Line Discounts exist”

(5) ShareShare
ReportReport
Posted on by 10

Environment:

 

Dynamics 365 Finance & Operations (Sales module)

Version: [ 10.0.44]

Language: English

 

I am trying to apply a Total Discount (Invoice Discount) manually on the Sales Order header.

 
 

 

Categories:
I have the same question (0)
  • Suggested answer
    CA Neeraj Kumar Profile Picture
    139 on at
    “Cannot apply Total Discount on Sales Order Header in D365 F&O when Line Discounts exist”
    Hi,
     
    All the three types of discount can be applied at same time (line discount, multi line-discount, total discount in single Sales order.
     
    Please try to validate the setup and test it accordingly in reference to this blog: 
     
    I hope this will help you, you can tell the queries if any.
     
    Regards,
    Neeraj
    If this helped, please mark it as "Verified" for others facing the same issue
    Keep in mind that it is possible to mark more than one answer as verified
     
  • Suggested answer
    Sagar121 Profile Picture
    308 on at
    “Cannot apply Total Discount on Sales Order Header in D365 F&O when Line Discounts exist”
    Hi, 
     
    Can you please check Sales & Marketing> Setup > Active Price/Disount. 
     
    Have you enabled this for Total Discount?
     
  • Raj Borad Profile Picture
    1,309 on at
    “Cannot apply Total Discount on Sales Order Header in D365 F&O when Line Discounts exist”
    Hi,
     
    In FO, It restricts because the system prevents overlapping discount calculations to avoid double-discounting. Line discount are applied on items and header's applied on all lines, which may create conflict on tax calculations. You must remove line discount to apply discount at header level.
     
    Thank you,
    Raj D Borad
  • Suggested answer
    DAnny3211 Profile Picture
    11,219 on at
    “Cannot apply Total Discount on Sales Order Header in D365 F&O when Line Discounts exist”

    Hi NA-13081345-0,

     

    In Dynamics 365 Finance & Operations, when line-level discounts are already applied on a sales order, the system may restrict or ignore the manual total discount (invoice discount) at the header level. This behavior is by design to prevent overlapping or conflicting discount calculations.

     

    🔍 Why This Happens

     

    • The invoice discount is calculated on the total of the sales order lines.

    • If line discounts are present, the system assumes the pricing has already been adjusted and may not apply the header-level discount.

    • In some cases, the invoice discount field may appear editable but won’t affect the totals due to discount priority logic.


    •  
     

    ✅ Suggested Workarounds

     

    1. Remove Line Discounts Temporarily

      If feasible, remove or reduce line-level discounts and apply the total discount at the header. This ensures the invoice discount is calculated correctly.


    2. Use Trade Agreements

      Consider configuring trade agreements to apply consistent discount logic across lines and totals. This avoids manual overrides and ensures compatibility.


    3. Custom Discount Logic

      If your business process requires both line and total discounts, a developer can implement a custom discount calculation via extension to allow both to coexist.


    4. Review Discount Priority Settings

      Check the discount priority configuration in the pricing engine setup. Some setups allow prioritizing header discounts over line discounts.



    5.  
     

    This limitation is common in environments where pricing and discounting are tightly controlled, and customizing the logic may be necessary for more flexible scenarios.

     

    Thanks and best regards,

    Daniele

    Note: This response was prepared with support from Copilot to ensure clarity and completeness.

  • Rahul T Profile Picture
    29 on at
    “Cannot apply Total Discount on Sales Order Header in D365 F&O when Line Discounts exist”
    In Dynamics 365 Finance & Operations, priority is given to line-level discounts first. This is why applying a total discount on the sales order header fails when line-level discounts already exist.
     
    To apply a discount at the sales order header level, clear or remove any existing line-level discounts first. Once the line-level discounts are cleared, the system allows the application of the header-level discount. This behavior ensures there is no conflict between line and header discounts during calculation and maintains discount priority order in the system.

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…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

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

#1
Sohaib Cheema Profile Picture

Sohaib Cheema 708 User Group Leader

#2
Martin Dráb Profile Picture

Martin Dráb 589 Most Valuable Professional

#3
Yng Lih Profile Picture

Yng Lih 553

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans