<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: SQL view to show what check paid a Purchase Order</title>
	<atom:link href="http://victoriayudin.com/2008/10/17/sql-view-what-check-paid-purchase-order/feed/" rel="self" type="application/rss+xml" />
	<link>http://victoriayudin.com/2008/10/17/sql-view-what-check-paid-purchase-order/</link>
	<description>Ramblings and musings of a Dynamics GP MVP</description>
	<lastBuildDate>Fri, 03 Feb 2012 22:28:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
	<item>
		<title>By: Victoria Yudin</title>
		<link>http://victoriayudin.com/2008/10/17/sql-view-what-check-paid-purchase-order/#comment-8723</link>
		<dc:creator><![CDATA[Victoria Yudin]]></dc:creator>
		<pubDate>Mon, 07 Mar 2011 22:27:22 +0000</pubDate>
		<guid isPermaLink="false">http://victoriayudin.wordpress.com/?p=358#comment-8723</guid>
		<description><![CDATA[Tom,

Do you mean you want to show a line for each receipt the invoice was matched to?  That&#039;s not really the goal of this view...but I believe you should be able to do that using the POP10500 table.  I will put POP reports on my &#039;wish list&#039; for future blog posts.

&lt;em&gt;-Victoria&lt;/em&gt;]]></description>
		<content:encoded><![CDATA[<p>Tom,</p>
<p>Do you mean you want to show a line for each receipt the invoice was matched to?  That&#8217;s not really the goal of this view&#8230;but I believe you should be able to do that using the POP10500 table.  I will put POP reports on my &#8216;wish list&#8217; for future blog posts.</p>
<p><em>-Victoria</em></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Myers</title>
		<link>http://victoriayudin.com/2008/10/17/sql-view-what-check-paid-purchase-order/#comment-8718</link>
		<dc:creator><![CDATA[Tom Myers]]></dc:creator>
		<pubDate>Mon, 07 Mar 2011 16:49:17 +0000</pubDate>
		<guid isPermaLink="false">http://victoriayudin.wordpress.com/?p=358#comment-8718</guid>
		<description><![CDATA[Victoria,
Anyway to link this view to show not only the receipt for the invoice match, but the shipment receipt also?
tom]]></description>
		<content:encoded><![CDATA[<p>Victoria,<br />
Anyway to link this view to show not only the receipt for the invoice match, but the shipment receipt also?<br />
tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victoria Yudin</title>
		<link>http://victoriayudin.com/2008/10/17/sql-view-what-check-paid-purchase-order/#comment-3748</link>
		<dc:creator><![CDATA[Victoria Yudin]]></dc:creator>
		<pubDate>Sat, 24 Apr 2010 09:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://victoriayudin.wordpress.com/?p=358#comment-3748</guid>
		<description><![CDATA[FAC,

Thanks for sharing this code with us.

&lt;em&gt;-Victoria&lt;/em&gt;]]></description>
		<content:encoded><![CDATA[<p>FAC,</p>
<p>Thanks for sharing this code with us.</p>
<p><em>-Victoria</em></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: FAC</title>
		<link>http://victoriayudin.com/2008/10/17/sql-view-what-check-paid-purchase-order/#comment-3738</link>
		<dc:creator><![CDATA[FAC]]></dc:creator>
		<pubDate>Fri, 23 Apr 2010 18:57:58 +0000</pubDate>
		<guid isPermaLink="false">http://victoriayudin.wordpress.com/?p=358#comment-3738</guid>
		<description><![CDATA[Hi Victoria

maybe this helps a little

I did this to view the status of one PO that&#039;s why the Variable

the result is just like making an inquiry of purchase orders

hope that helps

DECLARE @PONUMBER NVARCHAR(25) SET @PONUMBER = &#039;ODC000001055&#039;
SELECT &#039;Purchase Order&#039; AS POPTYPE, DOCDATE, CASE POSTATUS WHEN 1 THEN &#039;New&#039; WHEN 2 THEN &#039;Released&#039; WHEN 3 THEN &#039;Change Order&#039; WHEN 4 THEN &#039;Received&#039; WHEN 5 THEN &#039;Closed&#039; WHEN 6 THEN &#039;Cancelled&#039; END POSTATUS, 
PONUMBER, &#039;&#039; AS POPRCTNM, CURNCYID
FROM POP10100 where PONUMBER = @PONUMBER
	UNION ALL
SELECT DISTINCT CASE POPTYPE WHEN 1 THEN &#039;Shipment&#039; WHEN 2 THEN &#039;Invoice&#039; WHEN 3 THEN &#039;Shipment/Invoice&#039; WHEN 4 THEN &#039;Return&#039; WHEN 5 THEN &#039;Return w/Credit&#039; WHEN 6 THEN &#039;Inventory Return&#039; WHEN 7 THEN &#039;Inventory Return w/Credit&#039; END POPTYPE, 
RECEIPTDATE, &#039;&#039; POSTATUS, PONUMBER, POP30300.POPRCTNM, CURNCYID
FROM POP30300, POP30310 
where POP30300.POPRCTNM = POP30310.POPRCTNM
AND PONUMBER = @PONUMBER]]></description>
		<content:encoded><![CDATA[<p>Hi Victoria</p>
<p>maybe this helps a little</p>
<p>I did this to view the status of one PO that&#8217;s why the Variable</p>
<p>the result is just like making an inquiry of purchase orders</p>
<p>hope that helps</p>
<p>DECLARE @PONUMBER NVARCHAR(25) SET @PONUMBER = &#8216;ODC000001055&#8242;<br />
SELECT &#8216;Purchase Order&#8217; AS POPTYPE, DOCDATE, CASE POSTATUS WHEN 1 THEN &#8216;New&#8217; WHEN 2 THEN &#8216;Released&#8217; WHEN 3 THEN &#8216;Change Order&#8217; WHEN 4 THEN &#8216;Received&#8217; WHEN 5 THEN &#8216;Closed&#8217; WHEN 6 THEN &#8216;Cancelled&#8217; END POSTATUS,<br />
PONUMBER, &#8221; AS POPRCTNM, CURNCYID<br />
FROM POP10100 where PONUMBER = @PONUMBER<br />
	UNION ALL<br />
SELECT DISTINCT CASE POPTYPE WHEN 1 THEN &#8216;Shipment&#8217; WHEN 2 THEN &#8216;Invoice&#8217; WHEN 3 THEN &#8216;Shipment/Invoice&#8217; WHEN 4 THEN &#8216;Return&#8217; WHEN 5 THEN &#8216;Return w/Credit&#8217; WHEN 6 THEN &#8216;Inventory Return&#8217; WHEN 7 THEN &#8216;Inventory Return w/Credit&#8217; END POPTYPE,<br />
RECEIPTDATE, &#8221; POSTATUS, PONUMBER, POP30300.POPRCTNM, CURNCYID<br />
FROM POP30300, POP30310<br />
where POP30300.POPRCTNM = POP30310.POPRCTNM<br />
AND PONUMBER = @PONUMBER</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victoria Yudin</title>
		<link>http://victoriayudin.com/2008/10/17/sql-view-what-check-paid-purchase-order/#comment-3721</link>
		<dc:creator><![CDATA[Victoria Yudin]]></dc:creator>
		<pubDate>Thu, 22 Apr 2010 11:03:10 +0000</pubDate>
		<guid isPermaLink="false">http://victoriayudin.wordpress.com/?p=358#comment-3721</guid>
		<description><![CDATA[Santosh,

Thanks for frequenting my blog!  I don&#039;t have anything like what you&#039;re asking for available to post.  I will put this on the list of requests for future posts.  

&lt;em&gt;-Victoria&lt;/em&gt;]]></description>
		<content:encoded><![CDATA[<p>Santosh,</p>
<p>Thanks for frequenting my blog!  I don&#8217;t have anything like what you&#8217;re asking for available to post.  I will put this on the list of requests for future posts.  </p>
<p><em>-Victoria</em></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Santosh</title>
		<link>http://victoriayudin.com/2008/10/17/sql-view-what-check-paid-purchase-order/#comment-3718</link>
		<dc:creator><![CDATA[Santosh]]></dc:creator>
		<pubDate>Thu, 22 Apr 2010 06:50:10 +0000</pubDate>
		<guid isPermaLink="false">http://victoriayudin.wordpress.com/?p=358#comment-3718</guid>
		<description><![CDATA[Hi Victoria,

You have developed various query for AR, AP, GL, Inventory and lastly FA. Thanks for that. I have used all your quries and put into smartlist using smartlist builder.

Do you have any plan to develop such type of query for POP transaction?

Something like POP Analysis report. Which should show Purchase order and its related transaction like shipment, invoice, return transaction ( Shipment return/ Invoice retun etc).

This will definatly help to know the status of PO also help to now how much is balance in Purchase Order to GRNI or invoice.

Hope you have understand what I am thinking. If you have such ready query please share with me.

Regards,
Santosh]]></description>
		<content:encoded><![CDATA[<p>Hi Victoria,</p>
<p>You have developed various query for AR, AP, GL, Inventory and lastly FA. Thanks for that. I have used all your quries and put into smartlist using smartlist builder.</p>
<p>Do you have any plan to develop such type of query for POP transaction?</p>
<p>Something like POP Analysis report. Which should show Purchase order and its related transaction like shipment, invoice, return transaction ( Shipment return/ Invoice retun etc).</p>
<p>This will definatly help to know the status of PO also help to now how much is balance in Purchase Order to GRNI or invoice.</p>
<p>Hope you have understand what I am thinking. If you have such ready query please share with me.</p>
<p>Regards,<br />
Santosh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Victoria Yudin</title>
		<link>http://victoriayudin.com/2008/10/17/sql-view-what-check-paid-purchase-order/#comment-2070</link>
		<dc:creator><![CDATA[Victoria Yudin]]></dc:creator>
		<pubDate>Fri, 11 Sep 2009 09:25:37 +0000</pubDate>
		<guid isPermaLink="false">http://victoriayudin.wordpress.com/?p=358#comment-2070</guid>
		<description><![CDATA[Fernando,

I just posted a view for &lt;a href=&quot;http://victoriayudin.com/2009/09/11/sql-view-for-all-posted-payables-payments-in-dynamics-gp/&quot; rel=&quot;nofollow&quot;&gt;all payables payments&lt;/a&gt;, hopefully that will help you.

&lt;em&gt;-Victoria&lt;/em&gt;]]></description>
		<content:encoded><![CDATA[<p>Fernando,</p>
<p>I just posted a view for <a href="http://victoriayudin.com/2009/09/11/sql-view-for-all-posted-payables-payments-in-dynamics-gp/" rel="nofollow">all payables payments</a>, hopefully that will help you.</p>
<p><em>-Victoria</em></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fernando</title>
		<link>http://victoriayudin.com/2008/10/17/sql-view-what-check-paid-purchase-order/#comment-2068</link>
		<dc:creator><![CDATA[Fernando]]></dc:creator>
		<pubDate>Thu, 10 Sep 2009 23:07:22 +0000</pubDate>
		<guid isPermaLink="false">http://victoriayudin.wordpress.com/?p=358#comment-2068</guid>
		<description><![CDATA[Hi Victoria
thanks for all the posts you are really helpfull

could you help me with this?
well i&#039;am from Peru my GP is in spanish i hope i translate ok the options

in reports / purchasing / check information
in the option checks by vendor

i get a report of all checks of that vendor
but i need that query in sql because of a flat file generation that i have to do to the IRS of peru (in peru is called SUNAT jeje)

I did a sql-trace to that report
and i see that it gets data from PM30200
but also from PM20000

all data from PM30200 is in the report of GP
but only some of PM20000 is in that report
but i don&#039;t get why just some of PM20000 is in the report and why others not

i hope you unterstood and help me figured out what the cryteria of the report is 

pardon my english

thanks a lot]]></description>
		<content:encoded><![CDATA[<p>Hi Victoria<br />
thanks for all the posts you are really helpfull</p>
<p>could you help me with this?<br />
well i&#8217;am from Peru my GP is in spanish i hope i translate ok the options</p>
<p>in reports / purchasing / check information<br />
in the option checks by vendor</p>
<p>i get a report of all checks of that vendor<br />
but i need that query in sql because of a flat file generation that i have to do to the IRS of peru (in peru is called SUNAT jeje)</p>
<p>I did a sql-trace to that report<br />
and i see that it gets data from PM30200<br />
but also from PM20000</p>
<p>all data from PM30200 is in the report of GP<br />
but only some of PM20000 is in that report<br />
but i don&#8217;t get why just some of PM20000 is in the report and why others not</p>
<p>i hope you unterstood and help me figured out what the cryteria of the report is </p>
<p>pardon my english</p>
<p>thanks a lot</p>
]]></content:encoded>
	</item>
</channel>
</rss>

