Support Article
Difference In Hours filter function fails in scheduled reports
SA-83899
Summary
The 'Difference In Hours' filter function fails with an exception in the scheduled reports. The same report executes correctly in the background without the filter.

Error Messages
Attempting to access a rule with a bad defined-on class: Trying to open rule "PXCREATEDATETIME,@@PXCURRENTDATETIME" of class "Rule-Access-Property", but no defined-on class (pyClassName) was specified.
Steps to Reproduce
Schedule a report with the DifferenceInHours filter condition.
Root Cause
Step 10 in the pyExecuteTask activity did not handle the computed property gracefully. Therefore, the activity was stopped entirely.
Resolution
Apply HFix-54443.
Published August 19, 2019 - Updated December 2, 2021
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.