This topic contains 2 replies, has 0 voices, and was last updated by Vesku1980 7 years ago.
-
AuthorPosts
-
rgrig- Contributions: 0
- Level 1
- ☆
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. -
erictgrubaugh- Contributions: 0
- Level 1
- ☆
I exported an Inventory Item Script to XML from the NetSuite UI, and it uses INVENTORYITEM; I don't see anything wrong with what you're doing.
-
Vesku1980- Contributions: 0
- Level 1
- ☆
Hi,
If you load wanted record in browser you can check the itemtype field there.
In basic inventoryitem it is :
itemtype:"InvtPart"
So, i think you need to use <recordtype>InvtPart</recordtype>
Vesku
-
AuthorPosts
You must be logged in to reply to this topic.