Just need a help on accrual rule creation for the below scenario.
For the unpaid leave type I've to create an accrual rule which has the following rule description. Please do help on this on urgent basis.
Accrual Rule Description:
"When an employee is absent at least one day and up to 5 days, it is one salary deduction. During a period of more than 5 days, it is another salary dedution. You can also take hours and then it is another reduction.Upon granting the leave, the employer shall state the period of time that the leave comprises. Leave may not be scheduled so that it starts and/or ends on a Sunday or holiday which is non-working for the individual slaried employee".
Please help me knowing whether this scenario is possible or not. If possible then how the rule should look like?