E-QR: RunToFile() Function With Parameter %Query_XLS Doesn't Overwrite Existing Files

(Doc ID 2276660.1)

Last updated on NOVEMBER 27, 2017

Applies to:

PeopleSoft Enterprise PT PeopleTools - Version 8.55 and later
Information in this document applies to any platform.


When using the RunToFile() function in peoplecode using the parameter %Query_XLS to run a query to an excel file, it doesn't overwrite an existing file.

The issue can be reproduced at will with the following steps:
1. Log in to PIA
2. Navigate to Process Scheduler > System Process Requests
3. Run the affected AE containing the RunToFile function with %Query_XLS parameter
4. Check the output
5. Re-run the same AE (which should retrieve different data)
6. Notice that new output contains the same data as the previous output but the file's date is updated


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms