Is there a way to set the account with suitescript...
# suitescript
j
Is there a way to set the account with suitescript? It’s a payment record, I noticed the undeposited funds and account is actually just one field, but I can’t find the actual account list field
a
yes in the UI undepfunds has to be
false
to make the account field available in suitescript that will only be a concern if the record is in dynamic mode, if its not dynamic you should just be able to set the
account
field
j
well, it’s on a client script, currentRecord is always dynamic right?
a
right, so you'd have to set undepfunds = false first that should allow you access to the account field
j
setting that to false gets me an error, which I was able to replicate on Chrome’s console
a
oh cos its dumb and wants
"T"
/
"F"
instead
🫠 1
image.png
j
yep, working now, thanks!
🙌 2