Hello guys. I want to create a dropdown field with...
# suitescript
l
Hello guys. I want to create a dropdown field with values sourced from Execution Context, similar to Execution Context field on script deployment record. Do you know the internal ID of this list? E.g. I remember it's -159 for Countries list. Alternatively I will populate it using runtime.ContextType enum but internal ID would be more helpful.
s
That is likely not a list you can set as the source. You need to manually build the list as you suggested.
l
you're probably right, I tried all negative IDs up to -343, after that I started getting unexpected error
s
That is quite some dedication