You can set a minimum margin to specify the lowest profit margin (in percentage) at which a product can be sold, quoted, or ordered. The minimum margin calculation on sales documents is based on the product's current cost average and not its default cost.
To prevent users from selling a product for below the minimum margin in OnSite StoreMaster go to Tools > Setup > Basics > Privilege and set Sell Below Minimum Margin to Not Allowed. This can help prevent over-discounting or accidental profit loss.