<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Customer Detail Listing]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7861&amp;type=atom" />
	<updated>2018-12-08T15:03:18Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=7861</id>
		<entry>
			<title type="html"><![CDATA[Re: Customer Detail Listing]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=33537#p33537" />
			<content type="html"><![CDATA[<p>The fields were made available for the report. You need to write the code in the place where you want it to go.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2018-12-08T15:03:18Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=33537#p33537</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Customer Detail Listing]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=33533#p33533" />
			<content type="html"><![CDATA[<p>not view this field in report </p><p>plz attach file</p>]]></content>
			<author>
				<name><![CDATA[almohasb]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18218</uri>
			</author>
			<updated>2018-12-08T14:47:00Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=33533#p33533</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Customer Detail Listing]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=33509#p33509" />
			<content type="html"><![CDATA[<p>You need to alter the <strong>reporting/rep103.php</strong> file.</p><p>Lines 30 to 53 in it:<br /></p><div class="codebox"><pre><code>function get_customer_details_for_report($area=0, $salesid=0)
{
    $sql = &quot;SELECT debtor.debtor_no,
            debtor.name,
            debtor.address,
            debtor.curr_code,
            debtor.dimension_id,
            debtor.dimension2_id,
            debtor.notes,
            pricelist.sales_type,
            branch.branch_code,
            branch.br_name,
            branch.br_address,
            branch.br_post_address,
            branch.area,
            branch.salesman,
            area.description,
            salesman.salesman_name
        FROM &quot;.TB_PREF.&quot;debtors_master debtor
        INNER JOIN &quot;.TB_PREF.&quot;cust_branch branch ON debtor.debtor_no=branch.debtor_no
        INNER JOIN &quot;.TB_PREF.&quot;sales_types pricelist    ON debtor.sales_type=pricelist.id
        INNER JOIN &quot;.TB_PREF.&quot;areas area ON branch.area = area.area_code
        INNER JOIN &quot;.TB_PREF.&quot;salesman salesman    ON branch.salesman=salesman.salesman_code
        WHERE debtor.inactive = 0&quot;;</code></pre></div><p>may be replaced with:<br /></p><div class="codebox"><pre><code>function get_customer_details_for_report($area=0, $salesid=0)
{
    $sql = &quot;SELECT debtor.debtor_no,
            debtor.name,
            debtor.address,
            debtor.curr_code,
            debtor.dimension_id,
            debtor.dimension2_id,
            pt.terms,
            debtor.credit_limit,
            debtor.notes,
            pricelist.sales_type,
            branch.branch_code,
            branch.br_name,
            branch.br_address,
            branch.br_post_address,
            branch.area,
            branch.salesman,
            area.description,
            salesman.salesman_name
        FROM &quot;.TB_PREF.&quot;debtors_master debtor
        INNER JOIN &quot;.TB_PREF.&quot;cust_branch branch ON debtor.debtor_no=branch.debtor_no
        INNER JOIN &quot;.TB_PREF.&quot;sales_types pricelist    ON debtor.sales_type=pricelist.id
        INNER JOIN &quot;.TB_PREF.&quot;areas area ON branch.area = area.area_code
        INNER JOIN &quot;.TB_PREF.&quot;salesman salesman    ON branch.salesman=salesman.salesman_code
        INNER JOIN &quot;.TB_PREF.&quot;payment_terms pt ON debtor.payment_terms=pt.terms_indicator
        WHERE debtor.inactive = 0&quot;;</code></pre></div><p>The necessary fields will now be available for placement as needed in the report.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2018-12-07T15:35:31Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=33509#p33509</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Customer Detail Listing]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=33495#p33495" />
			<content type="html"><![CDATA[<p>in report Customer Detail Listing<br />i need add in report customer<br />Credit Limit:&nbsp; &nbsp; <br />Payment Terms:&nbsp; &nbsp; </p><p>in report<br />how this ?</p>]]></content>
			<author>
				<name><![CDATA[almohasb]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=18218</uri>
			</author>
			<updated>2018-12-06T10:32:25Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=33495#p33495</id>
		</entry>
</feed>
