HCL
Skip to main content  
 
   


SPRTechnote


Vacation/Leave Request: End Date changes to the next day

Technote Number: 1237784


Problem:
This issue has been reported to Quality Engineering as SPR# YFWI6PMGSD and was
fixed in 7.0.2.

Refer to the Upgrade Central site for details on upgrading Notes/Domino.

There are two possible workarounds for previous versions:

Workaround #1:
You can simply set the End Date to the same day as the Start Date and continue
filling out your leave request. The End Date is only reset when it precedes the
Start Date

Workaround #2:
You can modify the onChange events of the StartDate and EndDate fields to cause
the EndDate to be set to the same day as the Start Date instead of the next
day. Directions for modifying the code are below. NOTE: IBM WILL NOT SUPPORT
THIS CHANGE. It is recommended that this change only be made if you are
proficient with LotusScript and are comfortable with making unsupported changes
to production template code.

Follow the instructions below:

Open Designer.
In the Mail template, make a backup copy of the Leave Request form.
Open the Leave Request form in designer.
Find the StartDate field.
Select the onChange event.
Find the following line in the code - it is on/around line 36:
Call sdt.AdjustDay(1)
Comment out the line in step 6 above.
Now select the EndDate field.
Select the onChange event.
Find the following line in the code - it is on/around line 36:
Call sdt.AdjustDay(1).
Comment out the line in step 10 above.
Save and close the form.
Test.
More >





  Document options
Print this document
Print view

  Search
Search Advanced Search


  Fix list views

 RSS feeds   RSS
Subscribe to the fix list

  Resources
Using this database
View notices

  HCL Support
HCL Support


    About HCL Privacy Contact