<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://52.173.207.40/wiki/index.php?action=history&amp;feed=atom&amp;title=Inventory_Reconciliation_Report_Queries</id>
	<title>Inventory Reconciliation Report Queries - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://52.173.207.40/wiki/index.php?action=history&amp;feed=atom&amp;title=Inventory_Reconciliation_Report_Queries"/>
	<link rel="alternate" type="text/html" href="http://52.173.207.40/wiki/index.php?title=Inventory_Reconciliation_Report_Queries&amp;action=history"/>
	<updated>2026-04-25T05:03:15Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>http://52.173.207.40/wiki/index.php?title=Inventory_Reconciliation_Report_Queries&amp;diff=289&amp;oldid=prev</id>
		<title>User: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://52.173.207.40/wiki/index.php?title=Inventory_Reconciliation_Report_Queries&amp;diff=289&amp;oldid=prev"/>
		<updated>2020-01-08T13:00:00Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 13:00, 8 January 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>User</name></author>
		
	</entry>
	<entry>
		<id>http://52.173.207.40/wiki/index.php?title=Inventory_Reconciliation_Report_Queries&amp;diff=288&amp;oldid=prev</id>
		<title>en&gt;User: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://52.173.207.40/wiki/index.php?title=Inventory_Reconciliation_Report_Queries&amp;diff=288&amp;oldid=prev"/>
		<updated>2017-01-06T21:00:42Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category: Inventory]]&lt;br /&gt;
[[Category: SQL]]&lt;br /&gt;
&lt;br /&gt;
Purchase Reciepts Review:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
SELECT T.PRODUCT_CODE, t.trx_type,T.inventory_gl,P.inventory_gl  PROD_INV_GL,&lt;br /&gt;
T.offset_gl,apclear_gl,&lt;br /&gt;
qty_change,T.COST, P.STandard_COST PRODCOST,T.qty_CHANGE*T.COST ext_cost,&lt;br /&gt;
t.trx_date,P.ACTIVE_FLAG,P.STOCKED,t.trx_date mo&lt;br /&gt;
 FROM ARTPRTRX T &lt;br /&gt;
INNER JOIN ARTPROD P ON P.PRODUCT_CODE=T.PRODUCT_CODE&lt;br /&gt;
where trx_date between :Start_Date and :End_Date and  trX_type='R'&lt;br /&gt;
order by product_code,session_no,trans_no,trx_date&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cost of Sales Review:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
SELECT T.PRODUCT_CODE,P.DESCRIPTION_1, t.trx_type,T.inventory_gl ORIG_INV_GL,P.INVENTORY_GL,P.costofsales_gl,&lt;br /&gt;
T.offset_gl,apclear_gl,&lt;br /&gt;
qty_change,T.COST, P.STandard_COST PRODCOST,T.qty_CHANGE*T.COST ext_ORIG_cost,&lt;br /&gt;
P.STandard_COST*T.QTY_CHANGE EXT_COST_STD,&lt;br /&gt;
t.trx_date,P.ACTIVE_FLAG,P.STOCKED,t.trx_date mo&lt;br /&gt;
 FROM ARTPRTRX T &lt;br /&gt;
INNER JOIN ARTPROD P ON P.PRODUCT_CODE=T.PRODUCT_CODE&lt;br /&gt;
where trx_date between :Start_Date and :End_Date and  trX_type='S'&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Physical Transaction Review:&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
SELECT T.PRODUCT_CODE,description_1, t.trx_type,P.inventory_gl  PROD_INV_GL,&lt;br /&gt;
qty_change,T.COST,t.cost*qty_change Inv_Value, P.STandard_COST PRODCOST,&lt;br /&gt;
t.trx_date,P.ACTIVE_FLAG,P.STOCKED &lt;br /&gt;
 FROM ARTPRTRX T &lt;br /&gt;
INNER JOIN ARTPROD P ON P.PRODUCT_CODE=T.PRODUCT_CODE&lt;br /&gt;
where trx_date&amp;gt;'12/31/6' and trX_type='P'&lt;br /&gt;
order by PRODUCT_CODE,trx_date,trx_time,session_no,trans_no&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;/div&gt;</summary>
		<author><name>en&gt;User</name></author>
		
	</entry>
</feed>