<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Manufacturing dashboard issue]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7105&amp;type=atom" />
	<updated>2017-11-07T15:03:45Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=7105</id>
		<entry>
			<title type="html"><![CDATA[Re: Manufacturing dashboard issue]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29517#p29517" />
			<content type="html"><![CDATA[<p>Ah @notrinos, you are persistent <img src="https://frontaccounting.com/punbb/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>As you said yourself, what about Item Adjustments (ST_INVADJUST) should be included.</p><p>Just to eliminate misunderstandings it is easier to just exclude ST_CUSTDELIVERY and ST_CUSTCREDIT.</p><p>So we have committed this as a rerun.</p><p>But thanks for the discussion. It is a refreshment to do a little thinking <img src="https://frontaccounting.com/punbb/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2017-11-07T15:03:45Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29517#p29517</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Manufacturing dashboard issue]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29516#p29516" />
			<content type="html"><![CDATA[<p>As you mentioned we are only interested in the produced numbers.<br />I think the flowing is ok :</p><p><strong>$sql .= &quot;AND s.mb_flag=&#039;M&#039; AND m.type = &quot;.ST_WORKORDER.&quot;&nbsp; &quot;;</strong></p>]]></content>
			<author>
				<name><![CDATA[notrinos]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=36772</uri>
			</author>
			<updated>2017-11-07T14:49:32Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29516#p29516</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Manufacturing dashboard issue]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29515#p29515" />
			<content type="html"><![CDATA[<p>Not much. It will be added if it is a positive adjustment and subtracted if it is a negative adjustment.</p><p>I guess we have taken care of all options now, right? <img src="https://frontaccounting.com/punbb/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2017-11-07T14:38:16Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29515#p29515</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Manufacturing dashboard issue]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29513#p29513" />
			<content type="html"><![CDATA[<p>And even location adjustments can cause the wrong statistics</p>]]></content>
			<author>
				<name><![CDATA[notrinos]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=36772</uri>
			</author>
			<updated>2017-11-07T14:33:29Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29513#p29513</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Manufacturing dashboard issue]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29512#p29512" />
			<content type="html"><![CDATA[<p>It should be ok to make location transfer. It will be included with plus and minus. Remember it is a total of all locations.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2017-11-07T14:32:15Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29512#p29512</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Manufacturing dashboard issue]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29511#p29511" />
			<content type="html"><![CDATA[<p>No @Joe, what about location transfer ?</p>]]></content>
			<author>
				<name><![CDATA[notrinos]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=36772</uri>
			</author>
			<updated>2017-11-07T14:29:19Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29511#p29511</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Manufacturing dashboard issue]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29510#p29510" />
			<content type="html"><![CDATA[<p>@notrinos, Well</p><p>Look at my explanation in my former post. We are only interested in produced items (minus ev. disassemblies).<br />All deliveries and credits are of no interest for us. Isn&#039;t that right?<br /></p><div class="codebox"><pre><code>$sql .= &quot;AND s.mb_flag=&#039;M&#039; AND m.type &lt;&gt; &quot;.ST_CUSTDELIVERY.&quot; AND m.type &lt;&gt; &quot;.ST_CUSTCREDIT.&quot; &quot;;</code></pre></div><p>I have double checked this and it works.</p><p>I will rerun a commit&nbsp; now.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2017-11-07T14:23:24Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29510#p29510</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Manufacturing dashboard issue]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29509#p29509" />
			<content type="html"><![CDATA[<p>Which transaction can make <strong>m.qty &lt; 0 AND m.type = &quot; .ST_ CUSTCREDIT . &quot;</strong> ? @apmuthu</p><p>seems <strong>$sql .= &quot;AND s.mb_flag=&#039;M&#039; AND m.qty &gt; 0 AND m.type &lt;&gt; &quot;.ST_CUSTCREDIT.&quot; &quot;;</strong> is working.</p>]]></content>
			<author>
				<name><![CDATA[notrinos]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=36772</uri>
			</author>
			<updated>2017-11-07T14:15:52Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29509#p29509</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Manufacturing dashboard issue]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29508#p29508" />
			<content type="html"><![CDATA[<p>No, I guess it should just be:<br /></p><div class="codebox"><pre><code>$sql .= &quot;AND s.mb_flag=&#039;M&#039; AND m.type &lt;&gt; &quot;.ST_CUSTDELIVERY.&quot; AND m.type &lt;&gt; &quot;.ST_CUSTCREDIT.&quot; &quot;;</code></pre></div><p>Right? We are only interested in the produced numbers.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2017-11-07T14:13:29Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29508#p29508</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Manufacturing dashboard issue]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29507#p29507" />
			<content type="html"><![CDATA[<p>Should it not be:<br /></p><div class="codebox"><pre><code>$sql .= &quot; AND s.mb_flag=&#039;M&#039; AND (
                     (m.qty &gt; 0 AND m.type &lt;&gt; &quot; . CUSTCREDIT . &quot;) OR 
                     (m.qty &lt; 0 AND m.type = &quot; . CUSTCREDIT . &quot;)
                   )&quot; ;</code></pre></div>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-11-07T13:58:57Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29507#p29507</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Manufacturing dashboard issue]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29505#p29505" />
			<content type="html"><![CDATA[<p>No, I guess not. We will have to replace the line with:<br /></p><div class="codebox"><pre><code>$sql .= &quot;AND s.mb_flag=&#039;M&#039; AND m.qty &gt; 0 AND m.type &lt;&gt; &quot;.CUSTCREDIT.&quot; &quot;;</code></pre></div><p>Right?</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2017-11-07T13:53:02Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29505#p29505</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Manufacturing dashboard issue]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29504#p29504" />
			<content type="html"><![CDATA[<p>Does this account for returns / rejects where negative qty will get lost?</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-11-07T13:41:43Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29504#p29504</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Manufacturing dashboard issue]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29502#p29502" />
			<content type="html"><![CDATA[<p>Fixed. <a href="https://github.com/FrontAccountingERP/FA/commit/dfc8254c800df90e357cbdf9087d28d8999bcafa">Committed</a> to Repo.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2017-11-07T13:29:16Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29502#p29502</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Manufacturing dashboard issue]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29501#p29501" />
			<content type="html"><![CDATA[<p>Of course it should. Will fix this later. Thanks for detecting this.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2017-11-07T12:28:18Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29501#p29501</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Manufacturing dashboard issue]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29500#p29500" />
			<content type="html"><![CDATA[<p>I&#039;m not sure this is a bug, <strong>Top 10 Manufactured Items in fiscal year</strong> just confuses me on it&#039;s presents.</p><p>Once I create a work order then manufacturing dashboard shows:<br />_________________________________________________<br />|&nbsp; &nbsp; &nbsp;<strong>Items&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Amount&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Quantity</strong>&nbsp; &nbsp; &nbsp; &nbsp; |<br />|-------------------------------------------------------------------|<br />|AP Surf Set&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 366.00&nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 1.00 |<br />|-------------------------------------------------------------------|</p><p>After item is sold&nbsp; the table shows</p><p>_________________________________________________<br />|&nbsp; &nbsp; &nbsp;<strong>Items&nbsp; &nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Amount&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Quantity</strong>&nbsp; &nbsp; &nbsp; &nbsp; |<br />|-------------------------------------------------------------------|<br />|AP Surf Set&nbsp; &nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.00&nbsp; |&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 0.00 |<br />|-------------------------------------------------------------------|</p><p>1. Does this widget just present on hand manufactured items ?<br />2. Should it be changed to all manufactured items includes sold item?</p><p>If 1 : this does not make sense much<br />If 2 : Line 275 of dashboard.inc need to change to <strong>$sql .= &quot;AND s.mb_flag=&#039;M&#039; AND m.qty &gt; 0 &quot;;</strong></p>]]></content>
			<author>
				<name><![CDATA[notrinos]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=36772</uri>
			</author>
			<updated>2017-11-07T11:32:51Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29500#p29500</id>
		</entry>
</feed>
