Hi,
since you maintain the price for this material with a condition Record,you can use the condition update Function in the condition type and in the condition record you can maintain number of sales orders.
After this the condition record will be deactivated