Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setMatrixSublistValue does not accept column #243

Open
felixdivall opened this issue Mar 9, 2023 · 5 comments
Open

setMatrixSublistValue does not accept column #243

felixdivall opened this issue Mar 9, 2023 · 5 comments

Comments

@felixdivall
Copy link

NetSuite expects sublistId, fieldId, line, column and value from 'setMatrixSublistValue'. Though column is not assignable to parameter of type 'SetSublistValueOptions' - which is both correct and not.

Here's the error that I get:
Argument of type '{ sublistId: string; fieldId: string; line: number; column: number; value: number; }' is not assignable to parameter of type 'SetSublistValueOptions'. Object literal may only specify known properties, and 'column' does not exist in type 'SetSublistValueOptions'.ts(2345)

Right now to make it work I need to run // @ts-ignore

SCR-20230309-k5u

@felixdivall
Copy link
Author

@MrRob
Copy link
Collaborator

MrRob commented Mar 14, 2023

Hmm that is odd. I tried something similar and it worked fine. Which version of the netsuite-types module do you have installed? And what type of script is that in? Thanks!

@felixdivall
Copy link
Author

This is in a user event, beforeSubmit

@MrRob
Copy link
Collaborator

MrRob commented Mar 15, 2023

And what version of the module are you using? I'm attaching a screenshot of a beforeSubmit test I have just done here. Thanks!
Screenshot 2023-03-15 at 09 24 23

@gabrielgortabns
Copy link
Contributor

it works without issue for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants