Where in the HRMS database does it store the information to know which page to display an attachment?

In HRMS there are several screens that can have attachments added to them (leave, events, OSHA, etc.). If we want to write a report on the attachments only on a particular screen, where in the database is that information stored? There does not appear to be a field in HEVENTS that ties an attachment there, nor is there a field in HREMPATT either.