<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Display quantity on hand on purchase order]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=9063</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=9063&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Display quantity on hand on purchase order.]]></description>
		<lastBuildDate>Mon, 31 May 2021 04:28:13 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Display quantity on hand on purchase order]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39496#p39496</link>
			<description><![CDATA[<p>Yes dude I have got your email and replied you back.</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Mon, 31 May 2021 04:28:13 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39496#p39496</guid>
		</item>
		<item>
			<title><![CDATA[Re: Display quantity on hand on purchase order]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39492#p39492</link>
			<description><![CDATA[<div class="quotebox"><cite>kvvaradha wrote:</cite><blockquote><p>this will work for you. you need to open your po_ui.inc </p><p>and paste you need to update this code inside display_po_items</p><div class="codebox"><pre><code>     $th = array(_(&quot;Item Code&quot;), _(&quot;Item Description&quot;), _(&quot;Qty in Hand&quot;),_(&quot;Quantity&quot;), _(&quot;Received&quot;),
           _(&quot;Unit&quot;), _(&quot;Required Delivery Date&quot;), $order-&gt;tax_included ? _(&quot;Price after Tax&quot;) : _(&quot;Price before Tax&quot;), _(&quot;Line Total&quot;), &quot;&quot;);

    if ($order-&gt;trans_type != ST_PURCHORDER)
        array_remove($th, 6);
    if ($new)
        array_remove($th, 4);</code></pre></div><p>and then you need to update this code <br /></p><div class="codebox"><pre><code> $dec2 = $_POST[&#039;qty_hand&#039;] = 0; </code></pre></div><p>and few&nbsp; more lines to be updated. <br /></p><div class="codebox"><pre><code>$_POST[&#039;qty_hand&#039;] = get_qoh_on_date($_POST[&#039;stock_id&#039;]);
        if (list_updated(&#039;stock_id&#039;)) {

                $Ajax-&gt;activate(&#039;price&#039;);
                $Ajax-&gt;activate(&#039;units&#039;);
                $Ajax-&gt;activate(&#039;qty&#039;);
                $Ajax-&gt;activate(&#039;req_del_date&#039;);
                $Ajax-&gt;activate(&#039;line_total&#039;);
                $Ajax-&gt;activate(&#039;items_table&#039;);
        }</code></pre></div><p>and then you need to add the display function to see them in results. <br /></p><div class="codebox"><pre><code>}
    label_cell(price_format($_POST[&#039;qty_hand&#039;]));
    if ($order-&gt;fixed_asset) {</code></pre></div><p>if you update this code you can see them in po, grn, direct invoices pages with quantity in hand</p></blockquote></div><p>Please reply me, I have also contacted you by forum email.</p>]]></description>
			<author><![CDATA[null@example.com (msuhail197)]]></author>
			<pubDate>Mon, 31 May 2021 01:56:42 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39492#p39492</guid>
		</item>
		<item>
			<title><![CDATA[Re: Display quantity on hand on purchase order]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=39484#p39484</link>
			<description><![CDATA[<p>I am weak in language, I would be grateful if you could tell me the line number of po_ui.inc,&nbsp; in which these codes have to be updated or added .</p>]]></description>
			<author><![CDATA[null@example.com (msuhail197)]]></author>
			<pubDate>Fri, 28 May 2021 01:07:49 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=39484#p39484</guid>
		</item>
		<item>
			<title><![CDATA[Re: Display quantity on hand on purchase order]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=38578#p38578</link>
			<description><![CDATA[<p>I got above to work, now what&#039;s missing is to make quantity on hand appear on the printed copy. </p><p>What file am I meant to update?</p><p>Thanks</p>]]></description>
			<author><![CDATA[null@example.com (mureithi.lm)]]></author>
			<pubDate>Sat, 07 Nov 2020 07:52:34 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=38578#p38578</guid>
		</item>
		<item>
			<title><![CDATA[Re: Display quantity on hand on purchase order]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=38569#p38569</link>
			<description><![CDATA[<p>this will work for you. you need to open your po_ui.inc </p><p>and paste you need to update this code inside display_po_items</p><div class="codebox"><pre><code>     $th = array(_(&quot;Item Code&quot;), _(&quot;Item Description&quot;), _(&quot;Qty in Hand&quot;),_(&quot;Quantity&quot;), _(&quot;Received&quot;),
           _(&quot;Unit&quot;), _(&quot;Required Delivery Date&quot;), $order-&gt;tax_included ? _(&quot;Price after Tax&quot;) : _(&quot;Price before Tax&quot;), _(&quot;Line Total&quot;), &quot;&quot;);

    if ($order-&gt;trans_type != ST_PURCHORDER)
        array_remove($th, 6);
    if ($new)
        array_remove($th, 4);</code></pre></div><p>and then you need to update this code <br /></p><div class="codebox"><pre><code> $dec2 = $_POST[&#039;qty_hand&#039;] = 0; </code></pre></div><p>and few&nbsp; more lines to be updated. <br /></p><div class="codebox"><pre><code>$_POST[&#039;qty_hand&#039;] = get_qoh_on_date($_POST[&#039;stock_id&#039;]);
        if (list_updated(&#039;stock_id&#039;)) {

                $Ajax-&gt;activate(&#039;price&#039;);
                $Ajax-&gt;activate(&#039;units&#039;);
                $Ajax-&gt;activate(&#039;qty&#039;);
                $Ajax-&gt;activate(&#039;req_del_date&#039;);
                $Ajax-&gt;activate(&#039;line_total&#039;);
                $Ajax-&gt;activate(&#039;items_table&#039;);
        }</code></pre></div><p>and then you need to add the display function to see them in results. <br /></p><div class="codebox"><pre><code>}
    label_cell(price_format($_POST[&#039;qty_hand&#039;]));
    if ($order-&gt;fixed_asset) {</code></pre></div><p>if you update this code you can see them in po, grn, direct invoices pages with quantity in hand</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Thu, 05 Nov 2020 12:10:26 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=38569#p38569</guid>
		</item>
		<item>
			<title><![CDATA[Display quantity on hand on purchase order]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=38565#p38565</link>
			<description><![CDATA[<p>Hello team,</p><p>How can the subject be arrived at? </p><p>It is a control for our firm to avoid overstocking.</p><p>Thanks in advance</p>]]></description>
			<author><![CDATA[null@example.com (mureithi.lm)]]></author>
			<pubDate>Wed, 04 Nov 2020 13:35:30 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=38565#p38565</guid>
		</item>
	</channel>
</rss>
