<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>TomGee.us &#187; PeopleSoft</title>
	<atom:link href="http://tomgee.us/?feed=rss2&#038;cat=4" rel="self" type="application/rss+xml" />
	<link>http://tomgee.us</link>
	<description>Chef Boy-r-Gee&#039;s Om-Nomables (and geek stuff)</description>
	<lastBuildDate>Mon, 06 Sep 2010 16:37:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>PeopleSoft: Finding the Navigation Path</title>
		<link>http://tomgee.us/?p=135</link>
		<comments>http://tomgee.us/?p=135#comments</comments>
		<pubDate>Thu, 17 Dec 2009 20:10:56 +0000</pubDate>
		<dc:creator>Tom Gee</dc:creator>
				<category><![CDATA[PeopleSoft]]></category>
		<category><![CDATA[Oracle]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://tomgee.us/?p=135</guid>
		<description><![CDATA[When a process name is known: SELECT DISTINCT PRCS.PRCSTYPE, PRCS.PRCSNAME, PRCS.DESCR, PAGE.PNLGRPNAME as Component, &#8216;Home &#62; &#8216; &#124;&#124; RTRIM(M.MENUGROUP) &#124;&#124; &#8216; &#62; &#8216; &#124;&#124; RTRIM(M.MENULABEL) &#124;&#124; &#8216; &#62; &#8216; &#124;&#124; RTRIM(ITEM.BARLABEL) &#124;&#124; &#8216; &#62; &#8216; &#124;&#124; ITEM.ITEMLABEL as Location FROM PSMENUDEFN M, PSMENUITEM ITEM, PS_PRCSDEFNPNL PAGE, PS_PRCSDEFN PRCS WHERE M.MENUNAME = ITEM.MENUNAME AND ITEM.PNLGRPNAME = [...]]]></description>
			<content:encoded><![CDATA[<p><strong><span style="text-decoration: underline;">When a process name is known:</span></strong></p>
<p style="padding-left: 30px;"><em>SELECT DISTINCT<br />
PRCS.PRCSTYPE,<br />
PRCS.PRCSNAME,<br />
PRCS.DESCR,<br />
PAGE.PNLGRPNAME as Component,<br />
&#8216;Home &gt; &#8216; || RTRIM(M.MENUGROUP) || &#8216; &gt; &#8216; || RTRIM(M.MENULABEL) || &#8216; &gt; &#8216; || RTRIM(ITEM.BARLABEL) || &#8216; &gt; &#8216; || ITEM.ITEMLABEL as Location<br />
FROM PSMENUDEFN M,<br />
PSMENUITEM ITEM,<br />
PS_PRCSDEFNPNL PAGE,<br />
PS_PRCSDEFN PRCS<br />
WHERE M.MENUNAME = ITEM.MENUNAME<br />
AND ITEM.PNLGRPNAME = PAGE.PNLGRPNAME<br />
AND PAGE.PRCSTYPE = PRCS.PRCSTYPE<br />
AND PAGE.PRCSNAME = PRCS.PRCSNAME<br />
AND PRCS.PRCSNAME = &#8216;<strong>process-name</strong>&#8216;</em></p>
<p><strong><span style="text-decoration: underline;">When a component name is known:</span></strong></p>
<p style="padding-left: 30px;"><em>SELECT DISTINCT PRCS.PRCSTYPE , PRCS.PRCSNAME , PRCS.DESCR ,<br />
PAGE.PNLGRPNAME as Component , &#8216;Home &gt; &#8216; || RTRIM(MENU.MENUGROUP) || &#8216; &gt; &#8216; ||<br />
RTRIM(MENU.MENULABEL) || &#8216; &gt; &#8216; || RTRIM(ITEM.BARLABEL) || &#8216; &gt; &#8216; || ITEM.ITEMLABEL as MenuPath<br />
FROM PSMENUDEFN MENU , PSMENUITEM ITEM , PS_PRCSDEFNPNL PAGE , PS_PRCSDEFN PRCS<br />
WHERE MENU.MENUNAME = ITEM.MENUNAMEAND ITEM.PNLGRPNAME = PAGE.PNLGRPNAME<br />
AND PAGE.PRCSTYPE = PRCS.PRCSTYPE<br />
AND PAGE.PRCSNAME = PRCS.PRCSNAME<br />
AND PAGE.PNLGRPNAME = &#8216;<strong>component-name</strong>&#8216;</em></p>
<p><strong><span style="text-decoration: underline;">When a record name is known:</span></strong></p>
<p style="padding-left: 30px;"><em>SELECT DISTINCT PFLD.RECNAME ,<br />
PFLD.PNLNAME as Page , &#8216;Home &gt; &#8216; || RTRIM(MENU.MENUGROUP) || &#8216; &gt; &#8216; ||<br />
RTRIM(MENU.MENULABEL) || &#8216; &gt; &#8216; || RTRIM(ITEM.BARLABEL) || &#8216; &gt; &#8216; || ITEM.ITEMLABEL as MenuPath<br />
FROM PSMENUDEFN MENU , PSMENUITEM ITEM , PSPNLGROUP COMP , PSPNLFIELD PFLD<br />
WHERE MENU.MENUNAME = ITEM.MENUNAME<br />
AND ITEM.PNLGRPNAME = COMP.PNLGRPNAME<br />
AND COMP.PNLNAME = PFLD.PNLNAME<br />
AND PFLD.RECNAME = &#8216;<strong>record-name</strong>&#8216;</em></p>
<p><strong><span style="text-decoration: underline;">When a page name is known:</span></strong></p>
<p style="PADDING-LEFT: 30px"><em>SELECT DISTINCT COMP.PNLNAME as Page , &#8216;Home &gt; &#8216; ||<br />
RTRIM(MENU.MENUGROUP) || &#8216; &gt; &#8216; || RTRIM(MENU.MENULABEL) || &#8216; &gt; &#8216; ||<br />
RTRIM(ITEM.BARLABEL) || &#8216; &gt; &#8216; || ITEM.ITEMLABEL as MenuPath<br />
FROM PSMENUDEFN MENU , PSMENUITEM ITEM , PSPNLGROUP COMP<br />
WHERE MENU.MENUNAME = ITEM.MENUNAME<br />
AND ITEM.PNLGRPNAME = COMP.PNLGRPNAME<br />
AND COMP.PNLNAME = &#8216;<strong>page-name</strong>&#8216;</em></p>
<p><em>Source: <a href="http://jmcmahon33.blogspot.com/2007/12/finding-menu-path.html">http://jmcmahon33.blogspot.com/2007/12/finding-menu-path.html</a></em></p>
]]></content:encoded>
			<wfw:commentRss>http://tomgee.us/?feed=rss2&amp;p=135</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PeopleSoft PeopleTools Meta-tables</title>
		<link>http://tomgee.us/?p=26</link>
		<comments>http://tomgee.us/?p=26#comments</comments>
		<pubDate>Mon, 16 Nov 2009 19:04:03 +0000</pubDate>
		<dc:creator>Tom Gee</dc:creator>
				<category><![CDATA[PeopleSoft]]></category>
		<category><![CDATA[PeopleTools]]></category>

		<guid isPermaLink="false">http://tomgee.us/blog/?p=26</guid>
		<description><![CDATA[Source: http://www.compshack.com/wiki/peoplesoft/peopletools/peoplesoft-peopletools-meta-tables 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). PeopleSoft Projects PSPROJECTDEFN table stores information about projects created in Application Designer. Try it out: SELECT * FROM PSPROJECTDEFN WHERE PROJECTNAME = &#8216;Your_Project_name&#8217;; [...]]]></description>
			<content:encoded><![CDATA[<p>Source: <a href="http://www.compshack.com/wiki/peoplesoft/peopletools/peoplesoft-peopletools-meta-tables">http://www.compshack.com/wiki/peoplesoft/peopletools/peoplesoft-peopletools-meta-tables</a></p>
<p>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).</p>
<h2>PeopleSoft Projects</h2>
<p><strong>PSPROJECTDEFN </strong>table stores information about projects created in Application Designer.<br />
Try it out:</p>
<div>
<div style="font-family: monospace; padding-left: 30px;"><em>SELECT * FROM PSPROJECTDEFN<br />
WHERE PROJECTNAME = &#8216;Your_Project_name&#8217;;</em></div>
</div>
<p><strong>PSPROJECTITEM</strong> table stores objects inserted into your Application Designer project.<br />
Try it out:</p>
<div>
<div style="font-family: monospace; padding-left: 30px;"><em>SELECT * FROM PSPROJECTITEM<br />
WHERE PROJECTNAME = &#8216;Your_Project_name&#8217;;</em></div>
</div>
<h2>Portal Structure</h2>
<p><strong>PSPRSMDEFN</strong> is a Portal Structure Definition table. A good example is to use this table to find portal path for a specific component. <a href="http://www.compshack.com/peoplesoft/queries/query-component-path-within-peoplesoft-portal">Take a closer look on how this is done!</a>.</p>
<p><strong>PSPRSMPERM</strong>: Shows the permission lists that are assigned to a portal registry structure (content reference). The permission list name is under field PORTAL_PERMNAME.</p>
<h2>XLAT Tables</h2>
<p><strong>XLATTABLE</strong>: Stores translate values (PeopleSoft version prior to 8.4).<br />
<strong>PSXLATDEFN</strong>: Stores all fields that have Xlat values.  This table does not store any Xlat values.<br />
<strong>PSXLATITEM</strong>: Stores fields with their actual translate values (PeopleSoft version 8.4 and above).</p>
<h2>Record &amp; Field Tables</h2>
<p><strong>PSRECDEFN</strong>: Stores informations about tables. One row for each table. Field count and record type are two fields that are stored on this table.</p>
<div>
<div style="font-family: monospace; padding-left: 30px;"><em>CASE RECTYPE<br />
WHEN 0 THEN &#8216;Table&#8217;<br />
WHEN 1 THEN &#8216;View&#8217;<br />
WHEN 2 THEN &#8216;Derived&#8217;<br />
WHEN 3 THEN &#8216;Sub Record&#8217;<br />
WHEN 5 THEN &#8216;Dynamic View&#8217;<br />
WHEN 6 THEN &#8216;Query View&#8217;<br />
WHEN 7 THEN &#8216;Temporary Table&#8217;<br />
ELSE TO_CHAR(RECTYPE)<br />
END CASE</em></div>
</div>
<p><strong>PSRECFIELD</strong>: Stores records with all their fields (sub-records are not expanded)</p>
<p><strong>PSRECFIELDALL</strong>: Stores records with all their fields (sub-records are expanded)</p>
<p><strong>PSINDEXDEFN:</strong> Contains 1 row per index defined for a table.</p>
<p><strong>PSKEYDEFN:</strong> Containes 1 row per key field defined for an index.</p>
<p><strong>PSDBFIELD</strong>: You got it, stores information about fields.</p>
<div>
<div style="font-family: monospace; padding-left: 30px;"><em>CASE FIELDTYPE<br />
WHEN 0 THEN &#8216;Character&#8217;<br />
WHEN 1 THEN &#8216;Long Character&#8217;<br />
WHEN 2 THEN &#8216;Number&#8217;<br />
WHEN 3 THEN &#8216;Signed Number&#8217;<br />
WHEN 4 THEN &#8216;Date&#8217;<br />
WHEN 5 THEN &#8216;Time&#8217;<br />
WHEN 6 THEN &#8216;DateTime&#8217;<br />
WHEN 8 THEN &#8216;Image&#8217;<br />
WHEN 9 THEN &#8216;Image Reference&#8217;<br />
ELSE TO_CHAR(FIELDTYPE)<br />
END CASE</em></div>
</div>
<p><strong>PSDBFLDLABL:</strong> Stores field label information.</p>
<h2>Process Definition Table(s)</h2>
<p><strong>PS_PRCSDEFNPNL</strong>: Stores the process definition name, process type(sqr report, application engine&#8230;), and the component name associated with the process definition.</p>
<p><strong>PS_PRCSDEFN</strong>: 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.</p>
<p><strong>PS_PRCSJOBDEFN</strong>: Job definitions table.</p>
<p><strong>PS_PRCSJOBITEM</strong>: Job item table.</p>
<p><strong>PS_PRCSTYPEDEFN</strong>: Process type table.  Includes standard parameter string syntax for each type.</p>
<h2>Message Catalog Tables</h2>
<p><strong>PSMSGCATDEFN</strong>: Stores information about PeopleSoft message catalogs such as message set number, message number and the actual message text.</p>
<p><strong>PSMSGCATLANG</strong>: language table.</p>
<div>
<div style="font-family: monospace; padding-left: 30px;"><em>SELECT * FROM PSMSGCATDEFN<br />
WHERE LAST_UPDATE_DTTM  &gt; TO_DATE(&#8217;03-DEC-07&#8242;, &#8216;DD-MON-YY&#8217;)<br />
AND LAST_UPDATE_DTTM  &lt; TO_DATE(&#8217;05-DEC-07&#8242;, &#8216;DD-MON-YY&#8217;)<br />
ORDER BY MESSAGE_SET_NBR, MESSAGE_NBR;</em><br />
<em> &#8212; This will return messages that has been last update/added between 2 specific dates.</em></div>
</div>
<p><strong>Previous PeopleSoft message catalog tables:</strong><br />
<strong>PS_MESSAGE_CATALOG</strong>: Stores information about PeopleSoft message catalogs such as message set number, message number and the actual message text.<br />
<strong>MESSAGE_SET_TBL</strong>: Message set description table.</p>
<div>
<div style="font-family: monospace; padding-left: 30px;"><em>SELECT * FROM PS_MESSAGE_CATALOG<br />
WHERE LAST_UPDATE_DTTM  &gt; TO_DATE(&#8217;03-DEC-07&#8242;, &#8216;DD-MON-YY&#8217;)<br />
AND LAST_UPDATE_DTTM  &lt; TO_DATE(&#8217;05-DEC-07&#8242;, &#8216;DD-MON-YY&#8217;)<br />
ORDER BY MESSAGE_SET_NBR, MESSAGE_NBR;</em><br />
<em> &#8212; This will return messages that has been last update/added between 2 specific dates.</em></div>
</div>
<h2>Menu Tables</h2>
<p><strong>PSMENUDEFN</strong>: Store Menu related information.  No related component info on this table.</p>
<p><strong>PSMENUITEM</strong>: List the menu with all components attached to it.</p>
<h2>Component Tables</h2>
<p><strong>PSPNLGRPDEFN</strong>: Stores component related information only.</p>
<p><strong>PSPNLGROUP</strong>: This table will give you information regarding a specific component along with the names of pages attached to it.</p>
<h2>Pages</h2>
<p><strong>PSPNLDEFN:</strong> Stores pages definitions.</p>
<p><strong>PSPNLFIELD:</strong> Stores all items used by each page definition.</p>
<h2>Security</h2>
<p><strong>PSPRSMPERM:</strong> Portal Structure Permissions.</p>
<p><strong>PSAUTHITEM:</strong> Page Permissions.  This table stores the information about the page level access for a permission list.</p>
<p style="padding-left: 30px;"><em>select ai.classid, CD.CLASSDEFNDESC, menuname, barname, obj.descr &#8220;Bar Descr&#8221;,<br />
case<br />
when authorizedactions=0 then &#8216;No access&#8217;<br />
when authorizedactions=1 then &#8216;Read-only access&#8217;<br />
when barname =&#8217;DBFIELD&#8217; then<br />
case when authorizedactions=2 then &#8216;Update translates only&#8217;<br />
when authorizedactions=4 then &#8216;Full access&#8217; end<br />
when barname=&#8217;RECORD&#8217; then<br />
case when authorizedactions=2 then &#8216;Data admin. only&#8217;<br />
when authorizedactions=4 then &#8216;Full access&#8217; end<br />
when barname=&#8217;CHANGE_CONTROL&#8217; then<br />
case when authorizedactions=2 then &#8216;Restricted access&#8217;<br />
when authorizedactions=3 then &#8216;Developer access&#8217;<br />
when authorizedactions=4 then &#8216;Supervisor access&#8217;<br />
end<br />
when barname=&#8217;DATA_ADMINISTRATION&#8217; then<br />
case when authorizedactions=2 then &#8216;Build scripts only&#8217;<br />
when authorizedactions=3 then &#8216;Build scripts online&#8217;<br />
when authorizedactions=4 then &#8216;Full data admin.&#8217;<br />
end<br />
when authorizedactions=4 then &#8216;Full access&#8217;<br />
end as &#8220;Access&#8221;<br />
from psauthitem ai, PSCLASSDEFN CD, PS_APP_DES_OBJECTS OBJ<br />
where AI.CLASSID=CD.CLASSID<br />
and ai.barname=Obj.OBJNAME<br />
AND MENUNAME=&#8217;APPLICATION_DESIGNER&#8217;<br />
AND DISPLAYONLY=0<br />
AND AUTHORIZEDACTIONS&gt;0<br />
AND BARNAME IN (&#8216;BUSINESSPROCESS&#8217;,<br />
&#8216;BUSINESSPROCESSMAP&#8217;,<br />
&#8216;DBFIELD&#8217;,<br />
&#8216;MENU&#8217;,<br />
&#8216;PANEL&#8217;,<br />
&#8216;PANELGROUP&#8217;,<br />
&#8216;PROJECT&#8217;,<br />
&#8216;RECORD&#8217;,<br />
&#8216;CHANGE_CONTROL&#8217;,<br />
&#8216;DATA_ADMINISTRATION&#8217;,<br />
&#8216;UPGRADE&#8217;,<br />
&#8216;FIELD_FORMAT&#8217;)<br />
order by 1, 2, 3, 4</em></p>
<p><strong>PSROLECLASS:</strong> Role Classes table.  A many to many relationship table between Roles and Permission Lists.</p>
<p><strong>PSROLEDEFN:</strong> This table stores information about Peoplesoft Role definitions. Users get permissions to PeopleSoft objects through Roles, which are assigned Permission Lists.</p>
<p><strong>PSROLEUSER:</strong> This table stores information about the Users in Peoplesoft and the roles assigned to them.</p>
<p><strong>PSCLASSDEFN:</strong> Permissions List definitions table.  Permission list name can be found under Field Name CLASSID.</p>
<p><strong>PSOPRDEFN:</strong> Users/Operator definition table. This table stores information about PeopleSoft users. This is the core table for User Profile Manager.</p>
<p><strong>PSOPRCLS:</strong> Users/Operator and Perm list mapping Table. This table stores information about PeopleSoft users and the permission lists attached to those users.<br />
A User gets these permission lists indirectly through the roles which are attached to the user</p>
<p>Here is an <a href="http://www.compshack.com/peoplesoft/portal/roles-permissions-and-users-assigned-portal-content-reference-or-component">example query post</a> that uses all of the above security tables!</p>
<h2>URL Definitions</h2>
<p><strong>PSURLDEFN:</strong> Stores URL definitions. Here is the path to create URL definitions in PeopleSoft Root &gt;&gt; PeopleTools &gt;&gt; Utilities &gt;&gt; Administration &gt;&gt; URLs</p>
<h2>Application Classes</h2>
<p><strong>PSAPPCLASSDEFN:</strong> Application Class Definitions table.  You can use field PACKAGEROOT to search for a specific Application Package.</p>
<h2>PeopleSoft Query Tables</h2>
<p><strong>PSQRYDEFN:</strong> Stores query related info.</p>
<p><strong>PSQRYFIELD:</strong> Stores all fields used in a query (both the fields in the Select and Where clause).</p>
<p><strong>PSQRYCRITERIA:</strong> Stores criteria query fields.  You can get the name of the fields by joining the PSQRYFIELD table.</p>
<p><strong>PSQRYEXPR:</strong> Stores query expressions.</p>
<p><strong>PSQRYBIND:</strong> Stores query bind variables.</p>
<p><strong>PSQRYRECORD:</strong> Stores all records used in all aspects of query creation</p>
<p><strong>PSQRYSELECT:</strong> Stores all SELECT requirements by select type. Example would be sub select, join, ect.</p>
<p><strong>PSQRYLINK:</strong> Stores the relationships to child queries.</p>
<p><strong>PSQRYEXECLOG</strong>: Query run time log table that stores (only 8.4x and higher)</p>
<p><strong>PSQRYSTATS</strong>: Query run time statistics table such as count of query execution, and  date time of last execution (only in 8.4x and higher).</p>
<h2>SQL Objects</h2>
<p><strong>PSSQLDEFN</strong>: Stores SQL object definitions.</p>
<p><strong>PSSQLDESCR</strong>: Stores SQL objects descriptions, and description long.</p>
<p><strong>PSSQLTEXTDEFN</strong>: Stores actual SQL text. You can filter by SQLTYPE field to get SQL objects of interest such as Views SQLs and Application Engine SQLs.</p>
<div>
<div style="font-family: monospace; padding-left: 30px;"><em>&#8211; When SQL type is:<br />
0 = Stand alone SQL objects<br />
1 = Application engine SQL<br />
2 = Views SQLs</em></div>
</div>
<h2>Application Engines</h2>
<p><strong>PSAEAPPLDEFN</strong>: Table that stores Application Engine program definitions.</p>
<p><strong>PSAEAPPLSTATE</strong>: Stores application engine STATE records and a flag to indicate if the record is the default STATE record.</p>
<p><strong>PSAESECTDEFN</strong>: Application engine section information and also stores last user id to update a specific section.</p>
<p><strong>PSAESECTDTLDEFN</strong>: AE section along with descriptions and wither the section is active or not.</p>
<p><strong>PSAEAPPLTEMPTBL</strong>: If your application engine uses Temp tables it will show on this record.</p>
<p><strong>PSAESTEPDEFN</strong>: Steps in application engines are stored in this table.</p>
<p><strong>PSAESTMTDEFN</strong>: Stores your application engine actions and along with their types, such as &#8220;Do Select&#8221; and so on.</p>
<p><strong>PSAESTEPMSGDEFN</strong>: Application engine message action definition table.</p>
<p><strong>AEREQUESTTBL</strong>:  Application Engine request table behind the AE run control page.</p>
<p><strong>AEREQUESTPARM</strong>: Application Engine request parameters table behind the AE run control page.</p>
<h2>PeopleCode Tables</h2>
<p><strong>PSPCMNAME</strong>: PeopleCode Reference table.</p>
<p><strong>PSPCMPROG</strong>: Store actual PeopleCode programs (actual code behind PeopleCode events).</p>
<h2>Process Request Tables</h2>
<p><strong>PSPRCSQUE</strong>: This record contains the process request information to run a process request.</p>
<p><strong>PSPRCSRQST</strong>: This record contains the process request information to run a process request.</p>
<p style="padding-left: 30px;"><em>SELECT PRCSINSTANCE as &#8220;PI&#8221;, PRCSJOBSEQ as &#8220;Seq&#8221;, PRCSTYPE, PRCSNAME as &#8220;Name&#8221;, OPRID, RUNCNTLID, SERVERNAMERUN as &#8220;Server Run&#8221;, RECURNAME, RUNDTTM, BEGINDTTM, ENDDTTM,<br />
CASE WHEN RUNSTATUS=1 THEN &#8216;Cancel&#8217;<br />
WHEN RUNSTATUS=2 THEN &#8216;Delete&#8217;<br />
WHEN RUNSTATUS=3 THEN &#8216;Error&#8217;<br />
WHEN RUNSTATUS=4 THEN &#8216;Hold&#8217;<br />
WHEN RUNSTATUS=5 THEN &#8216;Queued&#8217;<br />
WHEN RUNSTATUS=6 THEN &#8216;Initiated&#8217;<br />
WHEN RUNSTATUS=7 THEN &#8216;Processing&#8217;<br />
WHEN RUNSTATUS=8 THEN &#8216;Cancelled&#8217;<br />
WHEN RUNSTATUS=9 THEN &#8216;Success&#8217;<br />
WHEN RUNSTATUS=10 THEN &#8216;No Success&#8217;<br />
WHEN RUNSTATUS=11 THEN &#8216;Posted&#8217;<br />
WHEN RUNSTATUS=12 THEN &#8216;Not Posted&#8217;<br />
WHEN RUNSTATUS=13 THEN &#8216;Resend&#8217;<br />
WHEN RUNSTATUS=14 THEN &#8216;Posting&#8217;<br />
WHEN RUNSTATUS=15 THEN &#8216;Generated&#8217;<br />
WHEN RUNSTATUS=16 THEN &#8216;Pending&#8217;<br />
WHEN RUNSTATUS=17 THEN &#8216;Warning&#8217;<br />
WHEN RUNSTATUS=18 THEN &#8216;Blocked&#8217;<br />
WHEN RUNSTATUS=19 THEN &#8216;Restart&#8217;<br />
END AS &#8220;Status&#8221;<br />
FROM PSPRCSRQST<br />
ORDER BY RUNDTTM, PRCSJOBSEQ</em></p>
<p><strong>PS_PMN_PRCSLIST</strong>: A view to list all process requests in the Process Monitor except for &#8220;Delete&#8221; (runstatus = 2) process requests.</p>
<h2>Other Useful Tables</h2>
<p><strong>PSSTATUS</strong>: 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.</p>
<p><strong>PSCHGCTLLOCK</strong>: Description as explained by PeopleSoft &#8220;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.&#8221;<br />
Visit <a title="PeopleSoft object locking - Change Control" href="http://www.compshack.com/peoplesoft/peopletools/unlock-peoplesoft-objects-all-once-change-control-locking">this post</a> to see how could you make use of this table.</p>
<p><strong>PSMAPFIELD</strong>: Stores Field mapping of Activity<br />
<strong>PS_PRCSRUNCNTL</strong>: Run Control record stores Run Control IDs created online.</p>
<h2>Application Messaging Table(s)</h2>
<p><strong>PSAPMSGPUBHDR</strong>: Publication Headers table.</p>
<p><strong>PSAPMSGPUBCON</strong>: Publication Contracts table.</p>
<p><strong>PSAPMSGSUBCON</strong>: Subscription Contracts table.</p>
<div id="_mcePaste" style="overflow: hidden; position: absolute; left: -10000px; top: 1221px; width: 1px; height: 1px;">
<p>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, this is a wiki page, so jump in!</p>
<h2>PeopleSoft Projects</h2>
<p><strong>PSPROJECTDEFN </strong>table stores information about projects created in Application Designer.<br />
Try it out:</p>
<div class="geshifilter">
<div class="text geshifilter-text" style="font-family: monospace;">SELECT * FROM PSPROJECTDEFN<br />
WHERE PROJECTNAME = &#8216;Your_Project_name&#8217;;</div>
</div>
<p><strong>PSPROJECTITEM</strong> table stores objects inserted into your Application Designer project.<br />
Try it out:</p>
<div class="geshifilter">
<div class="text geshifilter-text" style="font-family: monospace;">SELECT * FROM PSPROJECTITEM<br />
WHERE PROJECTNAME = &#8216;Your_Project_name&#8217;;</div>
</div>
<h2>Portal Structure</h2>
<p><strong>PSPRSMDEFN</strong> is a Portal Structure Definition table. A good example is to use this table to find portal path for a specific component. <a href="http://www.compshack.com/peoplesoft/queries/query-component-path-within-peoplesoft-portal">Take a closer look on how this is done!</a>.</p>
<p><strong>PSPRSMPERM</strong>: Shows the permission lists that are assigned to a portal registry structure (content reference). The permission list name is under field PORTAL_PERMNAME.</p>
<h2>XLAT Tables</h2>
<p><strong>XLATTABLE</strong>: Stores translate values (PeopleSoft version prior to 8.4).<br />
<strong>PSXLATDEFN</strong>: Stores all fields that have Xlat values.  This table does not store any Xlat values.<br />
<strong>PSXLATITEM</strong>: Stores fields with their actual translate values (PeopleSoft version 8.4 and above).</p>
<h2>Record &amp; Field Tables</h2>
<p><strong>PSRECDEFN</strong>: Stores informations about tables. One row for each table. Field count and record type are two fields that are stored on this table.</p>
<div class="geshifilter">
<div class="text geshifilter-text" style="font-family: monospace;">CASE RECTYPE<br />
WHEN 0 THEN &#8216;Table&#8217;<br />
WHEN 1 THEN &#8216;View&#8217;<br />
WHEN 2 THEN &#8216;Derived&#8217;<br />
WHEN 3 THEN &#8216;Sub Record&#8217;<br />
WHEN 5 THEN &#8216;Dynamic View&#8217;<br />
WHEN 6 THEN &#8216;Query View&#8217;<br />
WHEN 7 THEN &#8216;Temporary Table&#8217;<br />
ELSE TO_CHAR(RECTYPE)<br />
END CASE</div>
</div>
<p><strong>PSRECFIELD</strong>: Stores records with all their fields (sub-records are not expanded)</p>
<p><strong>PSRECFIELDALL</strong>: Stores records with all their fields (sub-records are expanded)</p>
<p><strong>PSINDEXDEFN:</strong> Contains 1 row per index defined for a table.</p>
<p><strong>PSKEYDEFN:</strong> Containes 1 row per key field defined for an index.</p>
<p><strong>PSDBFIELD</strong>: You got it, stores information about fields.</p>
<div class="geshifilter">
<div class="text geshifilter-text" style="font-family: monospace;">CASE FIELDTYPE<br />
WHEN 0 THEN &#8216;Character&#8217;<br />
WHEN 1 THEN &#8216;Long Character&#8217;<br />
WHEN 2 THEN &#8216;Number&#8217;<br />
WHEN 3 THEN &#8216;Signed Number&#8217;<br />
WHEN 4 THEN &#8216;Date&#8217;<br />
WHEN 5 THEN &#8216;Time&#8217;<br />
WHEN 6 THEN &#8216;DateTime&#8217;<br />
WHEN 8 THEN &#8216;Image&#8217;<br />
WHEN 9 THEN &#8216;Image Reference&#8217;<br />
ELSE TO_CHAR(FIELDTYPE)<br />
END CASE</div>
</div>
<p><strong>PSDBFLDLABL:</strong> Stores field label information.</p>
<h2>Process Definition Table(s)</h2>
<p><strong>PS_PRCSDEFNPNL</strong>: Stores the process definition name, process type(sqr report, application engine&#8230;), and the component name associated with the process definition.</p>
<p><strong>PS_PRCSDEFN</strong>: 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.</p>
<h2>Message Catalog Tables</h2>
<p><strong>PSMSGCATDEFN</strong>: Stores information about PeopleSoft message catalogs such as message set number, message number and the actual message text.</p>
<p><strong>PSMSGCATLANG</strong>: language table.</p>
<div class="geshifilter">
<div class="text geshifilter-text" style="font-family: monospace;">&#8211; Example<br />
SELECT * FROM PSMSGCATDEFN<br />
WHERE LAST_UPDATE_DTTM  &gt; TO_DATE(&#8217;03-DEC-07&#8242;, &#8216;DD-MON-YY&#8217;)<br />
AND LAST_UPDATE_DTTM  &lt; TO_DATE(&#8217;05-DEC-07&#8242;, &#8216;DD-MON-YY&#8217;)<br />
ORDER BY MESSAGE_SET_NBR, MESSAGE_NBR;<br />
&#8211; This will return messages that has been last update/added between 2 specific dates.</div>
</div>
<p><strong>Previous PeopleSoft message catalog tables:</strong><br />
<strong>PS_MESSAGE_CATALOG</strong>: Stores information about PeopleSoft message catalogs such as message set number, message number and the actual message text.<br />
<strong>MESSAGE_SET_TBL</strong>: Message set description table.</p>
<div class="geshifilter">
<div class="text geshifilter-text" style="font-family: monospace;">&#8211; Example<br />
SELECT * FROM PS_MESSAGE_CATALOG<br />
WHERE LAST_UPDATE_DTTM  &gt; TO_DATE(&#8217;03-DEC-07&#8242;, &#8216;DD-MON-YY&#8217;)<br />
AND LAST_UPDATE_DTTM  &lt; TO_DATE(&#8217;05-DEC-07&#8242;, &#8216;DD-MON-YY&#8217;)<br />
ORDER BY MESSAGE_SET_NBR, MESSAGE_NBR;<br />
&#8211; This will return messages that has been last update/added between 2 specific dates.</div>
</div>
<h2>Menu Tables</h2>
<p><strong>PSMENUDEFN</strong>: Store Menu related information.  No related component info on this table.</p>
<p><strong>PSMENUITEM</strong>: List the menu with all components attached to it.</p>
<h2>Component Tables</h2>
<p><strong>PSPNLGRPDEFN</strong>: Stores component related information only.</p>
<p><strong>PSPNLGROUP</strong>: This table will give you information regarding a specific component along with the names of pages attached to it.</p>
<h2>Pages</h2>
<p><strong>PSPNLDEFN:</strong> Stores pages definitions.</p>
<p><strong>PSPNLFIELD:</strong> Stores all items used by each page definition.</p>
<h2>Security</h2>
<p><strong>PSPRSMPERM:</strong> Portal Structure Permissions.</p>
<p><strong>PSAUTHITEM:</strong> Page Permissions.  This table stores the information about the page level access for a permission list.</p>
<p><strong>PSROLECLASS:</strong> Role Classes table.  A many to many relationship table between Roles and Permission Lists.</p>
<p><strong>PSROLEDEFN:</strong> This table stores information about Peoplesoft Role definitions. Users get permissions to PeopleSoft objects through Roles, which are assigned Permission Lists.</p>
<p><strong>PSROLEUSER:</strong> This table stores information about the Users in Peoplesoft and the roles assigned to them.</p>
<p><strong>PSCLASSDEFN:</strong> Permissions List definitions table.  Permission list name can be found under Field Name CLASSID.</p>
<p><strong>PSOPRDEFN:</strong> Users/Operator definition table. This table stores information about PeopleSoft users. This is the core table for User Profile Manager.</p>
<p><strong>PSOPRCLS:</strong> Users/Operator and Perm list mapping Table. This table stores information about PeopleSoft users and the permission lists attached to those users.<br />
A User gets these permission lists indirectly through the roles which are attached to the user</p>
<p>Here is an <a href="http://www.compshack.com/peoplesoft/portal/roles-permissions-and-users-assigned-portal-content-reference-or-component">example query post</a> that uses all of the above security tables!</p>
<h2>URL Definitions</h2>
<p><strong>PSURLDEFN:</strong> Stores URL definitions. Here is the path to create URL definitions in PeopleSoft Root &gt;&gt; PeopleTools &gt;&gt; Utilities &gt;&gt; Administration &gt;&gt; URLs</p>
<h2>Application Classes</h2>
<p><strong>PSAPPCLASSDEFN:</strong> Application Class Definitions table.  You can use field PACKAGEROOT to search for a specific Application Package.</p>
<h2>PeopleSoft Query Tables</h2>
<p><strong>PSQRYDEFN:</strong> Stores query related info.</p>
<p><strong>PSQRYFIELD:</strong> Stores all fields used in a query (both the fields in the Select and Where clause).</p>
<p><strong>PSQRYCRITERIA:</strong> Stores criteria query fields.  You can get the name of the fields by joining the PSQRYFIELD table.</p>
<p><strong>PSQRYEXPR:</strong> Stores query expressions.</p>
<p><strong>PSQRYBIND:</strong> Stores query bind variables.</p>
<p><strong>PSQRYRECORD:</strong> Stores all records used in all aspects of query creation</p>
<p><strong>PSQRYSELECT:</strong> Stores all SELECT requirements by select type. Example would be sub select, join, ect.</p>
<p><strong>PSQRYLINK:</strong> Stores the relationships to child queries.</p>
<p><strong>PSQRYEXECLOG</strong>: Query run time log table that stores (only 8.4x and higher)</p>
<p><strong>PSQRYSTATS</strong>: Query run time statistics table such as count of query execution, and  date time of last execution (only in 8.4x and higher).</p>
<h2>SQL Objects</h2>
<p><strong>PSSQLDEFN</strong>: Stores SQL object definitions.</p>
<p><strong>PSSQLDESCR</strong>: Stores SQL objects descriptions, and description long.</p>
<p><strong>PSSQLTEXTDEFN</strong>: Stores actual SQL text. You can filter by SQLTYPE field to get SQL objects of interest such as Views SQLs and Application Engine SQLs.</p>
<div class="geshifilter">
<div class="text geshifilter-text" style="font-family: monospace;">&#8211; When SQL type is:<br />
0 = Stand alone SQL objects<br />
1 = Application engine SQL<br />
2 = Views SQLs</div>
</div>
<h2>Application Engines</h2>
<p><strong>PSAEAPPLDEFN</strong>: Table that stores Application Engine program definitions.</p>
<p><strong>PSAEAPPLSTATE</strong>: Stores application engine STATE records and a flag to indicate if the record is the default STATE record.</p>
<p><strong>PSAESECTDEFN</strong>: Application engine section information and also stores last user id to update a specific section.</p>
<p><strong>PSAESECTDTLDEFN</strong>: AE section along with descriptions and wither the section is active or not.</p>
<p><strong>PSAEAPPLTEMPTBL</strong>: If your application engine uses Temp tables it will show on this record.</p>
<p><strong>PSAESTEPDEFN</strong>: Steps in application engines are stored in this table.</p>
<p><strong>PSAESTMTDEFN</strong>: Stores your application engine actions and along with their types, such as &#8220;Do Select&#8221; and so on.</p>
<p><strong>PSAESTEPMSGDEFN</strong>: Application engine message action definition table.</p>
<p><strong>AEREQUESTTBL</strong>:  Application Engine request table behind the AE run control page.</p>
<p><strong>AEREQUESTPARM</strong>: Application Engine request parameters table behind the AE run control page.</p>
<h2>PeopleCode Tables</h2>
<p><strong>PSPCMNAME</strong>: PeopleCode Reference table.</p>
<p><strong>PSPCMPROG</strong>: Store actual PeopleCode programs (actual code behind PeopleCode events).</p>
<h2>Process Request Tables</h2>
<p><strong>PSPRCSQUE</strong>: This record contains the process request information to run a process request.</p>
<p><strong>PSPRCSRQST</strong>: This record contains the process request information to run a process request.</p>
<p><strong>PS_PMN_PRCSLIST</strong>: A view to list all process requests in the Process Monitor except for &#8220;Delete&#8221; (runstatus = 2) process requests.</p>
<h2>Other Useful Tables</h2>
<p><strong>PSSTATUS</strong>: 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.</p>
<p><strong>PSCHGCTLLOCK</strong>: Description as explained by PeopleSoft &#8220;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.&#8221;<br />
Visit <a title="PeopleSoft object locking - Change Control" href="http://www.compshack.com/peoplesoft/peopletools/unlock-peoplesoft-objects-all-once-change-control-locking">this post</a> to see how could you make use of this table.</p>
<p><strong>PSMAPFIELD</strong>: Stores Field mapping of Activity<br />
<strong>PS_PRCSRUNCNTL</strong>: Run Control record stores Run Control IDs created online.</div>
]]></content:encoded>
			<wfw:commentRss>http://tomgee.us/?feed=rss2&amp;p=26</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
