<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — trans_no in 0_debtor_trans table]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=5769&amp;type=atom" />
	<updated>2015-06-06T13:56:12Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=5769</id>
		<entry>
			<title type="html"><![CDATA[Re: trans_no in 0_debtor_trans table]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=23651#p23651" />
			<content type="html"><![CDATA[<p>Thanks apmuthu</p><p>I understand now</p>]]></content>
			<author>
				<name><![CDATA[jan12]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20465</uri>
			</author>
			<updated>2015-06-06T13:56:12Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=23651#p23651</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: trans_no in 0_debtor_trans table]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=23645#p23645" />
			<content type="html"><![CDATA[<p>To make sure that the new trans_nr is 1 more than the maximum of any previously allocated trans_nr which may or may not have been voided.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-06-06T01:59:51Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=23645#p23645</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: trans_no in 0_debtor_trans table]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=23637#p23637" />
			<content type="html"><![CDATA[<p>Thanks Joe</p><p>I see this happen, the trans_nr is now known to me</p><p>SELECT max(last_no) last_no FROM (<br />SELECT MAX(`trans_no`) as last_no FROM 0_debtor_trans WHERE `type`=&#039;13&#039; <br />UNION SELECT MAX(`id`) as last_no FROM 0_voided WHERE `type`=&#039;13&#039;) a</p><p>But what is the purpose of the voided table?</p>]]></content>
			<author>
				<name><![CDATA[jan12]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20465</uri>
			</author>
			<updated>2015-06-04T12:27:06Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=23637#p23637</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: trans_no in 0_debtor_trans table]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=23636#p23636" />
			<content type="html"><![CDATA[<p>This is an internal number created when the records are done. Normally you would use the reference number when sending the invoices out.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2015-06-04T10:21:39Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=23636#p23636</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[trans_no in 0_debtor_trans table]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=23634#p23634" />
			<content type="html"><![CDATA[<p>can someone explain to me what it is the trans_nr in the 0_debtor_trans , and where it comes from</p>]]></content>
			<author>
				<name><![CDATA[jan12]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20465</uri>
			</author>
			<updated>2015-06-04T07:42:29Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=23634#p23634</id>
		</entry>
</feed>
