Create a new field of type INT. Call it what you like. Create an AutoIndex workflow to iterate the cabinet using the DWDOCID as the match code. When matched, write the DWDOCID to your custom field. For new documents, you can run the Autoindex job periodically with a filter where the custom field is empty, or if you are on DocuWare 7, use instant Autoindex to populate the field immeidately on storage.
Phil Robson
Senior Director Support Americas