<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — How to use Balance-based quick entry JE]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=10511&amp;type=atom" />
	<updated>2024-05-08T17:01:49Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=10511</id>
		<entry>
			<title type="html"><![CDATA[Re: How to use Balance-based quick entry JE]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=43086#p43086" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[trafficpest]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=42061</uri>
			</author>
			<updated>2024-05-08T17:01:49Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=43086#p43086</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to use Balance-based quick entry JE]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=43084#p43084" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[jcunning]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41894</uri>
			</author>
			<updated>2024-05-07T22:48:09Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=43084#p43084</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: How to use Balance-based quick entry JE]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=43083#p43083" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[trafficpest]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=42061</uri>
			</author>
			<updated>2024-05-07T20:49:18Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=43083#p43083</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[How to use Balance-based quick entry JE]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=43082#p43082" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[jcunning]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41894</uri>
			</author>
			<updated>2024-05-07T17:17:23Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=43082#p43082</id>
		</entry>
</feed>
