Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 11, 2026, at 8:00 PM Pacific time, our Case Management System will undergo a scheduled maintenance for approximately 30 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Invalid Search Filter?
The following code works fine for the Administrator, but throws the following error for users in other roles.
SSS_INVALID_SRCH_FILTER
An nlobjSearchFilter contains invalid search criteria:
custrecord_pto_employee
I have a Custom Record that when an employee creates a new request for Time Off, I want it to sum up all the time off that they've already requested and deduct it from the their yearly allotment. Additionally, employees only earn vacation days on a quarterly basis, so I'd like to parse the current date and give them 1/4 of their vacation time if in first quarter, 1/2 if in second quarter, etc. I don't see any NetSuite supported date functions to parse out the month from the current date.
0