"REF" is the code to say you were referred by a presious cruiser. It is usually worth $50 onboard credit per room.
IT is Not necessary to have used it when you first registered, or even when you first transferred it. I speak from personal experience.
Jim
PS This is my 200th post!