<?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=G%2FL_Balancing_Queries</id>
	<title>G/L Balancing 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=G%2FL_Balancing_Queries"/>
	<link rel="alternate" type="text/html" href="http://in.compucrete.com/index.php?title=G/L_Balancing_Queries&amp;action=history"/>
	<updated>2026-05-15T17:06:01Z</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=G/L_Balancing_Queries&amp;diff=212&amp;oldid=prev</id>
		<title>WikiAdmin: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="http://in.compucrete.com/index.php?title=G/L_Balancing_Queries&amp;diff=212&amp;oldid=prev"/>
		<updated>2023-07-14T12:58:50Z</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;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&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;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>WikiAdmin</name></author>
	</entry>
	<entry>
		<id>http://in.compucrete.com/index.php?title=G/L_Balancing_Queries&amp;diff=211&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=G/L_Balancing_Queries&amp;diff=211&amp;oldid=prev"/>
		<updated>2017-01-10T00:01:41Z</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;==Quick Balance Query==&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
select session_no, sum(trx_amount) from glttrx&lt;br /&gt;
where trans_type&amp;lt;&amp;gt;'R'&lt;br /&gt;
group by session_no&lt;br /&gt;
having sum(trx_amount)&amp;lt;&amp;gt;0&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Quick Verify Income Statement vs. Balance Sheet Total==&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
select 'BAL_SHT',sum(gt.trx_amount) amount from glttrx gt inner join&lt;br /&gt;
gltacct ga on ga.gl_account=gt.gl_account &lt;br /&gt;
where trx_date &amp;lt;= :end_date and ga.account_type='B'&lt;br /&gt;
union&lt;br /&gt;
select 'INC_STM',sum(gt.trx_amount) amount from glttrx gt inner join&lt;br /&gt;
gltacct ga on ga.gl_account=gt.gl_account &lt;br /&gt;
where trx_date BETWEEN :Yr_Beg_Date and :end_date and ga.account_type='I'&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==G/L Before Year End entered after Closing Year==&lt;br /&gt;
&amp;lt;PRE&amp;gt;&lt;br /&gt;
select gl_account,trx_date,trx_amount,description_1,description_2,session_no,trans_no,last_change_datetime,last_change_user &lt;br /&gt;
from glttrx where trx_date &amp;lt;=(select max(trx_date) from glttrx where trans_type='R') &lt;br /&gt;
and session_no&amp;gt; (select max(session_no) from glttrx where trans_type='R')&lt;br /&gt;
&amp;lt;/PRE&amp;gt;&lt;/div&gt;</summary>
		<author><name>Intra&gt;User</name></author>
	</entry>
</feed>