What is "OT Leave"?
A special Leave Nature OT Leave is specially designed for Webleave Leave Applications that require users to input OT information during leave application. When this leave application is approved, a compensation leave record, as well as a compensation leave adjustment, is created at the same time.
Create a new leave type (or modify an existing compensation leave type) with Nature set to OT Leave.
In Webleave, when selecting the defined Leave Type, the OT From/On/To row will be displayed.
The following validations are performed when user click Apply button.
Invalid OT From Date
OT From date cannot greater than OT To date
OT From/To Date not match with Leave From/To Date
The OT Dates are conflict with other Application
The Leave From Date cannot more than OT From Date + 
The OT From/To is displayed on the Approve Leave Application Leave Screen