Ahhh okay, thanks <@U7A0KGURX>. So the `record.` i...
# suitescript
k
Ahhh okay, thanks @alien4u. So the
record.
in the docs is literal reference, I thought it was just a placeholder for the
type
of record you are calling. I'll give it a go...
👍 1
@alien4u - This code, doesnt let me save:
Copy code
<#list record.custrecord_tbq_threshold as sublist1>
  ${sublist1}
  </#list>
a
you need to identify the field that mades the link between the parent record and the child record and that is the field you need to use.,
k
custrecord_tbq_threshold
and
custrecord_min_order
Basically I can grab them like this in a tag:
Copy code
var minOrderValue = parseInt("<%=getRecordAttribute('770',1,'custrecord_min_order')%>");
var tbqThreshold = parseInt("<%=getRecordAttribute('770',1,'custrecord_tbq_threshold')%>");
So its just grabbing the first record of
custrecord770
Somehow we need to specify which record (id 1), but Im not sure how... just by listing? @alien4u
b
why are you trying to treat your fields as a list?