Go to previous topic
Go to next topic
Last Post 12/29/2008 9:49 PM by  ridjayc
Jumping Time Bug
 1 Replies
 1 Subscribed to this topic
 12 Subscribed to this forum
Author Messages
Jay Riddle
Veteran Member
(493 points)
Veteran Member
Posts:191


Send Message:

--
12/29/2008 3:19 PM

     

    Just a heads up.  It looks like there is a bug in are version of T&E where it suddendly moves forward by an entire year when calculating next day.  Lawson has verified this bug and we are hoping to get a fix from them in the next or so.   The effect of this bug on are rules is that the year end timecards may not look at the entire time card.  The line where the bug show up is

    dtBeginDate = System.Date.add(dtBeginDate, "d", 1);

    If you print the output of this line it looks like

    ...

    Date Add is 2008-12-27T00:00:00
    Date Add is 2008-12-28T00:00:00
    Date Add is 2008-12-29T00:00:00
    Date Add is 2009-12-29T00:00:00

     

    ridjayc
    Veteran Member
    (493 points)
    Veteran Member
    Posts:191


    Send Message:

    --
    12/29/2008 9:49 PM
    We did get a unofficial patch for Lawson on this and we are testing it in are test environment now. So far it looks good.


    ---