Discussions
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Join us
An nlobjSearchFilter contains an invalid operator, or is not in proper syntax: internalid
Hi there,
I'm developing user event scripts that utilizes a search during its execution. I'm creating a new search via search.create, and I'm adding the "internalid" as a filter to be specific in the records that I need to process upon save. I'm getting the said error even if I am using "anyof" as a filter operator:
search.create({
type: "journalentry",
settings:[{"name":"consolidationtype","value":"ACCTTYPE"}],
filters:
[
["type","anyof","Journal"],
"AND",
["location","anyof",location],
"AND",
["account.type","anyof","COGS","Expense"],
"AND",
["amount","greaterthan","0.00"],
"AND",
["internalid","anyof", id]
]});
One of the user event scripts is using this exact method, and on that script it works. It's only on the second user event script that's getting this error, and they are executing right after the other. Is this a defect? It's hurting our implementation to our client.