Avoid submission of duplicated Per Diem Expenses for the same days
when we create expense type that has been defined as a Per Diem, the system allows to insert two different Per Diem expense items even if the days selected overlaps.
- Per Diem Expense1: Start Date 08 Oct 2023 - End Date 10 Oct 2023
- Per Diem Expense2: Start Date 08 Oct 2023 - End Date 11 Oct 2023
In this example the system should not allow the Per Diem Expense2 to be entered because there already is another expense line in which the user asked for a reimbursement for the same days (08 Oct, 09 Oct, 10 Oct).
How can we block the employee to enter duplicated Per Diem Expenses?