Page 1 of 1

Resource Unavailability Date Error

PostPosted: Fri Jul 01, 2005 8:18 pm
by hema
Hi,

I don't know if this error has been reported before but I am posting it anyway.

Whenever I save the "Date From" (e.g 01/07/05) and "Date To" (e.g. 10/07/05) fields in the Resource Unavailability window, I get the error "Date to > Date from". In fact it should not be an error and it can be confusing.

In MResource, beforeSave function, I inverted

if (getDateFrom().after(getDateTo()))
{
log.saveError("Error", Msg.parseTranslation(getCtx(), "@DateFrom@ > @DateTo@"));
return false;

}

It's seems more logical now.

Regards,
Hema

PostPosted: Sat Jul 02, 2005 9:12 pm
by red1
Hi Hema,
Wow, you are a Java lady now! ;)

Thanks for the gud informative solution. But what version is this?

regards

PostPosted: Mon Jul 04, 2005 2:34 pm
by hema
Hi Red1,

Sorry I forgot to mention that this error occurs in version 2.5.2b.

Regards,
Hema