Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
NetSuite has launched SuiteSuccess Wholesale Distribution Edition, in Japan. Please join us the webinar on February 12 that introduces NetSuite solution with demos and case studies for Wholesale Industry.
Register Now
[Error]: [Code=INVALID_CSTM_RCRD_TYPE_KEY] Invalid custom record type key.
[FONT=inherit]Looking for someone to tell us more about the cause of "Invalid custom record type key" errors.
The code below is for updating an item review(StringCustomFieldRef).
We need some hints or suggestions about adding an item related review and updates to it?[/FONT]
[INDENT][FONT=inherit]RecordRef recRef = new RecordRef();
recRef.setInternalId("265");//setting the internal id of the netsuite custom record
CustomRecord customRecord = new CustomRecord();
customRecord.setRecType(recRef);
StringCustomFieldRef customField = new StringCustomFieldRef();
customField.setValue("Reviews-ABC1-XA");//value to be assigned
customField.setInternalId("custitem_productreviews 1");//internal id of the field
CustomFieldList cf2 = new CustomFieldList(new CustomFieldRef[]{customField});
customRecord.setCustomFieldList(cf2);