You can't pass context from suitlet to client scri...
# suitescript
j
You can't pass context from suitlet to client script. To get the current record you would need to use the current record module you have imported so you would do
var curRecord = currentRecord.get();
and then you can call getValue on that, like this
var period = curRecord.getValue({fieldId:'custpage_period'});
@DATTA
👍 2
d
It's Working well.