Tuesday, March 8, 2011

Peoplesoft Meta Tables

I have compiled a list of  important and handy Meta tables in Peoplesoft. I found the list very useful and would refer it often. So here is the compilation..

 PeopleSoft Projects:

1) PSPROJECTDEFN table stores information about projects created in Application Designer.
2) PSPROJECTITEM table stores objects inserted into your Application Designer project.

Portal Structure
1) PSPRSMDEFN is a Portal Structure Definition table. A good example is to use this table to find portal path for a specific component.

2) 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 Tables1)PSXLATDEFN: Stores all fields that have Xlat values. This table does not store any Xlat values.
2) PSXLATITEM: Stores fields with their actual translate values (PeopleSoft version 8.4 and above).


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


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

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

4) PSINDEXDEFN: Contains 1 row per index defined for a table.

5) PSKEYDEFN: Containes 1 row per key field defined for an index.

6) PSDBFIELD: You got it, stores information about fields.

7) PSDBFLDLABL: Stores field label information.

Process Definition Table(s):
1) PS_PRCSDEFNPNL: Stores the process definition name, process type(sqr report, application engine...), and the component name associated with the process definition.

2) PS_PRCSDEFN: Process definitions table. The record stores processes that can run within the Process Scheduler. Security information such as components and process groups are also stored on this table.

Message Catalog Tables
1)PSMSGCATDEFN: Stores information about PeopleSoft message catalogs such as message set number, message number and the actual message text.

2) PSMSGCATLANG: language table.

Menu Tables1) PSMENUDEFN: Store Menu related information. No related component info on this table.

2) PSMENUITEM: List the menu with all components attached to it.

Component Tables1) PSPNLGRPDEFN: Stores component related information only.

2) PSPNLGROUP: This table will give you information regarding a specific component along with the names of pages attached to it.

Pages1) PSPNLDEFN: Stores pages definitions.

2) PSPNLFIELD: Stores all items used by each page definition.

Security1) PSPRSMPERM: Portal Structure Permissions.

2) PSAUTHITEM: Page Permissions. This table stores the information about the page level access for a permission list.

3) PSROLECLASS: Role Classes table. A many to many relationship table between Roles and Permission Lists.

4) PSROLEDEFN: This table stores information about Peoplesoft Role definitions. Users get permissions to PeopleSoft objects through Roles, which are assigned Permission Lists.

5) PSROLEUSER: This table stores information about the Users in Peoplesoft and the roles assigned to them.

6) PSCLASSDEFN: Permissions List definitions table. Permission list name can be found under Field Name CLASSID.

7) PSOPRDEFN: Users/Operator definition table. This table stores information about PeopleSoft users. This is the core table for User Profile Manager.

8) PSOPRCLS: Users/Operator and Perm list mapping Table. This table stores information about PeopleSoft users and the permission lists attached to those users.
A User gets these permission lists indirectly through the roles which are attached to the user

URL DefinitionsPSURLDEFN: Stores URL definitions. Here is the path to create URL definitions in PeopleSoft Root >> PeopleTools >> Utilities >> Administration >> URLs

Application Classes
1) PSAPPCLASSDEFN: Application Class Definitions table. You can use field PACKAGEROOT to search for a specific Application Package.

PeopleSoft Query Tables1) PSQRYDEFN: Stores query related info.

2) PSQRYFIELD: Stores all fields used in a query (both the fields in the Select and Where clause).

3) PSQRYCRITERIA: Stores criteria query fields. You can get the name of the fields by joining the PSQRYFIELD table.

4) PSQRYEXPR: Stores query expressions.

5) PSQRYBIND: Stores query bind variables.

6) PSQRYRECORD: Stores all records used in all aspects of query creation

7) PSQRYSELECT: Stores all SELECT requirements by select type. Example would be sub select, join, ect.

8) PSQRYLINK: Stores the relationships to child queries.

9) PSQRYEXECLOG: Query run time log table that stores (only 8.4x and higher)

10) PSQRYSTATS: Query run time statistics table such as count of query execution, and date time of last execution (only in 8.4x and higher).

SQL Objects1)PSSQLDEFN: Stores SQL object definitions.

2) PSSQLDESCR: Stores SQL objects descriptions, and description long.

3) PSSQLTEXTDEFN: Stores actual SQL text. You can filter by SQLTYPE field to get SQL objects of interest such as Views SQLs and Application Engine SQLs.

Application Engines1) PSAEAPPLDEFN: Table that stores Application Engine program definitions.

2) PSAEAPPLSTATE: Stores application engine STATE records and a flag to indicate if the record is the default STATE record.

3) PSAESECTDEFN: Application engine section information and also stores last user id to update a specific section.

4) PSAESECTDTLDEFN: AE section along with descriptions and wither the section is active or not.

5) PSAEAPPLTEMPTBL: If your application engine uses Temp tables it will show on this record.

6) PSAESTEPDEFN: Steps in application engines are stored in this table.

7) PSAESTMTDEFN: Stores your application engine actions and along with their types, such as "Do Select" and so on.

8) PSAESTEPMSGDEFN: Application engine message action definition table.

9) AEREQUESTTBL: Application Engine request table behind the AE run control page.

10) AEREQUESTPARM: Application Engine request parameters table behind the AE run control page.

PeopleCode Tables1) PSPCMNAME: PeopleCode Reference table.

2) PSPCMPROG: Store actual PeopleCode programs (actual code behind PeopleCode events).

Process Request Tables1) PSPRCSQUE: This record contains the process request information to run a process request.

2) PSPRCSRQST: This record contains the process request information to run a process request.

3) PS_PMN_PRCSLIST: A view to list all process requests in the Process Monitor except for "Delete" (runstatus = 2) process requests.

Other Useful Tables1) 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.

2) PSCHGCTLLOCK: Description as explained by PeopleSoft "This table contains a a row for every object that is currently locked by any user. When the user requests to lock an object in the Application Designer, first this table is searched to see if the object is locked by another user. If it is not found, a row is inserted into the table. When the user requests to unlock an object, the row in this table is deleted."
Visit this post to see how could you make use of this table.

3) PSMAPFIELD: Stores Field mapping of Activity
4) PS_PRCSRUNCNTL: Run Control record stores Run Control IDs created online.














1 comment: