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

<channel>
	<title>Tyson Moore &#187; Query</title>
	<atom:link href="http://www.tysonmoore.net/public/category/peoplesoft/query/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tysonmoore.net/public</link>
	<description>Consultant, Developer, Volunteer</description>
	<lastBuildDate>Tue, 15 Jun 2010 21:40:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Selecting the translate values from PSXLATITEM table by joining to another table</title>
		<link>http://www.tysonmoore.net/public/2010/01/selecting-the-translate-values-from-psxlatitem-table-by-joining-to-another-table/</link>
		<comments>http://www.tysonmoore.net/public/2010/01/selecting-the-translate-values-from-psxlatitem-table-by-joining-to-another-table/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 18:21:13 +0000</pubDate>
		<dc:creator>Tyson</dc:creator>
				<category><![CDATA[IT Toolbox]]></category>
		<category><![CDATA[PeopleSoft]]></category>
		<category><![CDATA[Query]]></category>
		<category><![CDATA[peoplesoft query]]></category>
		<category><![CDATA[xlat]]></category>

		<guid isPermaLink="false">http://www.tysonmoore.net/public/?p=20</guid>
		<description><![CDATA[Our current Version: PS8.9; People Tools: 8.47How can we select the translate values from PSXLATITEM table by joining to another table?I want the description(XLATLONGNAME) in the field value rather th How can I get the translate values description selected in the query? Record used : PSXLATITEM. HRS_JO_RQMT_I fiels selected: SCHEDULED_TYPE SHIFT Translate values of Schduled_type: [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>Our current Version: PS8.9; People Tools: 8.47How can we select the translate values from PSXLATITEM table by joining to another table?I want the description(XLATLONGNAME) in the field value rather th<br />
How can I get the translate values description selected in the query?<br />
Record used :<br />
PSXLATITEM.<br />
HRS_JO_RQMT_I<br />
fiels selected:<br />
SCHEDULED_TYPE<br />
SHIFT<br />
Translate values of Schduled_type:<br />
P<br />
F<br />
O<br />
Long names:<br />
par time<br />
Full time<br />
Optional<br />
I want the descriptions (long names) of the tanslate values should be displayed in the output rather than<br />
F, P, O<br />
Any suggestions ?/ Thanks.</p></blockquote>
<p>If you are doing this via the online Query tool, you can change the Field settings (on the Field tab) to display the Long description rather than the ID for the fields you are selecting.</p>
<p>If you are just writing SQL, I would suggest using XLATTABLE_VW instead of PSXLATITEM to obtain the long description of the field(s) you are selecting. In my queries, I typically join to that view with the following criteria:</p>
<pre name="code" class="sql">
SELECT D.XLATLONGNAME AS SCHEDULE_TYPE
FROM PS_HRS_JO_RQMT_I A, XLATTABLE_VW B
WHERE B.FIELDNAME = 'SCHEDULED_TYPE'
AND A.SCHEDULED_TYPE = B.FIELDVALUE AND B.EFFDT
(SELECT MAX(B_ED.EFFDT) FROM XLATTABLE_VW B_ED
WHERE B.FIELDNAME = B_ED.FIELDNAME
AND B.FIELDVALUE = B_ED.FIELDVALUE
AND B_ED.EFFDT &lt;= SYSDATE);</pre>

<div class="sociable">
<div class="sociable_tagline">
<strong>Share and Enjoy:</strong>
</div>
<ul>
	<li class="sociablefirst"><a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.tysonmoore.net%2Fpublic%2F2010%2F01%2Fselecting-the-translate-values-from-psxlatitem-table-by-joining-to-another-table%2F&amp;partner=sociable" title="PDF"><img src="http://www.tysonmoore.net/public/wp-content/plugins/sociable/images/pdf.png" title="PDF" alt="PDF" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.printfriendly.com/print?url=http%3A%2F%2Fwww.tysonmoore.net%2Fpublic%2F2010%2F01%2Fselecting-the-translate-values-from-psxlatitem-table-by-joining-to-another-table%2F&amp;partner=sociable" title="Print"><img src="http://www.tysonmoore.net/public/wp-content/plugins/sociable/images/printfriendly.png" title="Print" alt="Print" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="mailto:?subject=Selecting%20the%20translate%20values%20from%20PSXLATITEM%20table%20by%20joining%20to%20another%20table&amp;body=http%3A%2F%2Fwww.tysonmoore.net%2Fpublic%2F2010%2F01%2Fselecting-the-translate-values-from-psxlatitem-table-by-joining-to-another-table%2F" title="email"><img src="http://www.tysonmoore.net/public/wp-content/plugins/sociable/images/email_link.png" title="email" alt="email" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://twitter.com/home?status=Selecting%20the%20translate%20values%20from%20PSXLATITEM%20table%20by%20joining%20to%20another%20table%20-%20http%3A%2F%2Fwww.tysonmoore.net%2Fpublic%2F2010%2F01%2Fselecting-the-translate-values-from-psxlatitem-table-by-joining-to-another-table%2F" title="Twitter"><img src="http://www.tysonmoore.net/public/wp-content/plugins/sociable/images/twitter.png" title="Twitter" alt="Twitter" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.tysonmoore.net%2Fpublic%2F2010%2F01%2Fselecting-the-translate-values-from-psxlatitem-table-by-joining-to-another-table%2F&amp;t=Selecting%20the%20translate%20values%20from%20PSXLATITEM%20table%20by%20joining%20to%20another%20table" title="Facebook"><img src="http://www.tysonmoore.net/public/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fwww.tysonmoore.net%2Fpublic%2F2010%2F01%2Fselecting-the-translate-values-from-psxlatitem-table-by-joining-to-another-table%2F&amp;title=Selecting%20the%20translate%20values%20from%20PSXLATITEM%20table%20by%20joining%20to%20another%20table&amp;source=Tyson+Moore+Consultant%2C+Developer%2C+Volunteer&amp;summary=Our%20current%20Version%3A%20PS8.9%3B%20People%20Tools%3A%208.47How%20can%20we%20select%20the%20translate%20values%20from%20PSXLATITEM%20table%20by%20joining%20to%20another%20table%3FI%20want%20the%20description%28XLATLONGNAME%29%20in%20the%20field%20value%20rather%20th%0D%0AHow%20can%20I%20get%20the%20translate%20values%20description%20s" title="LinkedIn"><img src="http://www.tysonmoore.net/public/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.tysonmoore.net/public/feed/" title="RSS"><img src="http://www.tysonmoore.net/public/wp-content/plugins/sociable/images/rss.png" title="RSS" alt="RSS" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fwww.tysonmoore.net%2Fpublic%2F2010%2F01%2Fselecting-the-translate-values-from-psxlatitem-table-by-joining-to-another-table%2F&amp;t=Selecting%20the%20translate%20values%20from%20PSXLATITEM%20table%20by%20joining%20to%20another%20table&amp;s=Our%20current%20Version%3A%20PS8.9%3B%20People%20Tools%3A%208.47How%20can%20we%20select%20the%20translate%20values%20from%20PSXLATITEM%20table%20by%20joining%20to%20another%20table%3FI%20want%20the%20description%28XLATLONGNAME%29%20in%20the%20field%20value%20rather%20th%0D%0AHow%20can%20I%20get%20the%20translate%20values%20description%20s" title="Tumblr"><img src="http://www.tysonmoore.net/public/wp-content/plugins/sociable/images/tumblr.png" title="Tumblr" alt="Tumblr" class="sociable-hovers" /></a></li>
	<li><a rel="nofollow"  target="_blank" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.tysonmoore.net%2Fpublic%2F2010%2F01%2Fselecting-the-translate-values-from-psxlatitem-table-by-joining-to-another-table%2F&amp;title=Selecting%20the%20translate%20values%20from%20PSXLATITEM%20table%20by%20joining%20to%20another%20table&amp;annotation=Our%20current%20Version%3A%20PS8.9%3B%20People%20Tools%3A%208.47How%20can%20we%20select%20the%20translate%20values%20from%20PSXLATITEM%20table%20by%20joining%20to%20another%20table%3FI%20want%20the%20description%28XLATLONGNAME%29%20in%20the%20field%20value%20rather%20th%0D%0AHow%20can%20I%20get%20the%20translate%20values%20description%20s" title="Google Bookmarks"><img src="http://www.tysonmoore.net/public/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a></li>
	<li class="sociablelast"><a rel="nofollow"  target="_blank" href="http://www.netvibes.com/share?title=Selecting%20the%20translate%20values%20from%20PSXLATITEM%20table%20by%20joining%20to%20another%20table&amp;url=http%3A%2F%2Fwww.tysonmoore.net%2Fpublic%2F2010%2F01%2Fselecting-the-translate-values-from-psxlatitem-table-by-joining-to-another-table%2F" title="Netvibes"><img src="http://www.tysonmoore.net/public/wp-content/plugins/sociable/images/netvibes.png" title="Netvibes" alt="Netvibes" class="sociable-hovers" /></a></li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.tysonmoore.net/public/2010/01/selecting-the-translate-values-from-psxlatitem-table-by-joining-to-another-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

