Is there any trick to get the intercostatus or int...
# suitescript
t
Is there any trick to get the intercostatus or intercotransaction of a transaction via script? The following is returning no value in the debug log:
Copy code
scriptContext.newRecord.getValue({fieldId: 'intercotransaction'})
This does return a value via client console.
b
try using the debugger to see which fields are available to you
alternatively you can logging scriptContext.newRecord, though you tend to have to split the log across multiple lines for larger records like transactions