Error in sublist set value displaying custom body field


var dnote = result.getValue(result.columns[3]); // from custom body field

id : ‘colnotes’,
line : i,
value : dnote

// the browser gives me an error
//Missing a required argument: options.value”,”stack”:[“createError(N/error)”,
//”message”:”Sublist.setSublistValue: Missing a required argument: options.value”},”id”:””,”notifyOff”:false,”userFacing”:true}

Rookie Asked on August 25, 2021 in SuiteScript.
Add Comment
1 Answer(s)

Please look into sublist API:  I don’t seem to find a sublist ID, field ID mentioned accurately.

    sublistId: 'item',
    fieldId: 'item',
    line: 3,
    value: true
Beginner Answered on August 25, 2021.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Limebox   Become a Sponsor