<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wikidot="http://www.wikidot.com/rss-namespace">

	<channel>
		<title>PeopleSoft Wiki - new forum threads</title>
		<link>http://www.peoplesoftwiki.com/forum/start</link>
		<description>Threads in forums of the site &quot;PeopleSoft Wiki&quot;</description>
				<copyright></copyright>
		<lastBuildDate>Fri, 30 Jul 2010 05:00:26 +0000</lastBuildDate>
		
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-256066</guid>
				<title>Difference Between Data Buffer and Component Buffer</title>
				<link>http://www.peoplesoftwiki.com/forum/t-256066/difference-between-data-buffer-and-component-buffer</link>
				<description>Difference between component buffer and data buffer</description>
				<pubDate>Thu, 29 Jul 2010 07:39:16 +0000</pubDate>
				<wikidot:authorName>DURGAVAJHULA</wikidot:authorName>				<wikidot:authorUserId>476507</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>What is the difference between Data Buffer and the Component Buffer?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-254405</guid>
				<title>Data Being Added Conflicts error on Save.</title>
				<link>http://www.peoplesoftwiki.com/forum/t-254405/data-being-added-conflicts-error-on-save</link>
				<description></description>
				<pubDate>Tue, 20 Jul 2010 00:15:20 +0000</pubDate>
				<wikidot:authorName>MeridianGuy</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>My page has a level 1 grid whose primary record is a "top of stack" view. When the user modifies a "top of stack" row, upon the Save I do a CopyTo(&amp;Rec), where &amp;Rec is the underlying table, then I increment the effdt and effseq appropriately, then do a &amp;Rec.Insert.</p> <p>I am doing this for several grids on the page at the same level, and all grids work fine except this one grid. In all cases, the level 1 scrolls have one extra key than the parent. In this case, the trace shows the &amp;Rec.Insert succeeding, then it attempts the "Select for Update" into the original view giving the original effdt. This doesn't happen for any other grid. All other grids stop after the insert.</p> <p>TRACE FILE:</p> <p>If GetRow().IsChanged Then<br /> &amp;Rec = GetRecord();<br /> If &amp;Rec.EFFDT.Value = %Date And<br /> GetRow().IsNew = False Then<br /> &amp;Rec.EFFSEQ.Value = &amp;Rec.EFFSEQ.Value + 1;<br /> Else<br /> &amp;Rec.EFFDT.Value = %Date;<br /> &amp;Rec.EFFSEQ.Value = 0;<br /> End-If;<br /> …<br /> &amp;REC2 = CreateRecord(Record.ZG_ENT_KC);<br /> &amp;REC2.SetDefault();<br /> &amp;Rec.COPYFIELDSTO(&amp;REC2);<br /> &amp;REC2.Insert();</p> <p>Stmt=INSERT INTO PS_ZG_ENT_KC (ZG_ENTITY_ID,EMPLID,EFFDT,EFFSEQ,EFF_STATUS,PHONE, EMAIL_ADDR,LASTUPDOPRID,LASTUPDDTTM) VALUES (:1,:2,TO_DATE(:3,'YYYY-MM-DD'),:4,:5,:6,:7,:8,TO_TIMESTAMP(:9,'YYYY-MM-DD-HH24.MI.SS.FF'))<br /> value=V0000001<br /> value=7269&nbsp;555<br /> value<br /> 10-07-19<br /> value=0<br /> value=A<br /> value=444/444-4444<br /> value=<br /> value=743156<br /> value<br /> 10-07-19-19.36.34.000000<br /> End-If;</p> <p>Stmt=SELECT ZG_ENTITY_ID, EMPLID, EFFDT, TO_CHAR(EFFDT,'YYYY-MM-DD'), EFFSEQ, EFF_STATUS, PHONE, EMAIL_ADDR, LASTUPDOPRID, TO_CHAR(CAST((LASTUPDDTTM) AS TIMESTAMP),'YYYY-MM-DD-HH24.MI.SS.FF') FROM PS_ZG_ENT_KC_VW WHERE ZG_ENTITY_ID=:1 AND EMPLID=:2 AND EFFDT=TO_DATE(:3,'YYYY-MM-DD') AND EFFSEQ=:4 FOR UPDATE OF EFFDT, PHONE, LASTUPDOPRID, LASTUPDDTTM<br /> value=V0000001<br /> value=7269555value<br /> 10-07-15<br /> value=0</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-248449</guid>
				<title>Field Is Required while calling DoSaveNow()</title>
				<link>http://www.peoplesoftwiki.com/forum/t-248449/field-is-required-while-calling-dosavenow</link>
				<description>Field Is Required while calling DoSaveNow()

