We've written a script and we want to deploy if using the development environment. We're trying to target Inventory Item type records
However, I can't figure out the correct reference key to use for <recordtype> in my deployment xml.
I've tried, <recordtype>INVENTORYITEM</recordtype> along with several variations, with no luck.
Here is the XML of our deployment
<scriptdeployment scriptid="customdeploy_tobus_initem2">
<isdeployed>T</isdeployed>
<loglevel>DEBUG</loglevel>
<recordtype>inventoryitem</recordtype>
<status>RELEASED</status>
<allroles>F</allroles>
<audslctrole>[customrole_temp_sync_member]</audslctrole>
<audemployee>28038</audemployee>
</scriptdeployment>
The error that I get on deployment out of Eclipse is:
An error occurred during custom object update.
Details: Invalid recordtype reference key INVENTORYITEM.
This is a cached copy. Click here to see the original post.