This topic contains 3 replies, has 0 voices, and was last updated by Olivier Gagnon NC 7 years, 10 months ago.

  • Author
    Posts
  • #1324

    mhson1978

    Hey guys. with SS1.0, we had access to nlapiRemoveSelectOption, nlapiRemoveLineItemOption, nlapiInsertSelectOption and nlapiInsertLineItemOption. For line item select field, it didn’t work so you did have to use DOM hack. But for main level fields, you did have the option to use removeselectoption and insertselectoption.

    I haven’t been able to find equivalent function that will allow me to do this. I don’t see any function sunder Record object for me to use.

    Anyone experience the same thing in SS2.0?
    This is a cached copy. Click here to see the original post.

  • #1325

    Olivier Gagnon NC

    Hey Joe,

    Check out in the help: SuiteCloud (Customization, Scripting, and Web Services) / SuiteScript 2.0 / SuiteScript 2.0 API / SuiteScript 2.0 Modules / N/currentRecord Module / currentRecord.Field / Field.insertSelectOption(options)

    Brand spanking new: was released in late November.

  • #1326

    mhson1978

    Thx Olivier! atleast i know there is matching main level field insert and removal. Have you had any luck getting line level select drop down field option manipulation?

  • #1327

    Olivier Gagnon NC

    We haven’t had a chance to try the new 2.0 stuff, too recent.

You must be logged in to reply to this topic.