<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Avoid updating purchase price with new transactions?]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=4935</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=4935&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Avoid updating purchase price with new transactions?.]]></description>
		<lastBuildDate>Wed, 07 May 2014 04:59:16 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Avoid updating purchase price with new transactions?]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=19859#p19859</link>
			<description><![CDATA[<p>Hello FA team:</p><p>I need persistent purchase prices for all of my inventory items.</p><p>To prevent the auto-updating of purch_data.price when entering an invoice or grn for an item, I commented out the function calls to add_or_update_purchase_data in:</p><p>/purchasing/includes/db/grn_db.inc<br />/purchasing/includes/db/invoice_db.inc</p><p>Seemed to do the trick, as I can still change my purchase prices from the /inventory/manage/items.php? page.</p><p>If anyone can tell me if I&#039;ve broken anything that&#039;d be swell. I grep&#039;d for more calls to that function but don&#039;t see it anywhere. I also don&#039;t know if purch_data.price is used for anything but prefilled info.</p><p>Insights would be very helpful. Thank you for the cool project.</p>]]></description>
			<author><![CDATA[null@example.com (randomizer)]]></author>
			<pubDate>Wed, 07 May 2014 04:59:16 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=19859#p19859</guid>
		</item>
	</channel>
</rss>
