<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Purpose of actual_cost field in stock_master table]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=5143&amp;type=atom" />
	<updated>2014-09-05T18:54:50Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=5143</id>
		<entry>
			<title type="html"><![CDATA[Purpose of actual_cost field in stock_master table]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=20685#p20685" />
			<content type="html"><![CDATA[<p>X_stock_master.<strong>actual_cost</strong> field is used only in line 211 in <strong>includes/ui/items_cart.inc</strong>:<br /></p><div class="codebox"><pre><code>        if ($standard_cost == null)
            $this-&gt;standard_cost = $item_row[&quot;actual_cost&quot;];
        else
            $this-&gt;standard_cost = $standard_cost;</code></pre></div><p>This usage is only as a fallback value. At all other places, only <strong>last_cost</strong> field in the same table is used .</p><p>Where does this field <strong>actual_cost</strong> get populated from? It is not present in any of the extension files as well.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2014-09-05T18:54:50Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=20685#p20685</id>
		</entry>
</feed>
