<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Duplicated Invoice Numbers if 2 users generating invoices at same time]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=6036&amp;type=atom" />
	<updated>2019-06-14T16:43:35Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=6036</id>
		<entry>
			<title type="html"><![CDATA[Re: Duplicated Invoice Numbers if 2 users generating invoices at same time]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=35191#p35191" />
			<content type="html"><![CDATA[<p>Yes that would be correct:-</p><p>C, B, S and L are still to be implemented as stated in post 22</p>]]></content>
			<author>
				<name><![CDATA[poncho1234]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19944</uri>
			</author>
			<updated>2019-06-14T16:43:35Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=35191#p35191</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Duplicated Invoice Numbers if 2 users generating invoices at same time]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=35189#p35189" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>poncho1234 wrote:</cite><blockquote><p> {C} works in sales direct invoice but only after page refresh</p></blockquote></div><p>Attempts to set reference {C} gives me the error <br />Invalid placeholder &#039;C&#039;. Placeholders allowed for this transaction type are: MM,YY,YYYY,UU,P.</p>]]></content>
			<author>
				<name><![CDATA[Technicavolous]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=44575</uri>
			</author>
			<updated>2019-06-14T16:08:41Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=35189#p35189</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Duplicated Invoice Numbers if 2 users generating invoices at same time]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34336#p34336" />
			<content type="html"><![CDATA[<p>I have given you some wrong information, it looks like {L} cannot be used in a sales order, if you look at File:includes\references.inc lines 27 - 52 it states which placeholders can be used in which transaction type.<br />Which leaves using pos; but for pos to work using location each user would have to be assigned a pos and therefore location. Which means you would need multiple log-ins per user which is not really practicable.</p><p>Edit it also seems that the following is not fully implemented yet:-</p><div class="codebox"><pre><code>File:includes\references.inc
63: //    &#039;C&#039; =&gt; &#039;customer&#039;,
64: //    &#039;B&#039; =&gt; &#039;branch&#039;,
65: //    &#039;S&#039; =&gt; &#039;supplier&#039;,
66: //    &#039;L&#039; =&gt; &#039;location&#039;</code></pre></div><p>So please comment those lines again and remove any used from transaction refs</p><p>There is more info in <a href="https://frontaccounting.com/fawiki/index.php?n=Help.TransactionReferences?setlang=en">this wiki page</a> This pages will inform you of what place holders can be used in which transaction type.</p><p>My own testing results in the following:-</p><p>{C} works in sales direct invoice but only after page refresh</p><p>{B} in sales direct invoice gives a warning &#039;Missing refline context data: &#039;branch&#039;&#039; and gives a &#039;B&#039; in ref #<br />{S} &amp; {L} in supplier invoice gives a warning &#039;&#039;Missing refline context data: &#039;supplier&#039;/ &#039;location&#039; and gives a &#039;S&#039;/&#039;L&#039; in ref #</p>]]></content>
			<author>
				<name><![CDATA[poncho1234]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19944</uri>
			</author>
			<updated>2019-02-24T16:09:15Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34336#p34336</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Duplicated Invoice Numbers if 2 users generating invoices at same time]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34334#p34334" />
			<content type="html"><![CDATA[<p><s>Read post 7 above:-</s></p><p><s>you need to uncomment:-</s></p><br /><p><s>File:includes\references.inc<br />63: //&nbsp; &nbsp; &#039;C&#039; =&gt; &#039;customer&#039;,<br />64: //&nbsp; &nbsp; &#039;B&#039; =&gt; &#039;branch&#039;,<br />65: //&nbsp; &nbsp; &#039;S&#039; =&gt; &#039;supplier&#039;,<br />66: //&nbsp; &nbsp; &#039;L&#039; =&gt; &#039;location&#039;</s></p><br /><p><s>So that it reads as this:-</s></p><p><s>File:includes\references.inc<br />63:&nbsp; &nbsp; &nbsp;&#039;C&#039; =&gt; &#039;customer&#039;,<br />64:&nbsp; &nbsp; &nbsp;&#039;B&#039; =&gt; &#039;branch&#039;,<br />65:&nbsp; &nbsp; &nbsp;&#039;S&#039; =&gt; &#039;supplier&#039;,<br />66:&nbsp; &nbsp; &nbsp;&#039;L&#039; =&gt; &#039;location&#039;</s></p><p><s></s><br />This is not currently implemented</p>]]></content>
			<author>
				<name><![CDATA[poncho1234]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19944</uri>
			</author>
			<updated>2019-02-24T00:54:17Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34334#p34334</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Duplicated Invoice Numbers if 2 users generating invoices at same time]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34331#p34331" />
			<content type="html"><![CDATA[<p>It display this error:<br />Invalid placeholder &#039;L&#039;. Placeholders allowed for this transaction type are: MM,YY,YYYY,UU,P.<br />i try it at sales invoice</p>]]></content>
			<author>
				<name><![CDATA[bahashin]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=43477</uri>
			</author>
			<updated>2019-02-23T20:51:56Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34331#p34331</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Duplicated Invoice Numbers if 2 users generating invoices at same time]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34329#p34329" />
			<content type="html"><![CDATA[<p>???? Along side the {UU} add a {L} you can separate them with a &#039;-&#039; or a &#039;/&#039; if you want.</p><p>So some examples:-</p><p>{YY}/{MM}-{001} exactly as it is written with curly brackets and YY &amp; MM. example gives 19/02-001</p><p>{YY}{MM}-{001} exactly as it is written with curly brackets gives 1902-001</p><p><s>{YYYY}/{MM}-{UU}/{L}-{001} exactly as it is written with curly brackets gives 2019/02-07/4-001 where 07 = user number and 4 = location number</s></p><p><s>{YY}/{MM}/{UU}/{L}/{A001} exactly as it is written with curly brackets gives 19/02/07/4/A001 where 07 = user number and 4 = location number</s></p><p>{YYYY}/{MM}-{UU}-{001} exactly as it is written with curly brackets gives 2019/02-07-001 where 07 = user number</p><p>{YY}/{MM}/{UU}/{A001} exactly as it is written with curly brackets gives 19/02/07/A001 where 07 = user number</p><p>You can add or remove placeholders <s>as you want...</s> as per this <a href="https://frontaccounting.com/fawiki/index.php?n=Help.TransactionReferences?setlang=en"> this wiki page</a> see the code block following &#039;Supported special fields for each transaction type: &#039;</p><p>Experiment on your trial company</p><p><s>When you sell an item you have an option to sell from a location which you can select, this is the location that will used in the ref #</s></p><p>You can read about locations <a href="https://frontaccounting.com/fawiki/index.php?n=Help.InventoryLocations">here.</a></p>]]></content>
			<author>
				<name><![CDATA[poncho1234]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19944</uri>
			</author>
			<updated>2019-02-23T20:19:19Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34329#p34329</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Duplicated Invoice Numbers if 2 users generating invoices at same time]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34328#p34328" />
			<content type="html"><![CDATA[<p>Dear Poncho<br />I really appreciate your time for help ...<br />I create new inventory location ...and also tried with point of sale and even i create new sales areas ...<br />the problem is how can i link this with the reference number ?</p>]]></content>
			<author>
				<name><![CDATA[bahashin]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=43477</uri>
			</author>
			<updated>2019-02-23T19:14:58Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34328#p34328</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Duplicated Invoice Numbers if 2 users generating invoices at same time]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34327#p34327" />
			<content type="html"><![CDATA[<p>You may be able to use<s>either</s>:-<br /><s>1. {L} - Location, you will have to define each country as a location and sell from that location<br />Or<br />2.</s>{P} - pos - Point Of Sale, each pos needs to be defined in setup against a location, which does come back to option 1. </p><p><s>In both cases</s>you will probably get just a number (of the location or pos), but you and your users will know what number each country is.</p><p>Please try on your training company first and report back for completeness.</p><p><s>Edit: I&#039;ve had a quick look, it appears that pos can only be assigned to each user, which leaves just option 1.</s></p>]]></content>
			<author>
				<name><![CDATA[poncho1234]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19944</uri>
			</author>
			<updated>2019-02-23T18:10:03Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34327#p34327</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Duplicated Invoice Numbers if 2 users generating invoices at same time]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34326#p34326" />
			<content type="html"><![CDATA[<p>Dear Poncho<br />So thanks<br />But my question is: Is it possible to use the Prefix automatically without user selection ...I specify many prefix for the same sales invoice as example ...i e RYD and JED ...but the problem is the user has to select between these prefix ...<br />Is it possible to make this prefix automatic comes with each user without his selection ?<br />Or is there any way that i can link the user with specific Prefix ?</p>]]></content>
			<author>
				<name><![CDATA[bahashin]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=43477</uri>
			</author>
			<updated>2019-02-23T17:35:37Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34326#p34326</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Duplicated Invoice Numbers if 2 users generating invoices at same time]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34323#p34323" />
			<content type="html"><![CDATA[<p>At the beginning of Reference Pattern: you will see another box, you can add a preffix in there. <br />If you have already used the transaction ref, you may not be able to edit the prefix, so in this case make a new transaction reference</p>]]></content>
			<author>
				<name><![CDATA[poncho1234]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19944</uri>
			</author>
			<updated>2019-02-23T13:12:54Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34323#p34323</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Duplicated Invoice Numbers if 2 users generating invoices at same time]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34319#p34319" />
			<content type="html"><![CDATA[<p>i am trying to use the Prefix with each specific area for our branches ...i.e JED , RYD<br />Is it possible to make the Prefix comes automatically without user selection when they issues the transaction ..?</p>]]></content>
			<author>
				<name><![CDATA[bahashin]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=43477</uri>
			</author>
			<updated>2019-02-23T07:10:32Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34319#p34319</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Duplicated Invoice Numbers if 2 users generating invoices at same time]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34318#p34318" />
			<content type="html"><![CDATA[<p>Dear Apmuthu<br />So thanks <br />It works now <br />I appreciate your guide</p>]]></content>
			<author>
				<name><![CDATA[bahashin]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=43477</uri>
			</author>
			<updated>2019-02-23T06:54:37Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34318#p34318</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Duplicated Invoice Numbers if 2 users generating invoices at same time]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34317#p34317" />
			<content type="html"><![CDATA[<p>Dear Apmuthu<br />So thanks for help<br />I tried to include that in transaction reference but i get this error<br />Missing numeric placeholder. If you want to use template based references, you have to define numeric placeholder too.</p>]]></content>
			<author>
				<name><![CDATA[bahashin]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=43477</uri>
			</author>
			<updated>2019-02-23T06:47:29Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34317#p34317</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Duplicated Invoice Numbers if 2 users generating invoices at same time]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34312#p34312" />
			<content type="html"><![CDATA[<p><strong>Setup =&gt; Transaction References</strong> =&gt; Edit the &quot;Pattern&quot; field to include <strong>{UU}</strong> somewhere in it so that each user will have their own numbering.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2019-02-23T05:47:35Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34312#p34312</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Duplicated Invoice Numbers if 2 users generating invoices at same time]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34311#p34311" />
			<content type="html"><![CDATA[<p>Dear Ponocho<br />I appreciate your feedback ...but my question is how can i use {UU} ...is it some thing that i have to change in the <br />references.inc file or just some modification in Transaction References menu ?</p>]]></content>
			<author>
				<name><![CDATA[bahashin]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=43477</uri>
			</author>
			<updated>2019-02-22T22:22:37Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34311#p34311</id>
		</entry>
</feed>
