I WANT TO SET THE FIELD VALUE AS 0; IS THIS CODE C...
# suitescript
v
I WANT TO SET THE FIELD VALUE AS 0; IS THIS CODE CORRECT,?.setValue({fieldId : 'payment', value : '0'});
s
Lose the quotes round the 0
But it depends what record etc you are doing it on if that's the correct way
r
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
I dig your enthusiasm, @vennila ramasamy.
🤣 4