<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Credit Card Sale]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7211&amp;type=atom" />
	<updated>2019-05-25T20:17:37Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=7211</id>
		<entry>
			<title type="html"><![CDATA[Re: Credit Card Sale]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=35036#p35036" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>Also, would a permission to be given for a user, to overriding his POS solve the issue?</p></blockquote></div><p>Yes, that is my vote.&nbsp; &nbsp;I&#039;ve never understood the FA design why a user is limited to a single POS, or why a POS is tied to a single payment type (bank account).</p>]]></content>
			<author>
				<name><![CDATA[Braath Waate]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41493</uri>
			</author>
			<updated>2019-05-25T20:17:37Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=35036#p35036</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Credit Card Sale]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=35034#p35034" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>apmuthu wrote:</cite><blockquote><p>Any modifications to the code in the current scripts without altering db schema will entail hardcoding for a specific install with account names / types and ids and that will not be generic. Both Cash and Credit Card are of Cash Type as far as the Payment Terms classification is concerned and that is why the simplified entry form gets displayed. If English is the only language to be used, then hardcoding to see if the word &quot;Cash&quot; is present in the name of the description of the Payment Terms can be attempted. The ramifications of the default POS being different from the one in the user&#039;s table will have to be studied. There could be several credit card merchant accounts in one installation where this would fail. Appending the account code to the last part of the Payment Terms description is the only way out for now.</p><p>@joe: what say you?</p></blockquote></div><br /><p>following this thread, I totally understand the concern @apmuthu has related the POS-User, I was wondering if there is any response from @Joe?<br />Also, would a permission to be given for a user, to overriding his POS solve the issue?</p>]]></content>
			<author>
				<name><![CDATA[Murad]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=44662</uri>
			</author>
			<updated>2019-05-25T16:47:00Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=35034#p35034</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Credit Card Sale]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30277#p30277" />
			<content type="html"><![CDATA[<p>Yes, this is the only solution which seems to cater the problem, both from operational and accounting points of view.</p><br /><div class="quotebox"><cite>apmuthu wrote:</cite><blockquote><p> There could be several credit card merchant accounts in one installation where this would fail. Appending the account code to the last part of the Payment Terms description is the only way out for now.</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[sulehri]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=22481</uri>
			</author>
			<updated>2017-12-25T07:48:32Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30277#p30277</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Credit Card Sale]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30197#p30197" />
			<content type="html"><![CDATA[<p>Any modifications to the code in the current scripts without altering db schema will entail hardcoding for a specific install with account names / types and ids and that will not be generic. Both Cash and Credit Card are of Cash Type as far as the Payment Terms classification is concerned and that is why the simplified entry form gets displayed. If English is the only language to be used, then hardcoding to see if the word &quot;Cash&quot; is present in the name of the description of the Payment Terms can be attempted. The ramifications of the default POS being different from the one in the user&#039;s table will have to be studied. There could be several credit card merchant accounts in one installation where this would fail. Appending the account code to the last part of the Payment Terms description is the only way out for now.</p><p>@joe: what say you?</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-12-22T20:30:01Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30197#p30197</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Credit Card Sale]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30194#p30194" />
			<content type="html"><![CDATA[<p>Thanks:)</p><p>Will any of the solutions I mentioned above work?</p>]]></content>
			<author>
				<name><![CDATA[sulehri]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=22481</uri>
			</author>
			<updated>2017-12-22T20:07:13Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30194#p30194</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Credit Card Sale]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30193#p30193" />
			<content type="html"><![CDATA[<p>The ERD is now on the <a href="https://frontaccounting.com/fawiki/index.php?n=Devel.ERDiagram24">Wiki</a>.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-12-22T19:59:23Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30193#p30193</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Credit Card Sale]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30191#p30191" />
			<content type="html"><![CDATA[<p>After understanding the complete process (if I understood it correctly), I have concluded that it is not practicable to have one user for entering Cash invoices and one for entering Credit Card invoices, especially in a restaurant environment where there can be too many customers waiting to get their bills.</p><br /><p>So, a better solution can either of the following:</p><p>1. Ask the developer to change the hardcoded account if the payment term is selected anything other than &quot;Cash&quot;. Because anything other than cash is booked as receivable.</p><p>2. Create Credit Card Clearing account and declare it as a current account. Then make it the default receivable account from SETUP ==&gt; System &amp; GL Setup. Then create a new payment term as Credit Card and create a new Payment Term, call it credit card, select number of days and then 1. So that such sale automatically goes into credit card receivables account and is shown in receivables the very next day.</p><br /><p>I apologize for taking a lot of time, but I am keen to understand the system in order to make the best use of it.</p><div class="quotebox"><cite>apmuthu wrote:</cite><blockquote><p>Line 580 in <strong>sales/includes/ui/sales_order_ui.inc</strong>:<br />The POS is fixed in the <strong>users</strong> table and hence it this that ultimately determines the hardcoded value of the cash account! Hence, create a user and assign the Credit Card POS and link it to the Credit Card Cash Type account and login as that user to perform such transactions.</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[sulehri]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=22481</uri>
			</author>
			<updated>2017-12-22T19:43:52Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30191#p30191</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Credit Card Sale]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30190#p30190" />
			<content type="html"><![CDATA[<p><a href="https://frontaccounting.com/fawiki/index.php?n=Help.Sales">Wiki</a> updated.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-12-22T19:25:01Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30190#p30190</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Credit Card Sale]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30189#p30189" />
			<content type="html"><![CDATA[<p>Thanks a lot. I will request a developer to change the code for me</p>]]></content>
			<author>
				<name><![CDATA[sulehri]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=22481</uri>
			</author>
			<updated>2017-12-22T19:08:05Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30189#p30189</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Credit Card Sale]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30188#p30188" />
			<content type="html"><![CDATA[<p>Line 580 in <strong>sales/includes/ui/sales_order_ui.inc</strong>:<br /></p><div class="codebox"><pre><code>        label_row(_(&quot;Cash account:&quot;), $order-&gt;pos[&#039;bank_account_name&#039;]);</code></pre></div><p>is responsible for the choice of account. It comes from the field <strong>sales_pos.pos_account</strong> which is looked up on the field <strong>bank_accounts.id</strong> whose corresponding field <strong>bank_accounts.account_code</strong> is the account to which the money flows. The field <strong>bank_accounts.bank_account_name</strong> is what gets displayed.</p><p>The POS is fixed in the <strong>users</strong> table and hence it this that ultimately determines the hardcoded value of the cash account! Hence, create a user and assign the Credit Card POS and link it to the Credit Card Cash Type account and login as that user to perform such transactions.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-12-22T18:47:14Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30188#p30188</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Credit Card Sale]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30186#p30186" />
			<content type="html"><![CDATA[<p>The second option seems to be more reasonable, especially from control point of view. For example, I would not want anyone entering an invoice to select cash account as payment method when the payment term says credit card.</p><p>So, how can we set a default (hardcoded account) to receive payments into based on Payment Terms?</p>]]></content>
			<author>
				<name><![CDATA[sulehri]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=22481</uri>
			</author>
			<updated>2017-12-22T18:15:34Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30186#p30186</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Credit Card Sale]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30185#p30185" />
			<content type="html"><![CDATA[<p>The issue here is to make the hardcoded Petty Cash Account as a dropdown set of bank accounts for Cash term sales documents. Otherwise, should a default hardcoded account to receive payments into be set in the Payment Terms for Cash Type using an extra field?</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-12-22T18:05:22Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30185#p30185</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Credit Card Sale]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30184#p30184" />
			<content type="html"><![CDATA[<p>In our case, it gets cleared at the end of month. So I want it to goto a clearing account where the accountant can further process it when balances are cleared.</p><p>I am a professional accountant <img src="https://frontaccounting.com/punbb/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><div class="quotebox"><cite>joe wrote:</cite><blockquote><p>Hello guys.</p><p>@apmuthu, I guess you have explained it all.</p><p>Normally if you accept credit cards you have got an agreement with a provider or a bank. So the money enter into an account in your bank.</p><p>There will probably be a little delay,, but it could be an intermediate account, depending on how detailed you want this.</p><p>Also talk to a local accountant about this.</p><p>Joe</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[sulehri]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=22481</uri>
			</author>
			<updated>2017-12-22T18:01:24Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30184#p30184</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Credit Card Sale]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30183#p30183" />
			<content type="html"><![CDATA[<p>Thanks for the explanation sir</p><p>I already tried the method explained by you as I had read through a lot of posts. But unfortunately the default cash account gets hardcoded in Payment and I cannot apply payment to this newly created account.</p><p>Any way to bypass this hardcoding?</p><div class="quotebox"><cite>apmuthu wrote:</cite><blockquote><p>Setup =&gt; payment Terms =&gt; create new payment terms as Cash type but name it credit card. make an account code similar to cash and call it credit card. Make it a bank account - your merchant bank account.</p><p>It appears that the first non default cash type of account in the bank accounts gets hard coded in creating a direct invoice.</p><p>Quick Entries as in <a href="https://frontaccounting.com/punbb/viewtopic.php?id=5657">this post</a> may be useful.</p><p>@joe: What is the correct way to make a &quot;Cash&quot; sale (Payment Terms) for a credit card transaction.</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[sulehri]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=22481</uri>
			</author>
			<updated>2017-12-22T17:58:59Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30183#p30183</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Credit Card Sale]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30182#p30182" />
			<content type="html"><![CDATA[<p>Hello guys.</p><p>@apmuthu, I guess you have explained it all.</p><p>Normally if you accept credit cards you have got an agreement with a provider or a bank. So the money enter into an account in your bank.</p><p>There will probably be a little delay,, but it could be an intermediate account, depending on how detailed you want this.</p><p>Also talk to a local accountant about this.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2017-12-22T17:51:49Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30182#p30182</id>
		</entry>
</feed>
