<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — import multiple items adjustment]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=5214&amp;type=atom" />
	<updated>2015-01-03T19:53:50Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=5214</id>
		<entry>
			<title type="html"><![CDATA[Re: import multiple items adjustment]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=21994#p21994" />
			<content type="html"><![CDATA[<p>This is now evident from the <a href="https://frontaccounting.com/fawiki/index.php?n=Devel.ERDiagram23">ERD at the Wiki</a>.</p><p>Those who want to make the change can apply the following with the appropriate table prefix for each company:<br /></p><div class="codebox"><pre><code>ALTER TABLE `0_bank_trans` CHANGE `person_id` `person_id` INT(11) DEFAULT NULL;
ALTER TABLE `0_budget_trans` CHANGE `person_id` `person_id` INT(11) DEFAULT NULL;
ALTER TABLE `0_gl_trans` CHANGE `person_id` `person_id` INT(11) DEFAULT NULL;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-01-03T19:53:50Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=21994#p21994</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: import multiple items adjustment]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=21986#p21986" />
			<content type="html"><![CDATA[<p>it think the person_id is the supplier id. i was looking at the sql_audit table and the only table has person id that was queried was the supplier table.&nbsp; I&#039;m not really certain about this.</p><p>for the trans_no it is the incremental value mapped with the trans_no by type.</p>]]></content>
			<author>
				<name><![CDATA[dakine]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19841</uri>
			</author>
			<updated>2015-01-03T05:25:21Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=21986#p21986</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: import multiple items adjustment]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=21048#p21048" />
			<content type="html"><![CDATA[<p>any reason why person_id is a tinyblob?</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2014-10-03T09:56:20Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=21048#p21048</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: import multiple items adjustment]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=21014#p21014" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>DavidMaurice wrote:</cite><blockquote><p>Also, is there any other tables except from 0_stock_master and 0_stock_moves that are impacted from item adjustment ?</p></blockquote></div><p>Yes, adjusting the stock also generates some GL entries which are probably tricky to generate manually. I wouldn&#039;t recommend<br />adjusting the stock directly in the DB.</p><p>You can use the text cart module to do &quot;bulk&quot; adjustment (from a spreadsheet for example), even though it&#039;s has to be manual.</p><p>/Elax</p>]]></content>
			<author>
				<name><![CDATA[elax]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=6206</uri>
			</author>
			<updated>2014-10-01T08:14:25Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=21014#p21014</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[import multiple items adjustment]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=21007#p21007" />
			<content type="html"><![CDATA[<p>Hi,<br />I am wanting to import multiple items adjustment in the DB. <br />So, i looked how /inventory/adjustments.php?NewAdjustment=1&amp;application=stock works.</p><p>I understand that: <br />1. Adjustments are recorded in the table 0_stock_moves. <br />2. The value of material_cost in 0_stock_master is updated to give an average value of the item cost.</p><p>However, there is 2 fields in the table 0_stock_moves which i am not sure about:</p><p>&gt; person_id: I see it is a tinyblob. My feeling is that , this is user type of doing the request, but I am not sure. Especially some entries has a value of 0 so for sure it is not the user_id.</p><p>&gt; trans_no: This seems to be an incremental value mapped with the stock_id, right ?</p><p>Also, is there any other tables except from 0_stock_master and 0_stock_moves that are impacted from item adjustment ?</p><p>Tx for your help</p><p>Maurice</p>]]></content>
			<author>
				<name><![CDATA[DavidMaurice]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19673</uri>
			</author>
			<updated>2014-09-30T12:04:42Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=21007#p21007</id>
		</entry>
</feed>
