<?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: YTD Sales Field</title><link>http://forums.method.me/cs/forums/thread/14078.aspx</link><pubDate>Fri, 12 Oct 2012 13:35:27 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:14078</guid><dc:creator>Method_Michael</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/14078.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=14078</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hi Carol-&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;The above example posted by Birch &lt;span id="mce_12_start" style="overflow:hidden;"&gt;also&lt;/span&gt;&amp;nbsp;give&lt;span id="mce_13_start" style="overflow:hidden;"&gt;s&lt;/span&gt; me a grid error when using it on a customer based grid&lt;span id="mce_17_start" style="overflow:hidden;"&gt;,&lt;/span&gt; however this slightly modified version of it should work.&lt;span id="mce_14_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;span id="mce_18_start" style="overflow:hidden;"&gt;&lt;span id="mce_20_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;SELECT Cast(ROUND(Sum(Amount),2) as decimal(9,2)) FROM viewaccInvoice WHERE viewaccInvoice.Customer = FullName AND viewaccInvoice.TxnDate &amp;gt; cast(year(getdate()) -1 as varchar(4)) + &amp;#39;/12/31&amp;#39; and viewaccInvoice.TxnDate &amp;lt; cast(year(getdate()) + 1 as varchar(4)) + &amp;#39;/01/01&amp;#39;&lt;span id="mce_18_end" style="overflow:hidden;"&gt;&lt;span id="mce_20_end" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span id="mce_3_start" style="overflow:hidden;"&gt;&lt;span id="mce_15_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;span id="mce_5_start" style="overflow:hidden;"&gt;The difference in this version is that I removed&amp;nbsp;&lt;em&gt;&lt;span id="mce_7_start" style="overflow:hidden;"&gt;&lt;/span&gt;viewaccEntity&lt;span id="mce_7_end" style="overflow:hidden;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/em&gt;&lt;span id="mce_7_end" style="overflow:hidden;"&gt;from FullName&lt;span id="mce_16_start" style="overflow:hidden;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span id="mce_3_start" style="overflow:hidden;"&gt;&lt;span id="mce_5_start" style="overflow:hidden;"&gt;&lt;span id="mce_7_end" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;-Michael&lt;span id="mce_10_start" style="overflow:hidden;"&gt;&lt;span id="mce_19_start" style="overflow:hidden;"&gt;&lt;span id="mce_21_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: YTD Sales Field</title><link>http://forums.method.me/cs/forums/thread/14061.aspx</link><pubDate>Thu, 11 Oct 2012 20:29:51 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:14061</guid><dc:creator>CarolOliver</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/14061.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=14061</wfw:commentRss><description>&lt;p&gt;&lt;span style="overflow:hidden;" id="mce_0_start"&gt;Michael,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;I was trying to get the YTD Sales &lt;span style="overflow:hidden;" id="mce_1_start"&gt;into a grid &lt;/span&gt;for a client...&amp;nbsp; So I copied this SQL override &lt;span style="overflow:hidden;" id="mce_2_start"&gt;into the customer list grid balance field &lt;/span&gt;but I&amp;#39;m getting an &amp;quot;error generating the grid.&amp;quot;&amp;nbsp; I&amp;#39;m doing something wrong, I am sure.&amp;nbsp; Can you make a screen shot of the advanced screen for the balance field in the grid design and let me see what you&amp;#39;re doing?&amp;nbsp; I suspect it&amp;#39;s that I&amp;#39;ve selected the wrong table...&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;BTW, I am using the Old customer center because it is based on the customer table and not the contact table.&amp;nbsp; :)&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Carol&lt;/p&gt;</description></item><item><title>Re: YTD Sales Field</title><link>http://forums.method.me/cs/forums/thread/7913.aspx</link><pubDate>Thu, 01 Sep 2011 13:44:24 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:7913</guid><dc:creator>Birch</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/7913.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=7913</wfw:commentRss><description>&lt;p&gt;Michael -&lt;/p&gt;
&lt;p&gt;Apparently my daily full-sync that is scheduled for 7pm did not happen on Sunday night, 8/29. Yesterday I did a manual full-sync and the YTD sales field populated this morning! I&amp;#39;m not sure exactly how that would cause the problem, but it is fixed. Thanks for your help!&lt;/p&gt;
&lt;p&gt;Birch&lt;/p&gt;</description></item><item><title>Re: YTD Sales Field</title><link>http://forums.method.me/cs/forums/thread/7871.aspx</link><pubDate>Tue, 30 Aug 2011 21:50:50 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:7871</guid><dc:creator>Method_Michael</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/7871.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=7871</wfw:commentRss><description>&lt;p&gt;Birch,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think any actions on the screen would affect the SQL Override. I tested it again just to be sure and it works. In my test a took a copy of the Customer List screen(From the old crm) and entered your SQL override into the balance field and it seems to be working.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The next step would be to do paid consulting, with paid consulting you would pay up front but if it turns out to be a Method Platform bug(and not an issue with the customization) then you will get the time credited back.&lt;/p&gt;
&lt;p&gt;-Michael&lt;/p&gt;</description></item><item><title>Re: YTD Sales Field</title><link>http://forums.method.me/cs/forums/thread/7865.aspx</link><pubDate>Tue, 30 Aug 2011 20:56:22 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:7865</guid><dc:creator>Birch</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/7865.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=7865</wfw:commentRss><description>&lt;p&gt;Yes, I just checked and all of our invoices are in Method (dating back to 2/22/10). If the code works, then could there be an action on the screen that is altering the data in the YTD sales field?&lt;/p&gt;
&lt;p&gt;Thanks for your help,&lt;/p&gt;
&lt;p&gt;Birch&lt;/p&gt;</description></item><item><title>Re: YTD Sales Field</title><link>http://forums.method.me/cs/forums/thread/7861.aspx</link><pubDate>Tue, 30 Aug 2011 19:44:04 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:7861</guid><dc:creator>Method_Michael</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/7861.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=7861</wfw:commentRss><description>&lt;p&gt;Birch,&lt;/p&gt;
&lt;p&gt;Just to confirm if you take a look at your Invoice list, you do see invoices older then 31 days? I did a copy and paste of this code into one of my screens and it seems to work fine.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Michael&lt;/p&gt;</description></item><item><title>Re: YTD Sales Field</title><link>http://forums.method.me/cs/forums/thread/7859.aspx</link><pubDate>Tue, 30 Aug 2011 19:09:46 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:7859</guid><dc:creator>Birch</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/7859.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=7859</wfw:commentRss><description>&lt;p&gt;Hi Michael - Transaction history is set to 31 days and invoices are set to &amp;#39;all days&amp;#39;. These settings haven&amp;#39;t been changed since we started exporting our customer data from this grid over a year ago, which is why it&amp;#39;s so difficult to figure out why this field isn&amp;#39;t calculating as it should.&lt;/p&gt;
&lt;p&gt;Thanks,&amp;nbsp;Birch&lt;/p&gt;</description></item><item><title>Re: YTD Sales Field</title><link>http://forums.method.me/cs/forums/thread/7856.aspx</link><pubDate>Tue, 30 Aug 2011 18:29:28 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:7856</guid><dc:creator>Method_Michael</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/7856.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=7856</wfw:commentRss><description>&lt;p&gt;Hi Birch,&lt;/p&gt;
&lt;p&gt;Under &lt;b&gt;QuickBooks &amp;gt; Synchronize&lt;/b&gt;&amp;nbsp;what is the Transaction History set to? If you click on&amp;nbsp;&lt;b&gt;Show options per transaction type&lt;/b&gt;&amp;nbsp;what&amp;#39;s set for invoices?&lt;/p&gt;
&lt;p&gt;-Michael&lt;/p&gt;</description></item><item><title>YTD Sales Field</title><link>http://forums.method.me/cs/forums/thread/7854.aspx</link><pubDate>Tue, 30 Aug 2011 18:16:04 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:7854</guid><dc:creator>Birch</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/7854.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=7854</wfw:commentRss><description>&lt;p&gt;
&lt;p class="MsoNormal"&gt;&lt;span style="color:#365f91;"&gt;In 2010, I had a custom screen built out that exports our customer data. One
of the fields is &amp;lsquo;YTD Sales&amp;rsquo; that has the following SQL override code to pull
each customer&amp;rsquo;s YTD sales:&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;i&gt;&lt;span style="color:#365f91;"&gt;SELECT
Cast(ROUND(Sum(Amount),2) as decimal(9,2))&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&lt;i&gt;&lt;span style="color:#365f91;"&gt;&lt;/span&gt;&lt;/i&gt;&lt;i&gt;&lt;span style="color:#365f91;"&gt;FROM viewaccInvoice WHERE
viewaccInvoice.Customer = viewaccEntity.FullName AND viewaccInvoice.TxnDate
&amp;gt; cast(year(getdate()) -1 as varchar(4)) + &amp;#39;/12/31&amp;#39; and
viewaccInvoice.TxnDate &amp;lt; cast(year(getdate()) + 1 as varchar(4)) + &amp;#39;/01/01&amp;#39;&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;
&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt;font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;color:#365f91;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;I have never had a problem with this grid before, but today this
field is not calculating YTD sales. Every Tuesday I export this grid and send
the data to our IT company; last week I didn&amp;rsquo;t have any problems and I haven&amp;rsquo;t
changed anything on the screen. Only a few customers show sales in this field,
all of them have a &amp;lsquo;last invoice date&amp;rsquo; of 8/26/11-8/30/11 and their YTD sales
are not &amp;lsquo;YTD&amp;rsquo;, it is just the total of their order that was invoiced in the
past week. Is there an explanation for why this field would start to calculate &amp;#39;week to date&amp;#39; sales? I
need to send this file before the end of the day, so any help/suggestions is
appreciated.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:11.0pt;font-family:&amp;#39;Calibri&amp;#39;,&amp;#39;sans-serif&amp;#39;;mso-fareast-font-family:Calibri;mso-fareast-theme-font:minor-latin;mso-bidi-font-family:&amp;#39;Times New Roman&amp;#39;;color:#365f91;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;Thanks,&amp;nbsp;&lt;/span&gt;&lt;span style="color:#365f91;font-family:Calibri, sans-serif;"&gt;BIrch&lt;/span&gt;&lt;/p&gt;</description></item></channel></rss>