Top Banner
University System of Georgi a summit georgia PeopleSoft Query Basics and Best Practices Michael Casuccio, GeorgiaFIRST
55

PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

Oct 11, 2019

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

PeopleSoft Query Basics and Best Practices

Michael Casuccio, GeorgiaFIRST

Page 2: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

Agenda

2

• Overview of PeopleSoft Query

• Best Practices

• Training Resources

Page 3: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

PeopleSoft Query

3

• An end-user reporting tool that allows you to retrieve information from the PeopleSoft database tables.

• Instead of writing code (SQL statements), you use a graphical user interface to extract the precise information that you are looking for.

Page 4: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

Data Basics

4

• What is a Table or Record

– A record is a collection of data items

Page 5: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

5

Page 6: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

6

• JournalHeader

• PS_JRNL_HEADER record

Page 7: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

7

PS_JRNL_LN record

Page 8: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

8

PS_JRNL_HEADER

Page 9: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

9

Table and Field Names

• Look at an existing query

• List of Commonly Used Tables (Records)

• ERDsEntity Relationship Diagram

http://www.usg.edu/gafirst-fin/training

http://www.usg.edu/gafirst-fin/documentation

Page 10: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

10

Table and Field Names

EXISTING QUERIES

• Look at an existing query in Query Manager or Query Viewer– Module Specific Queries naming convention

• BOR_AP_%

• BOR_GL_%

• BOR_EX_%

• Etc.

Page 11: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

11

Table and Field Names

EXISTING QUERIES

• See Module Specific Job Aids

– Accounts Payable Inquiries, Queries, and Reports

– General Ledger and Commitment Control Queries

– PeopleSoft v9.2 Budget Prep Queries and Reports

– Etc.

Page 12: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

12

Security Roles

• BOR_PT_QRY_ALLACCGRPS: You must have this role in order to access the records you need to query.

• And 1 of the following roles (Only one)

• BOR_PT_QRY_VIEWER (Gives a user access to run public queries).

• BOR_PT_QRY_PRIVATE (Gives a user access to create private queries only, run private and public queries.)

• BOR_PT_QRY_PUBLIC (Gives a user access to create private and public queries, run private and public queries.)

Page 13: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

13

Security Roles• Other roles that may be necessary:

• BOR_QRY_SENSDATA ( gives query access to sensitive data records that may contain things such as SSN#s, emplids, etc.)

• BOR_PT_QRY_BUDPREP (Gives access to the budget prep records)

• BOR_QRY_XXXXX (each institution has a query specific role that allows access to their banner views)

• BOR Reconciliation User provides access to ADP data (Limit to those only working with ADP data).

Page 14: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

14

Navigation

• Reporting Tools > Query > Query Manager

or

• Reporting Tools > Query > Query Viewer

Depending on your security roles

Page 15: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

15

Dissecting a query

Page 16: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

16

Page 17: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

title

17

Page 18: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

18

Page 19: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

19

Page 20: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

20

Page 21: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

21

Page 22: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

22

Page 23: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

23

Page 24: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

24

Page 25: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

25

Page 26: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

26

Page 27: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

27

Page 28: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

28

Page 29: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

29

Modify an Existing Query

Page 30: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

30

Saving your Query

Page 31: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

31

Public vs. Private Queries

• PUBLIC: Anyone can use a public query.

– Anyone with public or private query security roles can change that query

• PRIVATE: Only the person who created a private query can use it or delete it.

Page 32: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

32

Public vs. Private Queries

• When you create a query

– Save a private copy for yourself

– Then save a public version with a unique name for everyone else.

– If someone changes or deletes the public query you created, you will still have the private version.

Page 33: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

33

Do not make changes to a public query you did not create. Save a copy of the query and make changes to your copy.

*

Page 34: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

34

Do not make changes to a public query you did not create. Save a copy of the query and make changes to your copy.

Page 35: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

35

Naming Queries

980_JD_OUTSTANDING_CHECKS

• Do NOT use BOR_

• You can rename your queries

Business Unit

Your Initials

Name of Query

Page 36: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

36

Query Properties

Page 37: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

37

Query Properties

Page 38: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

38

Sharing a Query

• Save it as your private version first

• Save As, change the name, make it a Public Query - Seen by everyone

OR

• Copy it to a specific user

Page 39: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

39

Page 40: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

40

Page 41: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

41

Running Queries

• Edit: Review/Change query parameters

• HTML: Runs the query to browser window

• Excel: Runs the query, results open in Excel

• XML: Runs the query, results in XML format

• Schedule: Runs the query in the process monitor. Results in XLS, PDF, TXT, XML

Page 42: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

42

Scheduling Queries

• Why?

– Queries that take a long time to process

– Queries that return a large number of rows

• See Job Aid: Scheduling a Query

Page 43: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

43

Query Maintenance

Cleanup existing queries

• Deleting a query– For cleanup purposes, delete queries you no

longer use…get rid of the clutter.

• Renaming a query– Make sure all the queries you want to keep have

the correct naming convention

Page 44: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

44

New Features

Drilling URLs

• Results show as links that open a new window:

– A page within PeopleSoft (Voucher Inquiry)

– Results of another query

– An external page or attachment

Page 45: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

45

New Features

• Subqueries: A query within a query

• Pivot Grids (similar to Excel Pivot Tables)

• Connected Query (output in structured XML)

Page 46: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

46

Query Resources

• GeorgiaFIRST Online Training– http://www.usg.edu/gafirst-fin/training/online

Complete enrollment form and email to ITS Helpdesk

• ORACLE University

– http://education.oracle.com

Page 47: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

47

Query Resources

• Query Maintenance Best Practices

• Query changes in PeopleTools 8.52 and Instructions for Scheduling a Query

• Key records for Queries

• Entity Relationship Diagrams

– http://www.usg.edu/gafirst-fin/documentation/category/general_job_aids_and_reference_documents

Page 48: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

48

Query Resources

Page 49: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

49

Page 50: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

50

Page 51: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

Queries and Reports Job Aids

51

Page 52: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

52

Page 53: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

2-Day Query Class

53

Nov. 8th: Query Training for Beginners

• Relational Databases• Working with Existing Queries• Creating a Basic Query • Adding Criteria to a Query• Query Maintenance Best Practices

Nov. 9th: Query Training for Advanced Users

• Advanced Selection Criteria • Run Time Prompts• Aggregate Functions • Working with Multiple Tables

Page 54: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

54

Demonstration

Changing and saving a query

Page 55: PeopleSoft Query Basics and Best Practices University ... · PeopleSoft Query georgi a summi t 3 •An end-user reporting tool that allows you to retrieve information from the PeopleSoft

University System of Georgiasummitgeorgia

55