using this filter: ['tranid', 'is', orderNumber], ...
# suitescript
n
using this filter: ['tranid', 'is', orderNumber], I am not getting the internal ID of the order. The Tran ID exist in system. Is this a valid filter? I think it is.
s
tranid is the document number I believe, not the internalid.... you want to use
internalid
anyof
n
I want internal id
d
Copy code
["number","equalto",orderNumber]
n
Cannot use this. Order number is alpha numeric
s
I think I was misunderstood, you want to use the document number to find the internal id of the transaction, right? Looks like the correct term is
["numbertext", "is", orderNumber]
n
Tried that. Works with hardcoded value. Not when a variable is passed
s
works for me
n
I know. I ran the search twice. The hardcoded value has return the result.