Is there a way inside SQL (query, stored procedure, etc.) to get the total # of sheets for a particular document? Something that returns the same thing as "$PRP:SW-Total Sheets,"
Look into the DocumentRevisionConfiguration table. Sheets are stored as configurations as far as EPDM is concerned.
Retrieving data ...