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.
Trouble inserting a custom record
I have a script which until recently was working fine, but now is kicking up an error when it tries to insert a custom record. The error I'm receiving is as follows :
org.xml.sax.SAXException: Invalid type: StringCustomFieldRef
Here is the soap request that is being sent
<SOAP-ENV:Body>
<add xmlns:ns6774="urn:messages_2_6.platform.webservices.netsuite.com" >
<record xsi:type="nsRecord:CustomRecord">
<name >287191</name>
<recType xsi:type="nsRecordRef:RecordRef" xmlns:nsRecordRef="urn:core_2_6.platform.webservices.netsuite.com" internalId="11" type="customRecord"></recType>
<nu2024:customFieldList xmlns:nu2024="urn:customization_2_6.setup.webservices.netsuite.com">