<@U6XEQ5PTQ> you can it will
# suitescript
k
@Jacob D you can it will
j
Cool. Is there a conditional to tell if it's executing on a parent or child record, though? I tried
oldRecord.getText({fieldId: 'parent'})
, but that didn't do much...
k
//Type matrixRecord.setFieldValue(‘matrixtype’,‘PARENT’);
you should define type of matrix,
try example by loading child matrix item on chrome, then it will gives you details and nodes
I have done in 1.0, but i’m pretty sure you can do in 2.0
j
hmmmm...ok. am i setting the type or getting the type, though?
k
you wanna get or set ??
j
i'm trying to get (to conditionally execute actions if it is a child item)
k
You have to load record and ask matrix type then it will give you type of record