hard to say without more info but what first comes...
# general
d
hard to say without more info but what first comes to mind is to do a lookup against the employee table using the employeeid of the logged in user and then load and store the location id in a variable