This requirement is to give opportunity to existing employees for the new position.
In a small company of about 400 people, where I worked, the job advertisements were posted in the kitchen area and it wasn't very hard to deduce what the salary of the newly joining member of your team is.