function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ian Lin 439Ian Lin 439 

System should not allow any order with quantity more than available quantity. But there will be an exception i.e. For few products order quantity can exceed by 10 % of available quantity

AnudeepAnudeep (Salesforce Developers) 
Hi Ian, 

You can do this with a validation rule. Something like this. Please note this is just an example
AND( 
Product2.Name = "EnterProductNameHere", 
Quantity > 10 
)