Scenario: Hardcoding values in the script (e.g., folder ID) is not best practice. Store such values in a script record field and fetch them using the runtime module. Steps: Add the folderID as a parameter in the script record. Give the folderID value in the script deployment Using runtime module get the folderID
Tag: runtime
runtime.ContextType suitescript
Description Holds the execution context values for script triggers. This is the type for the runtime.executionContext property. Supported Script Types Client and server scripts For more information Values