Hi All
Just some background on this
I've been tasked setting up a automation for my companies offboarding process for leaving employees.
We will be using a 3rd party tool to manage the automation aspect of this which so far works great.
The tool works by reading a CSV file and then disabling the accounts contained within in. This is where I'm getting stuck. I'm by no means a SQL developer so forgive my ignorance with this.
Theres 2 elements I need to happen, one is that a daily export needs to happen based on the Termination date to be = Current date
I also need another report to be based on Termination Date+1 = Current date
The code is as follows:
SQL
SELECT(selectrm.answerfromresourcesqamappingrmleftjoinquestionsqonq.questionid=rm.questionidleftjoinwo_resourcesworonrm.mappingid=wor.uidwherewor.woid=wo.workorderidandq....