How to set warning if the selling price is lower than the purchase price on web?

To set the Low Selling Price warning (shows a warning if the selling price is lower than the purchase price). Please follow the below mentioned steps:

Step 1: Go to Settings

Step 2: Go to Preferences under General Settings >> Go to Document >> Go to Sales >> Warn for Low Selling Price (Web Only) >> Enable >> Save Changes