<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Recurrent invoices uses customer pricelist instead of template prices]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=1516</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=1516&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Recurrent invoices uses customer pricelist instead of template prices.]]></description>
		<lastBuildDate>Wed, 01 Sep 2010 21:52:18 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Recurrent invoices uses customer pricelist instead of template prices]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=6834#p6834</link>
			<description><![CDATA[<p>We have to take into consideration the currency, if used.<br />We are still considering. If this is going to be an option, we need another field in the recurrent invoice, and the database for 2.3 is locked, so this will first be implemented in 2.4 if we do so.<br />In the meantime, you can do what Gerhard suggest.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Wed, 01 Sep 2010 21:52:18 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=6834#p6834</guid>
		</item>
		<item>
			<title><![CDATA[Re: Recurrent invoices uses customer pricelist instead of template prices]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=6833#p6833</link>
			<description><![CDATA[<p>Can we add an option to the template where we can choose which price to use.<br />I have removed the line in the file /sales/includes/sales_db.inc<br />Line 86<br />function get_price ($stock_id, $currency, $sales_type_id, $factor=null, $date=null)</p><p>Now the price on the template is being used but this means that the templates needs to be updated as soon as a price change is in effect, which in my case are only maybe once a year.</p>]]></description>
			<author><![CDATA[null@example.com (Gerhard)]]></author>
			<pubDate>Wed, 01 Sep 2010 18:42:26 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=6833#p6833</guid>
		</item>
		<item>
			<title><![CDATA[Re: Recurrent invoices uses customer pricelist instead of template prices]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=6830#p6830</link>
			<description><![CDATA[<p>Joe, if you need some extra input from our side, just let me know.</p>]]></description>
			<author><![CDATA[null@example.com (jackel7007)]]></author>
			<pubDate>Wed, 01 Sep 2010 07:04:09 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=6830#p6830</guid>
		</item>
		<item>
			<title><![CDATA[Re: Recurrent invoices uses customer pricelist instead of template prices]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=6825#p6825</link>
			<description><![CDATA[<p>Hello, I see what you mean. We will have to do some internal descussions about this. </p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Tue, 31 Aug 2010 15:20:35 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=6825#p6825</guid>
		</item>
		<item>
			<title><![CDATA[Re: Recurrent invoices uses customer pricelist instead of template prices]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=6824#p6824</link>
			<description><![CDATA[<p>Joe,</p><p>I see it working in this way, but i think there would be an easyer way, let me try to write it down for you.</p><p>Let&#039;s say we have 2 pricelists, one for the regular prices, and one with discount prices.<br />In your example we have 2 possibilities:<br />1. regular prices<br />2. discount price on everything.</p><p>But let&#039;s take an insurance company for example.<br />The more products you conclude the more reduction you get.<br />So the first product is regular price, the second product gets discount, etc etc.</p><p>In the current way of Frontaccounting this is not possible, since you have a pricelist for each person. A workaround would be to make a specific pricelist for each customer but with 100&#039;s of clients this is not workable.</p><p>If the pricelist linked to an template is used, we can serve 100&#039;s of customers with just 2 pricelists. This means the first product is bought from the first list, and the second (and other products) are bought from a list with reduction on it.</p><p>I hope my example is clear enough, it&#039;s quite a complicated story...</p><br /><p>Kind regards,<br />Jack</p>]]></description>
			<author><![CDATA[null@example.com (jackel7007)]]></author>
			<pubDate>Tue, 31 Aug 2010 14:15:07 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=6824#p6824</guid>
		</item>
		<item>
			<title><![CDATA[Re: Recurrent invoices uses customer pricelist instead of template prices]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=6823#p6823</link>
			<description><![CDATA[<p>Just to ensure that we are not misunderstanding each other.<br />When the line prices are calculated it uses the current customers (that are addresses in the recurrent invoice) sales type and/or currency.<br />Not the price from the template. The template is only telling which items are to go on the recurrent invoice and are not linked to the customers that are receiving the invoice. <br />I hope it works that way.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Tue, 31 Aug 2010 10:50:39 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=6823#p6823</guid>
		</item>
		<item>
			<title><![CDATA[Re: Recurrent invoices uses customer pricelist instead of template prices]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=6822#p6822</link>
			<description><![CDATA[<p>Joe,</p><p>we did the test on the demo server.</p><p>I created all the needed items (client, company etc) with the name Jack<br />We made 2 price lists, jack and jackreduction</p><p>When we go to the customer Jack we see Sales Type/Price List: Jack </p><p>The item we are buying is a 17 inch VGA screen item number 102<br />price on Jack: 100<br />price on Jackreduction: 50</p><p>Now we create a template, where we used the Jackreduction.<br />Sales Order #539 and the price is 50</p><p>Then we create an recurrent invoice with use of 539 as template and print it.<br />When we nog checkout customer transactions we see Sales Invoice #478 with a total of 110 and not 55 as expected.</p><p>it seems, the invoice is made using the sale price linked to the customer instead of the price linked to the template.</p>]]></description>
			<author><![CDATA[null@example.com (jackel7007)]]></author>
			<pubDate>Tue, 31 Aug 2010 10:09:05 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=6822#p6822</guid>
		</item>
		<item>
			<title><![CDATA[Re: Recurrent invoices uses customer pricelist instead of template prices]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=6819#p6819</link>
			<description><![CDATA[<p>Yes, please try if you can reproduce your error in the demo.<br />If you get an error, then let it be on the demo, so I can follow it.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Mon, 30 Aug 2010 14:48:02 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=6819#p6819</guid>
		</item>
		<item>
			<title><![CDATA[Re: Recurrent invoices uses customer pricelist instead of template prices]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=6818#p6818</link>
			<description><![CDATA[<p>Joe,</p><p>I am pretty sure that all is setup correctly,<br />can you confirm me that this is not a known bug in 2.1.2 and has been fixed a while ago?</p><p>if it&#039;s not known, i will try in the online demo and see if i can reproduce it.</p>]]></description>
			<author><![CDATA[null@example.com (jackel7007)]]></author>
			<pubDate>Mon, 30 Aug 2010 14:27:03 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=6818#p6818</guid>
		</item>
		<item>
			<title><![CDATA[Re: Recurrent invoices uses customer pricelist instead of template prices]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=6817#p6817</link>
			<description><![CDATA[<p>Hello,<br />Are you sure you have set things up correctly. These routines have been tested rigoriously.<br />The algorithm to get the line prices can be found here:</p><p>In the file /sales/includes/sales_db.inc</p><p>Line 86<br />function get_price ($stock_id, $currency, $sales_type_id, $factor=null, $date=null)</p><p>Please look and try to follow the algorithms to see that it really does many operations depeding on how you have set up the prices.</p><p>/Joe</p>]]></description>
			<author><![CDATA[null@example.com (joe)]]></author>
			<pubDate>Mon, 30 Aug 2010 11:05:53 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=6817#p6817</guid>
		</item>
		<item>
			<title><![CDATA[Recurrent invoices uses customer pricelist instead of template prices]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=6815#p6815</link>
			<description><![CDATA[<p>When i create a recurrent invoice, i need to choose a pricing and a template.<br />I expect that frontaccounting uses the pricing to generate the prices, but instead of this it uses the pricing from the template.</p><p>We are aware that we are using an older version of FA, 2.1.2 but i couldn&#039;t find anything on this in the changelog, so i assume it hasn&#039;t changed since 2.1.2.</p>]]></description>
			<author><![CDATA[null@example.com (jackel7007)]]></author>
			<pubDate>Mon, 30 Aug 2010 08:08:07 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=6815#p6815</guid>
		</item>
	</channel>
</rss>
