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
How to set value of Item options?
Our netsuite implmentation contains a transaction item option field. this field is linked to a custom field of type list/record. I was able to successfully retrieve the value of the item option, but I do'nt know how to write code that will set the value of the item option.. Below is the code that retireves a value. Can any one share a sample that sets a value of a transaction item option ?
'Get customization data - Product Versions List
_customizationtype.getCustomizationType = GetCustomizationType.customList
_customizationtype.getCustomizationTypeSpecified = True
customizationResult = service.getCustomization(_customizationtype)
'MsgBox(customizationResult.totalRecords)
recordList = customizationResult.recordList
_customlist = CType((recordList(17)), CustomList) '17 is Product Versions list, this is the list/record field linked to the transaction item option