<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Reporting Changes In Peoplesoft With SQR, Part 1</title>
	<atom:link href="http://peoplesoftsqr.com/index.php/2009/09/reporting-changes-in-peoplesoft-with-sqr-part-1/feed/" rel="self" type="application/rss+xml" />
	<link>http://peoplesoftsqr.com/index.php/2009/09/reporting-changes-in-peoplesoft-with-sqr-part-1/</link>
	<description>When Peoplebooks Is Not Enough</description>
	<lastBuildDate>Mon, 23 Jan 2012 21:54:00 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: administrator</title>
		<link>http://peoplesoftsqr.com/index.php/2009/09/reporting-changes-in-peoplesoft-with-sqr-part-1/comment-page-1/#comment-6917</link>
		<dc:creator>administrator</dc:creator>
		<pubDate>Sun, 31 Jul 2011 02:47:25 +0000</pubDate>
		<guid isPermaLink="false">http://peoplesoftsqr.com/?p=454#comment-6917</guid>
		<description>Nick, I don&#039;t understand what you&#039;re asking.  These are scenarios that involve changes to DEPTID.  My post discusses how to detect changes to DEPTID.  Are you asking how to differentiate among these scenarios?  That&#039;s a legitimate question, but not the topic I was discussing.  You need to look at before and after data, find the pattern that each scenario produces, and test for that pattern.</description>
		<content:encoded><![CDATA[<p>Nick, I don&#8217;t understand what you&#8217;re asking.  These are scenarios that involve changes to DEPTID.  My post discusses how to detect changes to DEPTID.  Are you asking how to differentiate among these scenarios?  That&#8217;s a legitimate question, but not the topic I was discussing.  You need to look at before and after data, find the pattern that each scenario produces, and test for that pattern.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nick</title>
		<link>http://peoplesoftsqr.com/index.php/2009/09/reporting-changes-in-peoplesoft-with-sqr-part-1/comment-page-1/#comment-6824</link>
		<dc:creator>Nick</dc:creator>
		<pubDate>Mon, 18 Jul 2011 12:28:33 +0000</pubDate>
		<guid isPermaLink="false">http://peoplesoftsqr.com/?p=454#comment-6824</guid>
		<description>Can you explain the cases when transfers happened such as:

1. if the employee is at home country and transferred to another department. 
2. If the employee is having home and host (both are active) and transferred to another department at host 
3. If the employee moved from Home to Host with a change of department id
4. if the employee moved from Host to Home with a change of department id due to assignment completion.</description>
		<content:encoded><![CDATA[<p>Can you explain the cases when transfers happened such as:</p>
<p>1. if the employee is at home country and transferred to another department.<br />
2. If the employee is having home and host (both are active) and transferred to another department at host<br />
3. If the employee moved from Home to Host with a change of department id<br />
4. if the employee moved from Host to Home with a change of department id due to assignment completion.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: administrator</title>
		<link>http://peoplesoftsqr.com/index.php/2009/09/reporting-changes-in-peoplesoft-with-sqr-part-1/comment-page-1/#comment-6007</link>
		<dc:creator>administrator</dc:creator>
		<pubDate>Thu, 16 Sep 2010 15:43:40 +0000</pubDate>
		<guid isPermaLink="false">http://peoplesoftsqr.com/?p=454#comment-6007</guid>
		<description>What was I thinking?

I advised a colleague to use the code on this page for a program he was writing.  We reviewed his work and it just didn&#039;t seem right to me.  I thought I had worked this out very carefully, but I have second thoughts now.

The first selection should take all J.EFFDT between $start_dt and $end_dt but it should also take all J.EFFDT in the past if the J.ACTION_DT is between $start_dt and $end_dt; e.g. a report of changes for August should include a change effective in July if it was entered in August:

and (J.EFFDT between $start_dt and $end_dt or J.ACTION_DT between $start_dt and $end_dt)

The second selection, of the previous row to compare with the selected row should be before $start_dt, but it also should be before the selected row.  Otherwise we might compare a retroactive change to itself.

and J1.EFFDT = (select max(EFFDT) from PS_JOB where ... and EFFDT &lt; J.EFFDT and EFFDT &lt; $start_dt)

I apologize for leaving a bad algorithm in place for the past year.</description>
		<content:encoded><![CDATA[<p>What was I thinking?</p>
<p>I advised a colleague to use the code on this page for a program he was writing.  We reviewed his work and it just didn&#8217;t seem right to me.  I thought I had worked this out very carefully, but I have second thoughts now.</p>
<p>The first selection should take all J.EFFDT between $start_dt and $end_dt but it should also take all J.EFFDT in the past if the J.ACTION_DT is between $start_dt and $end_dt; e.g. a report of changes for August should include a change effective in July if it was entered in August:</p>
<p>and (J.EFFDT between $start_dt and $end_dt or J.ACTION_DT between $start_dt and $end_dt)</p>
<p>The second selection, of the previous row to compare with the selected row should be before $start_dt, but it also should be before the selected row.  Otherwise we might compare a retroactive change to itself.</p>
<p>and J1.EFFDT = (select max(EFFDT) from PS_JOB where &#8230; and EFFDT &lt; J.EFFDT and EFFDT &lt; $start_dt)</p>
<p>I apologize for leaving a bad algorithm in place for the past year.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

