<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — different Pricelist]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=199&amp;type=atom" />
	<updated>2015-02-11T13:52:48Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=199</id>
		<entry>
			<title type="html"><![CDATA[Re: different Pricelist]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22488#p22488" />
			<content type="html"><![CDATA[<p>You can maintain your pricelist in a separate private table and delete the original table in FA called <strong>#_prices</strong> and create a view of your private table called <strong>#_prices</strong> where <strong>#</strong> is the table prefix for the company. The fields in the view must match those in the original table:<br /></p><div class="codebox"><pre><code>CREATE TABLE `0_prices` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `stock_id` varchar(20) NOT NULL DEFAULT &#039;&#039;,
  `sales_type_id` int(11) NOT NULL DEFAULT &#039;0&#039;,
  `curr_abrev` char(3) NOT NULL DEFAULT &#039;&#039;,
  `price` double NOT NULL DEFAULT &#039;0&#039;,
  PRIMARY KEY (`id`),
  UNIQUE KEY `price` (`stock_id`,`sales_type_id`,`curr_abrev`)
) ENGINE=MyISAM;</code></pre></div><p>Assuming your private table is called <strong>myprices</strong> and your company prefix is <strong>1</strong>, then your sqls necessary to replace the 1_prices table would be:<br /></p><div class="codebox"><pre><code>DROP TABLE `1_prices`;
CREATE VIEW `1_prices` AS
 (SELECT
 id AS id,
 stock_id AS stock_id,
 sales_type_id AS sales_type_id,
 curr_abrev AS curr_abrev,
 price AS price 
 FROM myprices);</code></pre></div><p>Alter the above VIEW&#039;s sql to suit your private table&#039;s actual field names for the source fields but retain the field aliases as it is.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2015-02-11T13:52:48Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22488#p22488</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: different Pricelist]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=22486#p22486" />
			<content type="html"><![CDATA[<p>pricelist private setup in frontaccounting system..</p><br /><br /><br /><p>__________________<br />Are you interested in <a href="http://www.braindumps.com/70-413.htm">70-640</a> Get our self paced <a href="http://www.braindumps.com/training/ccna-certification.htm">braindumps.com - ccna wireless</a> and passguide itil study <a href="http://www.pba.edu/">pba</a> to pass your <a href="http://en.wikipedia.org/wiki/Hobe_Sound_Bible_College">Hobe Sound Bible College</a> without any difficulty in selftestengine lsat.</p>]]></content>
			<author>
				<name><![CDATA[xboxxerr]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=20096</uri>
			</author>
			<updated>2015-02-11T11:02:24Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=22486#p22486</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: different Pricelist]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=595#p595" />
			<content type="html"><![CDATA[<p>I think you should look at the add-on module, Import CVS Items lists. Here you can probably get some ideas about how to do that.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2008-04-22T14:48:55Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=595#p595</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[different Pricelist]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=593#p593" />
			<content type="html"><![CDATA[<p>hello all,</p><p>i want to do create order when i choose a item an automaticly select price..but i want price reference don&#039;t come from inventory but from my external pricelist</p><p>external pricelist mean we have a pricelist private setup in frontaccounting system..</p><p>how to do that friends..</p><p>thanks a lot</p>]]></content>
			<author>
				<name><![CDATA[gurning]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=119</uri>
			</author>
			<updated>2008-04-22T12:09:15Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=593#p593</id>
		</entry>
</feed>
