Issue with listview report data
ListView is being used to generate reports from an external database. Both PRPC application database and external application database are located in the US.
There is an agent which runs everyday at 11:30 PM EST to generate the report. The 'Date' is mapped to "Today" in the Content tab of the ListView. The issue is, the TODAY parameter returns the date in GMT format and thus tries to get the data from next day. Ideally, it should populate the date from the agent's timezone which is configured as EST.
Steps to Reproduce
1. Create a ListView and Filter on "Today" as criteria.
2. Schedule an Agent to use US Eastern timezome
4. Set the Agent to run at 11:30 PM EST.
PRPC stores time in GMT format in the database. When the scheduler is run at 11:30 PM EST , it gets the result adding GMT+5.
Setting the Date in database level to query using EST timezone corrected the behavior.
Another Local change has been shared to try out:
Customize the 'Context' activity to set a timezone for batch requestor page.
Sample Java code:
PRRequestor r = tools.getRequestor();
ClipboardPage rPage = r.getRequestorPage();
rPage.putString("pyUseTimeZone"," America/xxxxxx ");
0% found this useful