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
Is there a typo in NetSuite Help Center on record.submitFields(options) page?
When looking at the record.submitFields(options) page in NetSuite Help Center, in the Parameters table there is a property "enablesourcing". This property doesn't follow the camelCase naming convention like the other properties. On the same page in the code example, the property is written as "enableSourcing", which is correct camelCase.
Looking at other methods like record.save etc., everywhere, where the "enableSourcing" property is present, it is written in camelCase, not lowercase.
This leaves me wondering, is there a typo in the NS documentation, and is it correct to use "enableSourcing" property for the record.submitFields function, or is this function a special case, where the "enablesourcing" property needs to be in lowercase.