Thanks for sharing the query! I made a slight adjustment to it. The original query has FROM PS_CS.PSPNLFIELD. The PS_CS is a schema name that must be part of the University of Minnesota PeopleSoft installation. I deleted that part and left it as pspnlfield. That worked on my database.
I replace the ORDER BY 2 with ORDER BY a.recname to make it clearer what the result set is sorted by. That is just a style choice by me.
SELECT
a.lbltext,
a.recname,
a.fieldname
FROM
pspnlfield a
WHERE
(
a.pnlname = 'USER_GENERAL' --replace with page name
AND a.lbltext <> ' '
AND a.fieldname <> ' '
AND a.recname <> 'PSXLATITEM'
AND a.recname NOT LIKE '%WRK'
AND a.recname NOT LIKE '%DERIVED%'
AND a.recname NOT LIKE 'FUNCLIB%'
)
ORDER BY
a.recname
/
------------------------------
Enrique Pizana
PeopleSoft Developer and Support Engineer
Washington State Board for Community and Technical Colleges
------------------------------
Message from the HEUG Marketplace:------------------------------
Find, Review, and Engage with Higher Education-focused solution providers, products, and services using the
HEUG Marketplace.
------------------------------
Original Message:
Sent: 01-24-2025 01:25 PM
From: Sarah Hoegger
Subject: Mapping of peoplesoft payroll pages to database tables
Hi Anne,
I believe there is a Chrome plug-in that some people use. I'm sure if there's someone who uses that, they'll chime in. Personally, I use a query:
SELECT A.LBLTEXT, A.RECNAME, A.FIELDNAME
FROM PS_CS.PSPNLFIELD A
WHERE ( A.PNLNAME = :1
AND A.LBLTEXT <> ' '
AND A.FIELDNAME <> ' '
AND A.RECNAME <> 'PSXLATITEM'
AND A.RECNAME NOT LIKE '%WRK'
AND A.RECNAME NOT LIKE '%DERIVED%'
AND A.RECNAME NOT LIKE 'FUNCLIB%' )
ORDER BY 2;
The prompt is for the page name. Just in case you weren't aware, when you're on the page in question Ctrl+Shift+J and you'll get an information page with the page name. Plug that into the prompt for that SQL and you'll get the list of fields & records along with the description from the page to help with matching.
The SQL excludes working & derived tables (since you can't really query those). So, it's not a 100% answer, but most of the time it gets me what I need to query.
I hope this helps.
Thanks,
Sarah
------------------------------
Sarah Hoegger
Business Analyst
University of Minnesota
hoegg001@umn.edu
------------------------------