<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Purpose of actual_cost field in stock_master table]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=5143</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=5143&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Purpose of actual_cost field in stock_master table.]]></description>
		<lastBuildDate>Fri, 05 Sep 2014 18:54:50 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Purpose of actual_cost field in stock_master table]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=20685#p20685</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 05 Sep 2014 18:54:50 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=20685#p20685</guid>
		</item>
	</channel>
</rss>
