<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Avoid updating purchase price with new transactions?]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=4935&amp;type=atom" />
	<updated>2014-05-07T04:59:16Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=4935</id>
		<entry>
			<title type="html"><![CDATA[Avoid updating purchase price with new transactions?]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=19859#p19859" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[randomizer]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18709</uri>
			</author>
			<updated>2014-05-07T04:59:16Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=19859#p19859</id>
		</entry>
</feed>
