We are fetching history information for contract packages on a given quote. We are using the path to get to the contract package and that path is pretty standard. The issue is, some quotes may have more than one contract package. This could be for any number of reasons. In those cases, we end up with Q-#####_FinalPackage.pdf, Q-#####_FinalPackage (1).pdf, Q-#####_FinalPackage(2).pdf and so on. The path will always pick, Q-#####_FinalPackage.pdf (the first one generated), and we need, Q-#####_FinalPackage(2).pdf (the most recent one generated). The developer I'm working with is not sure how to go about doing that. Can we use a wildcard in the path or something else along those lines? Is there some other way to do this?
Thanks!