`if(myPrintType === record.Type.SALES_ORDER &&...
# general
a
if(myPrintType === record.Type.SALES_ORDER && mySubType ==='picking'){
No this is specific for my Suitelet because my suitelet handle a lot of different printing needs and custom templates per different records...