Add new comment

Try using:

var customer = nlapiCreateRecord('customer', {stage: 'lead'});
customer.setFieldValue('entitystatus', '6');   

to create a customer in a Suitelet. It was verified working in my environment.

By Scott Seong (not verified)

Filtered HTML

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <blockquote> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.