How to set Field Values in SuiteScript 2.0 Client Script?

Hi All,

Please use below code to set Field Values in SuiteScript2.0:

In SuiteScript1.0:

      nlapiSetFieldValues (fldnam, value, firefieldchanged, synchronous)

In SuiteScript2.0:

       CurrentRecord.setValues(options)

Module Used:

       N/currentRecord Module

Please comment if you have any question.

Thanks

Abhi





Comments

  1. Hi There

    I am completely new to Netsuite scripting and would really like to learn more about it.

    With the above script, how would I deploy it? What script type is it?

    Can this change field values of sublists in a parent record?
    thanks

    ReplyDelete
    Replies
    1. Hi Vernita,
      This is just part of code, you need Netsuite account
      You can use below URL for Netsuite Basics,
      https://netsuiteguru.blogspot.com/p/netsuite-tutorial.html
      Join our FB page , linked in page to ask more questions.

      Delete

Post a Comment

Thanks for you message, please join us on Facebook and Linkedin