When creating to-do’s from an opportunity (I activate the first phase) the enddate of the to-do is always 1 day before the startingdate of the to-do. So the startingdatum of the to-do is 25-01-05 and the enddate of the to-do is 24-01-05. Am I doing something wrong or is this a bug in 3.70?
When creating to-do’s from opportunities the duration is not filled. So therefore the enddate is calculated one day before the startingdate of a to-do.
Fixed in 3.70B where this (bad) code in table 5080:
IF (Type <> Type::Meeting) OR "All Day Event" THEN TempEndDateTime := CREATEDATETIME(Date - 1,"Start Time") + Duration ELSE...
became this (good) code:
IF ((Type <> Type::Meeting) OR "All Day Event") AND (Duration <> 0) THEN TempEndDateTime := CREATEDATETIME(Date - 1,"Start Time") + Duration ELSE...