if you are working with transactions, customers, y...
# suitescript
p
if you are working with transactions, customers, you could do record.getAllFields and see if sub is coming