Need set margin rate or amount field as 0

If Price list is smaller than Selling rate then set margin rate as automatically , how to stop it

Reference: Discount % or Discount Amt Margin % or Margin Amt - #2 by NCP