So - this is strange...
Have a user event script. Works great. Deployed to run as Administrator given the work it does and records it touches (it's deployed on a Fulfillment and other records)...
One of the first tests in the code is to see if a COMPANY level parameter is checked or not -
if (nlapiGetContext().getSetting("SCRIPT", 'custscript_some_parameter_name').toString() === 'T')If the script is run by an Employee User - things work fine and it honors the company parameter... BUT... if the same transaction is hit by a Vendor User... well... it's like the script parameter isn't set at all - even when it is.Best part in the script logs you see the Employee Users going one way in terms of processing based off the setting on the parameter (the way they should be going based on the parameter) and the Vendor User logs show always following the path of that script parameter NOT being set. (FYI - both the Vendor and the Employee records use the same NS Role)Anyone else encounter this?