Skip to content

nlapiSubmitRecord bug #17

@AlanBranch

Description

@AlanBranch

In nsContext.js, the function nlapiSubmitRecord checks the recordsArray for a record sharing the same ID as the record being submitted. A check is not made against type.
In NS, records of different types can share the same ID.

Expected behavior: I can submit a record with type 'customrecord_foo' and ID of 1, then submit a record of type 'customrecord_bar' with an ID of 1, and the recordsArray will have a length of 2.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions