Method Community

 

Filter by Current Season

Last post 03-30-2016 12:29 PM by Method_Ben. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 03-19-2016 2:03 PM

    Filter by Current Season

    I have an activity grid that shows me all the completed activities for a particular customer.

    How can I create a filter that will only show me the completed activities for the current year, without editing the filter every year

  • 03-25-2016 1:50 PM In reply to

    • fran
    • Top 25 Contributor
    • Joined on 02-08-2009
    • Mountain View
    • Posts 453

    Re: Filter by Current Season

    Marcelo,

    A thought...add a current date field to your screen - format so only shows year... Date Function...format date = yyyy save as shared result1 .    Then Character function action "join" .... 1/01/ to Result1... this will give you beginning of year.....save as shared result.   then do a character function action of "join"  12/31/ to Result1. this gives you end of year - save also as shared result. SR1 will look like 1/01/2016.   You now have a date begin/date end parameters ussing the shared results for the Grid View.  I am sure there are other ways to tackle, but this should work.


    Fran Reed
    FreedUp Solutions
    Intuit Solution Provider
    Advanced Certified Quickbooks ProAdvisor
    Advanced Method Solution Provider
  • 03-30-2016 12:29 PM In reply to

    Re: Filter by Current Season

    Hi Marcelo,

    Fantastic Suggestion Fran, going to +1 this.

    I was able to build what you are describing by doing the following;

    • Create a button (could be an onscreenload action, I just used a button for testing) which grabs the Current Session DateTime, and format it using the method fran mentioned to yyyy. Savesd as AR
    • Used a character function to join '-01-01' to this Action result, giving me '2016-01-01'
    • Displayed this DateTime on a Hidden field on the screen, for the next step.
    • Created a Grid Filter that checks that 'ActualCompletedDate' is Greater than the value contained within this hidden field
    Thanks again to Fran.
    Regards,
    Ben
    Ben Hargreaves
    Senior Support Specialist
    Method:CRM
    b.hargreaves@method.me
    Toll Free: 1.888.925.6238
    Local & Overseas: 416.847.0400
    Fax: 416.640.6027
Page 1 of 1 (3 items)