Temporary accession generation code