DARTS : UMS_DTS_SPAN_FISCAL_YR_PROMPTS - Template query to span fiscal years in finance
Created by Corina C Larsen, last modified by Cori Schneider on Nov 08, 2018
Search Tags: template, fiscal, year, finance
JIRA Reference:
Report Purpose
This is a public query in Finance that allows the user to aggregate data across months or fiscal years as need. It is useful for managing grant and contract funds where the term of the agreement spans University fiscal years.
The attached screenshots show the criteria page of the query and illustrate the build process and the SQL that is created.
Report Location
MyCampus > MaineStreet > Enterprise Applications > Financials > Main Menu > Reporting Tools > Query > Query Manager or Query Viewer
The setup for this criteria is as follows in the PS Query tool.
SQL
Note that:
“not less than” is the same as “>=”
“not greater than” is the same as “<=”
And grouping criteria precisely is very critical to proper operation. See color coded parenthesis below.
FROM PS_UM_GLQ_REPRTING A
WHERE ( A.DEPTID = '8750110'
AND ( (A.FISCAL_YEAR = :1
AND A.ACCOUNTING_PERIOD >= :2 )
OR A.FISCAL_YEAR > :1 )
AND( (A.FISCAL_YEAR = :3
AND A.ACCOUNTING_PERIOD <= :4)
OR A.FISCAL_YEAR < :3)
AND A.ACCOUNTING_PERIOD <> 0
AND A.UM_ACTUALS_CURR <> 0)
New to PeopleSoft Query?
Click on Getting Started and begin with the Query Basics video
Need help running a report?
Click on Running Reports with Query Viewer & Query Manager or How to Run an SQR for simple how-to guides for running reports. If you've followed the path to an SQR location and cannot see the report, your PeopleSoft settings may need adjustment. Please contact the Change Management /Systems Security Analyst at 581-5420.
HELP IS AT HAND!
Question, comment, critique? We are here to help and we strive to make our site a comprehensive, user friendly experience. Contact us at DARTS@maine.edu.