Using suitescript (1.0 or 2.0) do I have access t...
# general
s
Using suitescript (1.0 or 2.0) do I have access to Deployment Record ? I would like to set Log Level to Error
k
maybe ask in #C29HQS63G
(stuff gets buried here relatively quickly sometimes - though stuff sometimes gets buried in that channel too)
s
Good idea
k
I do believe as part of a script deploying a bundle - you can manipulate deployments. That said I've never done it so it's only a guess.
Setting Up a Bundle Installation Script Published 03/05/2011 02:02 PM | Updated 09/20/2019 01:03 AM | Answer Id: 10624
Copy code
Use N/record Module Methods
You can create a deployment programmatically by using the record.create(options) method. When creating a script deployment record, set the options.type parameter to record.Type.SCRIPT_DEPLOYMENT. Similarly, if you can want to modify a sript deployment record programmatically, you can load it by using record.load(options). You can modify the record by using other N/record Module methods.

For help with the field IDs available on the script deployment record, refer to the SuiteScript Records Browser.
https://netsuite.custhelp.com/app/answers/detail/a_id/49350/kw/script%20deployment
Copy code
Methods of Deploying a Script
Published 02/23/2016 12:05 AM   |    Updated 09/16/2019 10:12 AM   |    Answer Id: 49350