alien4u
01/07/2025, 1:52 PMUserEvent Script
on beforeSubmit
, the script runs as Administrator
and it works perfectly fine for Admins, however, with other roles, I'm getting this error:
⢠"type":"error.SuiteScriptError","name":"SSS_SEARCH_ERROR_OCCURRED"
⢠"message":"Search error occurred: Field 'creditholdoverride' for record 'Customer' was not found."
Which does not make any sense on my mind? I'm missing something? is this a NetSuite bug?alien4u
01/07/2025, 2:01 PMUserEvents
on beforeSubmit
do not fully run AS Administrator?Anthony OConnor
01/07/2025, 3:43 PMalien4u
01/07/2025, 5:10 PMAnthony OConnor
01/07/2025, 5:12 PMAnthony OConnor
01/07/2025, 5:12 PMalien4u
01/07/2025, 5:13 PMalien4u
01/07/2025, 5:14 PMAnthony OConnor
01/07/2025, 5:14 PMAnthony OConnor
01/07/2025, 5:15 PMalien4u
01/07/2025, 5:16 PMAnthony OConnor
01/07/2025, 5:38 PMcreditholdoverride
is listed as a select type in the fields section, but a checkbox in the search column section
that seemed odd.
So I tried to do a UI saved search using the field and my plugin to help with that showed some interesting results...Anthony OConnor
01/07/2025, 5:39 PMIsaac M
01/07/2025, 9:58 PMIsaac M
01/07/2025, 9:58 PMIsaac M
01/07/2025, 10:00 PMAnthony OConnor
01/08/2025, 4:29 PMalien4u
01/08/2025, 4:33 PM