Why OT_ESS.DATE is stated empty while calling DoSaveNow() althought it already has a value?</description>
				<pubDate>Thu, 17 Jun 2010 12:36:10 +0000</pubDate>
				<wikidot:authorName>mi jo</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Why OT_ESS.DATE is stated empty while calling DoSaveNow() althought it already has a value?</p> <p>Here is the code in the submit button</p> <div class="code"> <pre> <code>Local Rowset &amp;LocalRowOT; &amp;LocalRowOT = GetLevel0()(1).GetRowset(Scroll.OT_ESS); For &amp;i = ActiveRowCount(Scroll.OT_ESS) To 1 Step - 1 If All(&amp;LocalRowOT(&amp;i).OT_ESS.EMP_RMK.Value) Then &amp;LocalRowOT(&amp;i).OT_ESS.STATUS.Value = "SUB"; End-If; If All(&amp;LocalRowOT(&amp;i).OT_ESS.CODE.Value, &amp;LocalRowOT(&amp;i).OT_ESS.DATE.Value, &amp;LocalRowOT(&amp;i).OT_ESS.EMP_RMK.Value) Then &amp;LocalRowOT(&amp;i).OT_ESS.DATE.Enabled = False; &amp;LocalRowOT(&amp;i).OT_ESS.EMP_RMK.Enabled = False; End-If; DoSaveNow(); End-For;</code> </pre></div> <p>I got this error messsage after click the SUBMIT_BTN<br /> <strong>Field Is Required: OT_ESS - DATE</strong></p> <p>I try to display the value so add the code with message boxes:</p> <div class="code"> <pre> <code>Local Rowset &amp;LocalRowOT; &amp;LocalRowOT = GetLevel0()(1).GetRowset(Scroll.OT_ESS); For &amp;i = ActiveRowCount(Scroll.OT_ESS) To 1 Step - 1 MessageBox(0, "", 0, 0, "&amp;i is " | &amp;i | " &amp;LocalRowOT(&amp;i).OT_ESS.DATE is " | &amp;LocalRowOT(&amp;i).OT_ESS.DATE | " &amp;LocalRowOT(&amp;i).OT_ESS.DATE.Value is " | &amp;LocalRowOT(&amp;i).OT_ESS.DATE.Value); End-For; For &amp;i = ActiveRowCount(Scroll.OT_ESS) To 1 Step - 1 If All(&amp;LocalRowOT(&amp;i).OT_ESS.EMP_RMK.Value) Then &amp;LocalRowOT(&amp;i).OT_ESS.STATUS.Value = "SUB"; End-If; If All(&amp;LocalRowOT(&amp;i).OT_ESS.CODE.Value, &amp;LocalRowOT(&amp;i).OT_ESS.DATE.Value, &amp;LocalRowOT(&amp;i).OT_ESS.EMP_RMK.Value) Then &amp;LocalRowOT(&amp;i).OT_ESS.DATE.Enabled = False; &amp;LocalRowOT(&amp;i).OT_ESS.EMP_RMK.Enabled = False; End-If; MessageBox(0, "", 0, 0, "before save : OT_ESS.DATE is " | OT_ESS.DATE | " and OT_ESS.DATE.Value is " | OT_ESS.DATE.Value); DoSaveNow(); End-For;</code> </pre></div> <p>The first Message box<br /> i is <strong>1</strong> &amp;LocalRowOT(&amp;i).OT_ESS.DATE is <strong>Field</strong> &amp;LocalRowOT(&amp;i).OT_ESS.DATE.Value is <strong>2010-06-10</strong></p> <p>The second Message box<br /> before save : OT_ESS.DATE is and OT_ESS.DATE.Value is</p> <p>the field DATE already has a value (displayed in the message box). But why it generates error while calling DoSaveNow() ?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-248344</guid>
				<title>PeopleSoft Campus Solutions 9.0</title>
				<link>http://www.peoplesoftwiki.com/forum/t-248344/peoplesoft-campus-solutions-9-0</link>
				<description></description>
				<pubDate>Wed, 16 Jun 2010 21:00:59 +0000</pubDate>
				<wikidot:authorName>Shelly</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hi!</p> <p>I'm looking to find someone who has good experience working with PeopleSoft Campus Solutions 9.0. If you do, please let me know as I'd like to speak to you about an excellent position in the NY area.</p> <p>Shelly<br /> 646-247-0075</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-248286</guid>
				<title>PeopleSoft Finance Principal Consultant</title>
				<link>http://www.peoplesoftwiki.com/forum/t-248286/peoplesoft-finance-principal-consultant</link>
				<description>Need a PeopleSoft Finance Principal Consultant for London. Please contact chandra.reddy@avanceservices.com</description>
				<pubDate>Wed, 16 Jun 2010 12:39:45 +0000</pubDate>
				<wikidot:authorName>Chandra Reddy</wikidot:authorName>				<wikidot:authorUserId>500516</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>My name is Chandra Reddy working as an IT recruiter with Avance Consulting Services. I would like to share a job opportunity with one of our esteemed clients.<br /> Please find the below job description and if you are interested, Please send me your updated CV and also suggest me the best time to discuss in detail.</p> <p>Requirement:</p> <p>Roles : PeopleSoft Financial Consultant<br /> Location : London<br /> Type : Permanent</p> <p>Job Description:</p> <p> Implement multiple Peoplesoft Financial modules like finance, Benefits administration, Talent Acquisition &amp; Candidate Gateway with experties in one or more process areas<br />  Model business processes based on user requirements.<br />  Understand and advise client on best practices<br />  Implement technical and package configurations with setups<br />  Support and/or conduct requirements collation and analysis.<br />  Map package features to client requirements, suggest workarounds where necessary, conduct Fit- Gap analysis, define requirements for customizations and extensions.<br />  Conduct CRP, support UAT, user training and perform System testing, configuring in Development environments as part of implementation, support and other related activities.<br />  Provide guidance to the team, throughout the project life cycle for a successful completion of the project.<br />  Tailor methodologies and macro issues to customer’s needs<br />  Good knowledge of PeopleSoft Upgrade/Implementation methodologies<br />  Lead large teams at a module or functional process<br />  Pre-sales support activities.<br />  Contribute to thought-leadership and identification of pre-packaged solutions.</p> <p>Mentor junior consultants.</p> <p>Looking ahead to hear from you.</p> <p>Best Regards,<br /> Chandra Reddy<br /> Avance Consulting(Europe)<br /> Direct: +44&nbsp;20&nbsp;79935300<br /> Fax : 08718130559<br /> Email: <span class="wiki-email">moc.secivresecnava|ydder.ardnahc#moc.secivresecnava|ydder.ardnahc</span><br /> www.avanceservices.com</p> <p>We pay referral fee for all our positions. Please visit <a href="http://www.wisestep.com/">http://www.wisestep.com/</a> for details.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-247983</guid>
				<title>HRMS TABLES</title>
				<link>http://www.peoplesoftwiki.com/forum/t-247983/hrms-tables</link>
				<description>Can i find all the list of hrms tables in one table</description>
				<pubDate>Tue, 15 Jun 2010 04:57:54 +0000</pubDate>
				<wikidot:authorName>DURGAVAJHULA</wikidot:authorName>				<wikidot:authorUserId>476507</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I want to know all the hrms tables available in peoplesoft. can i find the list of all hrms table names in one table, if so please provide the name of that table.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-246000</guid>
				<title>Need to find field in peoplesoft</title>
				<link>http://www.peoplesoftwiki.com/forum/t-246000/need-to-find-field-in-peoplesoft</link>
				<description>Does anyone know what record/field would denote in peoplesoft if a purchase order is a regular order or a repair?</description>
				<pubDate>Fri, 04 Jun 2010 14:18:12 +0000</pubDate>
				<wikidot:authorName>KHurley</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Does anyone know what record/field would denote in peoplesoft if a purchase order is a regular order or a repair? I need to eliminate purchase orders in a query that I have developed for a user based on if it is a purchase order for a repair.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-245795</guid>
				<title>Great idea</title>
				<link>http://www.peoplesoftwiki.com/forum/t-245795/great-idea</link>
				<description>Great idea</description>
				<pubDate>Thu, 03 Jun 2010 14:42:54 +0000</pubDate>
				<wikidot:authorName>melban</wikidot:authorName>				<wikidot:authorUserId>332139</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>This is such a great idea. I've used the correspondence CRM piece before and it is just too bulking for some things. This allows for very simple emails to be sent very easily and I'll use this in the future. I've also been using the PT_MCF_MAIL App Package alot for projects and have had to develop a nice template engine to go along for generating complex HTML emails. Great start.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-245789</guid>
				<title>Email Message Catalog</title>
				<link>http://www.peoplesoftwiki.com/forum/t-245789/email-message-catalog</link>
				<description></description>
				<pubDate>Thu, 03 Jun 2010 14:18:52 +0000</pubDate>
				<wikidot:authorName>bensonky</wikidot:authorName>				<wikidot:authorUserId>315241</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>First off, this rocks!</p> <p>While reading through this I noticed what I think is a small bug. Doubt it would ever show or cause issue, but thought I'd mention it.</p> <div class="code"> <pre> <code>method GetResultText ... When = %ObEmail_NotDelivered Return "Delivery not attempted"; Break; When = %ObEmail_NotDelivered Return "Partially delivered"; Break; ... end-method;</code> </pre></div> <p>I think this should actually be</p> <div class="code"> <pre> <code> When = %ObEmail_NotDelivered Return "Delivery not attempted"; Break; When = %ObEmail_PartiallyDelivered Return "Partially delivered"; Break;</code> </pre></div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-242765</guid>
				<title>Inserting to a table</title>
				<link>http://www.peoplesoftwiki.com/forum/t-242765/inserting-to-a-table</link>
				<description>Need to insert information to a logging table when customer views a view-only page.</description>
				<pubDate>Thu, 20 May 2010 20:12:24 +0000</pubDate>
				<wikidot:authorName>Belinda</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>We need to insert a row into a custom table each time our customer views a view-only page. In which event should this occur? I've tried several and have gotten errors. We are running PeopleSoft 8.9, PeopleTools 8.49, Oracle DB.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-242722</guid>
				<title>exporting hierarchical data using file layouts</title>
				<link>http://www.peoplesoftwiki.com/forum/t-242722/exporting-hierarchical-data-using-file-layouts</link>
				<description>exporting hierarchical data using file layouts using people code</description>
				<pubDate>Thu, 20 May 2010 14:27:26 +0000</pubDate>
				<wikidot:authorName>DURGAVAJHULA</wikidot:authorName>				<wikidot:authorUserId>476507</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>i want to export the hierarchical data in tables to the flat file using filelayouts and people code.i want some idea, how to export hierarchical data to the flat file.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-242403</guid>
				<title>PeopleSoft Financials Default UserIDs and Permission Lists</title>
				<link>http://www.peoplesoftwiki.com/forum/t-242403/peoplesoft-financials-default-userids-and-permission-lists</link>
				<description>Is there a list available somewhere that lists the Default UserIds and Permission lists that come out of the box with the PeopleSoft Financial system?</description>
				<pubDate>Tue, 18 May 2010 20:25:44 +0000</pubDate>
				<wikidot:authorName>KapilM</wikidot:authorName>				<wikidot:authorUserId>484834</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Is there a list available somewhere that lists the Default UserIds and Permission lists that come out of the box with the PeopleSoft Financial system? I was able to find the default listing of User IDs and Permissions for HRMS system but nothing for Financial.</p> <p>I would really appreciate if someone could point me in the right direction or help me find the list.</p> <p>Thank you,<br /> K</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-242392</guid>
				<title>express issue and distribution types</title>
				<link>http://www.peoplesoftwiki.com/forum/t-242392/express-issue-and-distribution-types</link>
				<description>Question on RTVs an express issues for vendor returns.</description>
				<pubDate>Tue, 18 May 2010 19:31:52 +0000</pubDate>
				<wikidot:authorName>Kathy Hurley</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>our company is new to peoplesoft. We are trying to setup RTVs. We have our Reason codes in the system. When we go into Inventory&gt;Fullfill stock orders&gt;Express Issue for a request of vendor type return, we arent sure of what to enter on the next page.Is the Distribution type required for this type of request? When we click on our drop down it is blank. I am wondering if we missed setting something up.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-241429</guid>
				<title>PS QUery</title>
				<link>http://www.peoplesoftwiki.com/forum/t-241429/ps-query</link>
				<description>How do I use sub-query in the selected column in PS Query</description>
				<pubDate>Thu, 13 May 2010 22:41:40 +0000</pubDate>
				<wikidot:authorName>Kevin</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>How do I create a PeopleSoft Query to place a sub-query in the selected column?<br /> For example, how do I convert the followign SQL into PS Query?</p> <div class="code"> <div class="hl-main"> <pre> <span class="hl-reserved">select</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">business_unit</span><span class="hl-code">, </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">voucher_id</span><span class="hl-code">, </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">voucher_line_num</span><span class="hl-code">, </span><span class="hl-var">sum</span><span class="hl-brackets">(</span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">saletx_amt</span><span class="hl-brackets">)</span><span class="hl-code">, </span><span class="hl-var">sum</span><span class="hl-brackets">(</span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">saletx_calc_amt</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-reserved">select</span><span class="hl-code"> </span><span class="hl-var">sum</span><span class="hl-brackets">(</span><span class="hl-identifier">bb</span><span class="hl-code">.</span><span class="hl-identifier">saletx_calc_amt</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">from</span><span class="hl-code"> </span><span class="hl-identifier">ps_voucher_line</span><span class="hl-code"> </span><span class="hl-identifier">bb</span><span class="hl-code"> </span><span class="hl-reserved">where</span><span class="hl-code"> </span><span class="hl-identifier">bb</span><span class="hl-code">.</span><span class="hl-identifier">business_unit</span><span class="hl-code"> = </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">business_unit</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">bb</span><span class="hl-code">.</span><span class="hl-identifier">voucher_id</span><span class="hl-code"> = </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">voucher_id</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-identifier">Sum_Calc_Sales_Tax_AllLines</span><span class="hl-code">, </span><span class="hl-var">sum</span><span class="hl-brackets">(</span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">saletx_amt</span><span class="hl-brackets">)</span><span class="hl-code"> - </span><span class="hl-brackets">(</span><span class="hl-reserved">select</span><span class="hl-code"> </span><span class="hl-var">sum</span><span class="hl-brackets">(</span><span class="hl-identifier">bbb</span><span class="hl-code">.</span><span class="hl-identifier">SALETX_CALC_AMT</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">from</span><span class="hl-code"> </span><span class="hl-identifier">ps_voucher_line</span><span class="hl-code"> </span><span class="hl-identifier">bbb</span><span class="hl-code"> </span><span class="hl-reserved">where</span><span class="hl-code"> </span><span class="hl-identifier">bbb</span><span class="hl-code">.</span><span class="hl-identifier">business_unit</span><span class="hl-code"> = </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">business_unit</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">bbb</span><span class="hl-code">.</span><span class="hl-identifier">voucher_id</span><span class="hl-code"> = </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">voucher_id</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-identifier">Over_Under_STX_PYMT</span><span class="hl-code">, </span><span class="hl-reserved">from</span><span class="hl-code"> </span><span class="hl-identifier">ps_voucher</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">, </span><span class="hl-identifier">ps_voucher_line</span><span class="hl-code"> </span><span class="hl-identifier">b</span><span class="hl-code"> </span><span class="hl-reserved">where</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">business_unit</span><span class="hl-code"> = </span><span class="hl-quotes">'</span><span class="hl-string">7012</span><span class="hl-quotes">'</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">voucher_id</span><span class="hl-code"> = </span><span class="hl-quotes">'</span><span class="hl-string">01677751</span><span class="hl-quotes">'</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">business_unit</span><span class="hl-code"> = </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">business_unit</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">voucher_id</span><span class="hl-code"> = </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">voucher_id</span><span class="hl-code"> </span><span class="hl-reserved">group</span><span class="hl-code"> </span><span class="hl-reserved">by</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">business_unit</span><span class="hl-code">,</span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">voucher_id</span><span class="hl-code">,</span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">voucher_line_num</span><span class="hl-code"> </span><span class="hl-reserved">having</span><span class="hl-code"> </span><span class="hl-var">sum</span><span class="hl-brackets">(</span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">saletx_amt</span><span class="hl-brackets">)</span><span class="hl-code"> &lt;&gt; </span><span class="hl-brackets">(</span><span class="hl-reserved">select</span><span class="hl-code"> </span><span class="hl-var">sum</span><span class="hl-brackets">(</span><span class="hl-identifier">bbb</span><span class="hl-code">.</span><span class="hl-identifier">saletx_calc_amt</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">from</span><span class="hl-code"> </span><span class="hl-identifier">ps_voucher_line</span><span class="hl-code"> </span><span class="hl-identifier">bbb</span><span class="hl-code"> </span><span class="hl-reserved">where</span><span class="hl-code"> </span><span class="hl-identifier">bbb</span><span class="hl-code">.</span><span class="hl-identifier">business_unit</span><span class="hl-code"> = </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">business_unit</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">bbb</span><span class="hl-code">.</span><span class="hl-identifier">voucher_id</span><span class="hl-code"> = </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">voucher_id</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">order</span><span class="hl-code"> </span><span class="hl-reserved">by</span><span class="hl-code"> </span><span class="hl-number">1</span><span class="hl-code">,</span><span class="hl-number">2</span><span class="hl-code">,</span><span class="hl-number">3</span><span class="hl-code">;</span> </pre></div> </div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-241256</guid>
				<title>Unicode or Not?</title>
				<link>http://www.peoplesoftwiki.com/forum/t-241256/unicode-or-not</link>
				<description></description>
				<pubDate>Thu, 13 May 2010 05:44:03 +0000</pubDate>
				<wikidot:authorName>Praj</wikidot:authorName>				<wikidot:authorUserId>52320</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>The following <a href="http://repettas.wordpress.com/2008/05/19/peopletools-846-847-848-and-849-how-do-you-find-out-if-oracle-database-has-been-installed-as-unicode/" >site</a> explains exactly how to tell if your database is unicode or not (on Oracle). You can still use the generic <tt>UNICODE_ENABLED</tt> flag (0 = non-unicode, 1 = unicode) in the <tt>PSSTATUS</tt> table tell which option is being used:</p> <div class="code"> <div class="hl-main"> <pre> <span class="hl-reserved">select</span><span class="hl-code"> </span><span class="hl-reserved">case</span><span class="hl-code"> </span><span class="hl-reserved">when</span><span class="hl-code"> </span><span class="hl-identifier">UNICODE_ENABLED</span><span class="hl-code"> = </span><span class="hl-number">0</span><span class="hl-code"> </span><span class="hl-reserved">then</span><span class="hl-code"> </span><span class="hl-quotes">'</span><span class="hl-string">Non-Unicode</span><span class="hl-quotes">'</span><span class="hl-code"> </span><span class="hl-reserved">else</span><span class="hl-code"> </span><span class="hl-quotes">'</span><span class="hl-string">Unicode</span><span class="hl-quotes">'</span><span class="hl-code"> </span><span class="hl-reserved">end</span><span class="hl-code"> </span><span class="hl-reserved">as</span><span class="hl-code"> </span><span class="hl-identifier">UNICODE_ENABLED</span><span class="hl-code"> </span><span class="hl-reserved">from</span><span class="hl-code"> </span><span class="hl-identifier">PSSTATUS</span><span class="hl-code">;</span> </pre></div> </div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-239975</guid>
				<title>auditing user profiles</title>
				<link>http://www.peoplesoftwiki.com/forum/t-239975/auditing-user-profiles</link>
				<description>Captruring Security Activity Report in Peoplesoft 9.0</description>
				<pubDate>Thu, 06 May 2010 21:15:33 +0000</pubDate>
				<wikidot:authorName>dhananjay70</wikidot:authorName>				<wikidot:authorUserId>479612</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Dear friends,<br /> I"ma new bee to PeopleSoft and work as an HRIS analyst.<br /> We have a requirement for generating report on User Securoty Tasks such as password changes, added /modified Permission lists, Added/Modified Roles. I'M not sure if there is any Log or Table Or Query we can use to get this report via PeopleSoft Application Designer.<br /> WOuld be much obliged if someone can educate me the steps to me since I need to get this task at earliest please.</p> <p>Kind Regards<br /> Dhananjay</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-239735</guid>
				<title>Sending mail using PT_MCF_MAIL</title>
				<link>http://www.peoplesoftwiki.com/forum/t-239735/sending-mail-using-pt-mcf-mail</link>
				<description></description>
				<pubDate>Wed, 05 May 2010 16:18:44 +0000</pubDate>
				<wikidot:authorName>Srinivasa</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>We are using the following code to send a mail<br /> import PT_MCF_MAIL:*;</p> <p>Local PT_MCF_MAIL:MCFOutboundEmail &amp;email = create PT_MCF_MAIL:MCFOutboundEmail();</p> <hr /> <p>&amp;email.Recipients = "test_mail"; /*incorrect mail id*/<br /> or</p> <p>&amp;email.Recipients = "<span class="wiki-email">moc.4321|savinirs#moc.4321|savinirs</span>"; /*incorrect domain id*/</p> <hr /> <p>&amp;email.From = "";<br /> &amp;email.BCC = "";<br /> &amp;email.Subject = "Test mail";<br /> &amp;email.ReplyTo = "";<br /> &amp;email.ContentType = "text/html";<br /> &amp;res = &amp;email.Send();<br /> WinMessage("Mail Sent " | &amp;res | "-" | %ObEmail_Delivered, 0);</p> <p>I am passing wrong Recipients mail id. when we run this still its &amp;email.Send(); returning 1 (success)..<br /> is there any workaround in PS to validate the mailid against SMTP server.</p> <p>any idea?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-239727</guid>
				<title>temporary tables</title>
				<link>http://www.peoplesoftwiki.com/forum/t-239727/temporary-tables</link>
				<description>difference between temporary table types</description>
				<pubDate>Wed, 05 May 2010 15:00:40 +0000</pubDate>
				<wikidot:authorName>DURGAVAJHULA</wikidot:authorName>				<wikidot:authorUserId>476507</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>what is the difference between dedicated temporary tables and undedicated temporary tables in AE?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-239036</guid>
				<title>SEND E-MAIL</title>
				<link>http://www.peoplesoftwiki.com/forum/t-239036/send-e-mail</link>
				<description>SEND MAILS</description>
				<pubDate>Tue, 04 May 2010 07:42:51 +0000</pubDate>
				<wikidot:authorName>DURGAVAJHULA</wikidot:authorName>				<wikidot:authorUserId>476507</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>HOW TO SEND EMAILS USING SQR</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-238633</guid>
				<title>sqr</title>
				<link>http://www.peoplesoftwiki.com/forum/t-238633/sqr</link>
				<description>prevent execution of sqr program</description>
				<pubDate>Sun, 02 May 2010 07:30:30 +0000</pubDate>
				<wikidot:authorName>DURGAVAJHULA</wikidot:authorName>				<wikidot:authorUserId>476507</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>how to restrict sqr program executing other than in process scheduler</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-238083</guid>
				<title>nedd ps_person table data</title>
				<link>http://www.peoplesoftwiki.com/forum/t-238083/nedd-ps-person-table-data</link>
				<description></description>
				<pubDate>Thu, 29 Apr 2010 10:30:52 +0000</pubDate>
				<wikidot:authorName>SRIKANTH</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>hi, i accidentally deleted ps_person table data in data base.i dont know how to get that data back, can any helps me, otherwise i just need excel/csv file for the ps_person please send to me.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-237564</guid>
				<title>OLE Automation in Peopletools 8.50</title>
				<link>http://www.peoplesoftwiki.com/forum/t-237564/ole-automation-in-peopletools-8-50</link>
				<description>OLE Automation in Peopletools 8.50</description>
				<pubDate>Tue, 27 Apr 2010 06:20:17 +0000</pubDate>
				<wikidot:authorName>Nitin</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hell All,</p> <p>Any information regarding OLE Automation will be appreciated.</p> <p>I found a piece of delivered code on XREF_WRK.XREF_OLE1.FieldChange</p> <p>Local object &amp;IDE;</p> <p>&amp;IDE = CreateObject("PEOPLESOFT.IDE");<br /> /*ObjectSetProperty(&amp;IDE, "Visible", True);*/<br /> ObjectDoMethod(&amp;IDE, "ViewObject", "Record.XREF_VIEW");</p> <p>This record is attached to the Page XREF_PANEL_01</p> <p>The Navigation is Peopletools-&gt;Administratrion-&gt;Audit-&gt;Record Cross Reference</p> <p>I went ahead and added the field as a push button this page. On Clicking the push button i get the following error</p> <p>Class PEOPLESOFT.IDE was not found. (180,74) XREF_WRK.XREF_OLE1.FieldChange PCPC:63 Statement:1</p> <p>The given class could not be found in the database, or had problems when we tried to load it.</p> <p>Does anyone have any information on how to get this class to invoke PSIDE automatically from the Web to show the record.</p> <p>Thanks</p> <p>Nitin</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-236523</guid>
				<title>PSQUERY App Engine email query results</title>
				<link>http://www.peoplesoftwiki.com/forum/t-236523/psquery-app-engine-email-query-results</link>
				<description>I want to have the PSQUERY app engine email the XLS or CSV file when the process completes</description>
				<pubDate>Thu, 22 Apr 2010 14:18:38 +0000</pubDate>
				<wikidot:authorName>melban</wikidot:authorName>				<wikidot:authorUserId>332139</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I want to have the PSQUERY app engine email the XLS or CSV file when the process completes. Right now you have to go out and download the files from the process monitor logs page. You can setup the be notified of the process completion but not receive the files created since this is an App Engine and not an SQL or Crystal. Any ideas?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-236073</guid>
				<title>cc-ing and bcc-ing emails out of Comm Gen</title>
				<link>http://www.peoplesoftwiki.com/forum/t-236073/cc-ing-and-bcc-ing-emails-out-of-comm-gen</link>
				<description></description>
				<pubDate>Tue, 20 Apr 2010 21:40:01 +0000</pubDate>
				<wikidot:authorName>Kevin Williams</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hi</p> <p>It isn't obvious to me how this might be achieved but I imagine it is a fairly common requirement. I have cases where I want to email a student and cc their agent (and vice versa) or possibly even bcc a communication to a central mailbox within our organisation.</p> <p>Has anyone done this and how are they doing it?</p> <p>Regards</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-233644</guid>
				<title>how to load data for tables having parent child relation  using CI</title>
				<link>http://www.peoplesoftwiki.com/forum/t-233644/how-to-load-data-for-tables-having-parent-child-relation-using-ci</link>
				<description>how to load data for tables having parent child relation  using CI</description>
				<pubDate>Mon, 12 Apr 2010 10:51:36 +0000</pubDate>
				<wikidot:authorName>rajsekharpsoft</wikidot:authorName>				<wikidot:authorUserId>468582</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>can any one plz help with this<br /> hai i have two table like ,dept_tbl(deptid,dname) and empl_tbl(deptid,emplid,ename,loc) how do i load data into these tables using CI, how do i resolve parent child relation ship while loading data using CI.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-233059</guid>
				<title>AP Trial Balance</title>
				<link>http://www.peoplesoftwiki.com/forum/t-233059/ap-trial-balance</link>
				<description>What porcess is used to Reconcile AP to GL</description>
				<pubDate>Fri, 09 Apr 2010 13:20:38 +0000</pubDate>
				<wikidot:authorName>Steve</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Is there an AP Trial Balance delivered in PeopleSoft 8.9 that could be used to reconcile AP to GL?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-232437</guid>
				<title>Inline CSS in your HTML definitions?</title>
				<link>http://www.peoplesoftwiki.com/forum/t-232437/inline-css-in-your-html-definitions</link>
				<description></description>
				<pubDate>Wed, 07 Apr 2010 03:51:53 +0000</pubDate>
				<wikidot:authorName>Praj</wikidot:authorName>				<wikidot:authorUserId>52320</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Just wanted to ask people whether they use inline CSS within their HTML objects or whether they try to use the rigid style sheet definitions (this is for cases where you are not on PeopleTools 8.50). I like using inline CSS as it is easier to work with, but it does break the principle that you should keep content and presentation separate. Thoughts, suggestions?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-231340</guid>
				<title>Help in IB with webservices</title>
				<link>http://www.peoplesoftwiki.com/forum/t-231340/help-in-ib-with-webservices</link>
				<description></description>
				<pubDate>Fri, 02 Apr 2010 05:34:40 +0000</pubDate>
				<wikidot:authorName>guest</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hi I am testing the Integration with 3rd party webservices.we send a SOAP message by running a AE.when the process is run ,the process completes successfully and also says that the data was updated in the 3rd party system.however when i login to the 3rd party url ,i am not able to view the data which was sent.The node was also pinging successfully.am i missing something here?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-231021</guid>
				<title>Relationship between Event_ID, Comm Key and Ltr Code</title>
				<link>http://www.peoplesoftwiki.com/forum/t-231021/relationship-between-event-id-comm-key-and-ltr-code</link>
				<description></description>
				<pubDate>Wed, 31 Mar 2010 20:47:21 +0000</pubDate>
				<wikidot:authorName>Kevin Williams</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Running a scheduled process twice daily to assign Admissions comms. There are 15 'flavours' of comm (letter code) to generate based on whether the comm is an admit/ deny/conditional offer and whether the applicant is domestic or international etc.</p> <p>QUESTION: do I need to set up one Event_ID for each flavour of comm (15) or one Event_ID containing 15 comm keys?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-229352</guid>
				<title>Populating a State Record</title>
				<link>http://www.peoplesoftwiki.com/forum/t-229352/populating-a-state-record</link>
				<description></description>
				<pubDate>Wed, 24 Mar 2010 13:45:44 +0000</pubDate>
				<wikidot:authorName>Spamboy</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>In addition to adding PROCESS_INSTANCE as a field, it should also be a Key Field, especially if the State Record is an actual database table (vs. derived record) that will store data needed for program restarts.</p> <p>Additional State Record fields that are common to include are AE_APPLID and AE_SECTION. These are required on AE Programs which have dynamic Call Section Actions, as the values in these fields will control what AE Step is called next — either in the current program or something outside.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-228982</guid>
				<title>PeopleBooks Context Sensitive Help</title>
				<link>http://www.peoplesoftwiki.com/forum/t-228982/peoplebooks-context-sensitive-help</link>
				<description></description>
				<pubDate>Mon, 22 Mar 2010 22:41:28 +0000</pubDate>
				<wikidot:authorName>Praj</wikidot:authorName>				<wikidot:authorUserId>52320</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I've added some <a href="http://forums.oracle.com/forums/thread.jspa?messageID=4182116#4182116" >comments</a> at the OTN discussion formums in response to the error <em>"Help cannot be displayed because no help context ID was passed"</em> that can occur when setting up context sensitive help with PeopleBooks.</p> <p>The post also talks about setting up context sensitive help using <a href="http://tahiti.oracle.com/pdf/EnablingtheHelpLinkfromApplicationPages.pdf" >Oracle hosted PeopleBooks</a>. I've tried this and while it works, I've found it to be a fair bit slower.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-228838</guid>
				<title>Desktop Admin Rights for PeopleSoft App Designer Installation and usage</title>
				<link>http://www.peoplesoftwiki.com/forum/t-228838/desktop-admin-rights-for-peoplesoft-app-designer-installation-and-usage</link>
				<description>Do we require Desktop Admin Rights for PeopleSoft App Designer Installation and usage?</description>
				<pubDate>Mon, 22 Mar 2010 12:33:15 +0000</pubDate>
				<wikidot:authorName>Dhanaprakash</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>Do we require Desktop Admin Rights for PeopleSoft App Designer Installation and usage?</p> <p>Regards,<br /> Dhana Prakash</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-228166</guid>
				<title>Setting Page Setup in XMLP template</title>
				<link>http://www.peoplesoftwiki.com/forum/t-228166/setting-page-setup-in-xmlp-template</link>
				<description></description>
				<pubDate>Fri, 19 Mar 2010 11:38:00 +0000</pubDate>
				<wikidot:authorName>Ruchi</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>Is it possible to set up the Orientation of the .xls Report in the template itself. I mean can i set up the orientation to Landscape or Portrait dynamically depending on the data from Run Control Page.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-227129</guid>
				<title>Networking...CSU, UC or other university contact</title>
				<link>http://www.peoplesoftwiki.com/forum/t-227129/networking-csu-uc-or-other-university-contact</link>
				<description>Can you please share your contact information with me?</description>
				<pubDate>Mon, 15 Mar 2010 16:07:34 +0000</pubDate>
				<wikidot:authorName>Michal Sipal</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Hi,</p> <p>I'm Michal Sipal and I work for CSU Monterey Bay as the Student Information Security Analyst. I'm looking to establish some networking contacts from other CSUs, Ucs, and other Universities/Colleges as it pertains to PeopleSoft Security administration, audits and assigning security.</p> <p>Can you please share your contact information with me?</p> <p>Thank you.</p> <p>Sincerely,</p> <p>Mike Sipal<br /> Student Information Systems</p> <p>California State University, Monterey Bay<br /> 100 Campus Center, Bldg 47, 2nd Floor<br /> Seaside, CA 93955<br /> Tel (831) 582-4079<br /> Fax (831) 582-3783</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-225373</guid>
				<title>Duplicate Invoice Checking</title>
				<link>http://www.peoplesoftwiki.com/forum/t-225373/duplicate-invoice-checking</link>
				<description>Can duplicate invoice checking be configured to reject one criteria (Duplicate invoice numbers) and warn on another criteria, same vendor and dollar amount. v 8.9</description>
				<pubDate>Tue, 09 Mar 2010 14:51:18 +0000</pubDate>
				<wikidot:authorName>Steve</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Can duplicate invoice checking be configured to reject one criteria (Duplicate invoice numbers) and warn on another criteria, same vendor and dollar amount. v 8.9</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-222727</guid>
				<title>Is it possible to select a random of EmplID&#039;s from a Query</title>
				<link>http://www.peoplesoftwiki.com/forum/t-222727/is-it-possible-to-select-a-random-of-emplid-s-from-a-query</link>
				<description>Need to select a random set of EMPLID&#039;s from PS Query.  Need help.</description>
				<pubDate>Fri, 26 Feb 2010 20:04:20 +0000</pubDate>
				<wikidot:authorName>Gilbert Solorio</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>I will need to create a query that would select 450 random ID's from PS Query. Does PS Query allow me to create such an expression? Or another way of achieving this?</p> <p>Thanks!</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-222665</guid>
				<title>display bold letters in mail using app pacakge PT_WF_NOTIFICATION</title>
				<link>http://www.peoplesoftwiki.com/forum/t-222665/display-bold-letters-in-mail-using-app-pacakge-pt-wf-notification</link>
				<description>PT_WF_NOTIFICATION</description>
				<pubDate>Fri, 26 Feb 2010 13:16:02 +0000</pubDate>
				<wikidot:authorName>SriLakshmi</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>I am using PT_WF_NOTIFICATION app package to send mails.<br /> The body of mail is displayed using message catalog.<br /> I have used &amp;notification.ContentType = "text/html; charset=UTF-8";</p> <p>I tried splitting the message in message catalog.<br /> For the Part of text to be displayed in bold,i am using HTML tags and then concatinating with remaining message from message catalog.<br /> Thanks in advance.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-221162</guid>
				<title>Delivered CI Security</title>
				<link>http://www.peoplesoftwiki.com/forum/t-221162/delivered-ci-security</link>
				<description>How do I grant security to the delivered INTFC_FINPHY_SS_A component interface?</description>
				<pubDate>Sat, 20 Feb 2010 18:20:13 +0000</pubDate>
				<wikidot:authorName>Tina</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>I currently have access to the INTFC_FINPHY_SS_A delivered component interface while using my own Userid - which is a clone of VP1. I am trying to set up a new User with access to this CI. I have added the CI and Full Access to all Methods on one of their permission lists - but it's still now working for them. I am not aware of any security requirement through Integration Broker. Is there another security setting that I am missing for this User?</p> <p>Thanks,<br /> Tina</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-220413</guid>
				<title>Exposing Web Services and Assigning Specific Roles</title>
				<link>http://www.peoplesoftwiki.com/forum/t-220413/exposing-web-services-and-assigning-specific-roles</link>
				<description>how to secure a PeopleSoft Web service</description>
				<pubDate>Thu, 18 Feb 2010 14:08:06 +0000</pubDate>
				<wikidot:authorName>Sam</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>Can someone explain how web service access is controlled by Permission Lists. Screen captures would be helpful, but a step by step would suffice. Does it use the same Security control that it used to expose the user interface itself. Some background would be very helpful.</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-219912</guid>
				<title>Namespaces for CI Based Webservices</title>
				<link>http://www.peoplesoftwiki.com/forum/t-219912/namespaces-for-ci-based-webservices</link>
				<description>Are there any best practice guidelines for creating Webservices based on CI&#039;s ... other than just clicking though the wizards?</description>
				<pubDate>Wed, 17 Feb 2010 00:38:06 +0000</pubDate>
				<wikidot:authorName>GaryT</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>When you generate an Webservice based on a CI you get messages with numeric names. These get imbedded in the WSDL Namespace … if you have to regenerate the web service you get a new message name and the Namespace changes.</p> <p>We want to plug the web service into an Enterprise Service Bus … but if the Namespace changes we have significant work in the ESB …</p> <p>Should we create aliases for each of the messages created for a CI based Service operation?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-219842</guid>
				<title>How to get Latest Effective Record (Effective Date is not an option)</title>
				<link>http://www.peoplesoftwiki.com/forum/t-219842/how-to-get-latest-effective-record-effective-date-is-not-an-option</link>
				<description>The table I&#039;m using does not have an effective date field but does contain a field called RUNDTTM which is composed of date and time.  How do I use this field to get the latest effective row on this field?</description>
				<pubDate>Tue, 16 Feb 2010 18:59:44 +0000</pubDate>
				<wikidot:authorName>gsolorio</wikidot:authorName>				<wikidot:authorUserId>428537</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I need help. I'm creating a PS Query in 9.0 and I have a table that contains a field called RUNDTTM. This field is composed of Date and Time. When I add this table it doesn't have an "Effective Date". So I can only use the RUNDTTM to include dates in my query results however I need the most current record (or the latest effective date). When I select the RUNDTTM, I click "Edit" and click the "Max" so that I get all the current records. But it is not. I even tried using an expression MAX (c.RUNDTTM) and added this to my "fields" tab and that doesn't work either (gives me an error). What can I do to get the latest effective record?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-218032</guid>
				<title>SQR Tracing via Process Monitor</title>
				<link>http://www.peoplesoftwiki.com/forum/t-218032/sqr-tracing-via-process-monitor</link>
				<description>Turn on Tracing for individual Run Control rather than entire Process</description>
				<pubDate>Wed, 10 Feb 2010 17:05:49 +0000</pubDate>
				<wikidot:authorName>Eric B</wikidot:authorName>								<content:encoded>
					<![CDATA[
						 <p>To Trace a SQR Program and get a Success, get the Output Destination Box, by changing the Type to file, then type the following in the box that opens up:<br /> -AP -debug…</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-218018</guid>
				<title>TAX960ST Indiana file</title>
				<link>http://www.peoplesoftwiki.com/forum/t-218018/tax960st-indiana-file</link>
				<description></description>
				<pubDate>Wed, 10 Feb 2010 16:07:50 +0000</pubDate>
				<wikidot:authorName>Hunyock</wikidot:authorName>				<wikidot:authorUserId>437195</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>I have gotten a message from out tax people that the file we send to Indiana (TAX960IN.dat) produced from this process should have an "RA" records for each of our companies instead of just one at the beginning of the file. Do I need to set the Bulk mailing field for this or is this something that is set externally?</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-217282</guid>
				<title>Peoplesoft record hierarchy with navigation.</title>
				<link>http://www.peoplesoftwiki.com/forum/t-217282/peoplesoft-record-hierarchy-with-navigation</link>
				<description>Peoplesoft record hierarchy with navigation.  is to understand the dataflow using peoplesoft prompt tables. this query works only in oracle datatabse it takes few minutes to execute as the query has to go through n number of tables.</description>
				<pubDate>Sun, 07 Feb 2010 01:41:05 +0000</pubDate>
				<wikidot:authorName>RahulAgrawal</wikidot:authorName>				<wikidot:authorUserId>437118</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>— replace CSGC_CMPRND_TBL with your record for which you want the hierarchy<br /> SELECT distinct r2.*<br /> ,p3.navigation,p2.DESCR254<br /> FROM<br /> sysadm.PSPNLGROUP A<br /> , sysadm.PSPNLFIELD B<br /> , sysadm.PSRECDEFN C<br /> ,(<br /> select distinct EDITTABLE as recname,'impacts'||SYS_CONNECT_BY_PATH(EDITTABLE,'-&gt;') as PROMPT_RECORD_TREE<br /> from psrecfield r1<br /> where (SUBSTR(EDITTABLE,1,1) &lt;&gt; '%' and EDITTABLE&lt;&gt; ' ')<br /> START with EDITTABLE='CSGC_CMPRND_TBL'<br /> CONNECT BY NOCYCLE PRIOR recname=EDITTABLE<br /> union<br /> select distinct EDITTABLE as recname,'impacted'||SYS_CONNECT_BY_PATH(EDITTABLE,'-&gt;') as PROMPT_RECORD_TREE<br /> from psrecfield r1<br /> where (SUBSTR(EDITTABLE,1,1) &lt;&gt; '%' and EDITTABLE&lt;&gt; ' ')<br /> START with recname='CSGC_CMPRND_TBL'<br /> CONNECT BY NOCYCLE PRIOR EDITTABLE = recname order by 2 asc<br /> ) r2<br /> ,<br /> PSPRSMDEFN p2<br /> ,<br /> (select SYS_CONNECT_BY_PATH(A.PORTAL_LABEL,'-&gt;') navigation, '/EMPLOYEE/ERP/c/' || PORTAL_URI_SEG1 || '.' || PORTAL_URI_SEG2 || '.' || PORTAL_URI_SEG3 url ,PORTAL_URI_SEG2<br /> from (SELECT distinct A.PORTAL_NAME, A.PORTAL_LABEL, A.PORTAL_OBJNAME, a.PORTAL_PRNTOBJNAME,<br /> A.PORTAL_URI_SEG1, A.PORTAL_URI_SEG2, A.PORTAL_URI_SEG3, A.PORTAL_REFTYPE<br /> FROM PSPRSMDEFN A<br /> WHERE<br /> portal_name = 'EMPLOYEE' and<br /> portal_objname &lt;&gt; portal_prntobjname and<br /> not exists (<br /> select 'x'<br /> from PSPRSMSYSATTRVL<br /> where portal_name = A.PORTAL_NAME AND<br /> portal_Reftype = A.PORTAL_REFTYPE and<br /> portal_objname = A.PORTAL_OBJNAME and<br /> PORTAL_ATTR_NAM = 'PORTAL_HIDE_FROM_NAV' and<br /> A.PORTAL_OBJNAME not in ('CO_NAVIGATION_COLLECTIONS', 'PORTAL_BASE_DATA')<br /> )<br /> ) A</p> <p>start with A.portal_prntobjname = 'PORTAL_ROOT_OBJECT'<br /> connect by prior A.portal_objname = A.portal_prntobjname<br /> ) p3<br /> WHERE<br /> r2.recname= B.RECNAME and<br /> a.PNLGRPNAME=p2.PORTAL_URI_SEG2 and<br /> p2.PORTAL_URI_SEG2=p3.PORTAL_URI_SEG2</p> <p>AND<br /> B.PNLNAME in (<br /> select distinct pnlname from pspnlfield a1 where A1.PNLNAME=A.PNLNAME UNION<br /> SELECT SUBPNLNAME<br /> FROM PSPNLFIELD a1<br /> START<br /> WITH PNLNAME=A.PNLNAME<br /> AND FIELDTYPE = 11 CONNECT BY PRIOR SUBPNLNAME = PNLNAME<br /> AND FIELDTYPE = 11 )<br /> AND B.RECNAME &lt;&gt; ' '<br /> AND B.ASSOCFIELDNUM = 0</p> <p>AND B.FIELDNUM =<br /> (SELECT MIN(D.FIELDNUM)<br /> FROM sysadm.PSPNLFIELD D<br /> WHERE D.PNLNAME = B.PNLNAME<br /> AND D.RECNAME = B.RECNAME<br /> AND D.OCCURSLEVEL = B.OCCURSLEVEL)<br /> AND C.RECNAME = B.RECNAME<br /> order by 2</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-217281</guid>
				<title>Peopesoft record hierarchy using Prompt tables</title>
				<link>http://www.peoplesoftwiki.com/forum/t-217281/peopesoft-record-hierarchy-using-prompt-tables</link>
				<description>This is useful in understanding the data flow between tables. specially in instances where peoplesoft is heavily customised. 
Currently it works with oracle database. 
CSGC_CMPRND_TBL replace by your record name.</description>
				<pubDate>Sun, 07 Feb 2010 01:36:33 +0000</pubDate>
				<wikidot:authorName>RahulAgrawal</wikidot:authorName>				<wikidot:authorUserId>437118</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>select distinct EDITTABLE as recname,'impacts'||SYS_CONNECT_BY_PATH(EDITTABLE,'-&gt;') as PROMPT_RECORD_TREE<br /> from psrecfield r1<br /> where (SUBSTR(EDITTABLE,1,1) &lt;&gt; '%' and EDITTABLE&lt;&gt; ' ')<br /> START with EDITTABLE='CSGC_CMPRND_TBL'<br /> CONNECT BY NOCYCLE PRIOR recname=EDITTABLE<br /> union<br /> select distinct EDITTABLE as recname,'impacted'||SYS_CONNECT_BY_PATH(EDITTABLE,'-&gt;') as PROMPT_RECORD_TREE<br /> from psrecfield r1<br /> where (SUBSTR(EDITTABLE,1,1) &lt;&gt; '%' and EDITTABLE&lt;&gt; ' ')<br /> START with recname='CSGC_CMPRND_TBL'<br /> CONNECT BY NOCYCLE PRIOR EDITTABLE = recname order by 2 asc</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-217280</guid>
				<title>places where related language prompt table can be missing</title>
				<link>http://www.peoplesoftwiki.com/forum/t-217280/places-where-related-language-prompt-table-can-be-missing</link>
				<description>Once we create pages and component for multilanguage application. we can missout on related language tables. here is the trick to do that. Sql is currently for oracle.</description>
				<pubDate>Sun, 07 Feb 2010 01:28:35 +0000</pubDate>
				<wikidot:authorName>RahulAgrawal</wikidot:authorName>				<wikidot:authorUserId>437118</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>—-places where related language prompt table can be missing<br /> replace CSG_PP with your project name.<br /> with a1 as (<br /> SELECT r.RELLANGRECNAME,f.edittable,<br /> f.recname, f.fieldname<br /> FROM psrecfield f, psrecdefn r<br /> WHERE f.edittable = r.recname<br /> and r.RELLANGRECNAME=' '<br /> AND (f.recname, f.fieldname) IN (<br /> SELECT p.recname,<br /> p.fieldname<br /> FROM pspnlfield p<br /> WHERE p.pnlname IN (<br /> SELECT objectvalue1<br /> FROM psprojectitem<br /> WHERE objecttype = 5<br /> AND projectname LIKE 'CSG_PP_%') )<br /> AND edittable &lt;&gt; ' ')<br /> select p.pnlname, p.pnlfldid, a1.*,p.pnlname FROM pspnlfield p,a1<br /> WHERE p.pnlname IN (<br /> SELECT objectvalue1<br /> FROM psprojectitem<br /> WHERE objecttype = 5<br /> AND projectname LIKE 'CSG_PP_%')<br /> and a1.recname=p.recname and a1.fieldname=p.fieldname<br /> /</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-217278</guid>
				<title>Peoplesoft related language tables with their key structure</title>
				<link>http://www.peoplesoftwiki.com/forum/t-217278/peoplesoft-related-language-tables-with-their-key-structure</link>
				<description>Peoplesoft related language tables with their key structure. This is extemely useful in tools data conversion. Or move from one version to another</description>
				<pubDate>Sun, 07 Feb 2010 01:22:32 +0000</pubDate>
				<wikidot:authorName>RahulAgrawal</wikidot:authorName>				<wikidot:authorUserId>437118</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>with a as (<br /> select recdescr,RECNAME, RELLANGRECNAME<br /> from psrecdefn<br /> n where rellangrecname &lt;&gt;' '<br /> and recname like 'PS%' and rectype=0<br /> ),<br /> b as (<br /> SELECT RECNAME<br /> ,FIELDNAME<br /> ,(TRUNC((USEEDIT/1),0) - TRUNC((USEEDIT/2),0) * 2)<br /> KEY<br /> ,(TRUNC((USEEDIT/2),0) - TRUNC((USEEDIT/4),0) * 2) DUPORDERKEY</p> <p>,(TRUNC((USEEDIT/256),0) - TRUNC((USEEDIT/512),0) * 2) REQUIRED<br /> FROM PSRECFIELD<br /> )<br /> select a.*,b.* from a,b where a.recname=b.recname<br /> and b.key=1</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-217277</guid>
				<title>Documenting your records in your peoplesoft project</title>
				<link>http://www.peoplesoftwiki.com/forum/t-217277/documenting-your-records-in-your-peoplesoft-project</link>
				<description>We can document records in Peoplesoft project using following sql. We can use screen shots also but they are not helpful if want to perform some kind of search for info.</description>
				<pubDate>Sun, 07 Feb 2010 01:06:32 +0000</pubDate>
				<wikidot:authorName>RahulAgrawal</wikidot:authorName>				<wikidot:authorUserId>437118</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>SELECT<br /> A.RECNAME,<br /> A.FIELDNAME,<br /> CASE<br /> WHEN B.FIELDTYPE = 0 THEN<br /> 'CHAR'<br /> WHEN B.FIELDTYPE = 1 THEN<br /> 'LONG CHAR'<br /> WHEN B.FIELDTYPE = 2 THEN<br /> 'NUMBER'<br /> WHEN B.FIELDTYPE = 3 THEN<br /> 'SIGNED NBR'<br /> WHEN B.FIELDTYPE = 4 THEN<br /> 'DATE'<br /> WHEN B.FIELDTYPE = 5 THEN<br /> 'TIME'<br /> WHEN B.FIELDTYPE = 6 THEN<br /> 'DATETIME'<br /> WHEN B.FIELDTYPE = 7<br /> OR B.FIELDTYPE = 8 THEN<br /> 'IMAGE'<br /> ELSE NULL<br /> END AS FIELDTYPE,<br /> CASE<br /> WHEN B.FIELDTYPE = 2<br /> OR B.FIELDTYPE = 3 THEN<br /> TRIM(TO_CHAR(B.LENGTH)) || '.' || TO_CHAR(B.DECIMALPOS)<br /> ELSE TO_CHAR(B.LENGTH)<br /> END AS FLDLEN,<br /> CASE<br /> WHEN bitand(A.USEEDIT, 256) &gt; 0 THEN<br /> 'YES'<br /> ELSE 'NO'<br /> END AS REQ,<br /> CASE<br /> WHEN bitand(A.USEEDIT, 1) &gt; 0 THEN<br /> 'KEY'<br /> WHEN bitand(A.USEEDIT, 2) &gt; 0 THEN<br /> 'DUP'<br /> WHEN bitand(A.USEEDIT, 16) &gt; 0 THEN<br /> 'ALT'<br /> ELSE NULL<br /> END AS KEY_TYPE,<br /> CASE<br /> WHEN bitand(A.USEEDIT, 64) &gt; 0 THEN<br /> 'DESC'<br /> WHEN ( bitand(A.USEEDIT, 1) &gt; 0<br /> OR bitand(A.USEEDIT, 2) &gt; 0<br /> OR bitand(A.USEEDIT, 16) &gt; 0 )<br /> AND bitand(A.USEEDIT, 64) = 0 THEN<br /> 'ASC'<br /> ELSE NULL<br /> END AS DIR,<br /> CASE<br /> WHEN bitand(A.USEEDIT, 2048) &gt; 0 THEN<br /> 'YES'<br /> ELSE 'NO'<br /> END AS SRCH,<br /> CASE<br /> WHEN bitand(A.USEEDIT, 32) &gt; 0 THEN<br /> 'YES'<br /> ELSE 'NO'<br /> END AS LIST,<br /> CASE<br /> WHEN bitand(A.USEEDIT, 4) &gt; 0 THEN<br /> 'YES'<br /> ELSE 'NO'<br /> END AS SYS,<br /> CASE<br /> WHEN TRIM(A.DEFRECNAME) = '' THEN<br /> A.DEFFIELDNAME<br /> ELSE<br /> TRIM(A.DEFRECNAME) || '.' || A.DEFFIELDNAME<br /> END AS DEFAULT_VALUE,<br /> CASE<br /> WHEN bitand(A.USEEDIT, 8) &gt; 0<br /> AND bitand(A.USEEDIT, 128) = 0<br /> AND bitand(A.USEEDIT, 1024) = 0 THEN<br /> 'A'<br /> WHEN bitand(A.USEEDIT, 8) &gt; 0<br /> AND bitand(A.USEEDIT, 128) &gt; 0<br /> AND bitand(A.USEEDIT, 1024) = 0 THEN<br /> 'AC'<br /> WHEN bitand(A.USEEDIT, 8) &gt; 0<br /> AND bitand(A.USEEDIT, 128) &gt; 0<br /> AND bitand(A.USEEDIT, 1024) &gt; 0 THEN<br /> 'ACD'<br /> WHEN bitand(A.USEEDIT, 8) = 0<br /> AND bitand(A.USEEDIT, 128) &gt; 0<br /> AND bitand(A.USEEDIT, 1024) = 0 THEN<br /> 'C'<br /> WHEN bitand(A.USEEDIT, 8) = 0<br /> AND bitand(A.USEEDIT, 128) &gt; 0<br /> AND bitand(A.USEEDIT, 1024) &gt; 0 THEN<br /> 'CD'<br /> WHEN bitand(A.USEEDIT, 8) = 0<br /> AND bitand(A.USEEDIT, 128) = 0<br /> AND bitand(A.USEEDIT, 1024) &gt; 0 THEN<br /> 'D'<br /> ELSE NULL<br /> END AS AUDT,<br /> CASE<br /> WHEN bitand(A.USEEDIT, 16384) &gt; 0 THEN<br /> 'PROMPT'<br /> WHEN bitand(A.USEEDIT, 512) &gt; 0 THEN<br /> 'XLAT'<br /> WHEN bitand(A.USEEDIT, 8192) &gt; 0 THEN<br /> 'Y/N'<br /> ELSE NULL<br /> END AS EDIT,<br /> A.EDITTABLE AS PROMPT_TABLE,<br /> A.SETCNTRLFLD AS SET_CONTROL_FLD,<br /> CASE<br /> WHEN bitand(A.USEEDIT, 4096) &gt; 0 THEN<br /> 'YES'<br /> ELSE 'NO'<br /> END AS REASONABLE_DT,<br /> CASE<br /> WHEN bitand(A.USEEDIT, 32768) &gt; 0 THEN<br /> 'YES'<br /> ELSE 'NO'<br /> END AS AUTO_UPDT,<br /> CASE<br /> WHEN bitand(A.USEEDIT, 262144) &gt; 0 THEN<br /> 'FROM'<br /> WHEN bitand(A.USEEDIT, 524288) &gt; 0 THEN<br /> 'THROUGH'<br /> ELSE NULL<br /> END AS SEARCH_FIELD,<br /> CASE<br /> WHEN A.SUBRECORD = 'Y' THEN<br /> 'YES'<br /> ELSE 'NO'<br /> END AS SUBRECORD,<br /> A.LASTUPDDTTM,<br /> A.LASTUPDOPRID<br /> FROM PSRECFIELD A,<br /> PSDBFIELD B<br /> WHERE A.RECNAME in (<br /> Select RTRIM(ITEM.OBJECTVALUE1)<br /> FROM PSPROJECTITEM ITEM, PSRECDEFN DEFN<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 0<br /> AND ITEM.OBJECTVALUE1 = DEFN.RECNAME<br /> AND DEFN.LASTUPDDTTM &gt; TO_DATE('2009-09-01', 'YYYY-MM-DD')<br /> )<br /> AND A.FIELDNAME = B.FIELDNAME and<br /> ORDER BY FIELDNUM</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-217275</guid>
				<title>information for documentation purpose through Peoplesoft Projects</title>
				<link>http://www.peoplesoftwiki.com/forum/t-217275/information-for-documentation-purpose-through-peoplesoft-projects</link>
				<description>Once we have created our projects its difficult to document every thing. Like object invloved etc. we can leverage the sql below to do that.</description>
				<pubDate>Sun, 07 Feb 2010 01:00:00 +0000</pubDate>
				<wikidot:authorName>RahulAgrawal</wikidot:authorName>				<wikidot:authorUserId>437118</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>information for documentation purpose . replace RAHUL_TMP with your projectname<br /> <span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span>—inormation for documentation<br /> SELECT ITEM.OBJECTVALUE1 AS "Application Engine", DEFN.descr, DEFN.LASTUPDOPRID, DEFN.LASTUPDDTTM<br /> FROM PSPROJECTITEM ITEM, PSAEAPPLDEFN DEFN<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 33<br /> AND ITEM.OBJECTVALUE1 = DEFN.AE_APPLID<br /> AND DEFN.LASTUPDDTTM &gt; TO_DATE('2009-09-01', 'YYYY-MM-DD')<br /> ORDER BY ITEM.OBJECTVALUE1;</p> <p>— Application Engine Section<br /> Select RTRIM(ITEM.OBJECTVALUE1) || '.' || RTRIM(ITEM.OBJECTVALUE2) AS "Application Engine Section", DEFN.LASTUPDOPRID, DEFN.LASTUPDDTTM<br /> FROM PSPROJECTITEM ITEM, PSAESECTDEFN DEFN<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 34<br /> AND ITEM.OBJECTVALUE1 = DEFN.AE_APPLID AND ITEM.OBJECTVALUE2 = DEFN.AE_SECTION<br /> AND DEFN.LASTUPDDTTM &gt; TO_DATE('2009-09-01', 'YYYY-MM-DD')<br /> ORDER BY ITEM.OBJECTVALUE1, ITEM.OBJECTVALUE2;</p> <p>— Application Package<br /> Select RTRIM(ITEM.OBJECTVALUE2) || RTRIM(ITEM.OBJECTVALUE3) || RTRIM(ITEM.OBJECTVALUE1) AS "Application Package",DEFN.descr, DEFN.LASTUPDOPRID, DEFN.LASTUPDDTTM<br /> FROM PSPROJECTITEM ITEM, PSPACKAGEDEFN DEFN<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 57<br /> AND ITEM.OBJECTVALUE1 = DEFN.PACKAGEID AND ITEM.OBJECTVALUE2 = DEFN.PACKAGEROOT<br /> AND DEFN.LASTUPDDTTM &gt; TO_DATE('2009-09-01', 'YYYY-MM-DD')<br /> ORDER BY ITEM.OBJECTVALUE2, ITEM.OBJECTVALUE1;</p> <p>— Component Interfaces<br /> Select RTRIM(ITEM.OBJECTVALUE1) AS "Component Interfaces", DEFN.descr,DEFN.LASTUPDOPRID, DEFN.LASTUPDDTTM<br /> FROM PSPROJECTITEM ITEM, PSBCDEFN DEFN<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 32<br /> AND ITEM.OBJECTVALUE1 = DEFN.BCNAME<br /> AND DEFN.LASTUPDDTTM &gt; TO_DATE('2009-09-01', 'YYYY-MM-DD')<br /> ORDER BY ITEM.OBJECTVALUE1, ITEM.OBJECTVALUE2;</p> <p>— Components<br /> Select RTRIM(ITEM.OBJECTVALUE1) || '.' || RTRIM(ITEM.OBJECTVALUE2) AS "Components", DEFN.descr,DEFN.LASTUPDOPRID, DEFN.LASTUPDDTTM<br /> FROM PSPROJECTITEM ITEM, PSPNLGRPDEFN DEFN<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 7<br /> AND ITEM.OBJECTVALUE1 = DEFN.PNLGRPNAME<br /> AND DEFN.LASTUPDDTTM &gt; TO_DATE('2009-09-01', 'YYYY-MM-DD')<br /> ORDER BY ITEM.OBJECTVALUE1, ITEM.OBJECTVALUE2;</p> <p>— Fields<br /> SELECT ITEM.OBJECTVALUE1 AS "Fields",<br /> DECODE(defn.FIELDTYPE , 0 ,'CHARACTER',<br /> 1, 'LONG',<br /> 2 , 'NUMBER',<br /> 3, 'SIGNED NUMBER',<br /> 4, 'DATE' ,<br /> 6, 'DATETIME') TYPE,length,lbl.LABEL_ID,lbl.LONGNAME, lbl.SHORTNAME ,DEFN.descrlong, DEFN.LASTUPDOPRID, DEFN.LASTUPDDTTM<br /> FROM PSPROJECTITEM ITEM, PSDBFIELD DEFN , PSDBFLDLABL lbl<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 2<br /> AND ITEM.OBJECTVALUE1 = DEFN.FIELDNAME<br /> —AND DEFN.LASTUPDDTTM &gt; TO_DATE('2009-09-01', 'YYYY-MM-DD')<br /> and ITEM.OBJECTVALUE1 like 'CSG_%'<br /> ORDER BY ITEM.OBJECTVALUE1;</p> <p><span style="text-decoration: line-through;">psrecfield<br /> SELECT RFLD.FIELDNAME, ITEM.OBJECTVALUE1 AS "RECORD",<br /> DECODE(defn.FIELDTYPE , 0 ,'CHARACTER',<br /> 1, 'LONG',<br /> 2 , 'NUMBER',<br /> 3, 'SIGNED NUMBER',<br /> 4, 'DATE' ,<br /> 6, 'DATETIME') TYPE,length,lbl.LABEL_ID,lbl.LONGNAME, lbl.SHORTNAME , DEFN.descrlong, DEFN.LASTUPDOPRID, DEFN.LASTUPDDTTM<br /> FROM PSPROJECTITEM ITEM, PSDBFIELD DEFN , PSDBFLDLABL lbl, PSRECFIELD RFLD<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND RFLD.FIELDNAME=DEFN.FIELDNAME<br /> AND DEFN.FIELDNAME=LBL.FIELDNAME<br /> AND RFLD.FIELDNAME=LBL.FIELDNAME<br /> AND ITEM.OBJECTTYPE = 0<br /> AND lbl.DEFAULT_LABEL=1<br /> AND ITEM.OBJECTVALUE1 = RFLD.RECNAME AND RFLD.RECNAME LIKE 'CSG_%';<br /></span> Menus<br /> SELECT ITEM.OBJECTVALUE1 AS "Menus", DEFN.descr, DEFN.LASTUPDOPRID, DEFN.LASTUPDDTTM<br /> FROM PSPROJECTITEM ITEM, PSMENUDEFN DEFN<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 6<br /> AND ITEM.OBJECTVALUE1 = DEFN.MENUNAME<br /> AND DEFN.LASTUPDDTTM &gt; TO_DATE('2009-09-01', 'YYYY-MM-DD')<br /> ORDER BY ITEM.OBJECTVALUE1;</p> <p>— Message Catalog Entries<br /> Select RTRIM(ITEM.OBJECTVALUE1) || ', ' || RTRIM(ITEM.OBJECTVALUE2) AS "Message Catalog Entries", DEFN.LAST_UPDATE_DTTM<br /> FROM PSPROJECTITEM ITEM, PSMSGCATDEFN DEFN<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 25<br /> AND ITEM.OBJECTVALUE1 = DEFN.MESSAGE_SET_NBR AND ITEM.OBJECTVALUE2 = DEFN.MESSAGE_NBR<br /> AND DEFN.LAST_UPDATE_DTTM &gt; TO_DATE('2009-09-01', 'YYYY-MM-DD')<br /> ORDER BY ITEM.OBJECTVALUE1, ITEM.OBJECTVALUE2;</p> <p>— Message Channels<br /> SELECT ITEM.OBJECTVALUE1 AS "Message Channels", DEFN.LASTUPDOPRID, DEFN.LASTUPDDTTM<br /> FROM PSPROJECTITEM ITEM, PSCHNLDEFN DEFN<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 36<br /> AND ITEM.OBJECTVALUE1 = DEFN.CHNLNAME<br /> AND DEFN.LASTUPDDTTM &gt; TO_DATE('2009-09-01', 'YYYY-MM-DD')<br /> ORDER BY ITEM.OBJECTVALUE1;</p> <p>— Messages<br /> SELECT ITEM.OBJECTVALUE1 AS "Messages", DEFN.LASTUPDOPRID, DEFN.LASTUPDDTTM<br /> FROM PSPROJECTITEM ITEM, PSMSGDEFN DEFN<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 37<br /> AND ITEM.OBJECTVALUE1 = DEFN.MSGNAME<br /> AND DEFN.LASTUPDDTTM &gt; TO_DATE('2009-09-01', 'YYYY-MM-DD')<br /> ORDER BY ITEM.OBJECTVALUE1;</p> <p>— Pages<br /> Select RTRIM(ITEM.OBJECTVALUE1) AS "Pages", defn.DESCR, DEFN.LASTUPDOPRID, DEFN.LASTUPDDTTM<br /> FROM PSPROJECTITEM ITEM, PSPNLDEFN DEFN<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 5<br /> AND ITEM.OBJECTVALUE1 = DEFN.PNLNAME<br /> AND DEFN.LASTUPDDTTM &gt; TO_DATE('2009-09-01', 'YYYY-MM-DD')<br /> ORDER BY ITEM.OBJECTVALUE1;</p> <p>— PeopleCode goes here</p> <p>— Application Engine PeopleCode<br /> Select RTRIM(ITEM.OBJECTVALUE1) || '.' || RTRIM(SUBSTR(ITEM.OBJECTVALUE2, 1, 8)) || '.' || RTRIM(SUBSTR(ITEM.OBJECTVALUE2, 9, 3)) || '.' || RTRIM(ITEM.OBJECTVALUE3) AS "Application Engine PeopleCode", DEFN.LASTUPDOPRID, DEFN.LASTUPDDTTM<br /> FROM PSPROJECTITEM ITEM, PSPCMPROG DEFN<br /> WHERE PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 43<br /> AND ITEM.OBJECTVALUE1 = DEFN.OBJECTVALUE1 AND SUBSTR(ITEM.OBJECTVALUE2, 1, 8) = DEFN.OBJECTVALUE2 AND SUBSTR(ITEM.OBJECTVALUE2, 9, 3) = DEFN.OBJECTVALUE3 AND ITEM.OBJECTVALUE3 = DEFN.OBJECTVALUE6<br /> AND DEFN.PROGSEQ = 0<br /> AND DEFN.LASTUPDDTTM &gt; TO_DATE('2009-09-01', 'YYYY-MM-DD')<br /> ORDER BY ITEM.OBJECTVALUE1, ITEM.OBJECTVALUE2;</p> <p>— Application Package PeopleCode<br /> Select RTRIM(ITEM.OBJECTVALUE1) || '.' || RTRIM(ITEM.OBJECTVALUE2) || '.' || RTRIM(ITEM.OBJECTVALUE3) AS "Application Package PeopleCode", DEFN.LASTUPDOPRID, DEFN.LASTUPDDTTM<br /> FROM PSPROJECTITEM ITEM, PSPCMPROG DEFN<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 58<br /> AND ITEM.OBJECTVALUE1 = DEFN.OBJECTVALUE1 AND ITEM.OBJECTVALUE2 = DEFN.OBJECTVALUE2 AND (ITEM.OBJECTID3 &lt;&gt; 107 OR ITEM.OBJECTVALUE3 = DEFN.OBJECTVALUE3) AND (ITEM.OBJECTID4 &lt;&gt; 107 OR ITEM.OBJECTVALUE4 = DEFN.OBJECTVALUE4)<br /> AND DEFN.PROGSEQ = 0<br /> AND DEFN.LASTUPDDTTM &gt; TO_DATE('2009-09-01', 'YYYY-MM-DD')<br /> ORDER BY ITEM.OBJECTVALUE1, ITEM.OBJECTVALUE2, ITEM.OBJECTVALUE3;</p> <p>— Component Interface PeopleCode<br /> Select RTRIM(ITEM.OBJECTVALUE1) || '.' || RTRIM(ITEM.OBJECTVALUE2) AS "Component Interface PeopleCode", DEFN.LASTUPDOPRID, DEFN.LASTUPDDTTM<br /> FROM PSPROJECTITEM ITEM, PSPCMPROG DEFN<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 42<br /> AND ITEM.OBJECTVALUE1 = DEFN.OBJECTVALUE1 AND ITEM.OBJECTVALUE2 = DEFN.OBJECTVALUE2<br /> AND DEFN.PROGSEQ = 0<br /> AND DEFN.LASTUPDDTTM &gt; TO_DATE('2009-09-01', 'YYYY-MM-DD')<br /> ORDER BY ITEM.OBJECTVALUE1, ITEM.OBJECTVALUE2;</p> <p>— Component PeopleCode<br /> Select RTRIM(ITEM.OBJECTVALUE1) || '.' || RTRIM(ITEM.OBJECTVALUE2) || '.' || RTRIM(ITEM.OBJECTVALUE3) AS "Component PeopleCode", DEFN.LASTUPDOPRID, DEFN.LASTUPDDTTM<br /> FROM PSPROJECTITEM ITEM, PSPCMPROG DEFN<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 46<br /> AND ITEM.OBJECTVALUE1 = DEFN.OBJECTVALUE1 AND ITEM.OBJECTVALUE2 = DEFN.OBJECTVALUE2 AND ITEM.OBJECTVALUE3 = DEFN.OBJECTVALUE3<br /> AND DEFN.PROGSEQ = 0<br /> AND DEFN.LASTUPDDTTM &gt; TO_DATE('2009-09-01', 'YYYY-MM-DD')<br /> ORDER BY ITEM.OBJECTVALUE1, ITEM.OBJECTVALUE2;</p> <p>— Component Record Field PeopleCode<br /> Select RTRIM(ITEM.OBJECTVALUE1) || '.' || RTRIM(ITEM.OBJECTVALUE2) || '.' || RTRIM(ITEM.OBJECTVALUE3) || '.' || RTRIM(SUBSTR(ITEM.OBJECTVALUE4, 1, 18)) || '.' || RTRIM(SUBSTR(ITEM.OBJECTVALUE4, 19, 12)) AS "Comp Record Field PeopleCode"<br /> FROM PSPROJECTITEM ITEM, PSPCMPROG DEFN<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 48<br /> AND ITEM.OBJECTVALUE1 = DEFN.OBJECTVALUE1 AND ITEM.OBJECTVALUE2 = DEFN.OBJECTVALUE2 AND ITEM.OBJECTVALUE3 = DEFN.OBJECTVALUE3 AND SUBSTR(ITEM.OBJECTVALUE4, 1, 18) = DEFN.OBJECTVALUE4 AND SUBSTR(ITEM.OBJECTVALUE4, 19, 12) = DEFN.OBJECTVALUE5<br /> AND DEFN.PROGSEQ = 0<br /> AND DEFN.LASTUPDDTTM &gt; TO_DATE('2009-09-01', 'YYYY-MM-DD')<br /> ORDER BY ITEM.OBJECTVALUE1, ITEM.OBJECTVALUE2, ITEM.OBJECTVALUE3;</p> <p>— Component Record PeopleCode<br /> Select RTRIM(ITEM.OBJECTVALUE1) || '.' || RTRIM(ITEM.OBJECTVALUE2) || '.' || RTRIM(ITEM.OBJECTVALUE3) || '.' || RTRIM(ITEM.OBJECTVALUE4) AS "Component Record PeopleCode", DEFN.LASTUPDOPRID, DEFN.LASTUPDDTTM<br /> FROM PSPROJECTITEM ITEM, PSPCMPROG DEFN<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 47<br /> AND ITEM.OBJECTVALUE1 = DEFN.OBJECTVALUE1 AND ITEM.OBJECTVALUE2 = DEFN.OBJECTVALUE2 AND ITEM.OBJECTVALUE3 = DEFN.OBJECTVALUE3 AND ITEM.OBJECTVALUE4 = DEFN.OBJECTVALUE4<br /> AND DEFN.PROGSEQ = 0<br /> AND DEFN.LASTUPDDTTM &gt; TO_DATE('2009-09-01', 'YYYY-MM-DD')<br /> ORDER BY ITEM.OBJECTVALUE1, ITEM.OBJECTVALUE2, ITEM.OBJECTVALUE3, ITEM.OBJECTVALUE4;</p> <p>— Page PeopleCode<br /> Select RTRIM(ITEM.OBJECTVALUE1) || '.' || RTRIM(ITEM.OBJECTVALUE2) AS "Page PeopleCode", DEFN.LASTUPDOPRID, DEFN.LASTUPDDTTM<br /> FROM PSPROJECTITEM ITEM, PSPCMPROG DEFN<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 44<br /> AND ITEM.OBJECTVALUE1 = DEFN.OBJECTVALUE1 AND ITEM.OBJECTVALUE2 = DEFN.OBJECTVALUE2<br /> AND DEFN.PROGSEQ = 0<br /> AND DEFN.LASTUPDDTTM &gt; TO_DATE('2009-09-01', 'YYYY-MM-DD')<br /> ORDER BY ITEM.OBJECTVALUE1, ITEM.OBJECTVALUE2;</p> <p>— Record PeopleCode<br /> Select RTRIM(ITEM.OBJECTVALUE1) || '.' || RTRIM(ITEM.OBJECTVALUE2) || '.' || RTRIM(ITEM.OBJECTVALUE3) AS "Record PeopleCode", DEFN.LASTUPDOPRID, DEFN.LASTUPDDTTM<br /> FROM PSPROJECTITEM ITEM, PSPCMPROG DEFN<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 8<br /> AND ITEM.OBJECTVALUE1 = DEFN.OBJECTVALUE1 AND ITEM.OBJECTVALUE2 = DEFN.OBJECTVALUE2 AND ITEM.OBJECTVALUE3 = DEFN.OBJECTVALUE3<br /> AND DEFN.PROGSEQ = 0<br /> AND DEFN.LASTUPDDTTM &gt; TO_DATE('2009-09-01', 'YYYY-MM-DD')<br /> ORDER BY ITEM.OBJECTVALUE1, ITEM.OBJECTVALUE2, ITEM.OBJECTVALUE3;</p> <p>— Message PeopleCode<br /> Select RTRIM(ITEM.OBJECTVALUE1) || '.' || RTRIM(ITEM.OBJECTVALUE2) || '.' || RTRIM(ITEM.OBJECTVALUE3) AS "Message PeopleCode", DEFN.LASTUPDOPRID, DEFN.LASTUPDDTTM<br /> FROM PSPROJECTITEM ITEM, PSPCMPROG DEFN<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 40<br /> AND ITEM.OBJECTVALUE1 = DEFN.OBJECTVALUE1 AND ITEM.OBJECTVALUE2 = DEFN.OBJECTVALUE2 AND ITEM.OBJECTVALUE3 = DEFN.OBJECTVALUE3<br /> AND DEFN.PROGSEQ = 0<br /> AND DEFN.LASTUPDDTTM &gt; TO_DATE('2009-09-01', 'YYYY-MM-DD')<br /> ORDER BY ITEM.OBJECTVALUE1, ITEM.OBJECTVALUE2, ITEM.OBJECTVALUE3;</p> <p>— Portal Registry Structure<br /> Select RTRIM(ITEM.OBJECTVALUE1) || '.' || RTRIM(ITEM.OBJECTVALUE3) AS "Portal Registry Structure", DEFN.LASTUPDOPRID, DEFN.LASTUPDDTTM<br /> FROM PSPROJECTITEM ITEM, PSPRSMDEFN DEFN<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTVALUE1 = DEFN.PORTAL_NAME<br /> AND ITEM.OBJECTVALUE3 = DEFN.PORTAL_OBJNAME<br /> AND ITEM.OBJECTTYPE = 55<br /> AND DEFN.LASTUPDDTTM &gt; TO_DATE('2009-09-01', 'YYYY-MM-DD')<br /> ORDER BY OBJECTVALUE1, OBJECTVALUE3;</p> <p>— Permission Lists<br /> SELECT RTRIM(ITEM.OBJECTVALUE1) AS "Permission Lists", DEFN.CLASSDEFNDESC, DEFN.LASTUPDOPRID, DEFN.LASTUPDDTTM<br /> FROM PSPROJECTITEM ITEM, PSCLASSDEFN DEFN<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 53<br /> AND ITEM.OBJECTVALUE1 = DEFN.CLASSID<br /> AND DEFN.LASTUPDDTTM &gt; TO_DATE('2009-09-01', 'YYYY-MM-DD')<br /> ORDER BY ITEM.OBJECTVALUE1;</p> <p>— Records<br /> Select RTRIM(ITEM.OBJECTVALUE1) AS "Records", DEFN.LASTUPDOPRID, DEFN.LASTUPDDTTM<br /> FROM PSPROJECTITEM ITEM, PSRECDEFN DEFN<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 0<br /> AND ITEM.OBJECTVALUE1 = DEFN.RECNAME<br /> AND DEFN.LASTUPDDTTM &gt; TO_DATE('2009-09-01', 'YYYY-MM-DD')<br /> ORDER BY ITEM.OBJECTVALUE1;</p> <p>— SQL (Non Application Engine)<br /> Select RTRIM(ITEM.OBJECTVALUE1) AS "SQL (Non Application Engine)", DEFN.LASTUPDOPRID, DEFN.LASTUPDDTTM<br /> FROM PSPROJECTITEM ITEM, PSSQLDEFN DEFN<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 30 and ITEM.OBJECTVALUE2 IN (0,2)<br /> AND ITEM.OBJECTVALUE1 = DEFN.SQLID<br /> AND DEFN.LASTUPDDTTM &gt; TO_DATE('2009-09-01', 'YYYY-MM-DD')<br /> ORDER BY ITEM.OBJECTVALUE1;</p> <p>— SQL (Applicaiton Engine)<br /> Select RTRIM(SUBSTR(ITEM.OBJECTVALUE1, 1, 12)) || '.' || RTRIM(SUBSTR(ITEM.OBJECTVALUE1, 13, 8)) || '.' || RTRIM(SUBSTR(ITEM.OBJECTVALUE1, 21, 8)) AS "SQL (Application Engine)", DEFN.LASTUPDOPRID, DEFN.LASTUPDDTTM<br /> FROM PSPROJECTITEM ITEM, PSSQLDEFN DEFN<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 30 and ITEM.OBJECTVALUE2 = 1<br /> AND ITEM.OBJECTVALUE1 = DEFN.SQLID<br /> AND DEFN.LASTUPDDTTM &gt; TO_DATE('2009-09-01', 'YYYY-MM-DD')<br /> ORDER BY ITEM.OBJECTVALUE1;</p> <p>— Translate Values<br /> Select RTRIM(ITEM.OBJECTVALUE1) || ':' || RTRIM(ITEM.OBJECTVALUE2) AS "Translate Values", DEFN.LASTUPDOPRID, DEFN.LASTUPDDTTM<br /> FROM PSPROJECTITEM ITEM, PSXLATITEM DEFN<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 4<br /> AND ITEM.OBJECTVALUE1 = DEFN.FIELDNAME AND ITEM.OBJECTVALUE2 = DEFN.FIELDVALUE<br /> AND DEFN.LASTUPDDTTM &gt; TO_DATE('2009-09-01', 'YYYY-MM-DD')<br /> ORDER BY ITEM.OBJECTVALUE1, ITEM.OBJECTVALUE2;</p> <p>— Process Definitions<br /> SELECT RTRIM(ITEM.OBJECTVALUE1) || ':' || RTRIM(ITEM.OBJECTVALUE2) AS "Process Definitions", DEFN.DESCR, DEFN.LASTUPDOPRID, DEFN.LASTUPDDTTM<br /> FROM PSPROJECTITEM ITEM, PS_PRCSDEFN DEFN<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 20<br /> AND ITEM.OBJECTVALUE2 = DEFN.PRCSNAME<br /> ORDER BY ITEM.OBJECTVALUE1, ITEM.OBJECTVALUE2;</p> <p>— Query<br /> Select RTRIM(ITEM.OBJECTVALUE1) AS "Query", DEFN.DESCR, DEFN.LASTUPDOPRID, DEFN.LASTUPDDTTM<br /> FROM PSPROJECTITEM ITEM, PSQRYDEFN DEFN<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 10<br /> AND ITEM.OBJECTVALUE1 = DEFN.QRYNAME<br /> ORDER BY RTRIM(ITEM.OBJECTVALUE1);</p> <p>— Style Sheet<br /> Select RTRIM(ITEM.OBJECTVALUE1) AS "Style Sheet", DEFN.DESCR, DEFN.LASTUPDOPRID, DEFN.LASTUPDDTTM<br /> FROM PSPROJECTITEM ITEM, PSSTYLSHEETDEFN DEFN<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 50<br /> AND ITEM.OBJECTVALUE1 = DEFN.STYLESHEETNAME<br /> ORDER BY ITEM.OBJECTVALUE1;</p> <p>— Style Sheet<br /> Select RTRIM(ITEM.OBJECTVALUE1) AS "Style Sheet", DEFN.DESCR, DEFN.LASTUPDOPRID, DEFN.LASTUPDDTTM<br /> FROM PSPROJECTITEM ITEM, PSSTYLSHEETDEFN DEFN<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 50<br /> AND ITEM.OBJECTVALUE1 = DEFN.STYLESHEETNAME<br /> ORDER BY ITEM.OBJECTVALUE1;</p> <p>— HTML Definitions (What's the table?)<br /> Select RTRIM(ITEM.OBJECTVALUE1) AS "HTML Definitions"<br /> FROM PSPROJECTITEM ITEM<br /> WHERE ITEM.PROJECTNAME = ('RAHUL_TMP')<br /> AND ITEM.OBJECTTYPE = 51<br /> ORDER BY ITEM.OBJECTVALUE1;</p> <p>—page field properties<br /> SELECT A.PNLNAME,A.OCCURSLEVEL ,a.fieldtype, A.LBLTEXT, A.FIELDNAME, A.RECNAME,a.DSPLFORMAT<br /> FROM PSPNLFIELD A<br /> WHERE A.PNLNAME in (SELECT A.PNLNAME<br /> FROM PSPNLGROUP A, PSPNLGRPDEFN B<br /> WHERE A.PNLGRPNAME = B.PNLGRPNAME<br /> AND A.MARKET = B.MARKET<br /> AND A.PNLGRPNAME IN ('CSG_HCP')) order by 2;</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-217274</guid>
				<title>Compare objects of peoplesoft project. Useful when applying pactches</title>
				<link>http://www.peoplesoftwiki.com/forum/t-217274/compare-objects-of-peoplesoft-project-useful-when-applying-pactches</link>
				<description>Compare objects of peoplesoft project. Useful when applying patches. or when making a major release to make sure that we are not over riding other customisation.</description>
				<pubDate>Sun, 07 Feb 2010 00:46:05 +0000</pubDate>
				<wikidot:authorName>RahulAgrawal</wikidot:authorName>				<wikidot:authorUserId>437118</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>Replace <tt>YOUR_PROJECT_HERE</tt> with your own project name.</p> <div class="code"> <div class="hl-main"> <pre> <span class="hl-reserved">SELECT</span><span class="hl-code"> </span><span class="hl-identifier">Decode</span><span class="hl-brackets">(</span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">objecttype</span><span class="hl-code">,</span><span class="hl-number">0</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Record</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">1</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Index</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">2</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Field</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">3</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Field Format</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">4</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Translate</span><span class="hl-quotes">'</span><span class="hl-code"> ,</span><span class="hl-number">5</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Page</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">6</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Menu</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">7</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Component</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">8</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Record PeopleCode</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">9</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Menu PeopleCode</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">10</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Query</span><span class="hl-quotes">'</span><span class="hl-code"> ,</span><span class="hl-number">11</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Tree Structure</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">12</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Tree</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">13</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Access Group</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">14</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Color</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">15</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Style</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">16</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Business Process Map</span><span class="hl-quotes">'</span><span class="hl-code"> ,</span><span class="hl-number">17</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Business Process</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">18</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Activity</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">19</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Role</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">20</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Process Definition</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">21</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Server Definition</span><span class="hl-quotes">'</span><span class="hl-code"> ,</span><span class="hl-number">22</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Process Type Definition</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">23</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Job Definition</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">24</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Recurrence Definition</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">25</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Message Catalog Entry</span><span class="hl-quotes">'</span><span class="hl-code"> ,</span><span class="hl-number">26</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Dimension</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">27</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Cube Definition</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">28</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Cube Instance Definition</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">29</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Business Interlink</span><span class="hl-quotes">'</span><span class="hl-code"> ,</span><span class="hl-number">30</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">SQL Object</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">31</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">File Layout Definition</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">32</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Component Interface</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">33</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Process Engine Program</span><span class="hl-quotes">'</span><span class="hl-code"> ,</span><span class="hl-number">34</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Process Engine Section</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">35</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Message Node</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">36</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Message Channel</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">37</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Message</span><span class="hl-quotes">'</span><span class="hl-code"> ,</span><span class="hl-number">38</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Approval Rule Set</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">39</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Message PeopleCode</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">40</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Subscription PeopleCode</span><span class="hl-quotes">'</span><span class="hl-code"> ,</span><span class="hl-number">41</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Channel PeopleCode</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">42</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Component Interface PeopleCode</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">43</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Application Engine PeopleCode</span><span class="hl-quotes">'</span><span class="hl-code"> ,</span><span class="hl-number">44</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Page PeopleCode</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">45</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Page Field PeopleCode</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">46</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Component PeopleCode</span><span class="hl-quotes">'</span><span class="hl-code"> ,</span><span class="hl-number">47</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Component Record PeopleCode</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">48</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Component Record Field PeopleCode</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">49</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Image</span><span class="hl-quotes">'</span><span class="hl-code"> ,</span><span class="hl-number">50</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Style Sheet</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">51</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">HTML</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">52</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">File Reference</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">53</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Permission List</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">54</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Portal Registry Definition</span><span class="hl-quotes">'</span><span class="hl-code"> ,</span><span class="hl-number">55</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Portal Registry Structure</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">56</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">URL Definition</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">57</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Application Package</span><span class="hl-quotes">'</span><span class="hl-code"> ,</span><span class="hl-number">58</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Application Package PeopleCode</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">59</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">n/a (59)</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">60</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Problem Type</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">61</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">n/a (61)</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">62</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">XSLT</span><span class="hl-quotes">'</span><span class="hl-code"> ,</span><span class="hl-number">63</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Portal Registry User Favorites</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">64</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Mobile Page</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">65</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Relationship</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-quotes">"</span><span class="hl-string">Object Type</span><span class="hl-quotes">"</span><span class="hl-code">, </span><span class="hl-identifier">OBJECTVALUE1</span><span class="hl-code">, </span><span class="hl-identifier">OBJECTVALUE2</span><span class="hl-code">, </span><span class="hl-identifier">OBJECTVALUE3</span><span class="hl-code">, </span><span class="hl-identifier">OBJECTVALUE4</span><span class="hl-code">, </span><span class="hl-identifier">DECODE</span><span class="hl-brackets">(</span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">SOURCESTATUS</span><span class="hl-code">,</span><span class="hl-number">1</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Absent</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">2</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">3</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Unchanged</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">4</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">5</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Unchanged</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-quotes">"</span><span class="hl-string">Source Status</span><span class="hl-quotes">"</span><span class="hl-code">, </span><span class="hl-identifier">DECODE</span><span class="hl-brackets">(</span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">TARGETSTATUS</span><span class="hl-code">,</span><span class="hl-number">1</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Absent</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">2</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">3</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Unchanged</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">4</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">5</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Unchanged</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-quotes">"</span><span class="hl-string">Target Status</span><span class="hl-quotes">"</span><span class="hl-code">, </span><span class="hl-quotes">'</span><span class="hl-string"> </span><span class="hl-quotes">'</span><span class="hl-code"> </span><span class="hl-quotes">"</span><span class="hl-string">Owner</span><span class="hl-quotes">"</span><span class="hl-code">, </span><span class="hl-quotes">'</span><span class="hl-string"> </span><span class="hl-quotes">'</span><span class="hl-code"> </span><span class="hl-quotes">"</span><span class="hl-string">Owner Full Name</span><span class="hl-quotes">"</span><span class="hl-code"> </span><span class="hl-reserved">FROM</span><span class="hl-code"> </span><span class="hl-identifier">PSPROJECTITEM</span><span class="hl-code"> </span><span class="hl-identifier">A</span><span class="hl-code"> </span><span class="hl-reserved">WHERE</span><span class="hl-code"> </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">PROJECTNAME</span><span class="hl-code"> = </span><span class="hl-quotes">'</span><span class="hl-string">UHS_DB_COMPARE</span><span class="hl-quotes">'</span><span class="hl-code"> </span><span class="hl-reserved">AND</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">objecttype</span><span class="hl-code"> </span><span class="hl-reserved">not</span><span class="hl-code"> </span><span class="hl-reserved">in</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-number">0</span><span class="hl-code">,</span><span class="hl-number">5</span><span class="hl-code">,</span><span class="hl-number">7</span><span class="hl-code">,</span><span class="hl-number">8</span><span class="hl-code">,</span><span class="hl-number">44</span><span class="hl-code">,</span><span class="hl-number">2</span><span class="hl-code">,</span><span class="hl-number">6</span><span class="hl-code">,</span><span class="hl-number">30</span><span class="hl-code">,</span><span class="hl-number">4</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">union</span><span class="hl-code"> </span><span class="hl-reserved">SELECT</span><span class="hl-code"> </span><span class="hl-quotes">'</span><span class="hl-string">Record</span><span class="hl-quotes">'</span><span class="hl-code">, </span><span class="hl-identifier">OBJECTVALUE1</span><span class="hl-code">, </span><span class="hl-identifier">OBJECTVALUE2</span><span class="hl-code">, </span><span class="hl-identifier">OBJECTVALUE3</span><span class="hl-code">, </span><span class="hl-identifier">OBJECTVALUE4</span><span class="hl-code">, </span><span class="hl-identifier">DECODE</span><span class="hl-brackets">(</span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">SOURCESTATUS</span><span class="hl-code">,</span><span class="hl-number">1</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Absent</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">2</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">3</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Unchanged</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">4</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">5</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Unchanged</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-quotes">"</span><span class="hl-string">Source Status</span><span class="hl-quotes">"</span><span class="hl-code">, </span><span class="hl-identifier">DECODE</span><span class="hl-brackets">(</span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">TARGETSTATUS</span><span class="hl-code">,</span><span class="hl-number">1</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Absent</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">2</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">3</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Unchanged</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">4</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">5</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Unchanged</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-quotes">"</span><span class="hl-string">Target Status</span><span class="hl-quotes">"</span><span class="hl-code">, </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">lastupdoprid</span><span class="hl-code">, </span><span class="hl-var">c</span><span class="hl-code">.</span><span class="hl-identifier">oprdefndesc</span><span class="hl-code"> </span><span class="hl-reserved">FROM</span><span class="hl-code"> </span><span class="hl-identifier">PSPROJECTITEM</span><span class="hl-code"> </span><span class="hl-identifier">A</span><span class="hl-code">, </span><span class="hl-identifier">psrecdefn</span><span class="hl-code"> </span><span class="hl-identifier">B</span><span class="hl-code">, </span><span class="hl-identifier">psoprdefn</span><span class="hl-code"> </span><span class="hl-var">c</span><span class="hl-code"> </span><span class="hl-reserved">WHERE</span><span class="hl-code"> </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">PROJECTNAME</span><span class="hl-code"> = </span><span class="hl-quotes">'</span><span class="hl-string">INFRA_2C_BAUCR_24AUG09_HFIX1</span><span class="hl-quotes">'</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">objectvalue1</span><span class="hl-code"> = </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">recname</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-code">+</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">AND</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">objecttype</span><span class="hl-code"> = </span><span class="hl-number">0</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">lastupdoprid</span><span class="hl-code"> = </span><span class="hl-var">c</span><span class="hl-code">.</span><span class="hl-identifier">oprid</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-code">+</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">union</span><span class="hl-code"> </span><span class="hl-reserved">SELECT</span><span class="hl-code"> </span><span class="hl-quotes">'</span><span class="hl-string">Component</span><span class="hl-quotes">'</span><span class="hl-code">, </span><span class="hl-identifier">OBJECTVALUE1</span><span class="hl-code">, </span><span class="hl-identifier">OBJECTVALUE2</span><span class="hl-code">, </span><span class="hl-identifier">OBJECTVALUE3</span><span class="hl-code">, </span><span class="hl-identifier">OBJECTVALUE4</span><span class="hl-code">, </span><span class="hl-identifier">DECODE</span><span class="hl-brackets">(</span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">SOURCESTATUS</span><span class="hl-code">,</span><span class="hl-number">1</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Absent</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">2</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">3</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Unchanged</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">4</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">5</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Unchanged</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-quotes">"</span><span class="hl-string">Source Status</span><span class="hl-quotes">"</span><span class="hl-code">, </span><span class="hl-identifier">DECODE</span><span class="hl-brackets">(</span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">TARGETSTATUS</span><span class="hl-code">,</span><span class="hl-number">1</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Absent</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">2</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">3</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Unchanged</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">4</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">5</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Unchanged</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-quotes">"</span><span class="hl-string">Target Status</span><span class="hl-quotes">"</span><span class="hl-code">, </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">lastupdoprid</span><span class="hl-code">, </span><span class="hl-var">c</span><span class="hl-code">.</span><span class="hl-identifier">oprdefndesc</span><span class="hl-code"> </span><span class="hl-reserved">FROM</span><span class="hl-code"> </span><span class="hl-identifier">PSPROJECTITEM</span><span class="hl-code"> </span><span class="hl-identifier">A</span><span class="hl-code">, </span><span class="hl-identifier">pspnlgrpdefn</span><span class="hl-code"> </span><span class="hl-identifier">B</span><span class="hl-code">, </span><span class="hl-identifier">psoprdefn</span><span class="hl-code"> </span><span class="hl-var">c</span><span class="hl-code"> </span><span class="hl-reserved">WHERE</span><span class="hl-code"> </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">PROJECTNAME</span><span class="hl-code"> = </span><span class="hl-quotes">'</span><span class="hl-string">INFRA_2C_BAUCR_24AUG09_HFIX1</span><span class="hl-quotes">'</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">objectvalue1</span><span class="hl-code"> = </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">pnlgrpname</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-code">+</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">AND</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">objecttype</span><span class="hl-code"> = </span><span class="hl-number">7</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">lastupdoprid</span><span class="hl-code"> = </span><span class="hl-var">c</span><span class="hl-code">.</span><span class="hl-identifier">oprid</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-code">+</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">union</span><span class="hl-code"> </span><span class="hl-reserved">SELECT</span><span class="hl-code"> </span><span class="hl-quotes">'</span><span class="hl-string">Page</span><span class="hl-quotes">'</span><span class="hl-code">, </span><span class="hl-identifier">OBJECTVALUE1</span><span class="hl-code">, </span><span class="hl-identifier">OBJECTVALUE2</span><span class="hl-code">, </span><span class="hl-identifier">OBJECTVALUE3</span><span class="hl-code">, </span><span class="hl-identifier">OBJECTVALUE4</span><span class="hl-code">, </span><span class="hl-identifier">DECODE</span><span class="hl-brackets">(</span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">SOURCESTATUS</span><span class="hl-code">,</span><span class="hl-number">1</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Absent</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">2</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">3</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Unchanged</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">4</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">5</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Unchanged</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-quotes">"</span><span class="hl-string">Source Status</span><span class="hl-quotes">"</span><span class="hl-code">, </span><span class="hl-identifier">DECODE</span><span class="hl-brackets">(</span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">TARGETSTATUS</span><span class="hl-code">,</span><span class="hl-number">1</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Absent</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">2</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">3</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Unchanged</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">4</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">5</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Unchanged</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-quotes">"</span><span class="hl-string">Target Status</span><span class="hl-quotes">"</span><span class="hl-code">, </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">lastupdoprid</span><span class="hl-code">, </span><span class="hl-var">c</span><span class="hl-code">.</span><span class="hl-identifier">oprdefndesc</span><span class="hl-code"> </span><span class="hl-reserved">FROM</span><span class="hl-code"> </span><span class="hl-identifier">PSPROJECTITEM</span><span class="hl-code"> </span><span class="hl-identifier">A</span><span class="hl-code">, </span><span class="hl-identifier">pspnldefn</span><span class="hl-code"> </span><span class="hl-identifier">B</span><span class="hl-code">, </span><span class="hl-identifier">psoprdefn</span><span class="hl-code"> </span><span class="hl-var">c</span><span class="hl-code"> </span><span class="hl-reserved">WHERE</span><span class="hl-code"> </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">PROJECTNAME</span><span class="hl-code"> = </span><span class="hl-quotes">'</span><span class="hl-string">INFRA_2C_BAUCR_24AUG09_HFIX1</span><span class="hl-quotes">'</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">objectvalue1</span><span class="hl-code"> = </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">pnlname</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-code">+</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">AND</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">objecttype</span><span class="hl-code"> = </span><span class="hl-number">5</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">lastupdoprid</span><span class="hl-code"> = </span><span class="hl-var">c</span><span class="hl-code">.</span><span class="hl-identifier">oprid</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-code">+</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">union</span><span class="hl-code"> </span><span class="hl-reserved">SELECT</span><span class="hl-code"> </span><span class="hl-quotes">'</span><span class="hl-string">Record PCode</span><span class="hl-quotes">'</span><span class="hl-code">, </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">OBJECTVALUE1</span><span class="hl-code">, </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">OBJECTVALUE2</span><span class="hl-code">, </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">OBJECTVALUE3</span><span class="hl-code">, </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">OBJECTVALUE4</span><span class="hl-code">, </span><span class="hl-identifier">DECODE</span><span class="hl-brackets">(</span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">SOURCESTATUS</span><span class="hl-code">,</span><span class="hl-number">1</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Absent</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">2</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">3</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Unchanged</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">4</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">5</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Unchanged</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-quotes">"</span><span class="hl-string">Source Status</span><span class="hl-quotes">"</span><span class="hl-code">, </span><span class="hl-identifier">DECODE</span><span class="hl-brackets">(</span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">TARGETSTATUS</span><span class="hl-code">,</span><span class="hl-number">1</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Absent</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">2</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">3</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Unchanged</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">4</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">5</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Unchanged</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-quotes">"</span><span class="hl-string">Target Status</span><span class="hl-quotes">"</span><span class="hl-code">, </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">lastupdoprid</span><span class="hl-code">, </span><span class="hl-var">c</span><span class="hl-code">.</span><span class="hl-identifier">oprdefndesc</span><span class="hl-code"> </span><span class="hl-reserved">FROM</span><span class="hl-code"> </span><span class="hl-identifier">PSPROJECTITEM</span><span class="hl-code"> </span><span class="hl-identifier">A</span><span class="hl-code">, </span><span class="hl-identifier">pspcmprog</span><span class="hl-code"> </span><span class="hl-identifier">B</span><span class="hl-code">, </span><span class="hl-identifier">psoprdefn</span><span class="hl-code"> </span><span class="hl-var">c</span><span class="hl-code"> </span><span class="hl-reserved">WHERE</span><span class="hl-code"> </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">PROJECTNAME</span><span class="hl-code"> = </span><span class="hl-quotes">'</span><span class="hl-string">INFRA_2C_BAUCR_24AUG09_HFIX1</span><span class="hl-quotes">'</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">objectvalue1</span><span class="hl-code"> = </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">objectvalue1</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-code">+</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">objectvalue2</span><span class="hl-code"> = </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">objectvalue2</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-code">+</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">objectvalue3</span><span class="hl-code"> = </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">objectvalue3</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-code">+</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">AND</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">objecttype</span><span class="hl-code"> = </span><span class="hl-number">8</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">lastupdoprid</span><span class="hl-code"> = </span><span class="hl-var">c</span><span class="hl-code">.</span><span class="hl-identifier">oprid</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-code">+</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">union</span><span class="hl-code"> </span><span class="hl-reserved">SELECT</span><span class="hl-code"> </span><span class="hl-quotes">'</span><span class="hl-string">Page PCode</span><span class="hl-quotes">'</span><span class="hl-code">, </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">OBJECTVALUE1</span><span class="hl-code">, </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">OBJECTVALUE2</span><span class="hl-code">, </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">OBJECTVALUE3</span><span class="hl-code">, </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">OBJECTVALUE4</span><span class="hl-code">, </span><span class="hl-identifier">DECODE</span><span class="hl-brackets">(</span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">SOURCESTATUS</span><span class="hl-code">,</span><span class="hl-number">1</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Absent</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">2</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">3</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Unchanged</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">4</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">5</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Unchanged</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-quotes">"</span><span class="hl-string">Source Status</span><span class="hl-quotes">"</span><span class="hl-code">, </span><span class="hl-identifier">DECODE</span><span class="hl-brackets">(</span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">TARGETSTATUS</span><span class="hl-code">,</span><span class="hl-number">1</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Absent</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">2</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">3</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Unchanged</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">4</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">5</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Unchanged</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-quotes">"</span><span class="hl-string">Target Status</span><span class="hl-quotes">"</span><span class="hl-code">, </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">lastupdoprid</span><span class="hl-code">, </span><span class="hl-var">c</span><span class="hl-code">.</span><span class="hl-identifier">oprdefndesc</span><span class="hl-code"> </span><span class="hl-reserved">FROM</span><span class="hl-code"> </span><span class="hl-identifier">PSPROJECTITEM</span><span class="hl-code"> </span><span class="hl-identifier">A</span><span class="hl-code">, </span><span class="hl-identifier">pspcmprog</span><span class="hl-code"> </span><span class="hl-identifier">B</span><span class="hl-code">, </span><span class="hl-identifier">psoprdefn</span><span class="hl-code"> </span><span class="hl-var">c</span><span class="hl-code"> </span><span class="hl-reserved">WHERE</span><span class="hl-code"> </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">PROJECTNAME</span><span class="hl-code"> = </span><span class="hl-quotes">'</span><span class="hl-string">INFRA_2C_BAUCR_24AUG09_HFIX1</span><span class="hl-quotes">'</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">objectvalue1</span><span class="hl-code"> = </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">objectvalue1</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-code">+</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">objectvalue2</span><span class="hl-code"> = </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">objectvalue2</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-code">+</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">objectvalue3</span><span class="hl-code"> = </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">objectvalue3</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-code">+</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">AND</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">objecttype</span><span class="hl-code"> </span><span class="hl-reserved">in</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-number">39</span><span class="hl-code">,</span><span class="hl-number">40</span><span class="hl-code">,</span><span class="hl-number">41</span><span class="hl-code">,</span><span class="hl-number">42</span><span class="hl-code">,</span><span class="hl-number">43</span><span class="hl-code">,</span><span class="hl-number">44</span><span class="hl-code">,</span><span class="hl-number">45</span><span class="hl-code">,</span><span class="hl-number">46</span><span class="hl-code">,</span><span class="hl-number">47</span><span class="hl-code">,</span><span class="hl-number">48</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">lastupdoprid</span><span class="hl-code"> = </span><span class="hl-var">c</span><span class="hl-code">.</span><span class="hl-identifier">oprid</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-code">+</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">union</span><span class="hl-code"> </span><span class="hl-reserved">SELECT</span><span class="hl-code"> </span><span class="hl-quotes">'</span><span class="hl-string">Fields</span><span class="hl-quotes">'</span><span class="hl-code">, </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">OBJECTVALUE1</span><span class="hl-code">, </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">OBJECTVALUE2</span><span class="hl-code">, </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">OBJECTVALUE3</span><span class="hl-code">, </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">OBJECTVALUE4</span><span class="hl-code">, </span><span class="hl-identifier">DECODE</span><span class="hl-brackets">(</span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">SOURCESTATUS</span><span class="hl-code">,</span><span class="hl-number">1</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Absent</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">2</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">3</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Unchanged</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">4</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">5</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Unchanged</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-quotes">"</span><span class="hl-string">Source Status</span><span class="hl-quotes">"</span><span class="hl-code">, </span><span class="hl-identifier">DECODE</span><span class="hl-brackets">(</span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">TARGETSTATUS</span><span class="hl-code">,</span><span class="hl-number">1</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Absent</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">2</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">3</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Unchanged</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">4</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">5</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Unchanged</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-quotes">"</span><span class="hl-string">Target Status</span><span class="hl-quotes">"</span><span class="hl-code">, </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">lastupdoprid</span><span class="hl-code">, </span><span class="hl-var">c</span><span class="hl-code">.</span><span class="hl-identifier">oprdefndesc</span><span class="hl-code"> </span><span class="hl-reserved">FROM</span><span class="hl-code"> </span><span class="hl-identifier">PSPROJECTITEM</span><span class="hl-code"> </span><span class="hl-identifier">A</span><span class="hl-code">, </span><span class="hl-identifier">psdbfield</span><span class="hl-code"> </span><span class="hl-identifier">B</span><span class="hl-code">, </span><span class="hl-identifier">psoprdefn</span><span class="hl-code"> </span><span class="hl-var">c</span><span class="hl-code"> </span><span class="hl-reserved">WHERE</span><span class="hl-code"> </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">PROJECTNAME</span><span class="hl-code"> = </span><span class="hl-quotes">'</span><span class="hl-string">INFRA_2C_BAUCR_24AUG09_HFIX1</span><span class="hl-quotes">'</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">objectvalue1</span><span class="hl-code"> = </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">fieldname</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-code">+</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">AND</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">objecttype</span><span class="hl-code"> = </span><span class="hl-number">2</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">objectid2</span><span class="hl-code"> = </span><span class="hl-number">0</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">lastupdoprid</span><span class="hl-code"> = </span><span class="hl-var">c</span><span class="hl-code">.</span><span class="hl-identifier">oprid</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-code">+</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">union</span><span class="hl-code"> </span><span class="hl-reserved">SELECT</span><span class="hl-code"> </span><span class="hl-quotes">'</span><span class="hl-string">Menu</span><span class="hl-quotes">'</span><span class="hl-code">, </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">OBJECTVALUE1</span><span class="hl-code">, </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">OBJECTVALUE2</span><span class="hl-code">, </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">OBJECTVALUE3</span><span class="hl-code">, </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">OBJECTVALUE4</span><span class="hl-code">, </span><span class="hl-identifier">DECODE</span><span class="hl-brackets">(</span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">SOURCESTATUS</span><span class="hl-code">,</span><span class="hl-number">1</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Absent</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">2</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">3</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Unchanged</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">4</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">5</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Unchanged</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-quotes">"</span><span class="hl-string">Source Status</span><span class="hl-quotes">"</span><span class="hl-code">, </span><span class="hl-identifier">DECODE</span><span class="hl-brackets">(</span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">TARGETSTATUS</span><span class="hl-code">,</span><span class="hl-number">1</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Absent</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">2</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">3</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Unchanged</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">4</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">5</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Unchanged</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-quotes">"</span><span class="hl-string">Target Status</span><span class="hl-quotes">"</span><span class="hl-code">, </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">lastupdoprid</span><span class="hl-code">, </span><span class="hl-var">c</span><span class="hl-code">.</span><span class="hl-identifier">oprdefndesc</span><span class="hl-code"> </span><span class="hl-reserved">FROM</span><span class="hl-code"> </span><span class="hl-identifier">PSPROJECTITEM</span><span class="hl-code"> </span><span class="hl-identifier">A</span><span class="hl-code">, </span><span class="hl-identifier">PSMENUDEFN</span><span class="hl-code"> </span><span class="hl-identifier">B</span><span class="hl-code">, </span><span class="hl-identifier">psoprdefn</span><span class="hl-code"> </span><span class="hl-var">c</span><span class="hl-code"> </span><span class="hl-reserved">WHERE</span><span class="hl-code"> </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">PROJECTNAME</span><span class="hl-code"> = </span><span class="hl-quotes">'</span><span class="hl-string">INFRA_2C_BAUCR_24AUG09_HFIX1</span><span class="hl-quotes">'</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">objectvalue1</span><span class="hl-code"> = </span><span class="hl-identifier">B</span><span class="hl-code">.</span><span class="hl-identifier">MENUNAME</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-code">+</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">AND</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">objecttype</span><span class="hl-code"> = </span><span class="hl-number">6</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">lastupdoprid</span><span class="hl-code"> = </span><span class="hl-var">c</span><span class="hl-code">.</span><span class="hl-identifier">oprid</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-code">+</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">union</span><span class="hl-code"> </span><span class="hl-reserved">SELECT</span><span class="hl-code"> </span><span class="hl-quotes">'</span><span class="hl-string">SQL Object</span><span class="hl-quotes">'</span><span class="hl-code">, </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">OBJECTVALUE1</span><span class="hl-code">, </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">OBJECTVALUE2</span><span class="hl-code">, </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">OBJECTVALUE3</span><span class="hl-code">, </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">OBJECTVALUE4</span><span class="hl-code">, </span><span class="hl-identifier">DECODE</span><span class="hl-brackets">(</span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">SOURCESTATUS</span><span class="hl-code">,</span><span class="hl-number">1</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Absent</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">2</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">3</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Unchanged</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">4</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">5</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Unchanged</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-quotes">"</span><span class="hl-string">Source Status</span><span class="hl-quotes">"</span><span class="hl-code">, </span><span class="hl-identifier">DECODE</span><span class="hl-brackets">(</span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">TARGETSTATUS</span><span class="hl-code">,</span><span class="hl-number">1</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Absent</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">2</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">3</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Unchanged</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">4</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">5</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Unchanged</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-quotes">"</span><span class="hl-string">Target Status</span><span class="hl-quotes">"</span><span class="hl-code">, </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">lastupdoprid</span><span class="hl-code">, </span><span class="hl-var">c</span><span class="hl-code">.</span><span class="hl-identifier">oprdefndesc</span><span class="hl-code"> </span><span class="hl-reserved">FROM</span><span class="hl-code"> </span><span class="hl-identifier">PSPROJECTITEM</span><span class="hl-code"> </span><span class="hl-identifier">A</span><span class="hl-code">, </span><span class="hl-identifier">PSSQLDEFN</span><span class="hl-code"> </span><span class="hl-identifier">B</span><span class="hl-code">, </span><span class="hl-identifier">psoprdefn</span><span class="hl-code"> </span><span class="hl-var">c</span><span class="hl-code"> </span><span class="hl-reserved">WHERE</span><span class="hl-code"> </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">PROJECTNAME</span><span class="hl-code"> = </span><span class="hl-quotes">'</span><span class="hl-string">INFRA_2C_BAUCR_24AUG09_HFIX1</span><span class="hl-quotes">'</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">objectvalue1</span><span class="hl-code"> = </span><span class="hl-identifier">B</span><span class="hl-code">.</span><span class="hl-identifier">SQLID</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-code">+</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">objectvalue2</span><span class="hl-code"> = </span><span class="hl-identifier">B</span><span class="hl-code">.</span><span class="hl-identifier">SQLTYPE</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-code">+</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">AND</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">objecttype</span><span class="hl-code"> = </span><span class="hl-number">30</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">lastupdoprid</span><span class="hl-code"> = </span><span class="hl-var">c</span><span class="hl-code">.</span><span class="hl-identifier">oprid</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-code">+</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">UNION</span><span class="hl-code"> </span><span class="hl-reserved">SELECT</span><span class="hl-code"> </span><span class="hl-quotes">'</span><span class="hl-string">Translate</span><span class="hl-quotes">'</span><span class="hl-code">, </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">OBJECTVALUE1</span><span class="hl-code">, </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">OBJECTVALUE2</span><span class="hl-code">, </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">OBJECTVALUE3</span><span class="hl-code">, </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">OBJECTVALUE4</span><span class="hl-code">, </span><span class="hl-identifier">DECODE</span><span class="hl-brackets">(</span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">SOURCESTATUS</span><span class="hl-code">,</span><span class="hl-number">1</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Absent</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">2</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">3</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Unchanged</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">4</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">5</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Unchanged</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-quotes">"</span><span class="hl-string">Source Status</span><span class="hl-quotes">"</span><span class="hl-code">, </span><span class="hl-identifier">DECODE</span><span class="hl-brackets">(</span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">TARGETSTATUS</span><span class="hl-code">,</span><span class="hl-number">1</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Absent</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">2</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">3</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Unchanged</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">4</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Changed</span><span class="hl-quotes">'</span><span class="hl-code">,</span><span class="hl-number">5</span><span class="hl-code">,</span><span class="hl-quotes">'</span><span class="hl-string">Custom Unchanged</span><span class="hl-quotes">'</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-quotes">"</span><span class="hl-string">Target Status</span><span class="hl-quotes">"</span><span class="hl-code">, </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">lastupdoprid</span><span class="hl-code">, </span><span class="hl-var">c</span><span class="hl-code">.</span><span class="hl-identifier">oprdefndesc</span><span class="hl-code"> </span><span class="hl-reserved">FROM</span><span class="hl-code"> </span><span class="hl-identifier">PSPROJECTITEM</span><span class="hl-code"> </span><span class="hl-identifier">A</span><span class="hl-code">, </span><span class="hl-identifier">psxlatitem</span><span class="hl-code"> </span><span class="hl-identifier">B</span><span class="hl-code">, </span><span class="hl-identifier">psoprdefn</span><span class="hl-code"> </span><span class="hl-var">c</span><span class="hl-code"> </span><span class="hl-reserved">WHERE</span><span class="hl-code"> </span><span class="hl-identifier">A</span><span class="hl-code">.</span><span class="hl-identifier">PROJECTNAME</span><span class="hl-code"> = </span><span class="hl-quotes">'</span><span class="hl-string">YOUR_PROJECT_HERE</span><span class="hl-quotes">'</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">objectvalue1</span><span class="hl-code"> = </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">fieldname</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-code">+</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">objectvalue2</span><span class="hl-code"> = </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">fieldvalue</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-code">+</span><span class="hl-brackets">)</span><span class="hl-code"> </span><span class="hl-reserved">AND</span><span class="hl-code"> </span><span class="hl-identifier">a</span><span class="hl-code">.</span><span class="hl-identifier">objecttype</span><span class="hl-code"> = </span><span class="hl-number">4</span><span class="hl-code"> </span><span class="hl-reserved">and</span><span class="hl-code"> </span><span class="hl-identifier">b</span><span class="hl-code">.</span><span class="hl-identifier">lastupdoprid</span><span class="hl-code"> = </span><span class="hl-var">c</span><span class="hl-code">.</span><span class="hl-identifier">oprid</span><span class="hl-code"> </span><span class="hl-brackets">(</span><span class="hl-code">+</span><span class="hl-brackets">)</span><span class="hl-code"> ;</span> </pre></div> </div> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-217273</guid>
				<title>SQL TO GENERATE INSERT SCRIPT FOR PEOPLESOFT RECORD</title>
				<link>http://www.peoplesoftwiki.com/forum/t-217273/sql-to-generate-insert-script-for-peoplesoft-record</link>
				<description>SQL TO GENERATE INSERT SCRIPT FOR A PEOPLESOFT RECORD.
replace the PSMSGCATDEFN with your record. Run in oracle SQL tool. It will give a select statement add where or filter clause to it to generate insert statements</description>
				<pubDate>Sun, 07 Feb 2010 00:42:03 +0000</pubDate>
				<wikidot:authorName>RahulAgrawal</wikidot:authorName>				<wikidot:authorUserId>437118</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>SQL TO GENERATE INSERT SCRIPT FOR A PEOPLESOFT RECORD.<br /> replace the PSMSGCATDEFN with your record. Run in oracle SQL tool. It will give a select statement add where or filter clause to it to generate insert statements</p> <p>SELECT * FROM (<br /> SELECT 'SELECT TO_CHAR(REPLACE(TT,'','''')'','')'' )) FROM ('||<br /> 'SELECT ''INSERT INTO '|| (CASE WHEN SUBSTR(RECNAME, 1, 2) != 'PS' THEN 'PS_' || RECNAME ELSE RECNAME END)<br /> || ' VALUES(''''''||''''||'<br /></p> <table class="wiki-content-table"> <tr> <td>SUBSTR(SYS_CONNECT_BY_PATH(FIELDNAME</td> <td>'</td> <td>'</td> <td>CHR(39)</td> <td>''''','''''</td> <td>CHR(39)</td> <td>'</td> </tr> </table> <p>|| CHR(13)<br /> || CHR(39)|| ')'' AS TT FROM '<br /> || (CASE WHEN SUBSTR(RECNAME, 1, 2) != 'PS' THEN 'PS_' || RECNAME ELSE RECNAME END)<br /> || ');' AS SELECT_STATEMENT<br /> ,DECODE(FIELDSEQUENCE,1, FIELDNAME,'')<br /> ,FIELDNUM<br /> FROM<br /> (<br /> SELECT<br /> RECNAME,<br /> FIELDNAME,<br /> FIELDNUM,<br /> COUNT(*) OVER ( PARTITION BY RECNAME ) AS FIELDCOUNT,<br /> ROW_NUMBER () OVER ( PARTITION BY RECNAME ORDER BY FIELDNUM) FIELDSEQUENCE<br /> FROM<br /> PSRECFIELD<br /> WHERE<br /> RECNAME='PSMSGCATDEFN' )<br /> WHERE<br /> FIELDCOUNT=FIELDSEQUENCE<br /> START WITH<br /> FIELDSEQUENCE = 1<br /> CONNECT BY PRIOR<br /> FIELDSEQUENCE+1=FIELDSEQUENCE<br /> AND PRIOR<br /> RECNAME=RECNAME<br /> ORDER BY FIELDNUM<br /> )</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-217271</guid>
				<title>Sql to find complete navigation and permission list, roles etc for a given component</title>
				<link>http://www.peoplesoftwiki.com/forum/t-217271/sql-to-find-complete-navigation-and-permission-list-roles-etc-for-a-given-component</link>
				<description>Sql to find complete navigation and permission list, roles etc for a given component .</description>
				<pubDate>Sun, 07 Feb 2010 00:34:41 +0000</pubDate>
				<wikidot:authorName>RahulAgrawal</wikidot:authorName>				<wikidot:authorUserId>437118</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>works only for oracle database currenty<br /> SELECT distinct A.ROLENAME, A.CLASSID,IN2.navigation,'/EMPLOYEE/ERP/c/'||MI.MENUNAME ||'.'||PNLGRPNAME ||'.GBL' AS NAVIGATION1,<br /> C.MENUNAME, C.BARNAME, C.BARITEMNAME, C.PNLITEMNAME, C.DISPLAYONLY, C.AUTHORIZEDACTIONS, D.PAGEACCESSDESCR,B.ROLENAME<br /> FROM PSROLECLASS A, PSROLEDEFN B, PSAUTHITEM C, PSPGEACCESSDESC D ,PSMENUITEM MI,<br /> (select SYS_CONNECT_BY_PATH(A.PORTAL_LABEL,'-&gt;') navigation, '/EMPLOYEE/ERP/c/' || PORTAL_URI_SEG1 || '.' || PORTAL_URI_SEG2 || '.' || PORTAL_URI_SEG3 url<br /> from (SELECT distinct A.PORTAL_NAME, A.PORTAL_LABEL, A.PORTAL_OBJNAME, a.PORTAL_PRNTOBJNAME,<br /> A.PORTAL_URI_SEG1, A.PORTAL_URI_SEG2, A.PORTAL_URI_SEG3, A.PORTAL_REFTYPE<br /> FROM PSPRSMDEFN A<br /> WHERE<br /> portal_name = 'EMPLOYEE' and<br /> portal_objname &lt;&gt; portal_prntobjname and<br /> not exists (<br /> select 'x'<br /> from PSPRSMSYSATTRVL<br /> where portal_name = A.PORTAL_NAME AND<br /> portal_Reftype = A.PORTAL_REFTYPE and<br /> portal_objname = A.PORTAL_OBJNAME and<br /> PORTAL_ATTR_NAM = 'PORTAL_HIDE_FROM_NAV' and<br /> A.PORTAL_OBJNAME not in ('CO_NAVIGATION_COLLECTIONS', 'PORTAL_BASE_DATA')<br /> )<br /> ) A<br /> start with A.portal_prntobjname = 'PORTAL_ROOT_OBJECT'<br /> connect by prior A.portal_objname = A.portal_prntobjname<br /> ) IN2<br /> WHERE A.ROLENAME = B.ROLENAME<br /> AND A.CLASSID = C.CLASSID<br /> AND C.MENUNAME NOT IN ('WEBLIB_MENU')<br /> AND C.BARNAME NOT IN ('FieldFormula')<br /> —AND A.ROLENAME = 'GL_GENERIC_ROLE'<br /> AND D.AUTHORIZEDACTIONS = C.AUTHORIZEDACTIONS<br /> AND C.MENUNAME = MI.MENUNAME<br /> AND C.BARNAME = MI.BARNAME<br /> AND C.BARITEMNAME = MI.ITEMNAME<br /> and url='/EMPLOYEE/ERP/c/'||MI.MENUNAME ||'.'||PNLGRPNAME ||'.GBL' and URL like '%CSG_PROMOTION_DEF1%'</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-217270</guid>
				<title>comma separated list of roles for each user</title>
				<link>http://www.peoplesoftwiki.com/forum/t-217270/comma-separated-list-of-roles-for-each-user</link>
				<description>comma separated list of roles for each user. Note that this will only work on Oracle databases</description>
				<pubDate>Sun, 07 Feb 2010 00:32:26 +0000</pubDate>
				<wikidot:authorName>RahulAgrawal</wikidot:authorName>				<wikidot:authorUserId>437118</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>comma separated list of roles for each user. Note that this will only work on Oracle databases.</p> <p>select<br /> ROLEUSER as USER_ID,<br /> substr(SYS_CONNECT_BY_PATH(ROLENAME, ','),2) as ROLES<br /> from<br /> (<br /> select<br /> ROLEUSER,<br /> ROLENAME,<br /> count(*) OVER ( partition by ROLEUSER ) as ROLECOUNT,<br /> ROW_NUMBER () OVER ( partition by ROLEUSER order by ROLENAME) ROLESEQUENCE<br /> from<br /> PSROLEUSER<br /> where<br /> ROLEUSER is not null)<br /> where<br /> ROLECOUNT=ROLESEQUENCE<br /> start with<br /> ROLESEQUENCE = 1<br /> connect by prior<br /> ROLESEQUENCE+1=ROLESEQUENCE<br /> and prior<br /> ROLEUSER=ROLEUSER<br /> ;</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-217268</guid>
				<title>list of all pages in a given component including subpages</title>
				<link>http://www.peoplesoftwiki.com/forum/t-217268/list-of-all-pages-in-a-given-component-including-subpages</link>
				<description>list of all pages in a given component including subpages</description>
				<pubDate>Sun, 07 Feb 2010 00:30:45 +0000</pubDate>
				<wikidot:authorName>RahulAgrawal</wikidot:authorName>				<wikidot:authorUserId>437118</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>subpanel pages</p> <p>SELECT *<br /> FROM PSPNLDEFN<br /> WHERE PNLNAME IN (<br /> SELECT PNLNAME<br /> FROM PSPNLGROUP<br /> WHERE PNLGRPNAME = 'AV_ASGN_GROUP')<br /> OR PNLNAME IN (<br /> SELECT SUBPNLNAME<br /> FROM PSPNLFIELD<br /> START<br /> WITH PNLNAME IN (<br /> SELECT PNLNAME<br /> FROM PSPNLGROUP<br /> WHERE PNLGRPNAME = 'AV_ASGN_GROUP')<br /> AND FIELDTYPE = 11 CONNECT BY PRIOR SUBPNLNAME = PNLNAME<br /> AND FIELDTYPE = 11)</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-217267</guid>
				<title>all the translate values in Peoplesoft</title>
				<link>http://www.peoplesoftwiki.com/forum/t-217267/all-the-translate-values-in-peoplesoft</link>
				<description>This is useful when we want to get different translate values. instead of using peopleosft PIA just through a query</description>
				<pubDate>Sun, 07 Feb 2010 00:29:00 +0000</pubDate>
				<wikidot:authorName>RahulAgrawal</wikidot:authorName>				<wikidot:authorUserId>437118</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span>-all the translate values<br /> select<br /> FIELDNAME,<br /> FIELDVALUE,<br /> EFFDT,<br /> EFF_STATUS,<br /> XLATLONGNAME,<br /> XLATSHORTNAME,<br /> LASTUPDDTTM,<br /> LASTUPDOPRID,<br /> SYNCID<br /> from<br /> PSXLATITEM A<br /> where<br /> EFFDT = (<br /> select max(EFFDT)<br /> from PSXLATITEM<br /> where FIELDNAME = A.FIELDNAME<br /> and FIELDVALUE = A.FIELDVALUE<br /> and A.EFFDT &lt;= sysdate<br /> )<br /> and A.EFF_STATUS = 'A'<br /> ;</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-217266</guid>
				<title>Parent child relationship in peoplesoft tables</title>
				<link>http://www.peoplesoftwiki.com/forum/t-217266/parent-child-relationship-in-peoplesoft-tables</link>
				<description>Parent child relationship in peoplesoft tables. This is extremely useful in analyzing if you change key in parent record, respective child records affected</description>
				<pubDate>Sun, 07 Feb 2010 00:26:16 +0000</pubDate>
				<wikidot:authorName>RahulAgrawal</wikidot:authorName>				<wikidot:authorUserId>437118</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>select recname from pskeydefn where recname in (<br /> select recname from pskeydefn where fieldname in<br /> ( select fieldname from pskeydefn<br /> where recname = 'PARENT_RECORD_NAME' and indexid='_')<br /> and indexid='_'<br /> group by recname having count(fieldname) = (select count(fieldname)<br /> from pskeydefn where recname='PARENT_RECORD_NAME' and indexid='_')<br /> and sum(keyposn) = (select sum(keyposn) from pskeydefn<br /> where recname='PARENT_RECORD_NAME' and indexid='_'))<br /> group by recname having count(fieldname) &gt; (select count(fieldname)<br /> from pskeydefn where recname = 'PARENT_RECORD_NAME' and indexid='_')</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-217259</guid>
				<title>Sql Script highlights customisations made to PeopleSoft vanilla objects</title>
				<link>http://www.peoplesoftwiki.com/forum/t-217259/sql-script-highlights-customisations-made-to-peoplesoft-vanilla-objects</link>
				<description>/************************                                                        ***********************/
/************************ PeopleTools objects modifiable in Application Designer ***********************/
/************************                                                        ***********************/
/* Written for MS SQL Server */
/* Linked server to DMO database required for some object types.*/</description>
				<pubDate>Sat, 06 Feb 2010 23:49:52 +0000</pubDate>
				<wikidot:authorName>RahulAgrawal</wikidot:authorName>				<wikidot:authorUserId>437118</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>/* Create temp table of operids to ignore*/<br /> drop table #oprid_exc</p> <p>go</p> <p>CREATE TABLE #oprid_exc (<br /> operid_excludes varchar(60))</p> <p>INSERT INTO #oprid_exc<br /> (operid_excludes)<br /> VALUES ('PPLSOFT')</p> <p>INSERT INTO #oprid_exc<br /> (operid_excludes)<br /> VALUES ('DVP1')</p> <p>INSERT INTO #oprid_exc<br /> (operid_excludes)<br /> VALUES ('FVP1')</p> <p>INSERT INTO #oprid_exc<br /> (operid_excludes)<br /> VALUES ('VP1')</p> <p>INSERT INTO #oprid_exc<br /> (operid_excludes)<br /> VALUES ('VP2')</p> <p>INSERT INTO #oprid_exc<br /> (operid_excludes)<br /> VALUES ('PS')</p> <p>/*Set value for CUSTOM objects (ignore these)*/<br /> DECLARE @object_name as varchar(30);</p> <p>set @object_name = 'OX%'</p> <p>/*Start listing customised objects*/<br /> /*<span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span><span style="text-decoration: line-through;">-</span>——*/<br /> /* Application Engine Programs… */<br /> SET NOCOUNT ON</p> <p>select 'Application Engine Programs… '</p> <p>SET NOCOUNT OFF</p> <p>select AE_APPLID<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSAEAPPLDEFN<br /> Where AE_APPLID NOT LIKE @object_name<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)</p> <p>/* Application Engine Sections… */<br /> SET NOCOUNT ON</p> <p>select 'Application Engine Sections… '</p> <p>SET NOCOUNT OFF</p> <p>select AE_APPLID<br /> , AE_SECTION<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSAESECTDEFN<br /> Where AE_APPLID NOT LIKE 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)</p> <p>/* Components…. */<br /> SET NOCOUNT ON</p> <p>select 'Components…. '</p> <p>SET NOCOUNT OFF</p> <p>select PNLGRPNAME<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSPNLGRPDEFN<br /> Where PNLGRPNAME Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)</p> <p>/* Component Interfaces…. */<br /> SET NOCOUNT ON</p> <p>select 'Component Interfaces…. '</p> <p>SET NOCOUNT OFF</p> <p>select BCNAME<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSBCDEFN<br /> Where BCNAME Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)</p> <p>/* Field objects…. */<br /> SET NOCOUNT ON</p> <p>select 'Field objects…. '</p> <p>SET NOCOUNT OFF</p> <p>select FIELDNAME<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSDBFIELD<br /> Where FIELDNAME Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)</p> <p>/* Filelayout definitions…. */<br /> SET NOCOUNT ON</p> <p>select 'Filelayout definitions…. '</p> <p>SET NOCOUNT OFF</p> <p>select FLDDEFNNAME<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSFLDDEFN<br /> Where (FLDDEFNNAME Not Like 'OX%'<br /> And FLDDEFNNAME Not Like 'OPAL%')<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)</p> <p>/* HTML objects…. */<br /> SET NOCOUNT ON</p> <p>select 'HTML objects…. '</p> <p>SET NOCOUNT OFF</p> <p>select CONTNAME<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSCONTDEFN<br /> Where CONTNAME Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)<br /> And CONTTYPE = 4</p> <p>/* Images…. */<br /> SET NOCOUNT ON</p> <p>select 'Images…. '</p> <p>SET NOCOUNT OFF</p> <p>select CONTNAME<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSCONTDEFN<br /> Where CONTNAME Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)<br /> And CONTTYPE = 1</p> <p>/* Messages…. */<br /> SET NOCOUNT ON</p> <p>select 'Messages…. '</p> <p>SET NOCOUNT OFF</p> <p>select MSGNAME<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSMSGDEFN<br /> Where MSGNAME Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)</p> <p>/* Messages Channels…. */<br /> SET NOCOUNT ON</p> <p>select 'Messages Channels…. '</p> <p>SET NOCOUNT OFF</p> <p>select CHNLNAME<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSCHNLDEFN<br /> Where CHNLNAME Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)</p> <p>/* Message Nodes…. */<br /> SET NOCOUNT ON</p> <p>select 'Message Nodes…. '</p> <p>SET NOCOUNT OFF</p> <p>select MSGNODENAME<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSMSGNODEDEFN<br /> Where MSGNODENAME Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)</p> <p>/* Page objects…. */<br /> SET NOCOUNT ON</p> <p>select 'Page objects…. '</p> <p>SET NOCOUNT OFF</p> <p>select PNLNAME<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSPNLDEFN<br /> Where PNLNAME Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)</p> <p>/* Record PeopleCode…. */<br /> SET NOCOUNT ON</p> <p>select 'Record PeopleCode…. '</p> <p>SET NOCOUNT OFF</p> <p>select distinct OBJECTVALUE1<br /> , OBJECTVALUE2<br /> , OBJECTVALUE3<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSPCMPROG<br /> WHERE OBJECTVALUE1 Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)<br /> And OBJECTID1 = 1</p> <p>/* Page PeopleCode…. */<br /> SET NOCOUNT ON</p> <p>select 'Page PeopleCode…. '</p> <p>SET NOCOUNT OFF</p> <p>select OBJECTVALUE1<br /> , OBJECTVALUE2<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSPCMPROG<br /> WHERE OBJECTVALUE1 Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)<br /> And OBJECTID1 = 9</p> <p>/* Component PeopleCode… includes Component, Component Record and Component record Field…. */<br /> SET NOCOUNT ON</p> <p>select 'Component PeopleCode… includes Component, Component Record and Component record Field…. '</p> <p>SET NOCOUNT OFF</p> <p>select OBJECTVALUE1<br /> , OBJECTVALUE2<br /> , OBJECTVALUE3<br /> , OBJECTVALUE4<br /> , OBJECTVALUE5<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSPCMPROG<br /> WHERE OBJECTVALUE1 Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)<br /> And OBJECTID1 = 10</p> <p>/* Application Engine PeopleCode…. */<br /> SET NOCOUNT ON</p> <p>select 'Application Engine PeopleCode…. '</p> <p>SET NOCOUNT OFF</p> <p>select OBJECTVALUE1<br /> , OBJECTVALUE2<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSPCMPROG<br /> WHERE OBJECTVALUE1 Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)<br /> And OBJECTID1 = 66</p> <p>/* Component Interface PeopleCode…. */<br /> SET NOCOUNT ON</p> <p>select 'Component Interface PeopleCode…. '</p> <p>SET NOCOUNT OFF</p> <p>select OBJECTVALUE1<br /> , OBJECTVALUE2<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSPCMPROG<br /> WHERE OBJECTVALUE1 Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)<br /> And OBJECTID1 = 74</p> <p>/* Message PeopleCode…. */<br /> SET NOCOUNT ON</p> <p>select 'Message PeopleCode…. '</p> <p>SET NOCOUNT OFF</p> <p>select OBJECTVALUE1<br /> , OBJECTVALUE2<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSPCMPROG<br /> WHERE OBJECTVALUE1 Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)<br /> And OBJECTID1 = 60</p> <p>/* Record objects….. SQL Tables…. */<br /> SET NOCOUNT ON</p> <p>select 'Record objects….. SQL Tables…. '</p> <p>SET NOCOUNT OFF</p> <p>select RECNAME<br /> , RECTYPE<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSRECDEFN<br /> Where RECNAME Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)<br /> And RECTYPE = 0</p> <p>/* Record objects….. Views…. */<br /> SET NOCOUNT ON</p> <p>select 'Record objects….. Views…. '</p> <p>SET NOCOUNT OFF</p> <p>select RECNAME<br /> , RECTYPE<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSRECDEFN<br /> Where RECNAME Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)<br /> And RECTYPE = 1</p> <p>/* Record objects….. Dynamic Views…. */<br /> SET NOCOUNT ON</p> <p>select 'Record objects….. Dynamic Views…. '</p> <p>SET NOCOUNT OFF</p> <p>select RECNAME<br /> , RECTYPE<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSRECDEFN<br /> Where RECNAME Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)<br /> And RECTYPE = 5</p> <p>/* Record objects….. Derived/Work…. */<br /> SET NOCOUNT ON</p> <p>select 'Record objects….. Derived/Work…. '</p> <p>SET NOCOUNT OFF</p> <p>select RECNAME<br /> , RECTYPE<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSRECDEFN<br /> Where RECNAME Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)<br /> And RECTYPE = 2</p> <p>/* Record objects….. Sub-records…. */<br /> SET NOCOUNT ON</p> <p>select 'Record objects….. Sub-records…. '</p> <p>SET NOCOUNT OFF</p> <p>select RECNAME<br /> , RECTYPE<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSRECDEFN<br /> Where RECNAME Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)<br /> And RECTYPE = 3</p> <p>/* Record objects….. Query view…. */<br /> SET NOCOUNT ON</p> <p>select 'Record objects….. Query view…. '</p> <p>SET NOCOUNT OFF</p> <p>select RECNAME<br /> , RECTYPE<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSRECDEFN<br /> Where RECNAME Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)<br /> And RECTYPE = 6</p> <p>/* Record objects….. Temporary Tables…. */<br /> SET NOCOUNT ON</p> <p>select 'Record objects….. Temporary Tables…. '</p> <p>SET NOCOUNT OFF</p> <p>select RECNAME<br /> , RECTYPE<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSRECDEFN<br /> Where RECNAME Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)<br /> And RECTYPE = 7</p> <p>/* SQL objects standalone…. */<br /> SET NOCOUNT ON</p> <p>select 'SQL objects standalone…. '</p> <p>SET NOCOUNT OFF</p> <p>select SQLID<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSSQLDEFN<br /> Where SQLID Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)<br /> And SQLTYPE = 0</p> <p>/* SQL Application Engine…….. */<br /> SET NOCOUNT ON</p> <p>select 'SQL Application Engine…….. '</p> <p>SET NOCOUNT OFF</p> <p>select SQLID<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSSQLDEFN<br /> Where SQLID Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)<br /> And SQLTYPE = 1</p> <p>/* SQL view texts…….. */<br /> SET NOCOUNT ON</p> <p>select 'SQL view texts…….. '</p> <p>SET NOCOUNT OFF</p> <p>select SQLID<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSSQLDEFN<br /> Where SQLID Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)<br /> And SQLTYPE = 2</p> <p>/* Stylesheets… */<br /> SET NOCOUNT ON</p> <p>select 'Stylesheets… '</p> <p>SET NOCOUNT OFF</p> <p>select STYLESHEETNAME<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSSTYLSHEETDEFN<br /> Where STYLESHEETNAME Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)</p> <p>/* */<br /> /* PeopleTools objects modifiable outside Application Designer */<br /> /* */<br /> /* Job definitions…. */<br /> SET NOCOUNT ON</p> <p>select 'Job definitions…. '</p> <p>SET NOCOUNT OFF</p> <p>select PRCSJOBNAME<br /> , DESCR<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PS_PRCSJOBDEFN<br /> Where PRCSJOBNAME Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)</p> <p>/* Process definitions…. */<br /> SET NOCOUNT ON</p> <p>select 'Process definitions…. '</p> <p>SET NOCOUNT OFF</p> <p>select PRCSNAME<br /> , PRCSTYPE<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PS_PRCSDEFN<br /> Where PRCSNAME Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)</p> <p>/* Process Type definitions…. */<br /> SET NOCOUNT ON</p> <p>select 'Process Type definitions…. '</p> <p>SET NOCOUNT OFF</p> <p>select PRCSTYPE<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PS_PRCSTYPEDEFN<br /> Where PRCSTYPE Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)</p> <p>/* Queries…. */<br /> /* Check against vanilla DEMO database*/<br /> SET NOCOUNT ON</p> <p>select 'Queries…. '</p> <p>SET NOCOUNT OFF</p> <p>select source.QRYNAME<br /> , source.DESCR<br /> , source.LASTUPDOPRID<br /> , source.LASTUPDDTTM<br /> From PSQRYDEFN source<br /> Where source.QRYNAME Not Like 'OX%'<br /> And source.LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)<br /> And Exists (select 'x'<br /> From FSDMO89.dbo.PSQRYDEFN demo<br /> Where source.QRYNAME = demo.QRYNAME)</p> <p>/* Server definitions…. */<br /> SET NOCOUNT ON</p> <p>select 'Server definitions…. '</p> <p>SET NOCOUNT OFF</p> <p>select SERVERNAME<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PS_SERVERDEFN</p> <p>/* Translate values…. */<br /> SET NOCOUNT ON</p> <p>select 'Translate values…. '</p> <p>SET NOCOUNT OFF</p> <p>select FIELDNAME<br /> , FIELDVALUE<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSXLATITEM<br /> Where FIELDNAME Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)</p> <p>/* Tree structures…. */<br /> SET NOCOUNT ON</p> <p>select 'Tree structures…. '</p> <p>SET NOCOUNT OFF</p> <p>select TREE_STRCT_ID<br /> , DESCR<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSTREESTRCT source<br /> Where TREE_STRCT_ID Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)<br /> And Exists (select 'x'<br /> From FSDMO89.dbo.PSTREESTRCT demo<br /> Where source.TREE_STRCT_ID = demo.TREE_STRCT_ID)</p> <p>/* Trees…. */<br /> SET NOCOUNT ON</p> <p>select 'Trees…. '</p> <p>SET NOCOUNT OFF</p> <p>select SETID<br /> , TREE_NAME<br /> , LASTUPDOPRID<br /> , LASTUPDDTTM<br /> From PSTREEDEFN source<br /> Where TREE_NAME Not Like 'OX%'<br /> And LASTUPDOPRID Not In (select operid_excludes<br /> from #oprid_exc)<br /> And Exists (select 'x'<br /> From FSDMO89.dbo.PSTREEDEFN demo<br /> Where source.TREE_NAME = demo.TREE_NAME)</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-217258</guid>
				<title>which AE program has trace enabled in its process definition</title>
				<link>http://www.peoplesoftwiki.com/forum/t-217258/which-ae-program-has-trace-enabled-in-its-process-definition</link>
				<description>The below SQL will help you determine all the AE programs that have TRACE enabled. It will be useful to use this SQL in your monitoring scripts if you notice developers enabling trace using the process definitions and getting the program with its process definition migrated all the way to production or if your analyst or DBA have the tendency to enable the trace and forget about it</description>
				<pubDate>Sat, 06 Feb 2010 23:44:34 +0000</pubDate>
				<wikidot:authorName>RahulAgrawal</wikidot:authorName>				<wikidot:authorUserId>437118</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>SELECT PRCSNAME, PARMLIST<br /> FROM PS_PRCSDEFN<br /> WHERE UPPER(PARMLIST) LIKE ‘%TRACE%’<br /> AND PRCSTYPE = ‘Application Engine’;</p> 
				 	]]>
				</content:encoded>							</item>
					<item>
				<guid>http://www.peoplesoftwiki.com/forum/t-217256</guid>
				<title>SQL to help with the sequence of the fields in the layout:</title>
				<link>http://www.peoplesoftwiki.com/forum/t-217256/sql-to-help-with-the-sequence-of-the-fields-in-the-layout</link>
				<description>Its useful in cases where field position specified are over lapping are not in correct order</description>
				<pubDate>Sat, 06 Feb 2010 23:38:28 +0000</pubDate>
				<wikidot:authorName>RahulAgrawal</wikidot:authorName>				<wikidot:authorUserId>437118</wikidot:authorUserId>				<content:encoded>
					<![CDATA[
						 <p>SELECT * FROM (</p> <p>SELECT A.FLDFIELDNAME, A.FLDSTART,</p> <p>(SELECT COUNT(*) FROM PSFLDFIELDDEFN</p> <p>WHERE FLDDEFNNAME = A.FLDDEFNNAME</p> <p>AND FLDSTART &lt; A.FLDSTART) + 1 CORRECT_SEQ,</p> <p>A.FLDSEQNO ACTUAL_SEQ</p> <p>FROM PSFLDFIELDDEFN A</p> <p>WHERE A.FLDDEFNNAME = '&lt;File Layout Name&gt;'</p> <p>) B</p> <p>WHERE B.CORRECT_SEQ &lt;&gt; B.ACTUAL_SEQ</p> <p>ORDER BY B.FLDSTART</p> 
				 	]]>
				</content:encoded>							</item>
				</channel>
</rss>