<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — error creating customer credit note: Undefined index: sales_gl_code]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7696&amp;type=atom" />
	<updated>2018-09-11T20:49:54Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=7696</id>
		<entry>
			<title type="html"><![CDATA[Re: error creating customer credit note: Undefined index: sales_gl_code]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=32638#p32638" />
			<content type="html"><![CDATA[<p>This has been fixed and <a href="https://sourceforge.net/p/frontaccounting/git/ci/master/tree/taxes/tax_calc.inc">committed</a> to core. Thanks @notrinos for detecting and solving the issue.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2018-09-11T20:49:54Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=32638#p32638</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: error creating customer credit note: Undefined index: sales_gl_code]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=32637#p32637" />
			<content type="html"><![CDATA[<p>@joe: fix in core?</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2018-09-11T16:16:06Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=32637#p32637</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[error creating customer credit note: Undefined index: sales_gl_code]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=32636#p32636" />
			<content type="html"><![CDATA[<p>On <strong>Customer Credit Note Entry</strong> if Customer Branch&#039;s tax is fully exempt then this error will fire:</p><p><span style="color: red">Undefined index: sales_gl_code in file: C:\xampp\htdocs\world244\sales\includes\db\sales_credit_db.inc at line 156</span></p><p>solution: initialize this index in <strong>line 164</strong> of file <strong>tax_calc.inc</strong><br /></p><div class="codebox"><pre><code>$ret_tax_array[&#039;exempt&#039;] = array(&#039;Value&#039;=&gt;0, &#039;Net&#039;=&gt;0, &#039;rate&#039; =&gt; null, &#039;tax_type_id&#039; =&gt; &#039;&#039;, &#039;sales_gl_code&#039; =&gt; &#039;&#039;);</code></pre></div>]]></content>
			<author>
				<name><![CDATA[notrinos]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=36772</uri>
			</author>
			<updated>2018-09-11T02:18:16Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=32636#p32636</id>
		</entry>
</feed>
