Getting an error that I can't create a standalone ...
# suitescript
b
Getting an error that I can't create a standalone note, but I can't get an
id
without first creating the note and then attaching it to a transaction?
b
create a note in the ui and pay attention to the urls involved
url parameters are default values that can be used while creating the record
b
Is this documented somewhere? Because I am looking at "N/record Default Values" and none of this is obvious.
b
some of them are default values, some of them arent and you have to set those fields yourself
its generally an experimentation thing
b
I'll be honest, I have no idea what you mean by "pay attention to the urls". The url parameters say
transaction=N
is that what you mean by a default value?
If I hover over the UI on, for example, "Memo" it says fieldId "note".
b
correct, thats either a default value or a field that you need to set on the note
b
I tried that and I got invalid default value
b
then its the other case i mentioned
b
Alright, I think I get it. The error messages are sooo confusing.
It says "Memo" in the error message, but it means the field name associated with "Memo"
b
depends on the error message, some use labels, some use script ids
generally the capitalized ones are using labels
👍 1
b
Thanks for the help! I was able to get this working!