<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://in.compucrete.com/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://in.compucrete.com/index.php?action=history&amp;feed=atom&amp;title=Inventory_Reconciliation_Report_Queries"/>
	<link rel="alternate" type="text/html" href="http://in.compucrete.com/index.php?title=Inventory_Reconciliation_Report_Queries&amp;action=history"/>
	<updated>2026-05-15T15:15:09Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.40.0</generator>
	<entry>
		<id>http://in.compucrete.com/index.php?title=Inventory_Reconciliation_Report_Queries&amp;diff=298&amp;oldid=prev</id>
		<title>WikiAdmin: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://in.compucrete.com/index.php?title=Inventory_Reconciliation_Report_Queries&amp;diff=298&amp;oldid=prev"/>
		<updated>2023-07-14T12:58:51Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 12:58, 14 July 2023&lt;/td&gt;
				&lt;/tr&gt;
&lt;!-- diff cache key my_wiki:diff::1.12:old-297:rev-298 --&gt;
&lt;/table&gt;</summary>
		<author><name>WikiAdmin</name></author>
	</entry>
	<entry>
		<id>http://in.compucrete.com/index.php?title=Inventory_Reconciliation_Report_Queries&amp;diff=297&amp;oldid=prev</id>
		<title>Intra&gt;User: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://in.compucrete.com/index.php?title=Inventory_Reconciliation_Report_Queries&amp;diff=297&amp;oldid=prev"/>
		<updated>2017-01-10T00:01:49Z</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>Intra&gt;User</name></author>
	</entry>
</feed>