This topic contains 3 replies, has 0 voices, and was last updated by chanarbon 7 years, 8 months ago.

  • Author
    Posts
  • #1136

    david.smith

    Is it frustrating anyone else that there is inconsistency in the field options? Or am I missing some type of logic behind this.

    CurrentRecord.getField(options)

    Code:
    options.fiโ€‹eโ€‹lโ€‹dโ€‹Iโ€‹d | string | required | The internal ID of a standard or custom body field. | 2016.2

    Form.getField(options)

    Code:
    options.id | string | required | The internal ID name of the field. Internal IDs must be in lowercase and contain no spaces. | Version 2015 Release 2

    Record.getField(options)

    Code:
    options.fiโ€‹eโ€‹lโ€‹dโ€‹Iโ€‹d | string | required | The internal ID of a standard or custom body field. | Version 2015 Release 2
    This is a cached copy. Click here to see the original post.

  • #1137

    chanarbon

    One thing also is for the sublist object in Form object in N/ui/serverWidget is referred as group, while currentRecord and record uses sublistId.

  • #1138

    david.smith

    Here’s another one.

    N/ui/serverWidget Module uses Field.addSelectOption(options)

    BUT

    N/currentRecord Module uses Field.insertSelectOption(options)

    Why can’t we have consistency?

  • #1139

    chanarbon

    This is a good thing that you have pointed out which can be considered soon regarding better APIs. Thanks for the note.


    david.smith replied on 02/28/2017, 12:48 PM: NetSuite should make it a goal for the next minor version that comes out.

You must be logged in to reply to this topic.