PEOPLETOOLS TABLES & Their Uses

:
This is an attempt to list PeopleSoft meta-tables along with some kind of description for every table. The list will be broken into categories (pages, records, components, and so forth). Please feel free to add to or correct the list.

PeopleSoft Projects
PSPROJECTDEFN table stores information about projects created in Application Designer. Try it out:

SELECT * FROM PSPROJECTDEFN WHERE PROJECTNAME = 'Your_Project_name'; PSPROJECTITEM table stores objects inserted into your Application Designer project. Try it out:

SELECT * FROM PSPROJECTITEM WHERE PROJECTNAME = 'Your_Project_name';

Portal Structure
PSPRSMDEFN is a Portal Structure Definition table. A good example is to use this table to find portal path for a specific component. Take a closer look on how this is done!.

PSPRSMPERM: Shows the permission lists that are assigned to a portal registry structure (content reference). The permission list name is under field PORTAL_PERMNAME.

XLAT Tables
XLATTABLE: Stores translate values (PeopleSoft version prior to 8.4). PSXLATDEFN: Stores all fields that have Xlat values. This table does not store any Xlat values. PSXLATITEM: Stores fields with their actual translate values (PeopleSoft version 8.4 and above).

Record & Field Tables
PSRECDEFN: Stores informations about tables. One row for each table. Field count and record type are two fields that are stored on this table.

CASE RECTYPE WHEN WHEN WHEN WHEN WHEN WHEN WHEN ELSE END CASE

0 THEN 'Table' 1 THEN 'View' 2 THEN 'Derived' 3 THEN 'Sub Record' 5 THEN 'Dynamic View' 6 THEN 'Query View' 7 THEN 'Temporary Table' TO_CHAR(RECTYPE)

PSRECFIELD: Stores records with all their fields (sub-records are not expanded)

PSRECFIELDALL: Stores records with all their fields (sub-records are expanded)

Example SELECT * FROM PSMSGCATDEFN WHERE LAST_UPDATE_DTTM > TO_DATE('03-DEC-07'. 'DD-MON-YY') AND LAST_UPDATE_DTTM < TO_DATE('05-DEC-07'. -. -. Menu Tables PSMENUDEFN: Store Menu related information. process type(sqr report. PSDBFIELD: You got it.. MESSAGE_SET_TBL: Message set description table. Previous PeopleSoft message catalog tables: PS_MESSAGE_CATALOG: Stores information about PeopleSoft message catalogs such as message set number. application engine. 0 THEN 'Character' 1 THEN 'Long Character' 2 THEN 'Number' 3 THEN 'Signed Number' 4 THEN 'Date' 5 THEN 'Time' 6 THEN 'DateTime' 8 THEN 'Image' 9 THEN 'Image Reference' TO_CHAR(FIELDTYPE) Process Definition Table(s) PS_PRCSDEFNPNL: Stores the process definition name. -. Message Catalog Tables PSMSGCATDEFN: Stores information about PeopleSoft message catalogs such as message set number.PSINDEXDEFN: Contains 1 row per index defined for a table. 'DD-MON-YY') ORDER BY MESSAGE_SET_NBR. Security information such as components and process groups are also stored on this table. message number and the actual message text. No related component info on this table. CASE FIELDTYPE WHEN WHEN WHEN WHEN WHEN WHEN WHEN WHEN WHEN ELSE END CASE PSDBFLDLABL: Stores field label information. MESSAGE_NBR. PSKEYDEFN: Containes 1 row per key field defined for an index. and the component name associated with the process definition. MESSAGE_NBR.Example SELECT * FROM PS_MESSAGE_CATALOG WHERE LAST_UPDATE_DTTM > TO_DATE('03-DEC-07'. . stores information about fields. PSMSGCATLANG: language table.. The record stores processes that can run within the Process Scheduler. 'DD-MON-YY') ORDER BY MESSAGE_SET_NBR.This will return messages that has been last update/added between 2 specific dates. message number and the actual message text. 'DD-MON-YY') AND LAST_UPDATE_DTTM < TO_DATE('05-DEC-07'.).This will return messages that has been last update/added between 2 specific dates. -. PS_PRCSDEFN: Process definitions table.

