<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — "charge to" field]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=3859&amp;type=atom" />
	<updated>2013-03-02T17:25:22Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=3859</id>
		<entry>
			<title type="html"><![CDATA[Re: "charge to" field]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15859#p15859" />
			<content type="html"><![CDATA[<p><a href="https://frontaccounting.com/fawiki/index.php?n=Help.ReportsAndAnalysis"><strong>Wiki</strong></a>-ed it.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2013-03-02T17:25:22Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15859#p15859</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: "charge to" field]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15837#p15837" />
			<content type="html"><![CDATA[<p>Yes, of course. Sorry and thanks. <img src="https://frontaccounting.com/punbb/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2013-02-28T07:18:03Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15837#p15837</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: "charge to" field]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15830#p15830" />
			<content type="html"><![CDATA[<p>should the path be</p><p>/sales/includes/db/sales_order_db.inc</p><p>?</p><p>Eric</p><div class="quotebox"><cite>joe wrote:</cite><blockquote><p>Well, there was a minor bug in /sales/includes/sales_order_db.inc that eliminated the fallback.</p><p>It is now fixed in the HG repo. The file is also attached here:</p><p>/Joe</p></blockquote></div>]]></content>
			<author>
				<name><![CDATA[ericta]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=5299</uri>
			</author>
			<updated>2013-02-27T23:06:59Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15830#p15830</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: "charge to" field]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15803#p15803" />
			<content type="html"><![CDATA[<p>Joe:</p><p>Thanks, you are always a big help.</p><p>ed10</p>]]></content>
			<author>
				<name><![CDATA[ed10]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=1686</uri>
			</author>
			<updated>2013-02-25T14:50:27Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15803#p15803</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: "charge to" field]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15794#p15794" />
			<content type="html"><![CDATA[<p>Well, there was a minor bug in /sales/includes/sales_order_db.inc that eliminated the fallback.</p><p>It is now fixed in the HG repo. The file is also attached here:</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2013-02-25T09:59:47Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15794#p15794</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: "charge to" field]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15777#p15777" />
			<content type="html"><![CDATA[<p>I guess, that if there is no branch billing address, then it should use the customer address. I will ask Janusz, why it has been changed to this.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2013-02-24T14:44:05Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15777#p15777</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: "charge to" field]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15776#p15776" />
			<content type="html"><![CDATA[<p>Joe:</p><p>I entered a customer in the 2.3 demo:&nbsp; anewtestcustomer.&nbsp; I left the branch billing adress empty and when I print a sales order for that customer the charge to address is empty.&nbsp; I seems that the branch billing address is always used?</p><div class="quotebox"><cite>joe wrote:</cite><blockquote><p>I am sorry. I gave you a wrong directive. If the branch has its own billing address it is used here in &#039;charge to&#039;. otherwise it is not used at all. It should still have its own mailing address for the delivery fields.</p><p>When the delivery and/or invoice is sent the customers address is used in &#039;charge to&#039;.</p><p>/Joe</p></blockquote></div><p>ed10</p>]]></content>
			<author>
				<name><![CDATA[ed10]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=1686</uri>
			</author>
			<updated>2013-02-24T14:21:10Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15776#p15776</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: "charge to" field]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15762#p15762" />
			<content type="html"><![CDATA[<p>Janusz:</p><p>In the line below, where does the formData[&#039;br_name&#039;] get set?&nbsp; I can&#039;t find it. I am having the same problem as Eric except sometimes I need to charge the branch so have to do a bit more changing.</p><div class="quotebox"><cite>ericta wrote:</cite><blockquote><p>&#039;name&#039; =&gt; @$this-&gt;formData[&#039;br_name&#039;] ? $this-&gt;formData[&#039;br_name&#039;] : @$this-&gt;formData[&#039;DebtorName&#039;],</p></blockquote></div><br /><p>Thanks,</p><p>ed10</p>]]></content>
			<author>
				<name><![CDATA[ed10]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=1686</uri>
			</author>
			<updated>2013-02-23T22:56:58Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15762#p15762</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: "charge to" field]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15727#p15727" />
			<content type="html"><![CDATA[<p>Got it. </p><p>change line 44 and 62 from<br />_(&quot;Customer&#039;s Reference&quot;) =&gt; $this-&gt;formData[&quot;customer_ref&quot;],<br />to<br />_(&quot;Customer&#039;s Reference&quot;) =&gt; $this-&gt;formData[&quot;name&quot;],</p><p>Thank you<br />Eric</p>]]></content>
			<author>
				<name><![CDATA[ericta]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=5299</uri>
			</author>
			<updated>2013-02-20T03:00:49Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15727#p15727</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: "charge to" field]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15724#p15724" />
			<content type="html"><![CDATA[<p>My bad,&nbsp; ten use &#039;name&#039; instead of &#039;DebtorName&#039;.<br />Janusz</p>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2013-02-19T20:55:58Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15724#p15724</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: "charge to" field]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15716#p15716" />
			<content type="html"><![CDATA[<p>I did a test and insert<br />&#039;name&#039; =&gt; @$this-&gt;formData[&#039;DebtorName&#039;],</p><p>returns nothing on the screen.<br />Does &quot;DebtorName&#039; hold any value at all? <br />My programing skill is very limited. Thank you for your time.</p><p>Eric</p>]]></content>
			<author>
				<name><![CDATA[ericta]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=5299</uri>
			</author>
			<updated>2013-02-19T16:08:13Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15716#p15716</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: "charge to" field]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15709#p15709" />
			<content type="html"><![CDATA[<p>I think you need change it to <br />&#039;name&#039; =&gt; @$this-&gt;formData[&#039;DebtorName&#039;],</p><p>(not tested though - I&#039;m not sure whether DebtorName is defined for all types of report)<br />Janusz</p>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2013-02-19T07:25:54Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15709#p15709</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: "charge to" field]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15705#p15705" />
			<content type="html"><![CDATA[<p>Hi Janusz,</p><p>I&#039;d like to change line 19<br />&#039;name&#039; =&gt; @$this-&gt;formData[&#039;br_name&#039;] ? $this-&gt;formData[&#039;br_name&#039;] : @$this-&gt;formData[&#039;DebtorName&#039;],<br />to <br />&#039;name&#039; =&gt; @$this-&gt;formData[&#039;customerName&#039;],</p><p>what&#039;s the name reference to customer name?</p><p>Thank you<br />Eric</p>]]></content>
			<author>
				<name><![CDATA[ericta]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=5299</uri>
			</author>
			<updated>2013-02-19T01:44:47Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15705#p15705</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: "charge to" field]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15698#p15698" />
			<content type="html"><![CDATA[<p>Oh, yes, this has changes long time ago, back in 2011. This was changed to make possible having branches charged directly.</p><p>But you can set the name and billing address for the branch the same at it is set for customer (keep branch short name unique to easy recognise branches in selectors). If this is still problem (e.g. you have big database with mostly multibranch customers) you can fix the charge data in reporting/includes/doctext.inc file about line 18-20&nbsp; (the code should be self explanatory).</p><p>Janusz</p>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2013-02-18T23:09:10Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15698#p15698</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: "charge to" field]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=15688#p15688" />
			<content type="html"><![CDATA[<p>I&#039;m using 2.3.14</p><p>let&#039;s say we create a customer: &quot;Mark&quot;, a branch &quot;DD Towing&quot; under his name.<br />the sales quote or order pdf will display &quot;DD Towing&quot; in &quot;charge to&quot; and &quot;deliver to&quot; field instead of &quot;Mark&quot; in &quot;charge to&quot; field, &quot;DD Towing&quot; in &quot;deliver to&quot; field like earlier version 2.3.6</p><br /><p>Thank you<br />Eric</p>]]></content>
			<author>
				<name><![CDATA[ericta]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=5299</uri>
			</author>
			<updated>2013-02-18T12:40:23Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=15688#p15688</id>
		</entry>
</feed>
