<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — View_po.php]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7107&amp;type=atom" />
	<updated>2017-11-08T12:13:29Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=7107</id>
		<entry>
			<title type="html"><![CDATA[Re: View_po.php]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29528#p29528" />
			<content type="html"><![CDATA[<p>Thanks a lot.</p>]]></content>
			<author>
				<name><![CDATA[Alaa]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20274</uri>
			</author>
			<updated>2017-11-08T12:13:29Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29528#p29528</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: View_po.php]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29526#p29526" />
			<content type="html"><![CDATA[<p>The <strong>$stock_item</strong> is an element of <strong>$purchase_order-&gt;line_items</strong>. The <strong>$purchase_order</strong> object gets populated from the <strong>function read_po()</strong> defined in <strong>purchasing/includes/db/po_db.inc</strong>. The stock_master table provides only the <strong>units</strong> field in the sql in the <strong>function read_po_items</strong> it calls therefrom. Extend it by appending <strong>long_description</strong> and use it where you want.</p><p>Alter line 210 in <strong>purchasing/includes/db/po_db.php</strong>:<br /></p><div class="codebox"><pre><code>    $sql = &quot;SELECT poline.*, units</code></pre></div><p>to be:<br /></p><div class="codebox"><pre><code>    $sql = &quot;SELECT poline.*, units, long_description</code></pre></div><p>and then use it in the <strong>view_po.php</strong> file.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-11-08T09:11:19Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29526#p29526</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[View_po.php]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29519#p29519" />
			<content type="html"><![CDATA[<p>Hello,,<br />in this view<br />purchasing/view/view_po.php<br />i&#039;d like to show long_description instead of item_description .. but it seems that the long description is stored in stock_master table..</p><p>is there an easy way to replace this code line 69<br /></p><div class="codebox"><pre><code>label_cell($stock_item-&gt;item_description);</code></pre></div><p>so it&#039;d show the long description??</p><p>Regards.</p>]]></content>
			<author>
				<name><![CDATA[Alaa]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20274</uri>
			</author>
			<updated>2017-11-07T20:53:02Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29519#p29519</id>
		</entry>
</feed>
