Is there anyway to find how many active employees ...
# suitescript
r
Is there anyway to find how many active employees are unallocated today through search or script ?
Something like this using query module.
Copy code
SELECT name, internalid
FROM EMPLOYEE
WHERE imternalid NOT IN (
    SELECT resource.internalid
    FROM resourceallocation
    WHERE startdate <= today && enddate >= today
    GROUP BY resource.internalid
)