Hi Guys, I have written a suitelet which takes dat...
# suitescript
n
Hi Guys, I have written a suitelet which takes data from a Account drop down list and create a JE using that account value. The account list send account number from a saved search but I’m getting below error in Account number.
"type":"error.SuiteScriptError","name":"INVALID_FLD_VALUE","message":"You have entered an Invalid Field Value 10121 for the following field: account"
When I create JE manually i can add 10121 account in it but not using script!!! Please advise!!
c
"name"
Is the clue there if 10121 is the internal ID
If not, share your code
n
its the bank number
custom bank number when we create accounts we give custom bank number to it
c
I misunderstood, I thought that was the G/L account. Apologies
n
no worries
I tried setting Internal id too! but giving same error!!
c
Share your code
n
shared by dm