Jumping Time Bug

 1 Replies
 0 Subscribed to this topic
 2 Subscribed to this forum
Sort:
Author
Messages
Jay Riddle
Veteran Member
Posts: 191
Veteran Member

     

    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
    Posts: 191
    Veteran Member
      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.