currentRecord.setSublistValue is not a function?
# suitescript
e
currentRecord.setSublistValue is not a function?
e
standard vs dynamic records
a
Yes check weather you record is standard or dynamic
or you are loading your record in which mode
e
how do i check that?
CS in edit modde
context.currentRecord.getSublist({ sublistId: 'custpage_all_preferences_sublist', });
this works
but then context.currentRecord.setCurrentSublistValue({ or allPrefSublist.setCurrentSublistValue does not
noty a function