Hi,
I am new to using Power platforms and hoping someone can help. I am in the process of making a app in power apps to record absences/sickness & Leave request. The App feeds into 2 SharePoint Lists. Name of Lists and columns Detailed below:
(List 1)
- Employee Number
- Surname
- First name
- Date of absence
- Reason for Absence
(List 2)
- Employee Number
- Surname
- First name
- First day of absence
- Last day of absence
- Reason for Absence
The issue I have is if a entry is added to the (List 2) I need a way for it to check to see if there is a matching Employee number in (List 1) if so, it would need to check if the date of absence in (List 1) falls on or between the First day of absence and the Last day of absence on (List 2). If this is the case I need it to delete that/those entries in (List 1).
I hope this makes sense if you need any clarification on anything let me know.
Thanks