<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wikido.isoftdata.com//index.php?action=history&amp;feed=atom&amp;title=Talk%3AITrack%2FEnterprise%2FRemote_Store_Sales</id>
	<title>Talk:ITrack/Enterprise/Remote Store Sales - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wikido.isoftdata.com//index.php?action=history&amp;feed=atom&amp;title=Talk%3AITrack%2FEnterprise%2FRemote_Store_Sales"/>
	<link rel="alternate" type="text/html" href="https://wikido.isoftdata.com//index.php?title=Talk:ITrack/Enterprise/Remote_Store_Sales&amp;action=history"/>
	<updated>2026-04-28T21:45:54Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://wikido.isoftdata.com//index.php?title=Talk:ITrack/Enterprise/Remote_Store_Sales&amp;diff=2325&amp;oldid=prev</id>
		<title>Jmckinstry: New page: = Remote Store Sales = Enterprise provides the ability to control which stores are allowed to sell to other stores, as well as which, if you so wish.  This is done by enabling the store se...</title>
		<link rel="alternate" type="text/html" href="https://wikido.isoftdata.com//index.php?title=Talk:ITrack/Enterprise/Remote_Store_Sales&amp;diff=2325&amp;oldid=prev"/>
		<updated>2009-11-02T17:33:55Z</updated>

		<summary type="html">&lt;p&gt;New page: = Remote Store Sales = Enterprise provides the ability to control which stores are allowed to sell to other stores, as well as which, if you so wish.  This is done by enabling the store se...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Remote Store Sales =&lt;br /&gt;
Enterprise provides the ability to control which stores are allowed to sell to other stores, as well as which, if you so wish.  This is done by enabling the store setting &amp;#039;&amp;#039;&amp;#039;Remote Sales: Enable regulation of remote sales&amp;#039;&amp;#039;&amp;#039;.&lt;br /&gt;
&lt;br /&gt;
== Controlling Remote Store Sales ==&lt;br /&gt;
Currently, there is no user interface for modifying the remote stores list, so the changes have to be made directly on the database.  The table &amp;#039;&amp;#039;&amp;#039;storeremotesales&amp;#039;&amp;#039;&amp;#039; controls which stores are able to sell to others, and determines which.  In order to see which stores a specific store can sell to, you can run the following query:&lt;br /&gt;
&lt;br /&gt;
SELECT `partatstoreid` AS `can_sell_to_storeid` FROM `storeremotesales` WHERE `storeid` = 1&lt;br /&gt;
&lt;br /&gt;
If you wish to reset the table, the following query allows every store to sell to every other store:&lt;br /&gt;
&lt;br /&gt;
TRUNCATE TABLE `storeremotesales`;&lt;br /&gt;
&lt;br /&gt;
INSERT INTO `storeremotesales` (`storeid`, `partatstoreid`)&lt;br /&gt;
SELECT `a`.`storeid`, `b`.`storeid`&lt;br /&gt;
FROM `store` AS `a`&lt;br /&gt;
JOIN `store` AS `b` ON `a`.`storeid` != `b`.`storeid`&lt;br /&gt;
ORDER BY `a`.`storeid`, `b`.`storeid`;&lt;br /&gt;
&lt;br /&gt;
== User Interface ==&lt;br /&gt;
While a user interface for changing these values is in the works, we do not currently have a timeline for it.  Please see [http://bugzitsu.isoftdata.com/show_bug.cgi?id=849 Bug 849] for more details.&lt;br /&gt;
&lt;br /&gt;
[[Category:ITrack/Enterprise]]&lt;/div&gt;</summary>
		<author><name>Jmckinstry</name></author>
	</entry>
</feed>