Modified stocks - generate database of locations linked to stock codes