<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — CAN ?]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=4545&amp;type=atom" />
	<updated>2013-11-26T07:02:57Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=4545</id>
		<entry>
			<title type="html"><![CDATA[Re: CAN ?]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18567#p18567" />
			<content type="html"><![CDATA[<p>ostertagi , thanks dude, what you had explain above . i have already research on it ...</p><p>thing is that after visiting po_class.inc file,, the coding format is too complicated .. franking its totally out of my head ..</p><p>hence i ask for a single page help from u all side</p>]]></content>
			<author>
				<name><![CDATA[tester1]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18290</uri>
			</author>
			<updated>2013-11-26T07:02:57Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18567#p18567</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CAN ?]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18559#p18559" />
			<content type="html"><![CDATA[<p>you just need to read the code , the first 50 lines; <br /></p><div class="codebox"><pre><code>if (isset($_GET[&#039;ModifyOrderNumber&#039;]) &amp;&amp; is_numeric($_GET[&#039;ModifyOrderNumber&#039;])) {

    $_SESSION[&#039;page_title&#039;] = _($help_context = &quot;Modify Purchase Order #&quot;) . $_GET[&#039;ModifyOrderNumber&#039;];
    create_new_po(ST_PURCHORDER, $_GET[&#039;ModifyOrderNumber&#039;]);
    copy_from_cart();
} elseif (isset($_GET[&#039;NewOrder&#039;])) {

    $_SESSION[&#039;page_title&#039;] = _($help_context = &quot;Purchase Order Entry&quot;);
    create_new_po(ST_PURCHORDER, 0);
    copy_from_cart();
} elseif (isset($_GET[&#039;NewGRN&#039;])) {

    $_SESSION[&#039;page_title&#039;] = _($help_context = &quot;Direct GRN Entry&quot;);
    create_new_po(ST_SUPPRECEIVE, 0);
    copy_from_cart();
} elseif (isset($_GET[&#039;NewInvoice&#039;])) {

    $_SESSION[&#039;page_title&#039;] = _($help_context = &quot;Direct Purchase Invoice Entry&quot;);
    create_new_po(ST_SUPPINVOICE, 0);
    copy_from_cart();
}</code></pre></div><p>it&#039;s a pattern-like: isset($_GET[&#039;NewOrder&#039;]) tests what is sent next to the url po_entry_items.php?NewInvoice, <br />if it&#039;s true, the code calls the function create_new_po(ST_SUPPINVOICE, 0); which create a purch_order object (see po_class.inc). this class can define three type : order/grn/invoice by changing the $trans_type value.<br />ST_SUPPINVOICE is defined at the beginning (see set_page_security).<br />the object display is handled by display_po_items() and display_po_header() which display the $_SESSION[&#039;PO&#039;] or $cart based on the value of $trans_type.</p><p>ps: @FA_developpers, please use braces when using &quot;if () statement&quot;, i have&nbsp; a hard time reading the code.....</p>]]></content>
			<author>
				<name><![CDATA[ostertagi]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18743</uri>
			</author>
			<updated>2013-11-25T21:48:13Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18559#p18559</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CAN ?]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18552#p18552" />
			<content type="html"><![CDATA[<p>Dude , </p><p>If you visit Purchase&nbsp; &gt;&gt;&nbsp; Purchase Order Entry<br />purchasing/po_entry_items.php?NewOrder=Yes</p><p>or </p><p> Purchase&nbsp; &gt;&gt;&nbsp; Purchase Orders Inquiry<br />purchasing/po_entry_items.php?ModifyOrderNumber=</p><p>there is <strong>Order Items</strong> under this ,&nbsp; want help of code which is auto increment with Add new button, hence at one place user can edit delete and add new with auto increment .</p><p>Which is simple to use.</p><p>Hence i need help of this place , can you or any one make a single page with this much code ?</p>]]></content>
			<author>
				<name><![CDATA[tester1]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18290</uri>
			</author>
			<updated>2013-11-25T05:04:05Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18552#p18552</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: CAN ?]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18523#p18523" />
			<content type="html"><![CDATA[<p>sorry i didnt understand your question? can you be more explicite?<br />what section you dont undrestand? what&#039;s your objective? what do you intend to do?</p>]]></content>
			<author>
				<name><![CDATA[ostertagi]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18743</uri>
			</author>
			<updated>2013-11-22T14:43:01Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18523#p18523</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[CAN ?]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=18521#p18521" />
			<content type="html"><![CDATA[<p>po_entry_items.php?ModifyOrderNumber=&quot;&quot;</p><p>Under this page ,,&nbsp; can any one guide how i can specially use that Order Item section code ..&nbsp; </p><p>as it seem to easy .. i means to say its easy at one place all thing is done add and edit.</p><p>please tell me</p>]]></content>
			<author>
				<name><![CDATA[tester1]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18290</uri>
			</author>
			<updated>2013-11-22T12:29:04Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=18521#p18521</id>
		</entry>
</feed>
