There is no code on my radio unless the user chooses to create one themselves.
For sure if the dealer supplies a new radio AND it requires a code they should supply it. Normal practice is to provide a credit card sized note/reminder of it, which IMHO should never be left in the car.