How can I get a list of contacts attached to a tra...
# suitescript
b
How can I get a list of contacts attached to a transaction along with their roles? I'm struggling with getting the roles specifically. I'm unable to find a join with SuiteQL, and the "contactrole" field on a transaction search returns empty. Loading the transaction record and getting the contacts sublist doesn't seem to be possible either. .getLineCount() returns 0.
b
you can probably get the contact to transactions via search
you wont be able to get the actual role besides the primary one