Discussions
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
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