I'm having issues with the `itemvendor` sublist on...
# suitescript
w
I'm having issues with the
itemvendor
sublist on an Item Record. I'm trying to save values in the
purchaseprice
field and it will not stick. If I try any body field my script works fine as well as 'preferredvendor` works for me. It looks like the
purchaseprice
is actually part of a SubRecord as it is a summary type in the schema browser. I can use
record.getSublistValue
to get the value but
record.setSublistValue
will not work. I'm not doing commitLine as I believe everything is in Standard mode. I've also tried a
record.getSublistSubrecord
then the
record.setSublistValue
but still nothing.