Join Slack
Powered by
I WANT TO SET THE FIELD VALUE AS 0; IS THIS CODE C...
# suitescript
v
vennila ramasamy
11/18/2022, 3:36 PM
I WANT TO SET THE FIELD VALUE AS 0; IS THIS CODE CORRECT,?.setValue({fieldId : 'payment', value : '0'});
s
Stuart Anderton
11/18/2022, 3:57 PM
Lose the quotes round the 0
Stuart Anderton
11/18/2022, 3:58 PM
But it depends what record etc you are doing it on if that's the correct way
r
reptar
11/18/2022, 4:52 PM
I would find the record on the Records Browser and check the field type if it's native. If not, you should be able to check the custom record definition.
https://www.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2022_2/script/record/account.html
reptar
11/18/2022, 4:53 PM
I dig your enthusiasm,
@vennila ramasamy
.
🤣 4
Open in Slack
Previous
Next