If you have a list field that is filtered. When pr...
# suitescript
w
If you have a list field that is filtered. When pressing "create new"/plus-sign next to that list-field on a record, the URL will contain a parameter with a reference to the filtering fieldID and it's selected value. Anyone know if this is safe to use in a UE-script to auto populate a corresponding field?
m
If you mean using a url parameter like
record.fieldid
to pre-populate a field, that is documented in a couple SuiteAnswers, for example # 90153
w
the url-parameter that is included when you have a filter on the field is custrecord_nameoffilteringfield=value
I'll look in that SA
Yeah, that's how I plan to populate the fields on-create. But I don't have control of the parameters as they are set by Netsuite when pressing the create new button next to a field. I'll give you some screenshots.
message has been deleted
I'm just wondering if it is reasonably safe that Netsuite always will provide that URL-parameter as long as you have the filter on the field.
m
Ah I see what you mean. If it's not documented anywhere then there's always the risk it could stop working in a future update
👍 1