<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Invoice reference]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=1469&amp;type=atom" />
	<updated>2010-07-27T10:04:22Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=1469</id>
		<entry>
			<title type="html"><![CDATA[Re: Invoice reference]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=6610#p6610" />
			<content type="html"><![CDATA[<p>References are stored in transaction tables with a couple of exceptions. When transaction table&nbsp; does not have any reference field, this is stored in refs table.<br />Look in get_systype_db_info() function in references.inc file for more information. The uniqueness of reference is checked with is_new_reference() method (see references.inc).<br />NB the db scheme in this aspect is rather effect of long application history, than some sophisticated design.<br />Janusz</p>]]></content>
			<author>
				<name><![CDATA[itronics]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=89</uri>
			</author>
			<updated>2010-07-27T10:04:22Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=6610#p6610</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Invoice reference]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=6608#p6608" />
			<content type="html"><![CDATA[<p>At first I thought it was that simple...</p><p>There is many tables, some with auto-increment (debtor_trans_details, etc), some are indirectly referred by sys_types (debtor_trans). For every type of transaction, the next reference is kept there.</p><p>If you want an idea, you can use PHPMyadmin to look at it, or just look inside the a backup file to get another view.</p><p>You can also take a look at the Entity Relationship (ER) Diagram for FrontAccounting 2.2 , https://frontaccounting.com/wbt/pages/download/download-documentations.php</p><p>At first I thought it was simple...Powerfull softwares are often complex.</p><p>Gaston</p>]]></content>
			<author>
				<name><![CDATA[huotg01]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=983</uri>
			</author>
			<updated>2010-07-26T21:11:49Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=6608#p6608</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Invoice reference]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=6607#p6607" />
			<content type="html"><![CDATA[<p>Hi,</p><p>Where is the invoice reference stored in the database? I&#039;ve deleted some test invoices from the database using phpmyadmin, but I can&#039;t use the original invoice reference anymore because it is allready used.</p><p>Thanks.</p>]]></content>
			<author>
				<name><![CDATA[docusave]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=1363</uri>
			</author>
			<updated>2010-07-26T19:08:18Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=6607#p6607</id>
		</entry>
</feed>
