This topic contains 3 replies, has 0 voices, and was last updated by a.rivetti@clustin.com 7 years, 3 months ago.

  • Author
    Posts
  • #18354

    zahmed

    Hi All,

    I am facing an issue when trying to add Inline Editor type sublist in Suitelet (SuiteScript 2.0). Here is the code I am using to add the sublist to the form:

    form.addSublist({

    id : ‘custpage_tm’,

    type : ui.SublistType.INLINEEDITOR,

    label : ‘Time Entries’,

    tab: ‘custpage_tab’

    });

    When I run the Suitelet, the body fields get populated but the list does not show. Instead “Loading…” is shown. There is also an error in the browser’s console as well. However, when I change the INLINEEDITOR to LIST, the list shows up with “No records to show.” and there is no error in the console.

    Have you faced this issue? Any advice will be helpful.

    Thanks.
    This is a cached copy. Click here to see the original post.

  • #18355

    chanarbon

    zahmed

    What type of fields are on the sublist? Also, what error do you get on the browser console with the inline editor sublist.

  • #18356

    zahmed

    Hi Chanarbon,

    I have resolved the issue with the help of NetSuite support representative.

    The issue was that Sublist fields should be added immediately after the sublist is added. Otherwise, NetSuite throws an error. Perhaps it’s an issue with SuiteScript 2.0

    However, I am unable to disable a line item field (in SuiteScript 2.0). It throws invalid sublist operation error.

    Thanks

  • #18357

    a.rivetti@clustin.com

    Thank, I’m doing the same in 1.0, now I know which (as it’s happening for a lot of things) which is better to wait for 2.0 porting.

You must be logged in to reply to this topic.