<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Adding Recovery On Cash Invoice]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=6603</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=6603&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Adding Recovery On Cash Invoice.]]></description>
		<lastBuildDate>Wed, 21 Dec 2016 13:28:55 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Adding Recovery On Cash Invoice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27105#p27105</link>
			<description><![CDATA[<p>Shipping can be used for the excess and worded so or transferred by JV.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Wed, 21 Dec 2016 13:28:55 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27105#p27105</guid>
		</item>
		<item>
			<title><![CDATA[Re: Adding Recovery On Cash Invoice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27093#p27093</link>
			<description><![CDATA[<p>The process you suggested is by default process of front accounting but I have a customized need to record a payment without leaving invoice form. </p><p>I have added a text box on order entry form and added a custom coded defined above but having issues in calling the recovery text box value in that custom code</p>]]></description>
			<author><![CDATA[null@example.com (boxygen)]]></author>
			<pubDate>Mon, 19 Dec 2016 14:31:34 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27093#p27093</guid>
		</item>
		<item>
			<title><![CDATA[Re: Adding Recovery On Cash Invoice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27091#p27091</link>
			<description><![CDATA[<p>Make a cash receipt for the amount you want to show in &quot;Recovery&quot; and allocate it to the appropriate partially unpaid invoice. Keep the rest of the cash for the cash invoice allocation.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Mon, 19 Dec 2016 11:55:16 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27091#p27091</guid>
		</item>
		<item>
			<title><![CDATA[Adding Recovery On Cash Invoice]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=27088#p27088</link>
			<description><![CDATA[<p>I am trying to add a Field Recovery on Cash Invoice. Sometimes while recording a cash invoice we are also receiving some outstanding recovery against previous invoices. I am trying to add a option that payment recorded at Invoice Screen shall create a Customer Payment</p><p>&lt;a href=&quot;http://prntscr.com/dl88p5&quot;&gt;Click Here to View the Screen&lt;/a&gt;</p><p>Then I added following lines of code in /sales/includes/db/sales_invoice_db.inc on Line 183 onwards</p><p>&nbsp; &nbsp; &nbsp; &nbsp; global $water_business;<br />&nbsp; &nbsp; &nbsp; &nbsp; $recovery=100;//$invoice-&gt;recovery;<br />&nbsp; &nbsp; &nbsp; &nbsp; if ($water_business)<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; write_customer_payment(0, $invoice-&gt;customer_id, <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $invoice-&gt;Branch, $invoice-&gt;pos[&#039;pos_account&#039;], $date_,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $Refs-&gt;get_next(ST_CUSTPAYMENT), $recovery, 0,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _(&#039;Cash invoice&#039;).&#039; &#039;.$invoice_no);</p><br /><p>Now I need to know how to pass the value in the Recovery Filed till here. I am not very good at php so I don&#039;t know how to change the /sales/includes/cart_class.inc</p><p>I also need to save this information in a field recovery in sales_orders table. That I will create a field there.</p><p>@apmuthu Can you help me?</p>]]></description>
			<author><![CDATA[null@example.com (boxygen)]]></author>
			<pubDate>Mon, 19 Dec 2016 10:18:05 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=27088#p27088</guid>
		</item>
	</channel>
</rss>
