For example a script is deployed on sales orders a...
# suitescript
k
For example a script is deployed on sales orders and item fulfillments, but the first thing in the script is
if (tranRecord.getRecordType() == 'itemfulfillment') {