<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Add new item to document]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=1901</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=1901&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Add new item to document.]]></description>
		<lastBuildDate>Sat, 06 Aug 2011 16:14:49 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Add new item to document]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=9897#p9897</link>
			<description><![CDATA[<p>Multiply numbering sequences are not supported in current FA version. You will need to wait for next major FA release, or pay some developer to implement this feature for you.<br />Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Sat, 06 Aug 2011 16:14:49 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=9897#p9897</guid>
		</item>
		<item>
			<title><![CDATA[Re: Add new item to document]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=9805#p9805</link>
			<description><![CDATA[<p>SORRY my english is quite poor.....</p><br /><p>From Where should I start to get the specific reference number of SALES ORDER ENTRY for specific ITEM CATEGORY in SALES ORDER ENTRY page.....</p><p>i need to do.... <br />if I choose the component (from Item category) then it&#039;s reference number should start with 1 n then it increases as per sales entry for same category..... but when i choose the service (from Item category) then it&#039;s reference number again start with 1 n then increase as per sales entry for same category..... and again if i choose any other item category&#039;s item then it starts with 1 n so on...... wat to do n how to do it..... can anyone help me with it......</p>]]></description>
			<author><![CDATA[null@example.com (Rohan Raj)]]></author>
			<pubDate>Mon, 25 Jul 2011 07:56:00 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=9805#p9805</guid>
		</item>
		<item>
			<title><![CDATA[Re: Add new item to document]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=9722#p9722</link>
			<description><![CDATA[<p>I am working on Item adjustment.... and I need to add Packaging size in format (x*y*z*), (x*Y) and Expiry date for the new adjustment..... would u suggest me how do i start to have this as a result???????</p><br /><p>completed.... i have done with it........</p>]]></description>
			<author><![CDATA[null@example.com (Rohan Raj)]]></author>
			<pubDate>Sat, 16 Jul 2011 07:49:20 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=9722#p9722</guid>
		</item>
		<item>
			<title><![CDATA[Re: Add new item to document]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=8723#p8723</link>
			<description><![CDATA[<p>I&#039; not sure I undrstand you right. If you are looking for the line code which create item cart it is placed in line 70 of transfer.php.</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Sat, 09 Apr 2011 09:43:26 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=8723#p8723</guid>
		</item>
		<item>
			<title><![CDATA[Re: Add new item to document]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=8680#p8680</link>
			<description><![CDATA[<p>hi,</p><p>i&#039;m working on custom module too and still have problem on creating item cart just like display_transfer_items function. </p><p>Would you give a clue where do i start to have item cart like that working on my custom module?</p><p>Thanks..</p>]]></description>
			<author><![CDATA[null@example.com (ad1t)]]></author>
			<pubDate>Wed, 06 Apr 2011 14:13:38 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=8680#p8680</guid>
		</item>
		<item>
			<title><![CDATA[Re: Add new item to document]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=8338#p8338</link>
			<description><![CDATA[<p>Ajax solution in FA is for historical reasons somewhat different from those used in other frameworks. In fact Ajax call on server side is treated nearly identical to normal synchronous POST request. Most normally displayed elements are rendered, and their content is collected in $Ajax singleton variable.&nbsp; In contrast to synchronous call, during ajax request those elements are not sent&nbsp; back to browser unless they are activated by some trigger using Activate method. </p><p>There is a couple of Ajax class methods to save various items rendered during the request, addUpdate method is one of such collecting methods, other examples are addScript (for javascript fragments) or addFocus for current focus.</p><p>If you only use standard ui helper functions found in files ui_input.php, ui_lists.php etc, and you does not create new helpers you can mostly ignore the collecting methods (eg addUpdate).&nbsp; The only thing you have to do to make some ui element update is to activate it with $Ajax-&gt;activate() call. The only parameter of the call is trigger name of the element you want to update. This name is nearly always just the name of underlying input element, or id of label. So, if you have following code:<br /></p><div class="codebox"><pre><code>start_form();
 start_table();
  text_row(&#039;Very important parameter:&#039;, &#039;param&#039;)
 end_table();
 submit(&#039;update&#039;, &#039;Update page&#039;, true, true);
end_form();</code></pre></div><p>all you have to do to have &#039;param&#039; input updated after submit button is pressed in ajax mode is adding following in any place of the page code:</p><div class="codebox"><pre><code>if (get_post(&#039;update&#039;)) {
    $Ajax-&gt;activate(&#039;params&#039;);
}</code></pre></div><p>Janusz</p>]]></description>
			<author><![CDATA[null@example.com (itronics)]]></author>
			<pubDate>Wed, 16 Feb 2011 19:55:45 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=8338#p8338</guid>
		</item>
		<item>
			<title><![CDATA[Add new item to document]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=8334#p8334</link>
			<description><![CDATA[<p>I&#039;m developing a new extension and I want the extension has same feel and look with the core script. </p><p>I would like to learn the framework behind the &quot;Add new item to document&quot; where you add new item into a document without reloading the page. </p><p>I have been trying for few days to add new item to a document but nothing showed up.</p><p>I want to know :<br />1. the differences between <strong>Ajax-&gt;Activate()</strong> and <strong>Ajax-&gt;AddUpdate()</strong> <br />2. when and why do we call these function</p><p>Please enlight me...</p>]]></description>
			<author><![CDATA[null@example.com (evilive)]]></author>
			<pubDate>Tue, 15 Feb 2011 10:09:20 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=8334#p8334</guid>
		</item>
	</channel>
</rss>
