Eystein Bye
11/13/2021, 9:53 AMvar PROJECT = context.getSetting('SCRIPT', 'custscript_sta_dt_project');
I guess this is a parameter passed in to the script, but I dont understand why. Why would you pass in a param and not just read it from a record?Sciuridae54696d
11/13/2021, 5:27 PMSciuridae54696d
11/13/2021, 5:29 PMSciuridae54696d
11/13/2021, 5:33 PMSciuridae54696d
11/13/2021, 5:33 PMEystein Bye
11/15/2021, 9:07 AMEystein Bye
11/15/2021, 9:07 AMItem Fulfillment
with an after-submit script
It has a param custscript_sta_dt_project
of type: List/Record
of record: Project Type
The script has:
var PROJECT = context.getSetting('SCRIPT', 'custscript_sta_dt_project');
Will I then get the project type for the Item fulfillemts that the user just edited?Eystein Bye
11/15/2021, 9:14 AMnlapiGetFieldValue('project');
?battk
11/15/2021, 9:38 AMEystein Bye
11/15/2021, 9:40 AMbattk
11/15/2021, 9:40 AMbattk
11/15/2021, 9:40 AMEystein Bye
11/15/2021, 9:41 AM