map by tray number (easy) and date (hard)

unfortunately, the date mapping is essential so it is off to heuristic
land for the programming fairies now