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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

Discount

(6) ShareShare
ReportReport
Posted on by 132
How do I limit discount percentage in business central. How do I set a maximum discount whereby a user cannot exceed the value set.
I have the same question (0)
  • SP-29040942-0 Profile Picture
    235 on at
    You can set up an approval workflow in Business Central and add a condition based on the Line Discount % or Invoice Discount % field.
     
    🛠️ Example Use Case:
    • If a user enters a Line Discount > 20%, the document automatically goes for approval.
    • Only a manager or authorized user can approve and post it.
    🧩 Steps (Summary):
    1. Go to Workflows.
    2. Create or edit a Sales Document Approval Workflow.
    3. Add a condition in the workflow trigger like: "Line Discount %" is greater than 20
    4. Assign the approval user group.
    This ensures that users can enter the discount, but they can’t post or send the document without approval if it exceeds the allowed percentage.
     
    Let me know if you want help writing that condition or setting it up!
  • Suggested answer
    Ahmad Subhani Profile Picture
    585 on at
    Go to the Workflows and in the Condition add the Percentage in Line Discount Field:
  • Suggested answer
    Kamal Khakhkhar Profile Picture
    1,282 on at
    Hii there,
    some times in some company not using approvals so in that case you can add a validation on field of Line if Line Discount % > LimitPercentage  then error 
    sample code is attached Below you can Update as per your requirement.
     
        [EventSubscriber(ObjectType::Table, Database::"Purchase Line", OnBeforeValidateEvent, "Line Discount %", false, false)]
        local procedure MyProcedure(var Rec: Record "Purchase Line")
        begin
            if not rec.IsTemporary then
                if rec."Line Discount %" > 20 then Error('You can not give discount More then 20 %');
        end;
     
     
    if you found answer mark it answered.
     
    Thank You,
    Kamal Khakhkhar
  • Suggested answer
    Jainam M. Kothari Profile Picture
    15,639 Super User 2025 Season 2 on at
    Hello,
     
    I agree with the Experts that you can add the Workflow for the same OR else you can Custom the AL Code for Allow Max. Percentage of Discount.
  • Suggested answer
    Mansi Soni Profile Picture
    8,909 Super User 2025 Season 2 on at
    Hello,

    There is no built in functionality available for limit discount percentage in business central. As suggested by other professionals you can manage it either with an approval workflow or you can go for AL Customization.

    Hope this answer will help you!

    Regards,
    Mansi Soni
  • Suggested answer
    Sohail Ahmed Profile Picture
    11,150 Super User 2025 Season 2 on at
    Agreed with @Mansi Soni Suggestions & @Kamal Khakhkhar AL Code
  • Suggested answer
    Andrés Arias Profile Picture
    4,190 Super User 2025 Season 2 on at
    Hello,
     
    I agree with my colleagues. There is no standard functionality that allows this, you can rely on flow or development.

    I hope I can help.
     
    Regards,
     
    Andres

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,238

#2
YUN ZHU Profile Picture

YUN ZHU 773 Super User 2025 Season 2

#3
Sumit Singh Profile Picture

Sumit Singh 630

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans