<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Sorting of Expense Accounts Alphabetically]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=10658</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=10658&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Sorting of Expense Accounts Alphabetically.]]></description>
		<lastBuildDate>Sat, 03 May 2025 23:30:02 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Sorting of Expense Accounts Alphabetically]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43637#p43637</link>
			<description><![CDATA[<p>That will be in <strong>reporting/rep707.php</strong>.</p><p>The relevant code is:<br /></p><div class="codebox"><pre><code>function print_profit_and_loss_statement()</code></pre></div><p>The loop is in line 288 within which the elements will need to be alphabetically arranged:<br /></p><div class="codebox"><pre><code>while ($accounttype=db_fetch($typeresult))</code></pre></div><p>Line 273:<br /></p><div class="codebox"><pre><code>$classresult = get_account_classes(false, 0);</code></pre></div><p>too could be checked out.</p><p>The lines 40-41 in <strong>function display_type</strong><br /></p><div class="codebox"><pre><code>    $result = get_gl_accounts(null, null, $type);    
    while ($account=db_fetch($result))</code></pre></div><p>may need to be sorted for your needs.</p><p>A modified version of the rep707.php could be made into an extension to serve your needs. Anyone game?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sat, 03 May 2025 23:30:02 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43637#p43637</guid>
		</item>
		<item>
			<title><![CDATA[Re: Sorting of Expense Accounts Alphabetically]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43636#p43636</link>
			<description><![CDATA[<p>In the Profit and Loss report under General Ledger. </p><p>It is normally sorted according to the account number instead of the account name. Account name order in the Expenses just makes it easier to find information to complete the company&#039;s Tax return.</p><p>It is still grouped by the Classes/Groups/Account, depending on your setup.</p>]]></description>
			<author><![CDATA[null@example.com (seahawk)]]></author>
			<pubDate>Sat, 03 May 2025 16:47:14 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43636#p43636</guid>
		</item>
		<item>
			<title><![CDATA[Re: Sorting of Expense Accounts Alphabetically]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43634#p43634</link>
			<description><![CDATA[<p>Where? In the report? Which report?<br />Will this sort affect groups&#039; child entries?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 02 May 2025 21:55:03 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43634#p43634</guid>
		</item>
		<item>
			<title><![CDATA[Sorting of Expense Accounts Alphabetically]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43630#p43630</link>
			<description><![CDATA[<p>Is there a way that one can sort the Expense Accounts Alphabetically instead of Account Numbers?</p>]]></description>
			<author><![CDATA[null@example.com (seahawk)]]></author>
			<pubDate>Thu, 01 May 2025 19:45:39 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43630#p43630</guid>
		</item>
	</channel>
</rss>
