<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Remnant Data Show up in New Sales Direct Sales Invoice]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=9422&amp;type=atom" />
	<updated>2021-08-22T15:39:00Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=9422</id>
		<entry>
			<title type="html"><![CDATA[Re: Remnant Data Show up in New Sales Direct Sales Invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=39934#p39934" />
			<content type="html"><![CDATA[<p>If I am the only one bothered by it, it is fine by me to edit the code as suggested.</p><p>For me, if I&#039;m entering 9 line items, the last line item (which is the tenth line item) is shown automatically by the system, populated from a previous transaction. If you add all ten records, they don&#039;t add up because only the nine records are part of the current transaction.&nbsp; The last line item is there for display purposes only. </p><p>The code modification suggested by @notrinos is quite easy for me to implement and has solved this issue.</p>]]></content>
			<author>
				<name><![CDATA[RoelToledo]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=46195</uri>
			</author>
			<updated>2021-08-22T15:39:00Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=39934#p39934</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Remnant Data Show up in New Sales Direct Sales Invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=39932#p39932" />
			<content type="html"><![CDATA[<p>Should this need a company level flag in sys_prefs?</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2021-08-22T05:19:17Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=39932#p39932</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Remnant Data Show up in New Sales Direct Sales Invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=39930#p39930" />
			<content type="html"><![CDATA[<p>Thank you all for the enlightenment.&nbsp; Thank you @notrinos for the suggested code modification.&nbsp; It works for me.&nbsp; The UI is much cleaner without the initial list value.</p>]]></content>
			<author>
				<name><![CDATA[RoelToledo]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=46195</uri>
			</author>
			<updated>2021-08-21T21:16:47Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=39930#p39930</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Remnant Data Show up in New Sales Direct Sales Invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=39929#p39929" />
			<content type="html"><![CDATA[<p>@notrinos, </p><p>Thanks for guiding him. This answer will help future users also to understand it.</p>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2021-08-21T09:00:18Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=39929#p39929</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Remnant Data Show up in New Sales Direct Sales Invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=39917#p39917" />
			<content type="html"><![CDATA[<p>@RoelToledo, @kvvaradha</p><p>This is not a bug but a feature that was purposefully created since 2018 to initial the item list value according to the last order.<br />See this commit: <a href="https://github.com/FrontAccountingERP/FA/commit/42751ff1e05ac803548a07d412f4a173cd0e0450">https://github.com/FrontAccountingERP/F … 73cd0e0450</a><br />@RoelToledo if you dont want this feature can disable it by replace the line 506 in sales_order_ui.inc with this code:<br /></p><div class="codebox"><pre><code>$_POST[&#039;stock_id&#039;] = null;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[notrinos]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=36772</uri>
			</author>
			<updated>2021-08-21T06:59:12Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=39917#p39917</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Remnant Data Show up in New Sales Direct Sales Invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=39914#p39914" />
			<content type="html"><![CDATA[<p>Yes. It means the data comes because of the selected item in the drop down. We have no default item. So the first item selected. And the details of first item auto populated in rest of the fields.</p>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2021-08-21T04:30:29Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=39914#p39914</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Remnant Data Show up in New Sales Direct Sales Invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=39913#p39913" />
			<content type="html"><![CDATA[<p>It is not a list but just a single line item being shown coming from previous transaction.</p>]]></content>
			<author>
				<name><![CDATA[RoelToledo]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=46195</uri>
			</author>
			<updated>2021-08-20T18:31:06Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=39913#p39913</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Remnant Data Show up in New Sales Direct Sales Invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=39907#p39907" />
			<content type="html"><![CDATA[<p>@RoelToledo, i understand your point, actually thats the first item of the drop down, If you check it very closely, the drop down has to select any item by default, it doesn&#039;t start with &quot;None&quot;, or &quot;Select an item&quot;.&nbsp; It has to start with an item in the list. So after you add an item to the cart, it does require to add the same item again. so it goes to starting first item. you need to select again the next item and input it again.&nbsp; <br />If you have any better idea to list out the items by selected default, we can do that.</p><p>@apmuthu, its not browser level problem. thats list level he is asking, why we are showing the first item in the list.</p>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2021-08-20T07:37:57Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=39907#p39907</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Remnant Data Show up in New Sales Direct Sales Invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=39902#p39902" />
			<content type="html"><![CDATA[<p>I am currently using PHP 7.0.33.</p><p>I see this issue also happening in the following data entry UI</p><p>Sales Quotation Entry<br />Sales Order Entry<br />Direct Delivery<br />Direct Invoice<br />Bank Payment</p><p>Artifacts of previous data entry data show up in my screen (similar to the one in the screen shot that I shared).</p>]]></content>
			<author>
				<name><![CDATA[RoelToledo]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=46195</uri>
			</author>
			<updated>2021-08-19T16:43:34Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=39902#p39902</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Remnant Data Show up in New Sales Direct Sales Invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=39894#p39894" />
			<content type="html"><![CDATA[<p>Is this a php 8 issue? There is a bug update in the stable repo for php 8.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2021-08-19T05:45:01Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=39894#p39894</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Remnant Data Show up in New Sales Direct Sales Invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=39891#p39891" />
			<content type="html"><![CDATA[<p>@joe: Is this a real issue?</p><p>Looks like some cache settings in the browser need to be cleared.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2021-08-19T03:27:00Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=39891#p39891</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Remnant Data Show up in New Sales Direct Sales Invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=39873#p39873" />
			<content type="html"><![CDATA[<p>Please try this https://ibb.co/09dYtSV</p>]]></content>
			<author>
				<name><![CDATA[RoelToledo]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=46195</uri>
			</author>
			<updated>2021-08-15T10:08:45Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=39873#p39873</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Remnant Data Show up in New Sales Direct Sales Invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=39872#p39872" />
			<content type="html"><![CDATA[<p>Link not accessible</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2021-08-15T09:20:44Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=39872#p39872</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Remnant Data Show up in New Sales Direct Sales Invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=39869#p39869" />
			<content type="html"><![CDATA[<p>Whenever I enter a new Direct Sales Invoice, I keep seeing remnants of old data from previous transaction.&nbsp; Is there a way to hide these remnant information as these are confusing?&nbsp; Please see highlighted remnant data in the link below.</p><p>https://1drv.ms/u/s!ArKqNPSh_Uw3hOEb36bIDk3Nc3mqDw?e=7Ah520</p>]]></content>
			<author>
				<name><![CDATA[RoelToledo]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=46195</uri>
			</author>
			<updated>2021-08-15T08:48:00Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=39869#p39869</id>
		</entry>
</feed>
