```function afterSubmit(context) { if(cont...
# suitescript
k
Copy code
function afterSubmit(context) {
        if(context.type !== 'ship') return;

        // process item fulfillment record, use package info & tracking number to format and send email etc
}