```newEvent.setValue({ fieldId: 'reocrd', value: r...
# suitescript
s
Copy code
newEvent.setValue({ fieldId: 'reocrd', value: rec.id }); //id being whatever the internal id of the transaction is