Discussions
Join the NetSuite community to innovate, connect, and discover what’s next.
SuiteWorld brings thousands of innovators, builders, and leaders together to learn, connect, and shape what’s next. This October, explore how to build a stronger foundation for growth through inspiring keynotes, major product reveals, hands-on sessions, and unforgettable moments—all in one place for our biggest event of the year. Register now
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");