Permission list name can be found under Field Name CLASSID. A many to many relationship table between Roles and Permission Lists. PSPNLFIELD: Stores all items used by each page definition. This table stores the information about the page level access for a permission list.PSMENUITEM: List the menu with all components attached to it. Here is the path to create URL definitions in PeopleSoft Root >> PeopleTools >> Utilities >> Administration >> URLs Application Classes . This table stores information about PeopleSoft users and the permission lists attached to those users. PSOPRDEFN: Users/Operator definition table. Security PSPRSMPERM: Portal Structure Permissions. This table stores information about PeopleSoft users. PSOPRCLS: Users/Operator and Perm list mapping Table. PSROLECLASS: Role Classes table. A User gets these permission lists indirectly through the roles which are attached to the user Here is an example query post that uses all of the above security tables! URL Definitions PSURLDEFN: Stores URL definitions. Pages PSPNLDEFN: Stores pages definitions. This is the core table for User Profile Manager. PSCLASSDEFN: Permissions List definitions table. PSROLEDEFN: This table stores information about Peoplesoft Role definitions. PSROLEUSER: This table stores information about the Users in Peoplesoft and the roles assigned to them. PSAUTHITEM: Page Permissions. which are assigned Permission Lists. Component Tables PSPNLGRPDEFN: Stores component related information only. Users get permissions to PeopleSoft objects through Roles. PSPNLGROUP: This table will give you information regarding a specific component along with the names of pages attached to it.

PSQRYEXECLOG: Query run time log table that stores (only 8.PSAPPCLASSDEFN: Application Class Definitions table. You can use field PACKAGEROOT to search for a specific Application Package. PSAESECTDEFN: Application engine section information and also stores last user id to update a specific section. and date time of last execution (only in 8.When SQL type is: 0 = Stand alone SQL objects 1 = Application engine SQL 2 = Views SQLs Application Engines PSAEAPPLDEFN: Table that stores Application Engine program definitions. join. PSQRYFIELD: Stores all fields used in a query (both the fields in the Select and Where clause). PSAEAPPLSTATE: Stores application engine STATE records and a flag to indicate if the record is the default STATE record. Example would be sub select. You can filter by SQLTYPE field to get SQL objects of interest such as Views SQLs and Application Engine SQLs. PSQRYCRITERIA: Stores criteria query fields. PSQRYBIND: Stores query bind variables. PSQRYRECORD: Stores all records used in all aspects of query creation PSQRYSELECT: Stores all SELECT requirements by select type. .4x and higher) PSQRYSTATS: Query run time statistics table such as count of query execution. PSSQLDESCR: Stores SQL objects descriptions. You can get the name of the fields by joining the PSQRYFIELD table.4x and higher). SQL Objects PSSQLDEFN: Stores SQL object definitions. PSQRYLINK: Stores the relationships to child queries. PeopleSoft Query Tables PSQRYDEFN: Stores query related info. and description long. PSSQLTEXTDEFN: Stores actual SQL text. ect. PSQRYEXPR: Stores query expressions. -.

Process Request Tables PSPRCSQUE: This record contains the process request information to run a process request. PS_PMN_PRCSLIST: A view to list all process requests in the Process Monitor except for "Delete" (runstatus = 2) process requests. PSAEAPPLTEMPTBL: If your application engine uses Temp tables it will show on this record. PeopleCode Tables PSPCMNAME: PeopleCode Reference table.PSAESECTDTLDEFN: AE section along with descriptions and wither the section is active or not. . When the user requests to unlock an object. Other Useful Tables PSSTATUS: Stores PeopleSoft information such as PS Tools release version and the UNICODE_ENABLED boolean flag where a value of 1 indicates the DB is to be treated by Tools as a UNICODE DB. AEREQUESTTBL: Application Engine request table behind the AE run control page." PSMAPFIELD: Stores Field mapping of Activity PS_PRCSRUNCNTL: Run Control record stores Run Control IDs created online. a row is inserted into the table. PSAESTEPDEFN: Steps in application engines are stored in this table. such as "Do Select" and so on. PSCHGCTLLOCK: Description as explained by PeopleSoft "This table contains a a row for every object that is currently locked by any user. AEREQUESTPARM: Application Engine request parameters table behind the AE run control page. PSPCMPROG: Store actual PeopleCode programs (actual code behind PeopleCode events). PSPRCSRQST: This record contains the process request information to run a process request. the row in this table is deleted. If it is not found. When the user requests to lock an object in the Application Designer. PSAESTEPMSGDEFN: Application engine message action definition table. first this table is searched to see if the object is locked by another user. PSAESTMTDEFN: Stores your application engine actions and along with their types.

Sign up to vote on this title
UsefulNot useful