<@U5375UUJ2> Not sure about your context but you m...
# suitescript
a
@stalbert Not sure about your context but you may be good using
currentRecord.get()
s
thanks I'll try that.
bummer,
currentRecord.get() === ctx.currentRecord
= true
so looks like I can't do it 😞 ( N/currentRecord is what ctx.currentRecord is, and it doesn't let me
getSublistField(...line:0)
nor does it have
getCurrentSublistField
i'm glad I don't frequently do client scripts in NS
a
@stalbert In my experience
context.currentRecord
have less methods than currentRec = currentRecord.get();
s
that would be strange, since context.currentRecord === (triple equals) currentRecord.get() meaning
.get()
must be returning the exact same object as context.currentRecord, no?
I would love if
currentRecord.get()
gave me more capabilities! but at least in the chrome console it appears they are exactly the same object