RE: How can I show some specific values of a dropdown field?

Answered

Hi, I have added a status field in suitescript which have some dropdown values but I want to show some 2 or 3 values only. How can i do this?

var fld_status = o_form_obj.addField(‘status’, ‘select’, ‘Invoice Status’, ‘customlist_prodstat’);

Titu Rookie Asked on June 15, 2021 in SuiteScript.
Add Comment
6 Answers

// create field for invoice status
//var p_state = nlapiLoadRecord(‘customlist_prodstat’, [1, 2, 3]);//added by t2 on 15 Jun -21
var fld_status = o_form_obj.addField(‘status’, ‘select’, ‘Invoice Status’, ‘customlist_prodstat’);

Rookie Answered on June 24, 2021.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.