Join Slack
Powered by
Is there any trick to get the intercostatus or int...
# suitescript
t
toltmanns
03/24/2021, 5:57 PM
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
battk
03/24/2021, 6:07 PM
try using the debugger to see which fields are available to you
battk
03/24/2021, 6:08 PM
alternatively you can logging scriptContext.newRecord, though you tend to have to split the log across multiple lines for larger records like transactions
2
Views
Open in Slack
Previous
Next