<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Issuing additional items to WO]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=5449</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=5449&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Issuing additional items to WO.]]></description>
		<lastBuildDate>Wed, 15 Feb 2017 13:38:48 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Issuing additional items to WO]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27528#p27528</link>
			<description><![CDATA[<p>What happens if <strong>$failed_item</strong> is either <strong>false</strong> or <strong>NULL / not set</strong> in some versions of browser / server php?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Wed, 15 Feb 2017 13:38:48 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27528#p27528</guid>
		</item>
		<item>
			<title><![CDATA[Re: Issuing additional items to WO]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27524#p27524</link>
			<description><![CDATA[<p>Recently i discovered the bug maybe with some PHP versions about this, the way i fixed is changing it to this:</p><p>if (count($failed_item) &gt; 0)<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; display_error(_(&quot;The issue cannot be processed because it would cause negative inventory balance for marked items as of document date or later.&quot;));<br />&nbsp; &nbsp; &nbsp; &nbsp; return false;<br />&nbsp; &nbsp; }</p><p>** Inside the IF statement i validate against the count() of the array instead just direct value.</p><p>Hope this helps.</p>]]></description>
			<author><![CDATA[null@example.com (andresamayadiaz)]]></author>
			<pubDate>Tue, 14 Feb 2017 18:35:09 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27524#p27524</guid>
		</item>
		<item>
			<title><![CDATA[Re: Issuing additional items to WO]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=22763#p22763</link>
			<description><![CDATA[<p>Lines 101 to 106 in <strong>manufacturing/work_order_issue.php</strong> are:<br /></p><div class="codebox"><pre><code>    $failed_item = $_SESSION[&#039;issue_items&#039;]-&gt;check_qoh($_POST[&#039;Location&#039;], $_POST[&#039;date_&#039;], !$_POST[&#039;IssueType&#039;]);
    if ($failed_item != -1) 
    {
           display_error(_(&quot;The issue cannot be processed because it would cause negative inventory balance for marked items as of document date or later.&quot;));
        return false;
    }</code></pre></div><p>Try to comment out the above lines and see how it proceeds.</p><p>@joe: any variable scope and visibility issues?</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Tue, 03 Mar 2015 14:40:48 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=22763#p22763</guid>
		</item>
		<item>
			<title><![CDATA[Re: Issuing additional items to WO]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=22730#p22730</link>
			<description><![CDATA[<p>And me too got problem, how can&nbsp; I issue a WO. I tried a million times and all my quantity have sufficient amount in the stock but stil I can not issue a WO. Here&#039;s the error message given out.&quot;The issue cannot be processed because it would cause negative inventory balance for marked items as of document date or later!&quot;<br />I also tried to follow this instruction -&gt; https://github.com/apmuthu/frontaccounting/blob/master/core/manufacturing/work_order_issue.php and I changed the respective (work_order_issue.php) files but nothing changed. Please Joe and everyone around I need help here.</p>]]></description>
			<author><![CDATA[null@example.com (touchman)]]></author>
			<pubDate>Fri, 27 Feb 2015 14:42:09 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=22730#p22730</guid>
		</item>
		<item>
			<title><![CDATA[Re: Issuing additional items to WO]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=22057#p22057</link>
			<description><![CDATA[<p>Please refer <a href="https://frontaccounting.com/punbb/viewtopic.php?pid=22056#p22056">Forum Post</a> and let us know if it fixed it for you.</p><p>The &quot;id&quot; field instead of the &quot;component&quot; field was being compared till now for &quot;update_bom()&quot; function!</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Wed, 07 Jan 2015 04:09:15 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=22057#p22057</guid>
		</item>
		<item>
			<title><![CDATA[Issuing additional items to WO]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=22052#p22052</link>
			<description><![CDATA[<p>Hi,</p><p>I installed Front a few weeks ago and I have some problems issuing additional items to work orders.<br />I have plenty stock in hand but everytime I want to add items the system returns me the message: &quot;The issue cannot be processed because it would cause negative inventory balance for marked items as of document date or later.&quot;</p><p>I have also noticed that when I place a Purchase Order that has not been received, I can see the amount to be received in the column &quot;On Order&quot; of the option Inventory Item Status, which I consider normal; but when I create a Work Order, once it has been issued but not yet closed, the required quantities appear in the same column. Therefore, it is impossible to me to separate goods that are to be received, from requirements of Work Orders.</p><p>Any ideas?</p><p>Thanks in advance,</p><p>Max</p>]]></description>
			<author><![CDATA[null@example.com (Queijo)]]></author>
			<pubDate>Tue, 06 Jan 2015 22:22:11 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=22052#p22052</guid>
		</item>
	</channel>
</rss>
