This message was deleted.
# suitescript
s
This message was deleted.
n
Yeah if the field is stored on the suitelet form you can get it by using currentRecord.getValue({ fieldId: 'suiteletFieldWithValue' });
c
The field is on the standard NetSuite record
Copy code
const record = currentRecord.get();
const isCustTestChecked = record.getValue({
    fieldId: 'custbody_sent_to_ilg'
});
The isCustTestChecked is always undefined though Something to do with the script being attached to a Suitelet form which might mean the context only sees the Suitelet fields and not the transaction fields.
Didn't mean to delete the original - solution was to search for the field from within the client script or to create a hidden field on the Suitelet's form with the value from the transaction. Both worked.
🫡 1