Filter example 4: date functions

  • Please note: when creating a filter some basic programming knowledge is essential. If you know which shipments you want to have filtered, but you miss the ability to write the correct filter statement, then send the programming desk a clear request by using your bug tracking system. Programmers will answer you back how much time is involved for creating this particulair filter.

  • Please note: we use SQL -like date functions. If you are not familiar with these functions then please ask us to help by using your bug tracking system

  • In the first rule a statement is created to display all transports from customer 1234.
  • In the second rule a statement is created to display all transports where the deliveryDate is greater than today.
  • NOTE1 : you can not use pickupDate or deliveryDate here because they are formatted like %d-%m-y. Use puDate (for pickupDate) and actionDate (for deliveryDate) instead. They are formatted like %Y-%m-%d.
  • NOTE2 : you can also use today+1, today+3 etc. and even today-1 etc. for later or earlier dates.


Also see: TracktraceFilters



-- RutgerRutgers - 10 Apr 2007

Topic attachments
I Attachment History Action Size Date Who Comment
GIFgif filter06.gif r4 r3 r2 r1 manage 43.1 K 2019-01-22 - 11:20 HenkRoelofs  
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2019-01-22 - HenkRoelofs
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback