I'm trying out `n/query` and I'm trying to join jo...
# suitescript
k
I'm trying out
n/query
and I'm trying to join journal entry lines with matching credit memos based on the "entity" field in each. It's giving me the following error
You have entered an invalid type argument: options.fieldId
. Any ideas what I'm doing wrong?
Copy code
var jeQuery = query.create({ type: 'transaction' });
        var entityJoin = jeQuery.joinFrom({ name: 'entity', source: 'transaction' });
👍 1