bk_ns101's Profile
Rookie
3
Points
3
Points
Questions
0
Answers
1
-
I’ve run into issues trying to load fields using the defaultValues parameter for some fields. Instead, try loading values with the setValue statement. Sample below:
var newcustrec = record.create({
type: ‘customrecord_my_customrec’,
isDynamic: true});newcustrec.setValue({
fieldId: ‘custrecord_sample_qty’,
value: 100});newcustrec.save();
- 3608 views
- 1 answers
- 0 votes