I'm working on a `validateLine` client script and ...
# suitescript
w
I'm working on a
validateLine
client script and I'm getting a "TypeError field.getSublistName" error when I try to
record.setCurrentSublistValue
. I have the line selected and if I do a
record.getCurrentSublistValue
it gives back what is currently there. This is on a Vendor bill and I have done a
record.load
to get into the Purchase Order and while that is loaded I have also loaded the Item Receipt which is where I'm trying to set a value and get the error.