Question: How about date in location from, then?
SQL: select location_code from Document_Locations order by Date_in_Location_From desc limit 1