```var hasSubrecord= currentRecord.hasSubrecord('s...
# suitescript
l
Copy code
var hasSubrecord= currentRecord.hasSubrecord('shippingaddress');