<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Recurrent invoices and sales groups]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7051&amp;type=atom" />
	<updated>2018-04-20T14:15:49Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=7051</id>
		<entry>
			<title type="html"><![CDATA[Re: Recurrent invoices and sales groups]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=31462#p31462" />
			<content type="html"><![CDATA[<p>To list the sales group for each customer/branch add the following to Line 278 of rep103.php<br /></p><div class="codebox"><pre><code>if ($myrow[&#039;group_no&#039;] != 0) {
                $rep-&gt;NewLine();
                $rep-&gt;TextCol(2, 3, _(&#039;Group&#039;) . &quot;: &quot; . (get_sales_group_name($myrow[&quot;group_no&quot;])));
            }</code></pre></div><p>This works, however:-<br />For cust/bran. not assigned to a sales group nothing is written; this may be the preferred option as Sales Groups do not seem to be widely used, it can just be documented in the wiki.<br />Alternatively the following can be added to the above:-<br /></p><div class="codebox"><pre><code>            else { 
                $rep-&gt;NewLine();
                $rep-&gt;TextCol(2, 3, _(&#039;Group&#039;) . &quot;: &quot; . _(&#039;No assigned Sales Group&#039;));
            }</code></pre></div><p>Also I&#039;m not entirely happy with the position, but out of the 4 columns, the 3rd seems to be the best option; an alternative would be to give the sales group as a ‘sub-title’ on its own line? Unless anyone else has any other ideas?</p>]]></content>
			<author>
				<name><![CDATA[poncho1234]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19944</uri>
			</author>
			<updated>2018-04-20T14:15:49Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=31462#p31462</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Recurrent invoices and sales groups]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29114#p29114" />
			<content type="html"><![CDATA[<p>Yes, you are right, a <strong>cust_branch</strong> is required.</p><p><s>Thanks for the strike-through tip</s> Thats needs to be edited in <a href="https://frontaccounting.com/punbb/help.php?section=bbcode">BBCode</a> as it just says /[del/]/[/del/]</p>]]></content>
			<author>
				<name><![CDATA[poncho1234]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19944</uri>
			</author>
			<updated>2017-10-20T15:59:11Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29114#p29114</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Recurrent invoices and sales groups]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29113#p29113" />
			<content type="html"><![CDATA[<p>If two branches of a single customer are assigned to different Sales Groups, will your listing appear fine if the new Sales Group filter is in place?</p><p>The tag for <em>strike-through</em> here is <strong>del</strong> (in [ ] and [/ ]).</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-10-20T15:51:11Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29113#p29113</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Recurrent invoices and sales groups]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29112#p29112" />
			<content type="html"><![CDATA[<p>The current Customer Detail Listing report lists each customer followed by all branches of that customer, so the actual output of the report is fine (with the exception of no sales group).</p>]]></content>
			<author>
				<name><![CDATA[poncho1234]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19944</uri>
			</author>
			<updated>2017-10-20T15:30:46Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29112#p29112</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Recurrent invoices and sales groups]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29111#p29111" />
			<content type="html"><![CDATA[<p>You&#039;re right. The field <strong>group_no</strong> (Sales Group) is part of the <strong>#_cust_branch</strong> table and hence there can be only one Sales Group for one branch.</p><p>This means that you will also need to have a <em>cust_branch</em> filter if you want to make a report Sales Group - wise.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-10-20T14:39:05Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29111#p29111</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Recurrent invoices and sales groups]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29110#p29110" />
			<content type="html"><![CDATA[<p>How can you assign a branch to more than one sales group?</p>]]></content>
			<author>
				<name><![CDATA[poncho1234]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19944</uri>
			</author>
			<updated>2017-10-20T12:46:37Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29110#p29110</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Recurrent invoices and sales groups]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29104#p29104" />
			<content type="html"><![CDATA[<p><s>Then as it is still possible to assign the same branch to more than one sales group, the uniqueness of the requested filter would will cause erroneous sums in the resultant report.</s></p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-10-20T00:29:05Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29104#p29104</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Recurrent invoices and sales groups]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29103#p29103" />
			<content type="html"><![CDATA[<p><s>@apmuthu, you can assign a different sales group by branch if that&#039;s what you mean? Thinking about it that may be not what you meant. But branches are listed when you print the customer detail report</s></p><p>@apmuthu how do you write strike-through text? Google says [s][/] but this doesn&#039;t work as you can see.</p>]]></content>
			<author>
				<name><![CDATA[poncho1234]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19944</uri>
			</author>
			<updated>2017-10-19T18:28:57Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29103#p29103</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Recurrent invoices and sales groups]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29102#p29102" />
			<content type="html"><![CDATA[<p>@joe: makes sense?</p><p>What happens if a customer is in more than one sales group?</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-10-19T17:50:25Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29102#p29102</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Recurrent invoices and sales groups]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=29100#p29100" />
			<content type="html"><![CDATA[<p>From what I can see sales groups are only used in recurrent invoices; for sending a recurrent invoice to multiple customers: To manage this or to see which customer will get a recurrent invoice, it is necessary to wade through every customer to see which if any sales group they are assigned to; or keep a separate spreadsheet with this information on: Neither option is ideal and both leave plenty of room for human error. Its difficult with 50 customers, with hundreds...???</p><p>Proposal: Modify the existing Customer Detail Listing report to include sales group in the details shown and provide a drop-down menu in the Customer Detail Listing report to show by sales group (there is already 2 available - Sales areas &amp; Sales persons) It would then be easy to see which customer is in which sales group.</p>]]></content>
			<author>
				<name><![CDATA[poncho1234]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19944</uri>
			</author>
			<updated>2017-10-19T17:22:12Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=29100#p29100</id>
		</entry>
</feed>
