raghav
04/05/2023, 12:32 PMraghav
04/05/2023, 1:05 PMSELECT name, internalid
FROM EMPLOYEE
WHERE internalid NOT IN (
SELECT resource.internalid
FROM resourceallocation
WHERE startdate <= today && enddate >= today
GROUP BY resource.internalid
)
Clay Roper
04/05/2023, 2:20 PMinternalid
being misspelled on line 3.raghav
04/05/2023, 2:25 PMClay Roper
04/05/2023, 5:04 PMquery.runSuiteQL({ query: queryString })
where queryString
is the above value?raghav
04/06/2023, 10:12 AMSELECT entityid, id FROM employee WHERE id NOT IN (SELECT allocationResource FROM resourceallocation WHERE startDate <= CURRENT_DATE AND endDate >= CURRENT_DATE GROUP BY allocationResource)
raghav
04/06/2023, 10:28 AMSELECT id, entityid FROM employee WHERE custentity_implementationteam= 'F' AND custentity_employee_inactive= 'F' AND id NOT IN (SELECT allocationResource FROM resourceallocation WHERE startDate <= CURRENT_DATE AND endDate >= CURRENT_DATE GROUP BY allocationResource)