hey again, sorry in having troubles with the restl...
# suitescript
r
hey again, sorry in having troubles with the restlets. trying to understand where do i send the 'fldName' and 'fldValue' in the rec.setValue() func, do i need to send it in the body ?
c
You might be better off writing your own restlet from scratch that does what you want, so that you can learn how it all works
💯 2
s
While it might sound like it would take longer to write your own script from scratch, you will learn much from doing it yourself, and it may even take less time that trying to read and understand code someone else wrote. Even worse, you may get it working, but then later a bug could be found in it. It will be much harder to troubleshoot if you don't understand the code, compared to something you built from the ground up.
b
this example makes the same mistakes as your other restlet