Sales orders -based purchasing