I am trying to get all of the work order completion transactions for a particular work order using the NetSuite data connector.
I can get the work order completion transactions with something like "select * from transaction where recordtype = 'workordercompletion';" and I can get the work order transactions with a similar query. What I can't find is anything that connects the two transaction types to each other.
I had a quick look at adding a custom field to the work order completion record. I thought I might be able to use the 'Created From' or 'Applied To Transaction' fields to link work orders to work order completions and then use that field in my SQL query. But there doesn't seem to be a way to add a field to the work order completion transaction.
I tried created_from_id and created_by_id but it's not available. There is no created_from field in the transaction record and the created_by field is an Employee id.
Is there any way to link the work order completions with their work order using the data connector?