Brian Freytag
04/11/2019, 1:14 PMdepartment that I want to run a script on, but the Script Deployment isn't accepting department or -102 for recordtype and it's not available in the UI either.
None of the "Classifications" appear to be there but they are all there in the documentation as fully scriptable. (https://4581056-sb1.app.netsuite.com/app/help/helpcenter.nl?fid=chapter_n3170023.html).
So which is wrong? Netsuite's Script Deployments or the documentation? loljarens
04/11/2019, 1:16 PMBrian Freytag
04/11/2019, 1:17 PM<scriptdeployments>
<scriptdeployment scriptid="customdeploydept_color_code">
<allemployees>F</allemployees>
<allpartners>F</allpartners>
<allroles>F</allroles>
<audslctrole></audslctrole>
<eventtype></eventtype>
<isdeployed>T</isdeployed>
<loglevel>DEBUG</loglevel>
<recordtype>record.Type.DEPARTMENT</recordtype>
<status>TESTING</status>
</scriptdeployment>
</scriptdeployments>
Like so?Brian Freytag
04/11/2019, 1:19 PMAn error occurred during custom object validation. (customscriptdept_color_code)
Details: The recordtype field for the customdeploydept_color_code (scriptdeployment) subrecord must not be record.Type.DEPARTMENT.
File: ~/Objects/customscriptdept_color_code.xmljarens
04/11/2019, 1:20 PMBrian Freytag
04/11/2019, 1:20 PMBrian Freytag
04/11/2019, 1:21 PM