<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Report of sales orders by salesman]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=3914</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=3914&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Report of sales orders by salesman.]]></description>
		<lastBuildDate>Fri, 22 Mar 2013 15:16:37 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Report of sales orders by salesman]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=16132#p16132</link>
			<description><![CDATA[<p>A new update with only info of what we want and by editing the 2 date inputs you can get the report with the dates you want</p><p>select 0_cust_branch.debtor_no,0_cust_branch.salesman,0_sales_orders.debtor_no,0_sales_orders.trans_type,0_sales_orders.total,0_sales_orders.ord_date, SUM(total) as &quot;total sales&quot;<br />&nbsp; &nbsp; &nbsp; &nbsp; from 0_sales_orders<br />&nbsp; &nbsp; &nbsp; &nbsp; inner join 0_cust_branch on 0_sales_orders.debtor_no = 0_cust_branch.debtor_no<br />&nbsp; &nbsp; &nbsp; &nbsp; where trans_type=30 and ord_date &gt;= &#039;2013-01-01&#039; and ord_date &lt;= &#039;2013-03-28&#039;<br />&nbsp; &nbsp; &nbsp; &nbsp; group by salesman</p>]]></description>
			<author><![CDATA[null@example.com (special)]]></author>
			<pubDate>Fri, 22 Mar 2013 15:16:37 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=16132#p16132</guid>
		</item>
		<item>
			<title><![CDATA[Re: Report of sales orders by salesman]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=15939#p15939</link>
			<description><![CDATA[<p>trying my luck in sql i have created this query:<br />select 0_cust_branch.*,0_sales_orders.*, SUM(total) as &quot;total sales&quot; <br />&nbsp; &nbsp; &nbsp; &nbsp; from 0_sales_orders<br />&nbsp; &nbsp; &nbsp; &nbsp; inner join 0_cust_branch on 0_sales_orders.debtor_no = 0_cust_branch.debtor_no<br />&nbsp; &nbsp; &nbsp; &nbsp; where trans_type=30<br />&nbsp; &nbsp; &nbsp; &nbsp; group by salesman</p><p>This will join the 2 tables cust_branch and sales_order then match debtor_no and sum the sales orders by salesman.<br />Tester and opinions are always welcomed :-)</p>]]></description>
			<author><![CDATA[null@example.com (special)]]></author>
			<pubDate>Thu, 07 Mar 2013 14:36:07 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=15939#p15939</guid>
		</item>
		<item>
			<title><![CDATA[Re: Report of sales orders by salesman]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=15919#p15919</link>
			<description><![CDATA[<p>Well none of the above is ok.Being trying to figure out what tables is needed i cant figure out exactly nor find any documantation on the sys_types table and what the describe.I have found that the id=32 is the sales order which in my case is what i need.Thens in sales_order table i can use the trans_type which is 32 to the sales order and from there debtor_no is the customer number and total is the amount of the given sales order money.Then using debtor_no and join it with table cust_branch&nbsp; debtor_no and use also salesman id to identify the salesman.</p><p>This is a quick look of table.I will try to make some sql querys for the above.Any help will be welcome especially for creating a new report.Will keep you informed.</p>]]></description>
			<author><![CDATA[null@example.com (special)]]></author>
			<pubDate>Wed, 06 Mar 2013 16:10:14 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=15919#p15919</guid>
		</item>
		<item>
			<title><![CDATA[Re: Report of sales orders by salesman]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=15901#p15901</link>
			<description><![CDATA[<p>Mockup of desired report would be useful along with name of report that nearly fits the bill.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Tue, 05 Mar 2013 15:08:58 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=15901#p15901</guid>
		</item>
		<item>
			<title><![CDATA[Re: Report of sales orders by salesman]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=15892#p15892</link>
			<description><![CDATA[<p>Did you try Sales / Inquiries and Reports / Customer and Sales Reports / Salesman Listing (under Reports For Class: Customer)?</p>]]></description>
			<author><![CDATA[null@example.com (doitashimashite)]]></author>
			<pubDate>Tue, 05 Mar 2013 11:06:24 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=15892#p15892</guid>
		</item>
		<item>
			<title><![CDATA[Report of sales orders by salesman]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=15879#p15879</link>
			<description><![CDATA[<p>hi, i am new to frontaccounting and i must say it is awesome and beats down several free and commercial software.I try to learn it and the wiki is excellent for reference.I have a problem only with the reporting.I see that we can have a report with the sales that have being paid by the customers and the ammount of the commition the salesman deserves.Is there any report where we can see the sales orders the salesman have commited?I have found a way in the audit trail but there is no amount only the sales order submitted and no amount,can someone help me to display also the amount?</p>]]></description>
			<author><![CDATA[null@example.com (special)]]></author>
			<pubDate>Mon, 04 Mar 2013 15:31:34 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=15879#p15879</guid>
		</item>
	</channel>
</rss>
