<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.method.me/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Method:Classic General Q&amp;amp;A</title><link>http://forums.method.me/cs/forums/13.aspx</link><description>Ask technical support questions, how do I? Questions... Or anything else you want to know from the Method Team and other Method users.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 SP2 (Build: 31113.47)</generator><item><title>Re: Can I change my Sales Order RefNumber field type?</title><link>http://forums.method.me/cs/forums/thread/15624.aspx</link><pubDate>Sat, 19 Jan 2013 18:05:59 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:15624</guid><dc:creator>JohnnyW</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/15624.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=15624</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Thank you for the reply. I&amp;#39;ll have to give this a shot. In the meantime, I&amp;#39;ve looped through the Estimate table and pulled out the maximum TxnNumber. I then increment this and stick it in the Estimate # object which links to the RefNumber. Method seems to have no problem with me sticking an integer into a text field, I just can&amp;#39;t do it the other way around.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;Since my goal is to have an auto-increment of the Estimate #, this may actually be a better method. I can trust the TxnNumber to be fairly stable and add math to the maximum found in the table to get me to the estimate number that I want. Using RefNumber may actually be less stable b/c employees can manipulate this number to add characters as you said. This leaves open the possibility that someone will enter an outrageous number that becomes the new maximum RefNumber and screws up the serialization that I&amp;#39;m going for.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the help with this.&lt;/p&gt;</description></item><item><title>Re: Can I change my Sales Order RefNumber field type?</title><link>http://forums.method.me/cs/forums/thread/15623.aspx</link><pubDate>Fri, 18 Jan 2013 22:34:18 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:15623</guid><dc:creator>Method_Adam</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/15623.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=15623</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Johnny,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;If you select the January version of Method (select &amp;quot;&lt;a id="lnkSiteSwitchLocation" title="https://www.methodintegration.com/stage/login.aspx" href="http://www.methodintegration.com/cs/forums/AddPost.aspx/"&gt;&lt;span id="mce_2_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;span id="mce_3_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/a&gt;Switch&amp;nbsp;to&amp;nbsp;the&amp;nbsp;&lt;span id="siteSwitchVersion"&gt;January&lt;/span&gt;&amp;nbsp;version&lt;span id="mce_3_end" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;a id="lnkSiteSwitchLocation" title="https://www.methodintegration.com/stage/login.aspx" href="http://www.methodintegration.com/cs/forums/AddPost.aspx/"&gt;&lt;span id="mce_2_end" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/a&gt;&amp;quot;&lt;span id="mce_4_start" style="overflow:hidden;"&gt; at the bottom of the login screen) you can actually use a SQL override to sort t&lt;span id="mce_5_start" style="overflow:hidden;"&gt;&lt;/span&gt;he RefNumber of the sales orders&lt;span id="mce_6_start" style="overflow:hidden;"&gt; in the grid&lt;/span&gt;. &amp;nbsp;You can cast the field as integers. &amp;nbsp;Method will then sort accordingly.&lt;span id="mce_8_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;A note about using this function is that any letter&lt;span id="mce_10_start" style="overflow:hidden;"&gt;&lt;/span&gt;s or spaces conatained in the&amp;nbsp;&lt;span id="mce_7_start" style="overflow:hidden;"&gt;&lt;span id="mce_9_start" style="overflow:hidden;"&gt;grid will show as 0&amp;#39;s and could affect the order.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;- Adam&lt;span id="mce_12_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Can I change my Sales Order RefNumber field type?</title><link>http://forums.method.me/cs/forums/thread/15621.aspx</link><pubDate>Fri, 18 Jan 2013 19:52:40 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:15621</guid><dc:creator>Method_Adam</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/15621.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=15621</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hi Johnny,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;There is no function to turn it into an integer. &amp;nbsp;It would also still need to stay text in order to sync with the Quickbooks field.&lt;/p&gt;
&lt;p&gt;- Adam&lt;/p&gt;</description></item><item><title>Re: Can I change my Sales Order RefNumber field type?</title><link>http://forums.method.me/cs/forums/thread/15620.aspx</link><pubDate>Fri, 18 Jan 2013 18:04:11 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:15620</guid><dc:creator>JohnnyW</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/15620.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=15620</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Is it possible to do a type conversion? The RefNumber is of type &amp;#39;text&amp;#39;. One of the Character functions is isNumeric which returns TRUE or FALSE. Is there also a function that would allow you to turn it into an integer.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: Can I change my Sales Order RefNumber field type?</title><link>http://forums.method.me/cs/forums/thread/11592.aspx</link><pubDate>Tue, 27 Mar 2012 16:53:20 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11592</guid><dc:creator>smohyee</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11592.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=11592</wfw:commentRss><description>&lt;p&gt;OK, I agree that seems like a much easier solution!&lt;/p&gt;</description></item><item><title>Re: Can I change my Sales Order RefNumber field type?</title><link>http://forums.method.me/cs/forums/thread/11587.aspx</link><pubDate>Tue, 27 Mar 2012 00:54:28 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11587</guid><dc:creator>Method_Paul</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11587.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=11587</wfw:commentRss><description>&lt;p&gt;@smohyee - It needs to stay text, simply because it is syncing with a QuickBooks field which is text. &amp;nbsp;What if a QuickBooks user put a non-numeric value into their Sales Order field? &amp;nbsp;When it syncs with Method it would create a mess.&lt;/p&gt;
&lt;p&gt;Instead, can you maybe just sort your grid by RecordID Desc, which is the order they are entered into Method?&lt;/p&gt;
&lt;p&gt;Paul&lt;/p&gt;</description></item><item><title>Can I change my Sales Order RefNumber field type?</title><link>http://forums.method.me/cs/forums/thread/11585.aspx</link><pubDate>Mon, 26 Mar 2012 22:19:46 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:11585</guid><dc:creator>smohyee</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/11585.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=11585</wfw:commentRss><description>&lt;p&gt;I&amp;#39;ve got a grid of Sales Orders, that I&amp;#39;d like to order by descending value of their RefNumber field (aka Sales Order #).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;d assume that when I order these SOs by descending value, they would organize themselves based on the numeric value of their RefNumber. So the order should be something like 100002, 100001, 100000, 9999, 9998, 9997, etc. (My old QB Sales Orders are 4 digits, while the new Method SOs are set as 6 digits to avoid confusion).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;But this is not the case: my 6 digit numbers are actually ranked near the bottom, just above 1000 and below 1001. I&amp;#39;m guessing it is ordering itself alphabetically (or alphanumerically), because the RefNumber field type is &amp;#39;text&amp;#39;, not &amp;#39;integer&amp;#39;.&lt;/p&gt;
&lt;p&gt;I know that my Sales Order RefNumber&amp;#39;s will all be pure integers, but I&amp;#39;m uncertain whether I should just delete the current RefNumber field (if QB would even let me) and replace it with an Integer field, because I&amp;#39;ll lose all the previous RefNumbers. (I don&amp;#39;t have any real Method SO&amp;#39;s, so technically I could just resynch all my QB SO info back to Method after deleting the field.. is this a viable option?)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What is the best way to change the data type from text to integer, and preserve the old data? Or, for the more direct solution, how can I get the grid ordering mechanism to order the field like they were numbers, and not text?&lt;/p&gt;</description></item></channel></rss>