<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — How to use Balance-based quick entry JE]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=10511</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=10511&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in How to use Balance-based quick entry JE.]]></description>
		<lastBuildDate>Wed, 08 May 2024 17:01:49 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: How to use Balance-based quick entry JE]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43086#p43086</link>
			<description><![CDATA[<p>Oh I am not sure, I never even noticed it. Looks like it calculates differently to make sure the balance sheet will balance and only allows you to do it with journal quick entries? Here is all the code I could find quickly that is ran when it is enabled.</p><p>/includes/ui/ui_view.inc<br /></p><div class="codebox"><pre><code>        // quick entry made on account balance is special case.
        if ($qe[&#039;bal_type&#039;] == 1) // if this is quick entry based on balance - calculate it
        {
            // Note, that this is ugly hack overriding standard field usage 
            // just to make the feature available between major FA releases!
            $gl_code = $qe[&#039;base_desc&#039;];
            $monthly = $qe[&#039;base_amount&#039;] == 1.0;

            if (!isset($date))
                $date = Today();

            if ($monthly) // marked as monthly
                $begin = begin_month($date);
            else
            {
                if (is_account_balancesheet($gl_code)) // total
                    $begin = &quot;&quot;;
                else
                    $begin = begin_fiscalyear(); // from fiscalyear begin
            }
            $base = get_gl_trans_from_to($begin, $date, $gl_code);

        }</code></pre></div><p>/gl/includes/ui/gl_journal_ui.inc<br /></p><div class="codebox"><pre><code>        if ($qid[&#039;bal_type&#039;] == 1)
        {
            $accname = get_gl_account_name($qid[&#039;base_desc&#039;]);
            label_row(($qid[&#039;base_amount&#039;] == 0 ? _(&quot;Yearly&quot;) : _(&quot;Monthly&quot;)) . &quot; &quot;. _(&quot;balance from account&quot;).&quot; &quot;.
                $qid[&#039;base_desc&#039;].&quot; &quot;.$accname.&quot;&amp;nbsp;&amp;nbsp;&quot;.submit(&#039;go&#039;, _(&quot;Go&quot;), false, false, true),&#039;&#039;, &quot;colspan=2&quot;);
        }</code></pre></div><p>/gl/manage/gl_quick_entries.php<br /></p><div class="codebox"><pre><code>    if ($bal_type == 1 &amp;&amp; $_POST[&#039;type&#039;] != QE_JOURNAL)
    {
        display_error( _(&quot;You can only use Balance Based together with Journal Entries.&quot;));
        set_focus(&#039;base_desc&#039;);
        return false;
    }</code></pre></div><p>/gl/manage/gl_quick_entries.php<br /></p><div class="codebox"><pre><code>if (get_post(&#039;type&#039;) == QE_JOURNAL &amp;&amp; get_post(&#039;bal_type&#039;) == 1)
{
    yesno_list_row(_(&quot;Period&quot;), &#039;base_amount&#039;, null, _(&quot;Monthly&quot;), _(&quot;Yearly&quot;));
    gl_all_accounts_list_row(_(&quot;Account&quot;), &#039;base_desc&#039;, null, true);
}</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (trafficpest)]]></author>
			<pubDate>Wed, 08 May 2024 17:01:49 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43086#p43086</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to use Balance-based quick entry JE]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43084#p43084</link>
			<description><![CDATA[<p>I am familiar with quick entries and use them for various journal entries, etc.&nbsp; What I do not know is what the &quot;balance based&quot; checkbox does and see nothing in the WIKI that explains it.</p>]]></description>
			<author><![CDATA[null@example.com (jcunning)]]></author>
			<pubDate>Tue, 07 May 2024 22:48:09 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43084#p43084</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to use Balance-based quick entry JE]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43083#p43083</link>
			<description><![CDATA[<p>Look here for info on quick entry</p><p><a href="https://frontaccounting.com/fawiki/index.php?n=Help.QuickEntries&amp;ctxhelp=1&amp;lang=C">https://frontaccounting.com/fawiki/inde … amp;lang=C</a></p><p>You set preset double entries for common transactions to speed up time and make errors less common.</p><p>I don&#039;t use it much. I use it for payments that are owner draws to to a equity or payments I do often enough. but dont need to track supplier tx/ payable balance just debit the appropriate acct, etc. It works for deposits too but I haven&#039;t done that.</p>]]></description>
			<author><![CDATA[null@example.com (trafficpest)]]></author>
			<pubDate>Tue, 07 May 2024 20:49:18 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43083#p43083</guid>
		</item>
		<item>
			<title><![CDATA[How to use Balance-based quick entry JE]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43082#p43082</link>
			<description><![CDATA[<p>I cannot find an documentation on how to use a balance-based quick journal entry.&nbsp; There is a check-box for a line in the journal entry, but no explanation of what that does.&nbsp; Could someone please give some guidance, or direct me to some documentation?&nbsp; Thanks.</p>]]></description>
			<author><![CDATA[null@example.com (jcunning)]]></author>
			<pubDate>Tue, 07 May 2024 17:17:23 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43082#p43082</guid>
		</item>
	</channel>
</rss>
