Search time entries
Answered
Hi all
I’m trying to make search to get all employee approved time entries but I got error
My code:
var custom_transaction_timesheetSearchObj = search.create({
type: “timeentry”,
filters: [
[“employee”, “anyof”, employeeRec.internalid],
“AND”,
[“approvalstatus”, “anyof”, “3”]
],
columns: [
search.createColumn({
name: “internalid”,
label: “ID”
}),
But I got this error:
The feature ‘Timesheets’ required to access this page is not enabled in this account.
even this feature enabled
pls help
Best answer
Try using “timebill” instead of “timeentry” since your organization hasn’t activated timesheets.
Thanks, it’s working now



