any workarounds? In my experiment I think the only...
# suitescript
s
any workarounds? In my experiment I think the only time
getSublistField
worked was if I call it on an existing line. That would be in line with what you're saying.
j
typings-suitescript-2.0 indicates that there is a getCurrentSublistField method
but I don't see it in the "official" docs
s
yeah, I tried that and it isn't on the actual
currentRecord
probably need to update
netsuite-types
😕
It must not have been in my type defs when I encountered the same thing too
s
maybe NS had it then removed it?
j
oh you mean it's not actually on the object at runtime?
s
no, it doesn't appear to be there in reality
😞 1
but I'd be surprised if they went though the trouble to add it to record.d.ts if it were never actually there (unless they just copy/pasted from the normal record)