Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
account or undeposited funds field on transactions?
I have been looking high and low for the correct way to set a new cash sale created through a server side script to undeposited funds.
I tried trecord.setFieldValue('account', '65'); (65 is Undeposited Funds) and I can see that it does change it when I log a note.
But when I open the cash sale it is set to a different account. Actually it shows two accounts. One bank account in view mode and changes to the default bank account in edit mode???
Does anyone have any insight into how I would set either the Undeposited Funds or Account field through a script?
0