<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Request for Payment]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=3930</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=3930&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Request for Payment.]]></description>
		<lastBuildDate>Mon, 22 Apr 2013 06:40:37 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Request for Payment]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=16443#p16443</link>
			<description><![CDATA[<p>A side note for standardisation:</p><p>The file <strong>reporting/includes/reporting.inc</strong> defines function <strong>print_link()</strong> that is called by function <strong>print_document_link()</strong> also in the same file. </p><p>The function <strong>print_document_link()</strong> is called in quite a few files, but the <strong>print_link()</strong> function is directly called from only these other files:<br /></p><ul><li><p>manufacturing/work_order_add_finished.php</p></li><li><p>manufacturing/work_order_entry.php</p></li><li><p>sales/create_recurrent_invoices.php</p></li></ul>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Mon, 22 Apr 2013 06:40:37 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=16443#p16443</guid>
		</item>
		<item>
			<title><![CDATA[Re: Request for Payment]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=16431#p16431</link>
			<description><![CDATA[<p>So I did a serious attempt to getting this extra function, the ability to print a Request for Payment, which is identical to Sales Order Entry, but without loosing the Sales Order Entry function. I almost succeeded. However, almost is not good enough.<br />I did the following changes to the following files:</p><p>-----------------------------------------------------------------------------------------------<br />&nbsp; &nbsp; Request for Payment<br />-----------------------------------------------------------------------------------------------<br />fa/applications/customers.php</p><p>line 25 ADD:<br />&nbsp; &nbsp; &nbsp; &nbsp; $this-&gt;add_lapp_function(0, _(&quot;Request for Payment&quot;),<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;sales/sales_order_entry.php?ReqPayment=0&quot;, &#039;SA_SALESINVOICE&#039;, MENU_TRANSACTION);</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />-------------------------------------<br />fa/sales/sales_order_entry.php</p><p>line 68 ADD:<br />} elseif (isset($_GET[&#039;ReqPayment&#039;]) &amp;&amp; is_numeric($_GET[&#039;ReqPayment&#039;])) {</p><p>&nbsp; &nbsp; $_SESSION[&#039;page_title&#039;] = _($help_context = &quot;Request for Payment&quot;);<br />&nbsp; &nbsp; create_cart(ST_REQPAYMENT, 0);</p><p>line 186 ADD:<br />} elseif (isset($_GET[&#039;ReqPayment&#039;])) {<br />&nbsp; &nbsp; $delivery = $_GET[&#039;ReqPayment&#039;];</p><p>&nbsp; &nbsp; display_notification_centered(sprintf(_(&quot;Request for Payment # %d has been entered.&quot;),$delivery));</p><p>&nbsp; &nbsp; submenu_view(_(&quot;&amp;View This RFP&quot;), ST_REQPAYMENT, $delivery);</p><p>&nbsp; &nbsp; submenu_print(_(&quot;&amp;Print RFP&quot;), ST_REQPAYMENT, $delivery, &#039;prtopt&#039;);<br />&nbsp; &nbsp; submenu_print(_(&quot;&amp;Email RFP&quot;), ST_REQPAYMENT, $delivery, null, 1);<br />&nbsp; &nbsp; set_focus(&#039;prtopt&#039;);</p><p>&nbsp; &nbsp; display_note(get_gl_view_str(ST_REQPAYMENT, $delivery, _(&quot;View the GL Journal Entries for this RFP&quot;)),0, 1);</p><p>&nbsp; &nbsp; submenu_option(_(&quot;Make &amp;Invoice Against This RFP&quot;),<br />&nbsp; &nbsp; &nbsp; &nbsp; &quot;/sales/customer_invoice.php?DeliveryNumber=$delivery&quot;);</p><p>&nbsp; &nbsp; &nbsp; &nbsp; submenu_option(_(&quot;Enter a &amp;RFP&quot;), <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &quot;/sales/sales_order_entry.php?NewRFP=0&quot;);</p><p>&nbsp; &nbsp; display_footer_exit();<br />&nbsp; &nbsp; <br />line 624 ADD:<br />&nbsp; &nbsp; } elseif ($_SESSION[&#039;Items&#039;]-&gt;trans_type == ST_REQPAYMENT)<br />&nbsp; &nbsp; {<br />&nbsp; &nbsp; &nbsp; &nbsp; display_notification(_(&quot;This request for payment has been cancelled as requested.&quot;), 1);<br />&nbsp; &nbsp; &nbsp; &nbsp; submenu_option(_(&quot;Enter a New Request for Payment&quot;), &quot;/sales/sales_order_entry.php?NewRFP=Yes&quot;);</p><p>line 735 ADD:<br />} elseif ($_SESSION[&#039;Items&#039;]-&gt;trans_type == ST_REQPAYMENT) {<br />&nbsp; &nbsp; $idate = _(&quot;RFP Date:&quot;);<br />&nbsp; &nbsp; $orderitems = _(&quot;Request for Payment Items&quot;);<br />&nbsp; &nbsp; $deliverydetails = _(&quot;Enter RFP Details and Confirm RFP&quot;);<br />&nbsp; &nbsp; $cancelorder = _(&quot;Cancel RFP&quot;);<br />&nbsp; &nbsp; $porder = _(&quot;Place RFP&quot;);<br />&nbsp; &nbsp; $corder = _(&quot;Commit RFP Changes&quot;);</p><p>-------------------------------------<br />fa/includes/systypes.inc<br />line 63 ADD:</p><p>&nbsp; &nbsp; &nbsp; &nbsp; case&nbsp; &nbsp; &nbsp;ST_REQPAYMENT&nbsp; &nbsp;: return array(&quot;&quot;.TB_PREF.&quot;sales_orders&quot;, &quot;trans_type&quot;, &quot;order_no&quot;, &quot;reference&quot;, &quot;ord_date&quot;);</p><p>-------------------------------------<br />fa/includes/sysnames.inc<br />line 41 ADD:<br />&nbsp; &nbsp; ST_REQPAYMENT =&gt; _(&quot;Request for Payment&quot;),</p><p>line 67 ADD:<br />&nbsp; &nbsp; ST_REQPAYMENT =&gt; _(&quot;RFP&quot;),</p><p>-------------------------------------<br />fa/includes/types.inc<br />line 41 ADD:</p><p>define(&#039;ST_REQPAYMENT&#039;, 34);</p><p>-------------------------------------<br />fa/reporting/includes/reporting.inc<br />line 51 ADD:</p><p>&nbsp; &nbsp; &nbsp; &nbsp; case ST_REQPAYMENT :<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $rep = 109;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; // from, to, currency, email, quote, comments, orientation<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $ar = array(<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#039;PARAM_0&#039; =&gt; $doc_no, <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#039;PARAM_1&#039; =&gt; $doc_no, <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#039;PARAM_2&#039; =&gt; &#039;&#039;, <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#039;PARAM_3&#039; =&gt; $email, <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#039;PARAM_4&#039; =&gt; 2, <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#039;PARAM_5&#039; =&gt; &#039;&#039;,<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &#039;PARAM_6&#039; =&gt; $def_orientation);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />-------------------------------------<br />fa/reporting/includes/doctext.inc<br />line 52 ADD:</p><p>&nbsp; &nbsp; &nbsp; &nbsp; case ST_REQPAYMENT:<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $this-&gt;title = ($print_as_quote==1 ? _(&quot;QUOTE&quot;) : _(&quot;REQUEST FOR PAYMENT&quot;));<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $this-&gt;formData[&#039;document_name&#039;] =_(&quot;Order No.&quot;);<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $this-&gt;formData[&#039;document_date&#039;] = $this-&gt;formData[&#039;ord_date&#039;];<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $this-&gt;formData[&#039;document_number&#039;] = $print_invoice_no == 0 &amp;&amp; isset($this-&gt;formData[&#039;reference&#039;])<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ? $this-&gt;formData[&#039;reference&#039;] : $this-&gt;formData[&#039;order_no&#039;];<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $this-&gt;formData[&#039;document_amount&#039;] = $this-&gt;formData[&#039;order_no&#039;];</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; $aux_info = array(<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _(&quot;Customer&#039;s Reference&quot;) =&gt; $this-&gt;formData[&quot;customer_ref&quot;],<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _(&quot;Sales Person&quot;) =&gt; get_salesman_name($this-&gt;formData[&#039;salesman&#039;]),<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _(&quot;Your VAT no.&quot;) =&gt; $this-&gt;formData[&#039;tax_id&#039;],<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _(&quot;Our Order No&quot;) =&gt; $this-&gt;formData[&#039;order_no&#039;],<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; _(&quot;Delivery Date&quot;) =&gt; sql2date($this-&gt;formData[&#039;delivery_date&#039;]),<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; );<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; break;</p><p>-------------------------------------</p><p>My problems are at the end, when the Update or Accept is clicked. Is there anyone who can help with this?</p><br /><p>Thanks in advance<br />Carmelo</p>]]></description>
			<author><![CDATA[null@example.com (carmelr)]]></author>
			<pubDate>Sun, 21 Apr 2013 05:35:27 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=16431#p16431</guid>
		</item>
		<item>
			<title><![CDATA[Re: Request for Payment]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=16201#p16201</link>
			<description><![CDATA[<p>Anyone with a hint on how to duplicate the Sales Order Entry to provide another link on the Sales Tab named Request for Payment?</p><p>TIA<br />Carmelo</p>]]></description>
			<author><![CDATA[null@example.com (carmelr)]]></author>
			<pubDate>Tue, 26 Mar 2013 06:08:26 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=16201#p16201</guid>
		</item>
		<item>
			<title><![CDATA[Re: Request for Payment]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=16043#p16043</link>
			<description><![CDATA[<p>you said using the &quot;statements report&quot;. The statement Report&nbsp; are the request for payment for a purchase order.<br />The Request for Payment (RFP) should be accessible like an invoice or a purchase order. What I tried was to modify the payment report. But I could not title set to &quot;REQUEST FOR PAYMENT&quot;. Ideally I would like to have a new link &quot;Request for Payment&quot; on the Sales Tab right under Sales Order Entry. It seems to be a simple matter, but all my attempts failed. please help me for a Request for payment.</p>]]></description>
			<author><![CDATA[null@example.com (Harrydavid)]]></author>
			<pubDate>Fri, 15 Mar 2013 12:27:15 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=16043#p16043</guid>
		</item>
		<item>
			<title><![CDATA[Re: Request for Payment]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=15972#p15972</link>
			<description><![CDATA[<p>I&#039;m not sure what you have in mind when you said using the &quot;statements report&quot;.<br />The Request for Payment (RFP) should be accessible like an invoice or a purchase order.</p><p>What I tried was to modify rep109.php around lines 80 to 90.<br />Here the $print_as_quote is used to print a Quote if it is set to 1 or a Sales Order otherwise.<br />But I could not find the source of $print_as_quote to set it as 2 and have the title set to &quot;REQUEST FOR PAYMENT&quot;.</p><p>Ideally I would like to have a new link &quot;Request for Payment&quot; on the Sales Tab right under Sales Order Entry.</p><p>It seems to be a simple matter, but all my attempts failed.</p><p>Would appreciate anyone helping with this.<br />Cheers<br />Carmelo</p>]]></description>
			<author><![CDATA[null@example.com (carmelr)]]></author>
			<pubDate>Sun, 10 Mar 2013 15:48:46 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=15972#p15972</guid>
		</item>
		<item>
			<title><![CDATA[Re: Request for Payment]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=15968#p15968</link>
			<description><![CDATA[<p>Maybe you can use the &quot;statements report&quot; for this or change this report a bit..... see /reporting/reports_main.php?Class=0&amp;REP_ID=108</p>]]></description>
			<author><![CDATA[null@example.com (erwindebruin)]]></author>
			<pubDate>Sun, 10 Mar 2013 10:23:01 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=15968#p15968</guid>
		</item>
		<item>
			<title><![CDATA[Request for Payment]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=15967#p15967</link>
			<description><![CDATA[<p>Hi, we need to generate a Request for Payment document.<br />The functionality in FA is almost the same as Sales Order Entry, i.e. the information kept by FA is the same. One can see what is pending with each client, etc.&nbsp; The heading is different and there should be a notice that: This is not a VAT Invoice.</p><p>I tried to copy the Sales Order Entry Report, but it is intertwind with the Direct Invoice and got stuck.<br />We cannot use the Sales Order Entry as this is also required.</p><p>Perhaps to be a bit clearer, the process would be as follows:<br />1. Issue Sales Order Entry<br />2. Deliver Service<br />3. Issue (or convert Sales Order Entry) Request for Payment<br />4. After client pays, issue Invoice</p><p>Any ideas how I can do this?<br />Thanks<br />Carmelo</p>]]></description>
			<author><![CDATA[null@example.com (carmelr)]]></author>
			<pubDate>Sun, 10 Mar 2013 09:32:12 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=15967#p15967</guid>
		</item>
	</channel>
</rss>
