you can use N/record.attach and attach it to the s...
# suitescript
c
you can use N/record.attach and attach it to the sales order