Can someone please let me know how to get the fiel...
# suitescript
r
Can someone please let me know how to get the field ID for expense line level attachment field? I tried searching in the 'Customize' menu, checked records browser but cant find the field ID anywhere. Present setup shows the field IDs but it doesn't seem to be working at the line level. I am trying to write a small script to make line level attachment field on expenses mandatory on record load. Thanks
b
load the record in the suitescript debugger so you can examine the sublist
alternatively load the record clientside and use console.log to see what the record looks like after calling .toJSON on it
third alternative is the netsuite field explorer
r
Thank you, I am at the very basic stage of exploring scripting related to NetSuite. Can you please advise some places to get the basic knowledge of writing beginner level scripts?
b
learn javascript first, there are plenty of online resources online for that
d
m
Fourth alternative is add
&xml=T
to the end of url