A sales manager from West Yorkshire has been jailed for a spate of offences - including multiple rapes - that he committed while living in Scotland.