Discussions
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
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.