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.
Error when creating customer record: An unexpected error occurred. Error ID: j9066vxpxus1u7rc9vsr
Trying to create customer record with using custom form that has some mandatory fields i already passing the values. Getting error don't know what does it mean "An unexpected error occurred. Error ID: j9066vxpxus1u7rc9vsr"
//sample code
Customer customer = new Customer();
customer.companyName = "Body Shop2";
customer.entityId = "custform_39_1043917_298";
customer.email = "bodyshop2@test.com";
// Set email preference
customer.emailPreference = EmailPreference._hTML;
customer.emailPreferenceSpecified = true;
// Set entity status.
// The default status is "Closed Won" which has an internal ID of 13
RecordRef status = new RecordRef();
status.internalId = NSUtility.ReadStringWithDefault(" Entity status internal ID (press enter for default value of Closed Won): ", "13");