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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Maximum order quantity on SO

(0) ShareShare
ReportReport
Posted on by 5

The sales team are looking for a way to restrict a customer to a maximum order quantity for a product per order, at header level not line level. This needs to be at customer / product level. Has anyone come across this type of requirement?

  • Suggested answer
    Amit Katariya007 Profile Picture
    10,409 Moderator on at

    I guess you can make a count field on the main form which will indicate the total number of the product which are already ordered.

    You will need a custom code which will run, When a sales person will create/update a product order with the new line then you can run your code before save and show a warning as "Max Order" if it passes the limit else save the record and update the count field on the main form.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Syed Aqib Raza Profile Picture

Syed Aqib Raza 96

#2
11manish Profile Picture

11manish 90 Super User 2026 Season 2

#3
ParthPatel249 Profile Picture

ParthPatel249 80

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans