Discussions
SuiteWorld is the largest annual gathering of the NetSuite community! It will be held in Las Vegas on October 6-9, 2025. Our customers and partners look forward to SuiteWorld every year as a place to hear the latest from NetSuite, get hands-on learning, and connect with each other. Register now!
simple update to custom fields in C#
I've scoured the usergroups looking for a code sample that will work. Of the two I've found, one is an example on updating vast arrays in the Calendar module and is overly complex... the other is in the documentation replacing a custom field value with a null value but that code won't compile as the NullField object isn't defined anywhere. There's a nullFieldList that is a member of the Record class, but that's it.
Or, can anyone explain how the CustomRecord class relates to the Record class? CustomRecord is the only way to refer to a CustomFieldList and thus to identify a custom field but how does it relate to, say, a sales order, or customer object?