Read employee according to the context

issue3068
review1721002
Add company to user preferences

The user preferences are used to set the context of the record validation. The
company should thus be part of the preferences.

issue3068
review1731002