on 07-15-2019 5:24 PM
Dear Community,
Here's the situation: I need to determine the most recent entry (field "Document ID", ARC_DOC_ID) from table TOA01 (Archive link table) for a specific object if there are multiple documents linked to this object. So far I was using the Storage Date field for this purpose, but, as I expected, we've faced a situation with a few documents with the same Storage Date:
Question: how do I determine which of the two documents is the latest?
I've tried to fetch some additional data from the table TOAAT (by Document ID), but there are no entries with such IDs, not sure why...
I also tried usual sorting, but I'm not sure if it gives me a trustworthy outcome. The IDs seem to be hexadecimal, but they are CHAR40 in fact, so I'm not sure whether the comparison of character values works in this case.
I would be grateful for any suggestions 🙂
Regards,
Mykyta
Gents, be advised you can find additional details (like Time, Decription, UserID, initial Source File Name ) related to specific ArchiveLink Document ID in table TOATT [Table to store the File attributes], but if its missing there check table TOALOG [Logging for Document Accesses]. This will work if you're using ArchiveLink document area for Content Repository.
Otherwise you might get details passing the 'Instance ID' (INSTID_B) value from table SRGBTBREL thru FM: SO_OBJECT_GET_CONTENT, and then derived 'Physical document' (PHIO_ID) passing to table SOFFPHIO.
Enjoy )
Vladimir Zinkevich
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The table name is actually TOAAT.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.